Python Hub Weekly Digest
This week, Python 3.15 introduces lazy imports, a built-in frozendict, and the Tachyon profiler, providing new tools for data scientists. The Jumper toolkit offers an open-source solution for programming a 22-DoF crab robot, while AirLLM enables running large language models on consumer GPUs with limited memory. Have a good week and happy coding!
Python 3.15 for Data Scientists: Lazy Imports, frozendict, and Tachyon
Python 3.15 adds lazy imports, a built-in frozendict, and the Tachyon profiler. Learn how data scientists can use each, with before-and-after code.
Python Hub Weekly Digest for 2026-10-18
Jumper
Jumper is an open-source Python toolkit for a 22-DoF crab robot that lets AI coding agents design appearances and scenes, train motions with reinforcement learning, and package them for deployment to the real robot.
AirLLM
AirLLM is a Python library for running very large language models on consumer GPUs with limited memory by loading model layers sequentially instead of keeping the entire model in VRAM.
whatsnewt
Python core developer Barry Warsaw text adventure game to test your knowledge of Python 3.15 by solving puzzles.
Stop one person claiming your Python free tier twice
Fold Gmail dots, plus tags and googlemail.com into one key, then grant the trial in one transaction. Django and SQLAlchemy.
Python 3.14 vs Python 3.15 – performance testing
Performance benchmarks on AMD and Intel systems reveal that Python 3.15 is overall ~1.45Ă— faster than Python 3.14. While massive speedups in Base32, Ascii85, and Base85 C-rewrite encoding operations heavily skew the average, most other workloads show a more modest performance improvement of around 1.20Ă—.
Building a GPU Compiler from Scratch
Progressive multi-level IR lowering systematically transforms high-level PyTorch graphs into optimized CUDA code through six explicit compiler stages. By separating graph fusion, hardware scheduling, and autotuning, the architecture makes GPU optimization easier to reason about, measure, and improve.
Parsing JSON at tens of gigabytes per second… in Python
Free-threaded Python 3.14 can push JSON parsing into the tens of gigabytes per second when fastsimdjson spreads work across many cores and avoids eagerly materializing Python objects. On a 64-core machine, Lemire reports throughput around 66 GB/s, showing how dramatically multithreaded parsing can scale when Python’s GIL is no longer the limiting factor.
Automating Django deployments with Deployer
The article demonstrates how to implement a multi-lift scheduling algorithm in Python using LOOK to serve requests in the current direction before reversing. It then explores multi-lift optimization by separating responsibilities between a Dispatcher and a LiftController state machine, with requests assigned using weighted cost functions.
Build your own decision model
Nish Tahir shows how to turn a small Qwen model into a fixed-choice decision model by masking outputs to allowed tokens, then evaluates and fine-tunes it on CommonsenseQA. Because the raw token probabilities are overconfident, he applies temperature scaling so the reported confidence better matches actual accuracy.
Building a small Django app with help from AI
This tutorial demonstrates how to build a basic Django idea-voting application using AI as an interactive assistant rather than an autonomous developer. It emphasizes using targeted prompts to generate boilerplate, explain error messages, write tests, and catch edge cases like database race conditions while keeping architectural decisions in the developer’s hands.
Saving Jet Fuel
Mark Litwintschik evaluates Scikit-decide and OpenAP for optimizing flight paths and modeling aircraft fuel consumption using an Airbus A320 as the main example. He shows how A* search can combine aircraft performance models with NOAA wind data to find more fuel-efficient routes than simply following the shortest path.
Building a lift scheduling algorithm in Python
The post demonstrates how to implement a multi-elevator scheduling algorithm in Python using the LOOK algorithm to prevent out-of-order directional stops. It further explores multi-lift optimization by separating system concerns between a Dispatcher and a LiftController state machine to assign requests based on weighted cost functions.
security-suite
Open-source security suite for OSINT, web scanning, API testing, SIEM integration, and AI-powered analysis.
google / artemis
ARTEMIS turns natural-language instructions into reliable Android automation. It automates end-to-end workflows, captures logs, and integrates seamlessly with AI coding assistants such as Antigravity, Codex, and Claude Code. It also achieves 99%+ success rate on AndroidWorld Benchmark.
CacheCanary
CacheCanary is a Python CLI and GitHub Action that detects why Claude prompt caching silently stops working on Amazon Bedrock, checks saved requests in CI, and analyzes Bedrock logs to show cache hit rates and the cost of misses.
python-date-parser
A Rust-backed Python library for fast fuzzy parsing of heterogeneous date strings, with bulk-list and Polars APIs that avoid Python-level iteration and can outperform pure-Python alternatives by orders of magnitude.
Lifeguard
Lifeguard is a static analyzer to detect Lazy Imports incompatibilities and ease the adoption overhead for Lazy Imports in Python.
LongLive
Long video generation and world-action modeling research from NVIDIA. Each project has its own directory, code, documentation and model weights.
fastapi-stream-lease
Distributed stream and SSE concurrency lease manager for FastAPI and Starlette backed by atomic Redis Lua scripts.
why .parquet dominates modern data engineering
This video explains why the Parquet file format has become a dominant standard in modern data engineering by using columnar storage to improve speed and reduce file size compared to traditional CSV formats. It details key technical features like compression, encoding, and predicate pushdown that allow for significantly more efficient data retrieval and storage for large-scale analysis.
A Clean Way to Implement Undo in Python
This video explains how to implement the Memento design pattern in Python to handle state restoration and undo functionality without breaking encapsulation. It demonstrates a clean, modern approach using frozen data classes, protocols, and generics to manage state snapshots independently of application logic.
Polars Query Optimization: Lazy vs. Eager Mode
Learn how Polars' lazy mode improves memory efficiency and performance compared to eager mode by building an optimized query plan before execution. By utilizing predicate and projection pushdown, lazy mode significantly reduces resource usage when working with large datasets, making it the preferred approach for most data analysis tasks.
Project by Ruslan Keba. Since 2012. Powered by Python. Made in 🇺🇦Ukraine.