PyCoder’s Weekly: Issue #528 (June 7, 2022)

#528 – JUNE 7, 2022
View in Browser »


Django Static Files and Templates

“Static files like CSS, JavaScript, and fonts are a core piece of any modern web application. They are also typically confusing for Django newcomers since Django provides tremendous flexibility around how these files are used. This tutorial will demonstrate current best practices for configuring static files in both local development and production.”
WILL VINCENT

Data Cleaning With pandas and NumPy

In this video course, you’ll learn how to clean up messy data using pandas and NumPy. You’ll become equipped to deal with a range of problems, such as missing values, inconsistent formatting, malformed records, and nonsensical outliers.
REAL PYTHON course

Optimize Python Code Inefficiencies and Latency With Datadog Application Monitoring

alt

Datadog’s APM generates detailed flame graphs to provide you with deeper insights into code-level performance sparking teams to identify bottlenecks and latency in their Python code. Navigate seamlessly between app traces, logs and metrics to resolve app issues fast. Try Datadog APM free →
DATADOG sponsor

A Brief Look at CPython String

“Have you ever noticed that a string with just a few characters in Python uses several dozen bytes of memory? We handle a lot of short strings and I have been wondering why Python seems to store strings seemingly so inefficiently.”
ONDŘEJ MĚKOTA

Expedited Release of Python 3.11.0b3

CPYTHON DEV BLOG

Django Bugfix Release: 4.0.5

DJANGO SOFTWARE FOUNDATION

Typosquatting Attack on requests Package

JOSSEF HARUSH

Python News: What’s New From May 2022

REAL PYTHON

Discussions

How to Get Out of Tutorial Hell?

REDDIT

Ask HN: Have We Screwed Ourselves as Software Engineers?

HACKER NEWS

Python Jobs

Backend Software Developer (Draper, UT, USA)

Canopy

Gameful Learning Developer (Ann Arbor, MI, USA)

University of Michigan

Python Technical Architect (USA)

Blenderbox

Software Engineer (Los Angeles or Dallas) (Los Angeles, CA, USA)

Causeway Capital Management LLC

DevOps Engineer (Ann Arbor, MI, USA)

University of Michigan

Academic Innovation Developer (Ann Arbor, MI, USA)

University of Michigan

Software Development Lead (Ann Arbor, MI, USA)

University of Michigan

Senior Backend Engineer (Anywhere)

Doist

Senior Storytelling Framework Engineer – Python (France)

GoPro

Senior Software Engineer – Python Full Stack (USA)

Blenderbox

More Python Jobs >>>

Articles & Tutorials

Oh Open Source Supply Chain Security, Where Art Thou?

Recent security issues with ctx on PyPI followed shortly by the discovery of some typeosquatting has everyone re-examining their package supply chain. Jurgen writes about finding weirdness with two of the most popular packages out there.
JÜRGEN GMACH • Shared by Jürgen Gmach

How To Profile Python Code

No matter how good you are, sometimes your code just runs slow. Learning how to properly profile your software to identify and fix bottlenecks is a useful skill. This article talks about what you need to know to measure your code’s performance and how to use the cProfile, profileand timeit libraries, along with others.
JOHN LOCKWOOD

Find Your Next Tech Job Through Hired

alt

Hired has 1000s of companies ranging from startups to Fortune 500s that are actively hiring developers, data scientists, mobile engineers, and more. It’s really simple: create a profile with your skills and preferences for hiring managers to reach you directly. Sign up today →
HIRED sponsor

LBYL vs EAFP: Preventing or Handling Errors in Python

In this tutorial, you’ll learn about two popular coding styles in Python: look before you leap (LBYL) and easier to ask forgiveness than permission (EAFP). You can use these styles to deal with errors and exceptional situations in your code. You’ll dive into the LBYL vs EAFP discussion in Python.
REAL PYTHON

Managing Large Python Data Science Projects With Dask

What do you do when your data science project doesn’t fit within your computer’s memory? One solution is to distribute it across multiple worker machines. This week on the show, Guido Imperiale from Coiled talks about Dask and managing large data science projects through distributed computing.
REAL PYTHON podcast

People in Your Software Supply Chain

Behind all the most popular packages you routinely pip install are a host of people whose names you likely don’t recognize. This thoughtful article talks about what we as a coding community can do to acknowledge maintainers more and contribute.
SETH MICHAEL LARSON

TDD Practice: Time API with Django

This is a step-by-step coding Kata based on a workshop that Brenton ran at DjangoConEU 2018. It gives you practice in using a Test-Driven-Development approach by writing tests for a “get time” API in Django.
BRENTON CLEELAND

Building a CRUD App with FastAPI, MongoDB, and Beanie

A step-by-step tutorial on developing an asynchronous API with FastAPI and MongoDB using the Beanie ODM library to interact with MongoDB .
ABDULAZEEZ ABDULAZEEZ ADESHINA • Shared by Abdulazeez Abdulazeez Adeshina

Unlock Secret Knowledge from Python Experts for Just $10

Packt’s Spring Sale is on and for a limited period, all eBooks and Videos are only $10. Our Products are available as PDF, ePub, and MP4 files for you to download and keep forever. All the practical content you need – by developers for developers.
PACKT PUBLISHING sponsor

Making pip install a Little Less Slow

Installing packages with pip, Poetry, and Pipenv can be slow. Learn how to ensure it’s not even slower, and a potential speed-up.
ITAMAR TURNER-TRAURING

Crash Course in Web3 Application Development With Python

A step-by-step tutorial on how to send your first transaction on the Ethereum blockchain using Python and the web3 package.
TYLER LANGLOIS

Projects & Code

huey: A Little Task Queue for Python

GITHUB.COM/COLEIFER

django-managerie: Expose Django Commands in the Admin

GITHUB.COM/AKX

pyAudioProcessing: Audio Feature Extraction & Classification

GITHUB.COM/JSINGH811

pyperformance: Python Performance Benchmark Suite

GITHUB.COM/PYTHON

ga-extractor: Tool for Extracting Google Analytics Data

GITHUB.COM/MARTINHEINZ

Events

Python Meeting Düsseldorf

June 8, 2022
PYDDF.DE

Weekly Real Python Office Hours Q&A (Virtual)

June 8, 2022
REALPYTHON.COM

Python North East

June 8, 2022
PYTHONNORTHEAST.COM

Python Live: An Introduction to Practical MLOps

June 9, 2022
EVENTBRITE.CO.UK

Python Miami

June 11 to June 12, 2022
PYTHONDEVELOPERSMIAMI.COM


Happy Pythoning!
This was PyCoder’s Weekly Issue #528.
View in Browser »

alt


[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]

.

Leave a Comment