PyPI's test suite 81% faster, Interactive reStructuredText Tutorial and more
with some more interesting news, articles, packages and projects
News
Python: The Documentary [OFFICIAL TRAILER]
PyCA cryptography 45.0 released
PyData Amsterdam CALL FOR PROPOSALS
PyData/Sparse 0.17.0 released
PyCon US 2025 Videos Playlist
web3.py v7.12.0 released
Articles
Making PyPI's test suite 81% faster
The Trail of Bits team managed to cut down PyPI’s test suite runtime from 163 seconds to just 30 - a remarkable 81% improvement. In their write-up, they detailed the steps that made it possible: using pytest-xdist
for parallel test execution, leveraging Python 3.12’s sys.monitoring
, configuring testpaths
, removing unnecessary imports, etc.
# Trail of Bits
Interactive reStructuredText Tutorial
Looking to learn or practice reStructuredText? This interactive tutorial site is a great place to start. It covers everything from basic syntax and inline markup to advanced topics like directives, roles, tables and figures - all in a hands-on playground format.
# yakimka
SQLAlchemy 2.0: The Most Powerful ORM for Python Yet
SQLAlchemy 2.0 has been around for a while and it brings some major changes compared to 1.x, like replacing query
with select
for fetching data. In this article, the Leapcell team gave a thorough walkthrough of how to use SQLAlchemy from setting up a database connection to performing batch inserts.
# Leapcell
Django Security Best Practices: A Comprehensive Guide for Software Engineers
A vulnerable web app can lead to data loss, loss of user trust and even legal trouble. That’s why securing it is crucial. In this article, Ahmad Sadeddin shared Django security best practices like enforcing HTTPS, enabling Django’s built-in security features, adding rate limiting and more.
# Ahmad Sadeddin
The first year of free-threaded Python
Nathan Goldbaum shared the story of the first year of efforts on Python’s free-threaded build about how the Quansight team played a key role in making it usable with real production workflows, even those involving complex dependency stacks.
# Nathan Goldbaum
Interesting Packages and Projects to Explore
nglview - IPython widget to interactively view molecular structures and trajectories.
AG2 (formerly AutoGen) - A programming framework for agentic AI
nbdev - Create delightful software with Jupyter Notebooks
tyro - CLI interfaces & config objects, from types
Django Ninja - A web framework for building APIs with Django and Python 3.6+ type hints.
About Upcoming Python Events
PyCon Italia 2025
May 28 – 31, 2025
PyLadies Amsterdam: Dapr in Action: From Core Concepts to AI Agents
May 27, 2025