Issue #730

Typing Django, Dictionaries, pandas vs Polars, and More

April 14, 2026

Typing Django, Dictionaries, pandas vs Polars, and More
#730 – APRIL 14, 2026 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Typing Your Django Project in 2026
Django was first released 10 years before Python standardized its type hints syntax. Because of this it’s not surprising that getting type hints to work in your Django project is not trivial.
ANŽE'S BLOG

Dictionaries in Python
Learn how dictionaries in Python work: create and modify key-value pairs using dict literals, the dict() constructor, built-in methods, and operators.
REAL PYTHON

Secure Your Python MCP Servers With Auth and Access Control
Use the Descope Python MCP SDK to easily secure your MCP server with user auth, consent, OAuth 2.1 with PKCE, MCP client registration, scope-based access at the tool level, and more →
DESCOPEsponsor

pandas vs Polars: Backed by a 10 Million Row Study
A benchmark study of 10M rows comparing Pandas vs. Polars. Explore the architectural shifts, lazy execution, and Rust-based speed of modern data tools.
QUBRICA.COM • Shared by Rakshath

Python 3.15.0a8, 3.14.4 and 3.13.13 Released
PYTHON.ORG

PyCon US 2026 Schedule Is Live
PYCON US

Django Security Releases: 6.0.4, 5.2.13, and 4.2.30
DJANGO SOFTWARE FOUNDATION

DjangoCon Europe 2027 Call for Organizers
DJANGO SOFTWARE FOUNDATION


Articles & Tutorials


Switching All My Packages to PyPI Trusted Publishing
Matthias maintains several Python packages including the django-debug-toolbar. To help protect these projects from malicious release uploads, he’s switching to the PyPI Trusted Publishing mechanism. This article explains why and what it protects.
MATTHIAS KESTENHOLZ

Cutting Python Web App Memory Over 31%
Michael reduced Python web app memory by 3.2 GB using async workers, import isolation, the Raw+DC database pattern, and disk caching. The article includes detailed before and after numbers for each technique.
MICHAEL KENNEDY

B2B AI Agent Auth Support
Your users are asking if they can connect their AI agent to your product, but you want to make sure they can do it safely and securely. PropelAuth makes that possible →
PROPELAUTHsponsor

Understanding FSMs by Building One From Scratch
After having worked with the transitions library for a while, Bob wondered how Finite State Machines work under the hood. This article shows you how he built one from scratch, modelling GitHub pull requests.
BOB BELDERBOS • Shared by Bob Belderbos

Python for Java Developers
The article outlines how Java developers can transition to Python by building on their existing object-oriented knowledge while focusing on the key differences between the two languages.
NIKOS VAGGALIS • Shared by Andrew Solomon

Why Aren’t We uv Yet?
Reading articles on the net you’d think that uv was all the things. It is popular but not as much as you’d think. This article looks at the data.
ALEX YANKOV

Using Loguru to Simplify Python Logging
Learn how to use Loguru for simpler Python logging, from zero-config setup and custom formats to file rotation, retention, and adding context.
REAL PYTHON course

Quiz: Using Loguru to Simplify Python Logging
REAL PYTHON

SQLite Features You Didn’t Know It Had
SQLite has evolved far beyond a simple embedded database. Explore modern features like JSON, FTS5, window functions, strict tables, and more.
SLICKER.ME

Using a ~/.pdbrc File to Customize the Python Debugger
You can customize the Python debugger (PDB) by creating custom aliases within a .pdbrc file in your home directory. Read on to learn how.
TREY HUNNER

Python: Introducing Profiling-Explorer
Adam has added another project to his list of profiling tools, this one is for examining data from Python’s built-in profilers.
ADAM JOHNSON


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 →

dj-signals-panel: View Django Signals in the Admin
GITHUB.COM/YASSI

form-filler: Generate Bookmarklets That Fill Web Forms
GITHUB.COM/HAMATTI

great-docs: Documentation Site Generator for Python Packages
GITHUB.COM/POSIT-DEV • Shared by Richard Iannone

rsloop: An Event Loop for Asyncio Written in Rust
GITHUB.COM/RUSTEDBYTES • Shared by Yehor Smoliakov

S3 Commander: Python Based AWS S3 Browser
GITHUB.COM/ROMANZDK • Shared by Roman

📆🐍 Upcoming Python Events


DjangoCon Europe 2026
April 15 to April 20, 2026

Weekly Real Python Office Hours Q&A (Virtual)
April 15, 2026

PyData Bristol Meetup
April 16, 2026

PyLadies Dublin
April 16, 2026

PyTexas 2026
April 17 to April 20, 2026

Chattanooga Python User Group
April 17 to April 18, 2026

PyCon Austria 2026
April 19 to April 21, 2026
Happy Pythoning!
Copyright © 2026 PyCoder’s Weekly, All rights reserved.