astral-sh/ty
An extremely fast Python type checker and language server, written in Rust. observed · 2026-10-10
Health v2 · maintenance only
83/100
- Activity 99
- Release rhythm 87
- Longevity 38
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 3.0
- age_days: 536
- days_rel: 11
- days_push: 11
- n_releases_24m: 85
Adoption not part of the score
19833 stars · 338 forks observed · 2026-10-10
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-19, confidence 0.97
ty is an extremely fast Python type checker and language server written in Rust. It provides comprehensive diagnostics, incremental analysis, and IDE features such as code navigation and completions.
Use cases
- Check a large Python codebase for type errors quickly
- Get real‑time type diagnostics and auto‑imports while editing in VS Code or Neovim
- Enforce consistent type rules across a multi‑module Python project
- Run type checking in CI pipelines without caching overhead
- Explore type information for third‑party libraries with unknown types
When to choose
- You need a type checker that is significantly faster than mypy or Pyright
- You want a language server with fine‑grained incremental updates for fast IDE feedback
- You prefer a tool written in Rust for better performance and safety
- You require advanced typing features like intersection types and redeclarations
When to avoid
- Your project relies on a type checker that integrates tightly with a specific IDE not supported by ty
- You need a fully stable, non‑beta tool with a long‑term support guarantee
- You require type checking for languages other than Python
Facets
application · maturity active
parser cli programming-languages developer-tools windows cli rust-implemented incremental-analysis rich-diagnostics fast-type-checking pyright-alternative language-server linux macos
7 sources
- readme: https://github.com/astral-sh/ty · fetched 2026-10-10 · 2da75cf749b8
- homepage: https://docs.astral.sh/ty/ · fetched 2026-10-05 · 2fc2f4126e97
- site_page: https://docs.astral.sh/ty/installation · fetched 2026-10-05 · 4c7033d53fd8
- site_page: https://docs.astral.sh/ty/features/type-system · fetched 2026-10-05 · 37d5f6969b01
- site_page: https://docs.astral.sh/ty/features/language-server · fetched 2026-10-05 · 13c7a20733e2
- site_page: https://docs.astral.sh/ty/reference/typing-faq · fetched 2026-10-05 · 481dbe16966a
- site_page: https://docs.astral.sh/ty/features/diagnostics · fetched 2026-10-05 · 707b8bdbc480
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| astral-sh/ty | main | 83 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem