Astral launches ty 1.0, a Rust-based Python type checker

Original: Ty 1.0: Fast Python type checker and language server

Why This Matters

ty's rapid adoption signals Rust-based tooling is displacing Python's legacy type-checking stack.

Astral released ty 1.0, a Python type checker and language server written in Rust. It is now OpenAI's default type checker, covering millions of lines of Python with a 24x median speedup and 73% memory reduction.

Astral — maker of the uv package manager and Ruff linter — has released ty 1.0, its Python type checker and language server built in Rust. The tool is designed as a direct alternative to mypy, Pyright, and Meta's Pyrefly.

Performance numbers are the headline: in command-line benchmarks on an M3 Max, ty was fastest on 16 of 18 ecosystem projects, running 1.46x faster than Pyrefly and 3.56x faster than Zuban. In editor (language server) benchmarks, it topped 14 of 17 projects, clocking 7.73x faster than Pyrefly.

OpenAI has migrated to ty as its default type checker, reporting a 24x median speedup and 73% reduction in peak memory usage across many millions of lines of Python.

Adoption has grown fast despite beta status: PyPI downloads rose 29x between October 2025 and October 2026. A November audit of the 25,000 most-downloaded PyPI packages found ty third overall at 11.6% share, behind mypy and Pyright. Among repositories created in the last year, ty sits at 22.6% versus Pyright's 26.0%.

On accuracy, ty now records 14 false positives and 13 false negatives on the Python typing conformance suite, down sharply from 224 and 405 at Beta. Mypy, by comparison, reports 190 false positives and 109 false negatives.

Astral says ty's foundation in gradual and set-theoretic typing is meant to enable a "better" type checker, not just a faster one. Install via `uv tool install ty@latest`.

Source

astral.sh — Read original →