Issue #719

Django Tasks, Dictionaries, Ollama, and More

Jan. 27, 2026

Django Tasks, Dictionaries, Ollama, and More
#719 – JANUARY 27, 2026 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Migrating From Celery to Django Tasks
Django 6 introduced the new tasks framework, a general interface for asynchronous tasks. This article shows you how to go from Celery specific code to the new general purpose mechanism.
PAUL TRAYLOR

The Hidden Cost of Python Dictionaries
Learn why Python dicts cause silent bugs and how NamedTuple, dataclass, and Pydantic catch errors earlier with better error messages.
CODECUT.AI • Shared by Khuyen Tran

Python Errors? Fix ‘em Fast for FREE with Honeybadger
If you support web apps in production, you need intelligent logging with error alerts and de-duping. Honeybadger filters out the noise and transforms Python logs into contextual issues so you can find and fix errors fast. Get your FREE account →
HONEYBADGERsponsor

How to Integrate Local LLMs With Ollama and Python
Learn how to integrate your Python projects with local models (LLMs) using Ollama for enhanced privacy and cost efficiency.
REAL PYTHON

Quiz: How to Integrate Local LLMs With Ollama and Python
REAL PYTHON

Djangonaut Space: Session 6 Accepting Applications
DJANGO SOFTWARE FOUNDATION

Announcing PSF Fellow Members for Q4 2025
PYTHON SOFTWARE FOUNDATION

PEP 686: Make UTF-8 Mode Default (Final)
PYTHON.ORG

pandas 3.0.0 Released
GITHUB.COM/PANDAS-DEV


Articles & Tutorials


Nothing to Declare: From NaN to None via null
Explore the key differences between NaN, null, and None in numerical data handling using Python. While all signal “no meaningful value,” they behave differently. Learn about the difference and how to correctly handle the data using Pydantic models and JSON serialization.
FMULARCZYK.PL • Shared by Filip Mularczyk

Continuing to Improve the Learning Experience at Real Python
If you haven’t visited the Real Python website lately, then it’s time to check out a great batch of updates on realpython.com! Dan Bader returns to the show this week to discuss improvements to the site and more ways to learn Python.
REAL PYTHON podcast

The Ultimate Guide to Docker Build Cache
Docker builds feel slow because cache invalidation is working against you. Depot explains how BuildKit’s layer caching works, when to use bind mounts vs cache mounts, and how to optimize your Dockerfile so Gradle dependencies don’t rebuild on every code change →
DEPOTsponsor

The State of WebAssembly: 2025 and 2026
A comprehensive look at WebAssembly in 2025 and 2026, covering browser support, Safari updates, WebAssembly 3.0, WASI, .NET, Kotlin, debugging improvements, and growing adoption across edge computing and embedded devices.
GERARD GALLANT

Asyncio Is Neither Fast Nor Slow
There are many misconceptions on asyncio, as such there are many misleading benchmarks out there. This article looks at how to analyse a benchmark result and to come up with more relevant conclusions.
CHANGS.CO.UK • Shared by Jamie Chang

Expertise Is the Art of Ignoring
Kevin says that trying to “master” a programming language is a trap. Real expertise comes from learning what you need, when you need it, and ignoring the rest on purpose.
KEVIN RENSKERS

uv vs pip: Python Packaging and Dependency Management
Choosing between uv vs pip? This video course compares speed, reproducible environments, compatibility, and dependency management to help you pick the right tool.
REAL PYTHON course

Ee Durbin Departing the Python Software Foundation
Ee Durbin is a long time contributor to Python and was heavily involved in the community even before becoming a staff member at the PSF. Ee is moving on though.
PYTHON SOFTWARE FOUNDATION

Self-Concatenation
Strings and other sequences can be multiplied by numbers to self-concatenate them. You need to be careful with mutable sequences though.
TREY HUNNER

Python, Is It Being Killed by Incremental Improvements?
This opinion piece asks whether Python’s recent focus on concurrency is a misstep and whether efforts should be focused elsewhere.
STEFAN-MARR.DE

How to Parametrize Exception Testing in PyTest?
A quick TIL-style article on how to provide different input data and test different exceptions being raised in pytest.
BORUTZKI


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 →

redress: A Retry Library That Classifies Errors
GITHUB.COM/APONYSUS • Shared by Joshua Sorrell

django-nis2-shield: NIS2 Compliance Middleware
GITHUB.COM/NIS2SHIELD • Shared by Fabrizio Di Priamo

pfst: AST Manipulation That Preserves Formatting
GITHUB.COM/TOM-PYTEL • Shared by Tomasz Pytel

jupyterlab-git: A Git Extension for JupyterLab
GITHUB.COM/JUPYTERLAB

steady-queue: A DB-backed Task Backend for Django
GITHUB.COM/KNIFECAKE

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
January 28, 2026

Python Devroom @ FOSDEM 2026
January 31 to February 1, 2026

Melbourne Python Users Group, Australia
February 2, 2026

PyBodensee Monthly Meetup
February 2, 2026

STL Python
February 5, 2026
Happy Pythoning!
Copyright © 2026 PyCoder’s Weekly, All rights reserved.