PythonHub
2.64K subscribers
2.35K photos
50.5K links
Human-curated Python news, projects, articles & tools.

https://pythonhub.dev/
Download Telegram
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.

https://labs.quansight.org/blog/teaching-numpys-ufuncs-new-tricks
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.

https://jestoph.com/2026/09/04/jane-street-challenge.html
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.

https://cohere.com/blog/megakernels
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.

https://www.youtube.com/watch?v=vskwNNdnqMc
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.

https://www.youtube.com/watch?v=VlEoSzkd2gQ
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.

https://github.com/eviking/numba-metal
Nifty Django Feature: Q() Objects

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

https://www.better-simple.com/django/2026/09/09/nifty-feature-q-objects/
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.

https://patrickm.de/plugin-architecture-across-service-boundaries-an-api-contract-with-pydantic-fastapi-pt-1/