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-frameworksRecently releasednpm: pyright
76
Hero Score
Popularity
84
Performance
85
Ecosystem
50
Maturity
84
Dev Experience
78
⭐ 15,466 stars⬇ 6.7M downloads/wkFirst release: Jun 2021Last release: May 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.