| | | | Scaling NumPy on Free-Threaded Python A recap on the work done in NumPy and CPython to make multi-threaded NumPy workloads scale on the free-threaded build of CPython. KUMAR ADITYA
Managing Imports With Python’s __all__ Learn how Python’s dunder all variable controls wildcard imports and shapes the public API your packages and modules expose. REAL PYTHON course
Quiz: Managing Imports With Python’s __all__ REAL PYTHON
Open Source Just Reached Frontier Code Review An open-source code reviewer just outranked leading closed models. pr-af places #2 of 42 on Code-Review-Bench. The open-source harness plans a custom review per PR, runs reviewer agents in parallel, and verifies every finding against your source before posting inline comments. About 10x cheaper. Star & Deploy AGENTFIELD.AIsponsor
PyTorch Tutorial for Deep Learning This article provides a guide for developers with basic Python knowledge looking to explore deep learning using PyTorch. EVGENIA VERBINA
Announcing PSF Fellow Members for Q2 2026 PYTHON SOFTWARE FOUNDATION
PEP 842: Module Exports PYTHON.ORG
Articles & Tutorials Introducing django-crawl During a recent site migration, Adam used the Django test harness to crawl his site looking for missing security headers. In the process he uncovered seven other bugs for a project that had 100% code coverage. He has consolidated the crawling technique for testing into a library: django-crawl. ADAM JOHNSON
Running subprocesses in Python You can use Python’s subprocess.run() function to launch other programs from within Python. TREY HUNNER
SIMD in Pure Python SIMD is Single Instruction, Multiple Data, an approach that does calculations with vectors of data sets. Python doesn’t support it natively, but libraries like NumPy allow you to code this way. DAVID BUCHANAN
Why the Hardest Concept for Python Devs Is Concurrency “Concurrency is arguably the hardest concept for Python developers, because the important ideas already assume you understand the operating system underneath.” OEDOKUMACI.COM • Shared by Oral Ersoy Dokumaci
Stream Subprocess Output in Real Time in PyQt6 Learn how to run external processes from PyQt6 and display their output line-by-line in real time, without blocking the GUI. Covers QProcess and QThread-based approaches with complete working examples. PYTHONGUIS
Setting Django’s DEBUG Safely “Deploying Django with DEBUG=True exposes your app to attackers. Learn why it’s risky and how to fail closed so DEBUG=False stays the safe default.” JAMES OSGOOD
CrewAI in Python: Coordinating Teams of AI Agents Learn how to use CrewAI to build teams of AI agents in Python, define roles and tools, and coordinate multi-agent workflows that solve complex tasks. REAL PYTHON
How to Use Google’s Antigravity CLI for AI Code Assistance Get started with Google’s Antigravity CLI, a terminal-based AI coding agent, and use it to read, review, and refactor your Python code. REAL PYTHON
Quiz: How to Use Google’s Antigravity CLI for AI Code Assistance REAL PYTHON
Spy on Function Calls With unittest.mock Wraps Testing terminology distinguishes between different kinds of test doubles: mocks to replace real world behavior, and spies which wrap a function recording information about them. Despite its name, Python’s unittest.mock supports both. ADAM JOHNSON
Projects & Code ome-zarr-py:NGFF Specifications for Storing Bioimaging Data GITHUB.COM/OME
icalendar: icalendar Parser Library for Python GITHUB.COM/COLLECTIVE
django-orm-lens: Django Schema Review GITHUB.COM/FROWNINGDEV
cnsplots: Python Data Visualization for Complex Datasets GITHUB.COM/FARIDRASHIDI • Shared by Farid Rashidi
Whoosh: Full-Text Search (BM25F, No Server, No Native Deps) GITHUB.COM/PRIYA-SUNDARAM-DEV • Shared by Priya Sundaram
| | | | | |
| |