Issue #680

Thread Safety, Pip 25.1, DjangoCon EU Wrap-Up, and More

May 6, 2025

Thread Safety, Pip 25.1, DjangoCon EU Wrap-Up, and More
#680 – MAY 6, 2025 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Thread Safety in Python: Locks and Other Techniques
In this video course, you’ll learn about the issues that can occur when your code is run in a multithreaded environment. Then you’ll explore the various synchronization primitives available in Python’s threading module, such as locks, which help you make your code safe.
REAL PYTHON course

What’s New in Pip 25.1
pip 25.1 introduces support for Dependency Groups (PEP 735), resumable downloads, and an installation progress bar. Dependency resolution has also received a raft of bugfixes and improvements.
RICHARD SI

Deploy Your Streamlit, Dash, Bokeh Apps all in one Place
Posit Connect Cloud is a cloud environment for showcasing your Python apps, no matter the framework.
POSITsponsor

Takeaways From DjangoCon EU 2025
A deep summary of concepts that Zach learned at DjangoCon EU. For more content, also see Sumit’s post about his talk.
ZACH BELLAY

PEP 784: Adding Zstandard to the Standard Library (Accepted)
PYTHON.ORG

PEP 773: A Python Installation Manager for Windows (Accepted)
PYTHON.ORG

Quiz: How to Manage Python Projects With pyproject.toml
REAL PYTHON


Articles & Tutorials


Modern Web Automation With Python and Selenium
Learn advanced Python web automation techniques with Selenium, such as headless browsing, interacting with web elements, and implementing the Page Object Model pattern.
REAL PYTHON

Quiz: Web Automation With Python and Selenium
In this quiz, you’ll test your understanding of using Selenium with Python for web automation. You’ll revisit concepts like launching browsers, interacting with web elements, handling dynamic content, and implementing the Page Object Model (POM) design pattern.
REAL PYTHON

Using JWTs in Python Flask REST Framework
“JSON Web Tokens (JWTs) secure communication between parties over the internet by authenticating users and transmitting information securely, without requiring a centralized storage system.” This article shows you how they work using a to-do list API in Flask.
FEDERICO TROTTA • Shared by AppSignal

The PyArrow Revolution
Pandas is built on NumPy, but changes are coming to allow the optional use of PyArrow. Talk Python interviews Reuven Lerner and they talk about what this means and how it will improve performance.
KENNEDY & LERNER podcast

Quirks in Django’s Template Language
Lily has been porting the Django template language into Rust and along the way has found some weird corner cases and some bugs. This post talks about those discoveries.
LILY F

PyXL: Python, on Hardware
PyXL is a custom chip that runs compiled Python ByteCode directly in hardware. Designed for real-time and embedded systems where Python was never fast enough—until now.
RUNPYXL.COM

Debugging Python f-string Errors
Brandon encountered a TypeError when using a variable inside an f-string, which converted with str() just fine. This post talks about what happened and why.
BRANDON CHINN

Managing Python Projects With uv
In this tutorial, you’ll learn how to create and manage your Python projects using uv, an extremely fast Python package and project manager written in Rust.
REAL PYTHON

Top Python Code Quality Tools
This guide covers a list of tools that can help you produce higher quality Python code. It includes linters, code formatters, type checkers, and much more.
MEENAKSHI AGARWAL

Quiz: Managing Python Projects With uv
In this quiz, you’ll test your understanding of the uv tool, a high-speed package and project manager for Python.
REAL PYTHON

An Introduction to Testing in Python Flask
Like with any other library, when writing with Flask you should be writing tests. This article shows you how.
FREDERICO TROTTA

PSF Names New Deputy Executive Director
Loren Crary has been promoted to Deputy Executive Director of the Python Software Foundation.
PYTHON SOFTWARE FOUNDATION


Projects & Code


Brought to you by Real Python for Teamssponsor
Online Python training created by a community of experts. Give your team the real-world Python skills they need to succeed →

patito: Data Modelling Built on Polars & Pydantic
GITHUB.COM/JAKOBGM

pytest-testmon: Execute Tests on Changed Code
PYPI.ORG

​pip-Dev: Interactive Tool for Testing Python Version Specifiers
NOK.GITHUB.IO • Shared by Darius Morawiec

django-style: Basic Tasteful Designs for Your Django Project
GITHUB.COM/RADIAC

pdf-craft: Convert PDF Files Into Various Other Formats
GITHUB.COM/OOMOL-LAB

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
May 7, 2025

Python Atlanta
May 8 to May 9, 2025

Python Communities
May 10 to May 11, 2025

DFW Pythoneers 2nd Saturday Teaching Meeting
May 10, 2025

PiterPy Meetup
May 13, 2025

PyCon US 2025
May 14 to May 23, 2025
Happy Pythoning!
Copyright © 2025 PyCoder’s Weekly, All rights reserved.