Astral’s ty: A New Blazing-Fast Type Checker for Python

After Ruff and uv, the Astral team is back with another Rust-based tool called ty, short for type check. This new tool delivers a lightning-fast static type-checking experience in Python, aiming to outpace existing tools in both performance and convenience. By incorporating ty into your daily workflow, you’ll catch type-related bugs earlier and get clearer feedback.

But is ty suitable for you? Take a look at the table below to make a quick decision:

Use Case Pick ty Pick Other Tools
Development or experimentation
Production use

At the time of writing, ty is available as an early preview release with hundreds of open issues. Despite being

 

 

 

To finish reading, please visit source site