compare
mypy vs Pyright
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | mypy | Pyright |
|---|---|---|
| Language | Python | Python |
| Licence | Other | Other |
| Stars | 21k | 16k |
| Latest | v2.4.0 | 1.1.414 |
| Last push | 2026-10-06 | 2026-10-05 |
| Release cadence | too few releases | about 30 days between releases |
| Active contributors | 28 commit authors on the default branch in the last 90 days | 24 commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
Pyright replaces mypy. Alternatives to mypy →
Full replacementAlso the engine behind Pylance in VS Code.
Published benchmarks, each linked to its source. The numbers depend on the hardware and the workload they were measured on.
Type checking home-assistant on the command line without caching
Apple M4: Pyright 19.62s, mypy 45.66s. Run by Astral, makers of ty (2.19s).
mypy
unsigned The latest release, v2.4.0, carries no signature GitHub could verify.
Loading the security report
Pyright
unsigned The latest release, 1.1.414, carries no signature GitHub could verify.
Loading the security report