Python Tooling Blog
RSS-
How uv Achieved Its Performance
uv's speed comes from eliminating work rather than optimizing it, with design choices like skipping .egg support and bytecode compilation.
-
ty: Astral's New Python Type Checker Released
Astral releases ty, a Rust-based Python type checker that's 20x faster than mypy with advanced type narrowing and incremental checking.
-
Teaching LLMs Python Best Practices
LLMs default to outdated Python patterns. The handbook provides llms.txt and structured context to teach AI assistants modern tooling.
-
Claude Code Hooks for uv Projects
Configure Claude Code hooks to prevent pip and python commands and enforce uv usage in your Python projects.
-
Sync with uv: Eliminate Pre-commit Version Drift
sync-with-uv automatically synchronizes tool versions between uv.lock and .pre-commit-config.yaml to prevent version drift.
-
Analysis of the New Wave of Python Type Checkers
Rob Hand compares three Rust-based Python type checkers: ty (Astral), pyrefly (Meta), and zuban, covering performance and tradeoffs.
-
prek: pre-commit, but fast
prek is a Rust-based drop-in replacement for pre-commit that runs 10x faster while using half the disk space.
-
uv format: Code Formatting Comes to uv (experimentally!)
uv 0.8.13 adds experimental uv format command that runs Ruff's formatter, similar to how cargo fmt wraps rustfmt.
-
Google Sunsets Pytype: The End of an Era for Python Type Checking
Google ends Pytype support after Python 3.12. The bytecode-based type checker couldn't keep up with modern typing and IDE requirements.
-
ty's Breakthrough: Why Incremental Analysis Matters for Python
Charlie Marsh explains ty's incremental analysis system that recomputes only affected code when files change, from file-level to function-level.