Issue #745

PyPI UI, Finding Classes with the GC, pylock.toml, and More

July 28, 2026

PyPI UI, Finding Classes with the GC, pylock.toml, and More
#745 – JULY 28, 2026 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Planned Updates to the PyPI User Interface
Over the next few months a new user interface will be rolled out for the Python packaging website, PyPI. The rollout will be done in phases to make sure it is rock solid and to get community feedback. This post talks about the history of PyPI’s UI and what is changing.
NICOLE HARRIS

Find All Instances of a Class With gc.get_objects()
If you’re debugging a situation with multiple references to an object and you want to hunt down all instances, the garbage collector module can help you out.
ADAM JOHNSON

Let AI Agents Into Your B2B App. Securely
More of your users are asking to connect AI agents to your product, and you want to say yes. PropelAuth lets you give each agent scoped, revocable access, so you stay in control of what it can do. Learn More →
PROPELAUTHsponsor

Tool-Agnostic Python Lock Files With PEP 751 and pylock.toml
Learn how PEP 751 standardizes Python lock files with pylock.toml: generate one with pip or uv, install it with uv or pdm, and retire requirements.txt.
REAL PYTHON

Quiz: Tool-Agnostic Python Lock Files With pylock.toml
REAL PYTHON

Django 6.1 Release Candidate 1 Released
DJANGO SOFTWARE FOUNDATION


Articles & Tutorials


A Versatile LLM Harness & Scraping the Web With Scrapy
Which is more important, the model or the “harness” around an LLM? What are ways to assemble an efficient agentic developer workflow? This week on the show, Ayan Pahwa joins us to discuss harnessing, web scraping, and self-hosting Python applications.
REAL PYTHON podcast

Pip 26.2: –only-deps Solves Years of Deployment Hacks
When working with scripts and simpler projects, sometimes you need dependencies installed without the full package. There have been work arounds for years, but now pip 26.2 has a new flag to support this.
JAMES O'CLAIRE

[Registration Closing] Claude Code for Python Developers
By Sunday evening, you’ll have built, debugged, and shipped a complete Python project with an AI agent, and you’ll know how to bring that agentic engineering workflow to your own codebase on Monday. Live on August 1–2, doors close this Friday. Claim Your Spot →
REAL PYTHONsponsor

PyPI Releases Now Reject New Files After 14 Days
“The Python Package Index (PyPI) now rejects new files being uploaded to releases that are older than 14 days. This restriction was put in place to prevent old and long-stable releases from being poisoned”
PYPI.ORG

Nifty Django Feature: Form Templates
Form templates in Django allow you to make reusable pieces for forms, giving a separation between the view’s template and how the form gets rendered.
TIM SCHILLING

FastAPI: Python API Development With Light Speed
Learn FastAPI from the ground up. Build REST APIs, serve web pages with Jinja2 templates, and create a complete URL shortener project in Python.
REAL PYTHON

Quiz: FastAPI: Python API Development With Light Speed
REAL PYTHON

Using NumPy reshape() to Change the Shape of an Array
Learn how to use NumPy reshape() in Python to change an array’s shape, add or remove dimensions, and control how the data is rearranged.
REAL PYTHON

Quiz: Using NumPy reshape() to Change the Shape of an Array
REAL PYTHON

Security: Line Goes Up
CPython is experiencing a huge increase in security reports. This post talks about why that is happening and how it is being handled.
HUGO VAN KEMENADE

What Our AI Guiding Principles Actually Mean
Wagtail’s five AI principles, from policy / guidelines to practice and how they steer responsible AI adoption for the project.
THIBAUD COLAS

Exploring Python’s Built-in Functions
Learn Python’s built-in functions for math, data types, iterables, and I/O, and when to use each to write more Pythonic code.
REAL PYTHON course

Quiz: Exploring Python’s Built-in Functions
REAL PYTHON


Projects & Code


Brought to you by Real Pythonsponsor
Online Python Training Created by Experts →

django-query-doctor: Diagnose Slow Django Queries
GITHUB.COM/HASSANZAIBHAY

ast-explore: Explore the AST of Your Python
GITHUB.COM/STEFMOLIN • Shared by Stefanie Molin

interlock: Circuit Breaker On Failure Rate and Latency
GITHUB.COM/BAGOWIX • Shared by Bogdan Galushko

tsauditor: Statistical Auditor for Temporal Data Leakage
GITHUB.COM/IMANN128 • Shared by Iman Naeem

darnlink: Fix Relative Markdown Links When Files Move
GITHUB.COM/TXEMI • Shared by txemi

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
July 29, 2026

Melbourne Python Users Group, Australia
August 3, 2026

PyBodensee Monthly Meetup
August 3, 2026

STL Python
August 6, 2026

Canberra Python Meetup
August 6, 2026

Sydney Python User Group (SyPy)
August 6, 2026

PyCon Indonesia 2026
August 8 to August 10, 2026
Happy Pythoning!
Copyright © 2026 PyCoder’s Weekly, All rights reserved.