Comparison
basedpyright vs pyrefly vs ty vs zuban
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
static type checking for Python (but based)
Actively maintained. Last release 8 weeks ago, commits in 21 of the last 26 weeks. A safe choice.
pip install basedpyrightA fast type checker and language server for Python with powerful IDE features
Actively maintained. Last release 2 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install pyreflyAn extremely fast Python type checker, written in Rust.
Actively maintained. Last release 1 day ago, commits in 26 of the last 26 weeks. A safe choice.
pip install tyZuban - The Zuban Language Server
Actively maintained. Last release 5 days ago, commits in 25 of the last 26 weeks. A safe choice.
pip install zubanIn short
- ty is the most used: 53M downloads a month, 2.5× more than basedpyright.
- Maintenance is comparable: ty 89, pyrefly 88, basedpyright 88, zuban 84 on Pythie’s Index.
- basedpyright is growing fastest: downloads +30% over the last month.
- ty is the newcomer: first released Apr 2025.
- Safe default for a new project: ty.
Side by side
| Metric | basedpyright | pyrefly | ty | zuban |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 88 | 88 |