Analysis updated 2026-06-24
Add type checking to a large Python codebase to catch bugs before runtime
Get inline type errors and autocomplete in VS Code via the Pyright extension
Run pyright in CI to enforce type correctness on every pull request
| microsoft/pyright | fabric/fabric | ansible/awx | |
|---|---|---|---|
| Stars | 15,426 | 15,430 | 15,412 |
| Language | Python | Python | Python |
| Setup difficulty | easy | easy | hard |
| Complexity | 3/5 | 3/5 | 5/5 |
| Audience | developer | ops devops | ops devops |
Figures from each repo's GitHub metadata at analysis time.
Install via npm or use the VS Code extension, works best with proper type annotations in your code.
Pyright is a static type checker for Python, built by Microsoft. A static type checker reads your code before it runs and warns you about type errors, for instance, if you pass a number to a function that expects a string, or if you try to call a method that doesn't exist on a value. This helps catch bugs early without having to actually run the program. Pyright is designed for high performance and is suitable for large Python codebases. It follows Python's standards for type annotations, the hints you can add to your code to describe what types variables and function arguments should be. It comes in two forms: a command-line tool you can run in a terminal, and an extension for Visual Studio Code, Microsoft's popular code editor. There is also a Pyright Playground at pyright-play.net where you can try it directly in a browser without installing anything. Configuration, installation, and usage details are covered in the documentation at microsoft.github.io/pyright. For temporary file handling in remote environments, you can set the PYRIGHT_TMPDIR environment variable to specify where Pyright stores its temporary files. Questions and community discussion happen in the GitHub Discussions section, and bugs or feature requests can be filed in the Pyright or Pylance issue trackers. The project is open to contributions and follows the Microsoft Open Source Code of Conduct.
Microsoft's fast static type checker for Python. Reads code before it runs and warns about type errors, with a CLI and VS Code extension.
Mainly Python. The stack also includes TypeScript, Python, Node.
Setup difficulty is rated easy, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.