The Extremely Fast Python type checker

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

Ty is a new Python type checker written in Rust by Astral (makers of Ruff), designed for extremely fast performance. Currently in preview, it can be installed via pip or run with uvx, used similarly to other type checkers with 'ty check' command, and includes VS Code extension support. The tool automatically ignores files in .gitignore and .ignore files and supports the language server protocol for IDE integration.

2m read timeFrom blog.pythonlibrary.org
Post cover image
Table of contents
Getting Started with tyUsing the ty Type CheckerAdding ty to Your IDEWrapping Up

Sort: