pyright

Microsoft's fast static type checker for Python — the engine behind Pylance in VS Code, written in TypeScript with strong inference and IDE-first diagnostics.

type-checking-frameworksnpm: pyright
77
Hero Score
Popularity
82
Performance
85
Ecosystem
50
Maturity
92
Dev Experience
78
⭐ 15,679 stars⬇ 10.7M downloads/wkFirst release: Jun 2021Last release: Sep 2026
Async Support: YesPlugin Extensions: MediumSpeed: FastDoc Quality: Very highLearning Curve: Medium

Pros

  • • Powers Pylance in VS Code — best-in-class editor integration and instant diagnostics
  • • Stricter inference than mypy on generics, narrowing, and modern typing PEPs
  • • Watch mode and incremental analysis make it fast on large codebases

Cons

  • • Smaller plugin ecosystem than mypy (no Django/SQLAlchemy-style plugin model)
  • • Configuration via pyproject.toml is less documented than mypy's
  • • Authoritative spec is Microsoft-driven, not community-driven like mypy

Alternatives in type-checking-frameworks

Compare Python Packages with ease.