Issue #705

Lazy Imports, Descriptors, REPL Customization, and More

Oct. 21, 2025

Lazy Imports, Descriptors, REPL Customization, and More
#705 – OCTOBER 21, 2025 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Python Lazy Imports You Can Use Today
There’s a proposal for Python to natively support lazy importing starting in Python 3.15. However, there are techniques that allow you to use lazy importing now. This post shows you how.
BRIAN OKKEN

Python Descriptors
Learn what Python descriptors are, how the descriptor protocol works, and where descriptors are useful, with hands-on examples.
REAL PYTHON course

Connect Your AI Agent to apps, APIs, and Other External Tools
Introducing AI agents to your app? Make sure they’re secured using Auth0’s Token Vault feature. Token Vault lets you integrate your apps and agents with third-party tools, so they can do everything from handling and securely storing access tokens to connecting users to external tools, and more →
AUTH0sponsor

Handy Python REPL Modifications
Trey uses the the Python REPL a lot. In this post he shows you his favorite customizations to make the REPL even better.
TREY HUNNER

Python 3.13.9 Release
CPYTHON DEV BLOG

Python 3.15.0 Alpha 1
CPYTHON DEV BLOG

PyTorch 2.9 Release
PYTORCH.ORG


Discussions


Logfire, Loguru, or Just Python’s Built-in Logging?
REDDIT


Python Jobs


Senior Python Developer
TECHNOIDENTITY 📍 HOUSTON, TX, USA

More Python Jobs >>>


Articles & Tutorials


Async Functions in Celery With Django Connection Pooling
Celery doesn’t directly support async code. There are ways around it, but you have to be careful not to exhaust the connection pool. This post shows you what you can do to use Django’s async features with a Celery task manager backend.
DON BROWN

Guido van Rossum and Beyond the AI Hype
ODMS Industry Watch interviews Python creator Guido van Rossum and they talk about how AI is effecting the industry. Guido isn’t worried about world killing robots, but it becoming easier for bad actors to do bad things.
ROBERTO V ZICARI

The AI Agent for Professional Python Developers
You ship to production; vibes won’t cut it. Augment Code’s powerful AI coding agent meets professional Python developers exactly where they are (in PyCharm, VS Code or even your terminal), delivering deep context into the gnarliest codebases and learning how you work →
AUGMENT CODEsponsor

Evolving Teaching Python in the Classroom
How is teaching young students Python changing with the advent of LLMs? This week on the show, Kelly Schuster-Paredes from the Teaching Python podcast joins us to discuss coding and AI in the classroom.
REAL PYTHON podcast

Writing Maintainable Code
“Maintainable code is can easily be the difference between long-lived, profitable software, and short-lived money pits.” Read on to see just what maintainable code is and how to achieve it.
PATRICK ALTMAN

How to Use Python: Your First Steps
Learn how to use Python—install it, run code, and work with data types, functions, classes, and loops. Explore essential tools and build a solid foundation.
REAL PYTHON

Quiz: How to Use Python: Your First Steps
REAL PYTHON

Neural Networks: Simpler Than You Think
A walkthrough of implementing a neural network from scratch in Python, exploring what makes these seemingly complex systems actually quite straightforward.
HAMZA KHUSWAN

Share the Work you Make With Streamlit, FastAPI, Shiny, & Other FOSS Frameworks
Posit Connect Cloud allows users to publish, host, and manage interactive apps, dashboards, Python models, APIs, and more. It offers a centralized, self-service platform for Python-based data science. Amplify your impact by streamlining deployment.
POSITsponsor

Pyrefly: Fast, IDE-friendly Typing for Python
Talk Python interviews Abby Mitchell, Danny Yang, and Kyle Into from Pyrefly and they talk about one of the newer Python type checkers out there.
TALK PYTHON podcast

Polars vs pandas: What’s the Difference?
Discover the key differences in Polars vs pandas to help you choose the right Python library for faster, more efficient data analysis.
REAL PYTHON

Quiz: Polars vs pandas: What’s the Difference?
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 →

buttonpad: GUI Toolkit for Grids of Buttons
GITHUB.COM/ASWEIGART

MicroPythonOS: MicroPython Operating System
MICROPYTHONOS.COM

lazyimp: Context Manager Based Lazy Import Library
GITHUB.COM/WRMSR

fast_html: Generate HTML Efficiently in Python
GITHUB.COM/PCARBONN

ase: Atomic Simulation Environment
GITLAB.COM/ASE

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
October 22, 2025

PyTorch Conference 2025
October 22 to October 24, 2025

PyCon Davao 2025
October 25 to October 27, 2025

Taller De Programación Para Mujeres
October 25 to October 26, 2025

PyCon Sweden
October 30 to November 1, 2025

PyCon FR 2025
October 30 to November 3, 2025
Happy Pythoning!
Copyright © 2025 PyCoder’s Weekly, All rights reserved.