astral-sh/ty
An extremely fast Python type checker and language server, written in Rust. observed · 2026-08-28
Health v2 · maintenance only
82/100
- Activity 99
- Release rhythm 87
- Longevity 34
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 3
- age_days: 488
- days_rel: 7
- days_push: 7
- n_releases_24m: 74
Adoption not part of the score
19562 stars · 327 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
ty is an extremely fast Python type checker and language server written in Rust, backed by Astral (creators of Ruff and uv). It provides rich diagnostics, incremental analysis, and full LSP features like code navigation, completions, and auto-import.
Use cases
- type check a python project
- faster alternative to mypy
- faster alternative to pyright
- add a python language server to my editor
- get type errors in vscode as i type
- check types in a partially typed codebase
- run type checking in ci
When to choose
- you need very fast type checking on large Python codebases
- you want an integrated language server with navigation, completions, and inlay hints
- your codebase is only partially typed and you need gradual adoption
- you want configurable rules, per-file overrides, and suppression comments
When to avoid
- you need a fully mature checker with complete feature coverage - ty is in beta and some type-system features are marked @Todo
- your team is standardized on mypy or Pyright plugins and workflows
- you rely on type-checker features ty does not yet implement
Facets
cli-tool · maturity active
type-system linter editor cli developer-tools developer-tools programming-languages testing python rust cli cross-platform editor-plugin type-checker language-server lsp static-analysis python-typing mypy-alternative pyright-alternative astral command-line web
7 sources
- readme: https://github.com/astral-sh/ty · fetched 2026-08-28 · 2da75cf749b8
- homepage: https://docs.astral.sh/ty/ · fetched 2026-08-29 · b537b61d85c4
- site_page: https://docs.astral.sh/ty/installation · fetched 2026-08-29 · 74dbd65713ac
- site_page: https://docs.astral.sh/ty/features/type-system · fetched 2026-08-29 · c0f46f614a58
- site_page: https://docs.astral.sh/ty/features/diagnostics · fetched 2026-08-29 · 2a71832b4354
- site_page: https://docs.astral.sh/ty/features/language-server · fetched 2026-08-29 · b73312dcf9b0
- site_page: https://docs.astral.sh/ty/reference/typing-faq · fetched 2026-08-29 · 780278e5d1fd
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| astral-sh/ty | main | 82 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem