PythonHub Logo Python Hub Weekly Digest for 2025-11-09

This week in Python, UV was hailed as a game-changer for the Python ecosystem, offering efficient management of multiple Python applications. The async Python library, Wove, and the Rich-powered CLI, httptap, were also highlighted. DeepSeek OCR's solution to AI scaling was a viral topic. In terms of tutorials, Pydantic's data validation and FlashPack's fast model loading for PyTorch were discussed. The new debugging tool, Codetracer, and the Monte Carlo modeling package, probabilit, were introduced. The final major pip update of 2025, pip 25.3, was released. Lastly, new projects like skylos, a static analysis tool, and Kanchi, a celery task monitoring system, were featured. Have a great week and happy coding!

💖 Most Popular

Uv is the best thing to happen to the Python ecosystem in a decade

The Best Way to Share Code Between Python Apps
The video explains how to use UV workspaces to manage multiple Python applications with shared code and dependencies in a single repository. It demonstrates structuring a project with CLI and FastAPI apps, extracting shared logic into internal packages, and managing dependencies efficiently to avoid duplication and conflicting environments. The approach simplifies development and scaling...

wove
Beautiful Python async. It is for running high latency async tasks like web requests and database queries concurrently in the same way as asyncio, but with a drastically improved user experience.

httptap
Rich-powered CLI that breaks each HTTP request into DNS, connect, TLS, wait, and transfer phases with waterfall timelines, compact summaries, or metrics-only output.

How DeepSeek OCR Quietly Solved a Billion-Dollar Problem in AI Scaling
This article cover the architecture and how to guide for DeepSeek OCR- this story has gone viral on this topic.


📖 Articles

Python Pydantic Tutorial: Complete Data Validation Course (Used by FastAPI)
Learn how to use Pydantic to validate and structure data in Python using type hints, custom validators, and nested models. Pydantic simplifies data handling in web apps, pipelines, and AI tools by replacing messy manual validation with clean, reliable models.

Async Django: a solution in search of a problem?
The article explains that Django added async support mainly to handle I/O-bound workloads more efficiently by allowing the server to process multiple requests concurrently without blocking. However, the async features add significant complexity and have seen limited adoption because most Django applications benefit more from offloading heavy tasks to background workers rather than rewrit...

Introducing FlashPack: Lightning-Fast Model Loading for PyTorch
The FlashPack package dramatically speeds up PyTorch model loading by flattening all weights into a single contiguous stream, memory-mapping the file, and overlapping disk, CPU, and GPU operations with CUDA streams. This approach yields 3-6× faster loading compared to traditional methods like load_state_dict(), reducing GPU idle time and improving overall performance, especially on syste...

Wheels for free-threaded Python now available for psutil

codelion / openevolve
Open-source implementation of AlphaEvolve

Codetracer - a time-travelling debugger for Python
Codetracer is a new way to debug and code-review Python. Demo: https://youtu.be/e2ctwMbpuCA

Detecting object wrappers
The wrapt library's version 2.0.0 changed its object proxy class hierarchy, breaking checks that detect if an object is already wrapped, causing repeated wrapping and performance issues. The best practice is to use custom wrapper types and traverse wrapper chains via the __wrapped__attribute to reliably detect wrapping, emphasizing careful version pinning and cautious monkey patching in ...

The Building Blocks of Agentic AI: From Kernels to Clusters
The PyTorch Native Agentic Stack is a scalable, PyTorch-integrated framework designed for building and deploying autonomous AI agents across thousands of GPUs. It simplifies complex distributed reinforcement learning workflows by orchestrating large-scale models, providing abstractions for services, fault tolerance, and efficient state management to accelerate AI research and deployment.

Monte Carlo modeling in Python with probabilit
The article introduces probabilit, a Python package designed for Monte Carlo modeling that simplifies uncertainty calculations by allowing users to model equations with probability distributions and sample from them. It demonstrates key features like Latin Hypercube Sampling for efficient sampling and inducing correlations between variables, highlighting its suitability for prototyping u...

Why Performance Matters in Python Development
Learn why code optimization is important and how efficient Python code improves speed, scalability, and the user experience.

Helion: A High-Level DSL for Performant and Portable ML Kernels
Helion is a Python-embedded high-level DSL that compiles to optimized Triton kernels, blending the simplicity of PyTorch syntax with powerful autotuning to deliver high-performance, portable machine learning kernels across hardware architectures. It automates complex tasks like tensor indexing, memory management, and hardware-specific tuning, enabling developers to write efficient kernel...

EuroPython 2025 Videos
Here are all the videos for the conference, brought to you by the EuroPython 2025 Team and the EuroPython Society.

pip 25.3
The pip 25.3 release is the final major pip update of 2025, featuring the removal of non-PEP 517 package build support and non-PEP 660 editable installs, meaning pip no longer calls legacy setup.py commands. It adds the new --build-constraint option for specifying build-time constraints separately, improves caching and metadata handling, supports editable requirements as Direct URLs, and...

Build Real-time Codebase Indexing

Python Hub Weekly Digest for 2025-11-02

Why We Migrated from Python to Node.js


⚙️ Projects

skylos
Yet another static analysis tool for Python codebases written in Python that detects dead code + common security flaws created by ai. Faster and better than the rest :) also, who let the dawgs out?

Kanchi
A realtime celery task monitoring and management system.

the bug that taught me more about PyTorch than years of using it
The blog post recounts how a silent PyTorch MPS backend bug caused training loss plateaus by failing to update model weights on non-contiguous tensors, leading the author through a deep debugging journey that revealed PyTorch internals and the complexity of device-specific GPU kernel implementations. This experience taught more about PyTorch's workings than years of usage, emphasizing th...

AI-Trader
Five AIs battle for NASDAQ 100 supremacy. Zero human input. Pure competition.

IsaacSim
NVIDIA Isaac Sim™ is an open-source application on NVIDIA Omniverse for developing, simulating, and testing AI-driven robots in realistic virtual environments.

ValueCell
ValueCell is a community-driven, multi-agent platform for financial applications.

moneyflow
Personal Finance Data Interface for Power Users (supporting backends like Monarch Money)

Nyno
Create and Run Linux Workflows without Limits. Short for "nine" / "yaml" / "no-code" / "automation".

torchforge
PyTorch-native post-training at scale.



← Previous

Project by Ruslan Keba. Since 2012. Powered by Python. Made in 🇺🇦Ukraine.