PythonHub
2.6K subscribers
2.35K photos
50.3K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
What Every Python Developer Should Know About the CPython ABI

https://labs.quansight.org/blog/python-abi-abi3t
🤯1
Ban commits/transactions using AST analysis and linters

The post explains why database commits and transactions should be owned only by the DB access layer, because hidden commits and leaking DB models can silently break atomicity or lose data. It shows how to enforce those boundaries with AST tests, flake8 rules, and a narrow LLM review step to catch DB models being returned where domain models should be used.

https://www.droppedasbaby.com/posts/db-commits/
Python 3.15’s Ultra-Low Overhead Interpreter Profiling Mode

The post explains how CPython 3.15’s JIT uses a low-overhead interpreter profiling mode based on swapping dispatch tables instead of running a separate profiling interpreter or adding branches to the normal interpreter. It shows how this “dual dispatch” design lets Python record execution traces for JIT compilation with much lower overhead, while raising the tradeoff between performance ...

https://fidget-spinner.github.io/posts/ultra-fast-tracing.html
2
In-House LLM Serving at Netflix

Netflix built an in-house LLM serving platform using vLLM and NVIDIA Triton, integrating self-hosted models into its existing production infrastructure through unified gRPC and OpenAI-compatible APIs. The article details production lessons around model packaging, version compatibility, zero-downtime deployments, observability, and scaling constrained decoding by moving bottlenecks from s...

https://netflixtechblog.com/in-house-llm-serving-at-netflix-a5a8e799ea2c
Building Agentic Workflows in Python with LangGraph

In this article, you will learn how to build a complete agentic workflow in Python with LangGraph, from a single model call to a tool-using agent with persistent conversation memory.

https://machinelearningmastery.com/building-agentic-workflows-in-python-with-langgraph/
1
Django: introducing django-crawl

Adam Johnson introduces django-crawl, a tool that uses Django’s test client to crawl a site and uncover broken links, exceptions, and other hidden issues without making real HTTP requests. It can run as a management command or automated test, providing a fast safety net that found seven bugs even in a project with 100% test coverage.

https://adamj.eu/tech/2026/07/22/introducing-django-crawl/
LLVMLITE in the Browser

This notebook explores how LLVM's optimization pipeline transforms a simple loop, step by step, using llvmlite running entirely in the browser via WebAssembly. We follow one small C++ function through three distinct stages — from source to raw stack-based IR (Intermediate Representation), through SSA form, to a closed-form calculation. After each stage, we inspect the control flow graph ...

https://notebook.link/@anutosh491/llvmlite