microsoftDeveloper tools

pyright

Microsoft’s standards-based static type checker for Python, available as both a command-line tool and a Visual Studio Code extension.

  • Backend
  • Full stack
  • Code quality
  • CLI
  • IDE plugin
  • Windows
  • macOS
  • Linux
  • Runs locally
pyright screenshot
Popularity
15.7k Stars
GitHub stars
Recent activity
10/2/2026
Updated in the last 30 days
License
NOASSERTION
Review the terms yourself

Why it matters

We look beyond stars: what problem it solves, whether it creates real utility, and what makes its approach worth noticing.

Last 90 days

Problem

Addresses the maintenance challenges and runtime error risks inherent in Python's dynamic typing by providing static analysis for improved reliability in large codebases.

Practical value

Provides both a command-line interface and a VS Code extension, allowing for quick integration into development workflows with real-time type checking feedback.

Innovation / differentiation

Utilizes a high-performance architecture specifically optimized for type checking large-scale codebases, demonstrating efficiency in complex projects.

Leverage potential

Acts as a core type-checking tool within the Python ecosystem, providing a standardized foundation for ensuring code quality.

Why now

With the widespread adoption of Python Type Hints, this tool has become essential infrastructure for modern Python development.

Community activity

In the last 90 days there were 58 new issues and 213 pull requests; the bounded issue/PR samples include 42 issue authors and 19 PR contributors, with at least 3 releases.

Maintainer responsiveness

The 58-issue window sample had a 48% close rate, and the 100-pull-request sample had a 47% merge rate. Maintainer-response observations covered 59% of that issue sample, with a 9% response rate and median first response of 0.6 hours.

19 contributors in PR sampleAt least 3 releasesIssue response rate 9% · sample 34 (59% coverage)Median first response 0.6hPR merge rate 47% · 100 sampled in window

Key highlights

  • Perform standards-based static type checking for Python
  • Use a standalone CLI that can be integrated into CI
  • Test type inference and diagnostics quickly in the browser Playground

Quick start

How it is installed, how hard it is, and where to start.

Where it runs

Runs locally

Difficulty

Easy — follow the steps

Runs locally
  1. 01Follow the official documentation to install the Pyright CLI or the Visual Studio Code extension.
  2. 02Run Pyright in the Python project directory to analyze type annotations and report diagnostics.
  3. 03Add project-level configuration when the team needs consistent rules, and run the CLI as part of CI.

Best for

  • Developers who want to try it on their machine

More about it

Pyright is Microsoft’s static type checker for Python. It analyzes type annotations and Python typing rules without executing the program, with an emphasis on performance for large codebases. The project provides both a command-line checker and a Visual Studio Code extension.

It fits Python projects that already use type hints and want type diagnostics in the editor or as part of CI. Installation, configuration, command-line options, and diagnostic behavior are documented centrally, and a browser-based Playground is available for testing typing behavior quickly.

Pyright focuses on type checking and should not be treated as identical to Pylance. The project notes that core type-checking functionality belongs to Pyright while language-service functionality is generally associated with Pylance.

Sources

Each field shows its status and source — expand to review.

11 · Expand
  • capability tags

    Verified

    code_quality

    Source: manual_curated · Manually curated from the verified project README; no AI draft. · 8/17/2026

  • Latest release

    Verified

    1.1.414

    Source: GitHub API · latest_release=1.1.414 · 10/2/2026

  • License

    Verified

    NOASSERTION

    Source: GitHub API · license.spdx_id=NOASSERTION · 10/2/2026

  • needs api key

    Verified

    No

    Source: manual_curated · Manually curated from the verified project README; no AI draft. · 8/17/2026

  • One-liner

    Verified

    {"en":"Microsoft’s standards-based static type checker for Python, available as both a command-line tool and a Visual Studio Code extension.","zh":"微软维护的 Python 静态类型检查器,提供命令行工具和 Visual Studio Code 扩展。"}

    Source: manual_curated · Manually curated from the verified project README; no AI draft. · 8/17/2026

  • Platforms

    Verified

    windows, macos, linux

    Source: manual_curated · Manually curated from the verified project README; no AI draft. · 8/17/2026

  • Category hint

    Inferred from materials

    developer-tools

    Source: Project README · hint=developer-tools · 8/14/2026

  • product forms

    Verified

    cli, ide_plugin

    Source: manual_curated · Manually curated from the verified project README; no AI draft. · 8/17/2026

  • role tags

    Verified

    backend, fullstack

    Source: manual_curated · Manually curated from the verified project README; no AI draft. · 8/17/2026

  • supports local

    Verified

    Yes

    Source: manual_curated · Manually curated from the verified project README; no AI draft. · 8/17/2026

  • supports self host

    Verified

    No

    Source: manual_curated · Manually curated from the verified project README; no AI draft. · 8/17/2026

Other verified projects matched by category, capabilities, and intended roles.