| | | | How a Python Type Checker Decides a Variable Is Unused A variable is unused only if no read resolves to its binding and in Python that read can sit inside a nested function or comprehension. This post walks through how ty, Astral’s Python type checker, finds local bindings nobody reads. DENYSZHAK.COM • Shared by Denys Zhak
How to Automate Your Workflow With Claude Code Hooks Learn how to use Claude Code hooks that auto-format your Python code after every edit, enforce your chosen tools, and ping you when a task finishes. REAL PYTHON
Why Your Python Agent Returns Outdated Memories A user changes a preference, but vector search still surfaces the old one alongside the new. Link the new memory to the one it replaces and mark the old one historical, so your agent retrieves what’s current and keeps the history. Explore the walkthrough and runnable notebook. ORACLEsponsor
Converting Documents to Markdown With MarkItDown Learn how to use MarkItDown to convert Excel files, PDFs, and images into clean Markdown that’s ready for LLMs and AI workflows. REAL PYTHON course
Quiz: Converting Documents to Markdown With MarkItDown REAL PYTHON
Django Security Releases Issued: 6.1.3, 6.0.10, and 5.2.19 DJANGO SOFTWARE FOUNDATION
Agentic Coding With Codex CLI: A Live Course for Python Developers If you pay for ChatGPT Plus, you already have Codex CLI, an agent that runs in your terminal, edits your files, and runs your tests. Over two live half-days on November 14–15, you’ll use it to build a Python CLI app from an empty directory to GitHub, write an AGENTS.md file so it follows your project’s rules, and practice debugging the code it writes. You keep the recordings. Registration closes Friday, November 13 → REAL PYTHON
Discussions Pull Request Limits for CPython Repo PYTHON.ORG
Articles & Tutorials Soft Delete in Django Without Making a Mess Soft delete sounds simple: add a deleted_at field and stop calling DELETE. The trouble starts a little later, when deleted rows still show up in queries. This tutorial shows a soft-delete setup that handles those cases without hiding too much magic in the model layer. STEIN HELSET
Hello Python 3.15, Goodbye 3.10, and Now I Can Use 3.11 Simon covers the latest features in Python 3.15. If you’ve seen that already, the second half of the article is also worth reading: now that 3.10 is end-of-life, what Python 3.11 features can you use everywhere? SIMON WILLISON
Parsing JSON at Tens of Gigabytes Per Second This article talks about fastsimdjson, a drop-in replacement for the json module in the standard library. It has been optimized for speed, demonstrated by reading large amounts of JSON GitHub commit data. DANIEL LEMIRE
Why Python Devs Should Know About the ABI Why should every Python developer know about the CPython ABI? This week on the show, we speak with Nathan Goldbaum about free-threaded Python and the changes to the Python Application Binary Interface. REAL PYTHON podcast
Building a Lift Scheduling Algorithm in Python This article walks you through the logic needed to code a scheduling algorithm for elevators, starting with a single car to a more complex multi-car system. PIETER CLAERHOUT
Histogram Plotting: NumPy, Matplotlib, pandas & Seaborn In this tutorial, you’ll be equipped to make production-quality, presentation-ready Python histogram plots with a range of choices and features. REAL PYTHON
Python Exceptions: An Introduction Learn what Python exceptions are, how to raise them, how to handle them with try, except, else, and finally, and how to create custom ones. REAL PYTHON
Python Program Lexical Structure Dig into the Python program structure: the syntactic elements that make up statements, and how statements group into larger blocks. REAL PYTHON
Announcing New Security Developer at the PSF The Python Software Foundation welcomes Brett Smith as an additional security developer. PYTHON SOFTWARE FOUNDATION
Python’s Binary Wheels and Supply Chain Attacks Why precompiled Python wheels are a weak spot in the supply chain security. ARTEM GOLUBIN
Projects & Code Brought to you by Real Pythonsponsor Online Python Training Created by Experts → pgcli: Postgres CLI With Autocomple & Syntax Highlighting GITHUB.COM/DBCLI
django-mcpz: Easy Peasy MCP Servers in Django GITHUB.COM/ADAMCHAINZ
Ghostman: Postman Alternative Built in Python With Textual GITHUB.COM/4YK5 • Shared by 4yk5
VizTracer: Visualize Code Debugging/Profiling/Logging GITHUB.COM/GAOGAOTIANTIAN
django-ses: Django Backend for Amazon’s Simple Email Service GITHUB.COM/DJANGO-SES
| | | | | |