#694 – AUGUST 12, 2025
Python Performance Myths and Fairy Tales
This post summarizes a talk by Antonio Cuni who is a long time contributor to PyPy, the alternate Python interpreter. The talk spoke about the challenges and limits of performance in Python and how the flexibility of dynamic languages comes at a cost. See also the associated HN discussion.
JAKE EDGE
You Might Not Need a Python Class
Coming from other languages, you might think a class is the easiest way to do something, but Python has other choices. This post shows you some alternatives and why you might choose them.
ADAM GRANT
Deep Dive: Going Beyond Chatbots with Durable MCP
Join our August 19th webinar to explore long-running, human-in-the-loop MCP servers, sampling with LLMs, and how Python fits into scalable agent workflows with Temporal →
TEMPORAL sponsor
Exploring Python T-Strings
Python 3.14 introduces t-strings: a safer, more flexible alternative to f-strings. Learn how to process templates securely and customize string workflows.
REAL PYTHON course
PyCon NL 2025 Call for Proposals
PYCON-NL.ORG
Python 3.13.6 Released
PYTHON.ORG
Django Rest Framework Release v3.16.1
GITHUB.COM/ENCODE
Django 5.2.5 Released
DJANGO SOFTWARE FOUNDATION
Articles & Tutorials
Harnessing the Power of Python Polars
What are the advantages of using Polars for your Python data projects? When should you use the lazy or eager APIs, and what are the benefits of each? This week on the show, we speak with Jeroen Janssens and Thijs Nieuwdorp about their new book, Python Polars: The Definitive Guide.
REAL PYTHON podcast
Python Text Matching Beyond Regex
Text similarity is a fundamental challenge in data science. For data that contains duplicates, clustering content, or building search systems, this article explores using 4 different tools to solve this Regex, difflib, RapidFuzz, and Sentence Transformers
KHUYEN TRAN • Shared by Khuyen Tran
Preventing ZIP Parser Confusion Attacks
Python packaging wheels use the ZIP format and it was recently discovered that due to ambiguities in the specification, there could be a vulnerability when unpacking them. To prevent this, PyPI has added extra constraints.
SETH LARSON
Tools to Setup Great Python Projects
A guide to using uv, ruff, reorder-python-imports and pytest to manage packages, formatting, static analysis and testing – all under a centralized configuration that is easy to re-use across CI/CDs, CLIs, IDEs and scripts.
GITHUB.COM/DUARTE-POMPEU • Shared by Duarte Pompeu
Speed Up Your Python Data Science Workflows
This guide shows 7 popular Python libraries (pandas, Polars, scikit-learn, XGBoost, and more) — each accelerated with a simple flag or parameter change. Includes example demos and Colab notebooks.
JAMIL SEMAAN • Shared by Jamil Semaan
How Python Grew From a Language to a Community
This interview with Paul Everitt discusses the upcoming documentary on how Python went from a group of developers collaborating to having its own foundation and user conference.
DAVID CASSEL
Surprising Things With Python’s collections
This tutorial explores ten practical applications of the Python collections module, including use of Counter
, namedtuple
, defaultdict
, and much more.
MATTHEW MAYO
Skip Ahead in Loops With Python’s Continue Keyword
Learn how Python’s continue statement works, when to use it, common mistakes to avoid, and what happens under the hood in CPython byte code.
REAL PYTHON
Quiz: Skip Ahead in Loops With Python’s Continue Keyword
REAL PYTHON
asyncio
: A Library With Too Many Sharp Corners
asyncio
has a few gotchas and this post describes five different problems, including: cancellation, disappearing tasks, and more.
SAILOR.LI
What Are Mixin Classes in Python?
Learn how to use Python mixin classes to write modular, reusable, and flexible code with practical examples and design tips.
REAL PYTHON
Quiz: What Are Mixin Classes in Python?
REAL PYTHON
The Forgetful Calligrapher
Understanding Late Binding in Python Closures
VIVIS DEV • Shared by Vivis Dev
Projects & Code
robinzhon: Concurrent S3 Object Downloads
GITHUB.COM/ROHAQUINLOP
archivey: Read Zip, Tar, Rar, 7z and Other Archives
GITHUB.COM/DAVITF
hvplot: Plotting API for Pandas, Dask, and More
GITHUB.COM/HOLOVIZ
tinyio: A Tiny Event Loop for Python
GITHUB.COM/PATRICK-KIDGER
Erys: Terminal Interface for Jupyter Notebooks
GITHUB.COM/NATIBEK
Events
Weekly Real Python Office Hours Q&A (Virtual)
August 13, 2025
REALPYTHON.COM
PyCon Somalia 2025
August 13 to August 15, 2025
PYCON.ORG.SO
Python Atlanta
August 14 to August 15, 2025
MEETUP.COM
PyCon Korea 2025
August 15 to August 18, 2025
PYCON.KR
Chattanooga Python User Group
August 15 to August 16, 2025
MEETUP.COM
EuroSciPy 2025
August 18 to August 23, 2025
EUROSCIPY.ORG
PyCon Togo 2025
August 23 to August 24, 2025
PYTOGO.ORG
Happy Pythoning!
This was PyCoder’s Weekly Issue #694.
View in Browser »
[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]
Source:: PyCoder’s