ty: An extremely fast Python type checker and LSP: Charlie Marsh from the team at Astral recently announced the Beta release of ty. Included in the announcement is an LSP and VS Code Plugin (which ships with ty included).
There are a variety of supported installation methods, however if you’re using uv for managing your Python project, the easiest way to start is by adding ty as a development dependency with uv add --dev ty. Then run ty against your codebase with uv run ty.
In the past few months, I’ve found myself spending more time writing Python than Go, prompting me to search for new developer tools in the Python ecosystem. There are some real gems of well-designed developer tools that have been created since I was last actively developing in Python as my primary language. Several of these tools have been created by the folks at Astral, which makes sense since according to their about page:
“Our early team includes the authors of ripgrep, bat, hyperfine, and maturin; early, core contributors to Biome and Prefect; and multiple CPython core developers — all building at the intersection of Rust and Python”.
I’ll be updating my personal Python project template soon, and I expect that it will include many of the Astral team’s tools such as uv, ruff and now ty.
