Comparison
basedpyright vs pyrefly vs pytype vs ty
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 10 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install pyreflyPython type inferencer
Archived. The repository is read-only: no more fixes or releases will come.
pip install pytypeAn extremely fast Python type checker, written in Rust.
Actively maintained. Last release 5 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install tyIn short
- pytype is archived: avoid it for new projects.
- ty is the most used: 53.9M downloads a month, 2.8× more than basedpyright.
- Maintenance is comparable: ty 89, basedpyright 89, pyrefly 83 on Pythie’s Index.
- pyrefly is growing fastest: downloads +22% 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 | pytype | ty |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 89 | Pythie’s Index: 83 | Pythie’s Index: 5 | Pythie’s Index: 89 |
| Verdict | Actively maintained | Actively maintained | Archived | Actively maintained |
| Downloads / month | 19.5M | 12M | 772.1K | 53.9M |
| Downloads, month over month | +18% | +22% | -18% | +11% |
| GitHub stars | 3.7K | 7.3K | 5K | 20.2K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 33 | 23 | 16 | 0 |
| Last release | Oct 4, 2026 | Nov 21, 2026 | Oct 11, 2024 | Nov 26, 2026 |
| Releases, 12 months | 28 | 66 | 0 | 118 |
| Weeks with commits | 21 / 26 | 26 / 26 | 0 / 26 | 26 / 26 |
| Recent contributors | 15 | 12 | 8 | 13 |
| First release | Jan 2024 | Feb 2025 | May 2018 | Apr 2025 |
| Python versions | 3.10 – 3.15 | – | 3.10 – 3.12 | 3.8 – 3.15 |
| License | MIT | MIT | Apache-2.0 | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.