Optional static typing for Python
Static type checker for Python with a plugin system, run from the command line or an editor.
alternatives to
Static Type Checker for Python
mypy, Pyrefly, and basedpyright. 3 alternatives to Pyright, in Python, Rust, TypeScript. Compare fit, licence, stars and the latest signed release.
| Tool | Fit | Stars | Licence | Terms | Self-hosted | Language | Latest | Last push |
|---|---|---|---|---|---|---|---|---|
| mypy | Full replacement | 21k | Other | Open source | No | Python | v2.4.1 | 2026-11-20 |
| Pyrefly | Full replacement | 7.2k | MIT | Open source | No | Rust | 1.5.0 | 2026-11-23 |
| basedpyright | Full replacement | 3.7k | Other | Open source | No | TypeScript | v1.40.2 | 2026-11-10 |
3 alternatives
Optional static typing for Python
Static type checker for Python with a plugin system, run from the command line or an editor.
A fast type checker and language server for Python
Type checker and language server written in Rust.
pyright fork with various type checking improvements, improved vscode support and pylance features built into the language server
A fork that reads Pyright's configuration, with extra rules, baselines and Pylance features in the open language server.