PythonHub Logo Python Hub Weekly Digest for 2026-09-20

Python Hub Weekly Digest cover

This week features the release of Data Formulator, an AI-powered data analysis system from Microsoft that simplifies data exploration and visualization. The article on MongoDB migrations in Python provides insights into effective strategies for managing database changes. Additionally, the project guardlist introduces a new list type that raises errors when modified during iteration. Have a good week and happy coding!

đź’– Most Popular

microsoft / data-formulator
🪄 Data Formulator is an interactive AI-powered data analysis system makes it easy to connect, explore and visualize data.

cloud-in-a-bottle
Deploy, use, and share web apps on a server you control. Your apps, data, and infrastructure stay yours.

NPC-Forge
NPC-Forge is a framework for building conversational agents that run on the CPU without relying on machine learning or LLMs.

hip-agent
A minimal coding agent harness that fits in the prompt.

Ruff, mypy, pytest, and then what?
Structural quality in the age of AI-written Python. What the standard toolchain checks, what it does not, and what a real agent-written repository looks like when you measure it.


đź“– Articles

MongoDB migrations in Python

Libraries Run Rust Inside Python (With PyO3)

Python sets and dictionaries can have quadratic-time performance

package-doctor: finds Python dependencies at a trust boundary with no one left to fix them
Flags packages that handle untrusted input and look unmaintained. Ranks advisories by real exploitation. Runs beside pip-audit.

Python Hub Weekly Digest for 2026-09-13

Nifty Django Feature: Q() Objects
Part of the Nifty Django features series: Django’s Q() objects allow you to some fancy filtering!

AWS Lambda Functions in Python: A Practical Guide

Inside the megakernel serving engine for North Mini Code
A technical deep dive into how Cohere’s approach to megakernels delivers 1.58x faster LLM serving on H100 devices.

On solving the Jane Street Reverse Engineering Challenge
Jane Street’s ASIC reverse-engineering challenge turns a raw chip-layout file into a month-long puzzle about reconstructing how the circuit works. The author uses Python, graph algorithms, Verilog, simulation, and Z3 to recover the design, solve the challenge, and even uncover a real hardware bug.

Teaching NumPy's ufuncs new tricks
The post explains how NumPy’s universal functions (ufuncs) work in C and how their internals were upgraded to support multi-output reductions, enabling the long-requested np.minmax function. It also covers ongoing work on segmented reductions for ragged data and converting existing functions into generalized ufuncs (gufuncs) for subarray processing.

guardlist: a list that raises an error when modified during iteration
Python protects dicts and sets from mutation during iteration, but not lists. GuardedList fills that gap with a clear error.

Plugin Architecture Across Service Boundaries: An API Contract with Pydantic & FastAPI - Pt. 1
This articles shows how to build a service-level plugin architecture with Pydantic and FastAPI. I will be using an API contract package that plugin providers implement and our platform validates the contract during registration.

TPU Inference Externalization Full Steam Ahead
The article examines Google’s push to make TPUs a first-class platform for external LLM inference, including TorchTPU, vLLM, SGLang, and a rapidly maturing open software stack. Benchmarks TPUv7 Ironwood against NVIDIA B200/B300 and dives into the kernel, memory, networking, and serving optimizations behind its performance-per-dollar gains.


⚙️ Projects

Qwen-Drive
An Initial Step towards a Vision-Language Foundation Model for Autonomous Driving.

Citry
Fully typed frontend framework for Python with server events and Alpine.js, inspired by Vue and Livewire.

Reading __dict__ once permanently deoptimizes attribute access
Since 3.11 attribute access has not been a dict lookup, and reading __dict__ once takes the specialized path away for good

numba-metal
An out-of-tree GPU backend that lets you write a constrained subset of Numba-style Python kernels and run them on the GPU of Apple-silicon Macs through Metal.

Praxist
Autonomous research system for measurable, computer-executable research.

NetAlertX
Centralized network visibility and continuous asset discovery. Monitor devices, detect change, and stay aware across distributed networks.

Pigeon
Delegated authority for AI agents. A Pigeon Pass says what an agent may do.



🎬 Videos

Turn SQLite Into A Vector Database For RAG
This video demonstrates how to turn SQLite into a vector database for AI applications using the sqlite-vec and sqlite-ai-vector extensions. It covers setting up both packages in Python with OpenAI embeddings, implementing similarity search and metadata filtering, and benchmarking their performance, memory efficiency, and quantization capabilities.

How to Stop Third-Party APIs From Ruining Your Code
The video explains the Facade pattern using a Stripe payment integration to show how it can isolate external APIs from application code. It covers reducing coupling, improving testability, and creating cleaner boundaries that are easier to maintain and evolve.


👾 Reddits

Astral's python distribution is fast


← Previous

Project by Ruslan Keba. Since 2012. Powered by Python. Made in đź‡şđź‡¦Ukraine.