Pyright is Microsoft's full-featured static type checker for Python, designed for high performance on large codebases, available as a command-line tool and VS Code extension.
- 1.1.414
- Published at
- Sep 9, 2026
- 15,689
- Stars
- 4,709
- Download
- Synced at
- 8d ago
Latest release
1.1.414Sep 9, 2026, 08:40 PMDownloads slow? Switch the source anytime above
README
Project Overview
Pyright is a full-featured, standards-based static type checker for Python from Microsoft, built for high performance on large Python source bases. It ships as both a command-line tool and a VS Code extension, and powers the Pylance language service. A weekly type-checker benchmark makes performance comparisons with other tools transparent.
| Item | Value |
|---|---|
| Developer | Microsoft |
| Usage | CLI, VS Code extension |
| Focus | Static type checking |
| Strength | High performance on large codebases |
High-performance type checking built for large Python codebases.
Key Features
- Static type checking: comprehensive checks based on standard type annotations
- High performance: optimized for large source bases with fast checks
- Command-line tool: integrates into CI pipelines for type checking
- VS Code extension: real-time type diagnostics inside the editor
- Online Playground: try and verify type behavior in the browser
- Transparent benchmarks: weekly performance comparisons against other checkers
Target Audience
- Python developers
- Large project maintainers
- CI pipeline maintainers
- VS Code users
- Teams rolling out type annotations
Quick Start
- Install Pyright
pip install pyright- Check your project
pyrightOr install the Pyright extension in VS Code for real-time diagnostics
Try it quickly in the browser with the official Playground
Core Advantages
- Large-codebase friendly: designed for big source bases with stable performance
- Standards based: predictable behavior built on type annotation standards
- Ecosystem standing: the foundation of Pylance in VS Code with a mature community
System Requirements
| Item | Requirement |
|---|---|
| OS | Linux, macOS, Windows |
| Environment | Node.js (CLI), VS Code (extension) |
| Target language | Python |
Notes
- Temp directory: in restricted environments set
PYRIGHT_TMPDIRto override the temp root - Pyright vs Pylance: core type checking belongs to Pyright; language service features to Pylance
- Docs first: installation, configuration, and usage details follow the official documentation
Release history
Sort