Issue #725

Generators, __init__.py, Pointblank, and More

March 10, 2026

Generators, __init__.py, Pointblank, and More
#725 โ€“ MARCH 10, 2026 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Invent Your Own Comprehensions in Python
Python doesn’t have tuple, frozenset, or Counter comprehensions, but you can invent your own by passing a generator expression to any iterable-accepting callable.
TREY HUNNER

What Does Python’s __init__.py Do?
Learn how Python’s __init__.py declares packages, initializes variables, simplifies imports, and controls what gets exported.
REAL PYTHON course

Replay: Where Developers Build Reliable AI
Replay is a practical conference for developers building real systems. The Python AI & versioning workshop covers durable AI agents, safe workflow evolution, and production-ready deployment techniques. Use code PYCODER75 for 75% off your ticket โ†’
TEMPORALsponsor

Validating Data With Pointblank in Python
Bad data results in bad choices. This article introduces you to Pointblank a data verification library.
MARK PITBLADO

PEP 825: Wheel Variants: Package Format (Added)
PYTHON.ORG

PEP 827: Type Manipulation (Added)
PYTHON.ORG

Python 3.12.13, 3.11.15 and 3.10.20 Released
PYTHON.ORG

Django Security Releases Issued: 6.0.3, 5.2.12, and 4.2.29
DJANGO SOFTWARE FOUNDATION


Python Jobs


Python + AI Content Specialist
REAL PYTHON ๐Ÿ“ ANYWHERE

More Python Jobs >>>


Articles & Tutorials


Guido Interviews Thomas Wouters
After last year’s release of the Python documentary, Guido decided to explore those contributors who weren’t mentioned. He’s started a written interview series with a variety of contributors over Python’s first 25 years. This interview is with Thomas Wouters.
GUIDO VAN ROSSUM

Using tox to Test Across Multiple Django Versions
tox is a popular testing tool that uses isolated virtual environments to put your code through its paces using different versions of Python. This post shows you how to use it to test your Django App across multiple versions of Django.
DJANGOTRICKS

What asyncio Primitives Get Wrong About Shared State
Aaron’s company tried Event, Condition, and Queue for handling concurrent shared state, but each one still breaks under real concurrency. This article is about the observable pattern that finally worked for them.
AARON HARPER

Deprecate Confusing APIs Like os.path.commonprefix()
In this opinion piece, Seth argues that os.path.commonprefix() is confusing due to its placement in the os.path module, and this results in security issues. He thinks it should be deprecated, read on to learn why.
SETH LARSON

Replacing tox With uv
UV is quickly becoming the only tool you need in Python, this article looks at how UV can be used to test different versions of dependencies replacing what is traditionally done with tox.
CHANGS.CO.UK โ€ข Shared by Jamie Chang

A History of Attempts to Eliminate Programmers
From COBOL in the 1960s to AI in the 2020s, every generation promises to eliminate programmers. Explore the recurring cycles of software simplification hype.
IVAN TURKOVIC

Building Rapidlog: Why I Made a 3x Faster Python Logger
Siddharth built a benchmark-focused Python logging implementation for high-concurrency workloads. This article tells you why and how it was done.
DEV.TO โ€ข Shared by Siddharth Pogul

How to Use the OpenRouter API to Access Multiple AI Models
Access models from popular AI providers in Python through OpenRouter’s unified API with smart routing, fallbacks, and cost controls.
REAL PYTHON

Quiz: Use the OpenRouter API to Access Multiple AI Models
REAL PYTHON

Automate Python Data Analysis With YData Profiling
Automate exploratory data analysis by transforming DataFrames into interactive reports with one command from YData Profiling.
REAL PYTHON

Quiz: Automate Python Data Analysis With YData Profiling
REAL PYTHON


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 โ†’

cinderx: High-Performance Python Runtime Extensions
GITHUB.COM/FACEBOOKINCUBATOR

usdatasets: Installable Collection of Datasets on USA
PYPI.ORG โ€ข Shared by Renzo Caceres Rossi

python_template: Modern Python Project Template
GITHUB.COM/MAMELI

django-lsp: Django Language Server Protocol Library
GITHUB.COM/ADAMGHILL

๐Ÿ“†๐Ÿ Upcoming Python Events


Python asyncio Internals
March 10, 2026

Weekly Real Python Office Hours Q&A (Virtual)
March 11, 2026

Python Atlanta
March 12 to March 13, 2026

PyConf Hyderabad 2026
March 14 to March 16, 2026

DFW Pythoneers 2nd Saturday Teaching Meeting
March 14, 2026

DjangoCologne
March 17, 2026

PyCascades 2026
March 21 to March 23, 2026

PythonAsia 2026
March 21 to March 24, 2026
Happy Pythoning!
Copyright ยฉ 2026 PyCoder’s Weekly, All rights reserved.