Skip to content
aicoolies logo
ty logo

ty

Extremely fast Python type checker written in Rust

ty is an extremely fast Python type checker built in Rust by Astral, the team behind Ruff and uv. It performs full type inference, supports PEP 695 type parameter syntax, and checks Python code orders of magnitude faster than mypy or pyright. ty completes the Astral Python toolchain alongside Ruff for linting and uv for package management, giving developers a unified Rust-powered development experience.

About ty

ty is the third major tool from Astral, completing their vision of rebuilding Python's core development toolchain in Rust for maximum performance. Where Ruff replaced flake8 and black for linting and formatting, and uv replaced pip and virtualenv for package management, ty targets mypy and pyright for type checking. The result is a type checker that can process large codebases in seconds rather than minutes, with full support for Python's type system including generics, protocols, and the latest PEP 695 syntax.

The type checker performs whole-program inference, understanding type narrowing through control flow, isinstance checks, and pattern matching. It integrates with existing type stubs from typeshed and supports inline type: ignore comments for gradual adoption. ty outputs clear, actionable error messages with code snippets and fix suggestions, following the same developer experience philosophy that made Ruff popular. Configuration lives in pyproject.toml alongside Ruff and uv settings.

Despite being relatively new, ty has already accumulated over 18,000 GitHub stars, reflecting strong developer demand for faster Python tooling. It is distributed under the MIT license and installs as a single binary with zero Python dependencies. For teams already using Ruff and uv, ty provides the final piece of a coherent, high-performance Python development stack that eliminates the overhead of managing multiple slow Python-based tools.

Pricing & Platform Specs

Pricing Summary

100% free and open-source ultra-fast Python type checker and language server (LSP) developed in Rust by Astral under MIT/Apache-2.0 licenses ($0 software cost). Delivers 10x-100x faster static analysis than legacy type checkers with fine-grained incremental updates and instant uvx execution.

full pricing breakdown →

Supported Platforms

macOS, Linux, Windows — single Rust binary, no Python deps

Explore categories, tags & use cases

Categories

Alternatives

All ty alternatives →

Extremely fast Python linter and formatter written in Rust

Ruff is a Python linter and code formatter written in Rust by Astral that runs 10-100x faster than existing tools like flake8, isort, and Black. It implements over 800 lint rules from dozens of popular plugins in a single binary, handles auto-fixing for most violations, and includes a built-in formatter compatible with Black. Adopted by FastAPI, Hugging Face, Pandas, and Apache Airflow, Ruff has over 38,000 GitHub stars and processes entire codebases in milliseconds.

Open Source

Blazing-fast Python package and project manager in Rust

uv is an extremely fast Python package and project manager written in Rust by Astral. It replaces pip, pip-tools, pipx, poetry, pyenv, and virtualenv with a single binary that delivers 10-100x speedups. uv manages Python versions, resolves dependencies with universal lockfiles, runs scripts with inline metadata, and executes CLI tools via uvx. Over 82,000 GitHub stars and weekly releases make it the fastest-growing Python toolchain.

Open Source

Community experience

Sources & verification

Sources checked
Content verified

Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.

FAQ

What is ty?

ty is an extremely fast Python type checker built in Rust by Astral, the team behind Ruff and uv. It performs full type inference, supports PEP 695 type parameter syntax, and checks Python code orders of magnitude faster than mypy or pyright. ty completes the Astral Python toolchain alongside Ruff for linting and uv for package management, giving developers a unified Rust-powered development experience.

Is ty free?

Yes — ty is open source and free to use. 100% free and open-source ultra-fast Python type checker and language server (LSP) developed in Rust by Astral under MIT/Apache-2.0 licenses ($0 software cost). Delivers 10x-100x faster static analysis than legacy type checkers with fine-grained incremental updates and instant uvx execution.

Is ty open source?

Yes — ty is open source.

Is ty still maintained?

Yes — ty is active. Its listing was last verified on September 6, 2026.

What are the best ty alternatives?

The first editor-selected ty alternatives are Ruff, uv.