Pyright icon
Pyright icon

Pyright

Static type checker for Python.

Cost / License

  • Free
  • Open Source

Platforms

  • Mac
  • Windows
  • Linux
  • Python
0likes
0articles
Save

Features

No features, maybe you want to suggest one?

Highlights All activities

Pyright News & Activities

Recent activities

  • ty icon
    Paul added Pyright as alternative to ty
  • Pyrefly icon
    Paul added Pyright as alternative to Pyrefly

Pyright information

AlternativeTo Category

Development

GitHub repository

  •  15,391 Stars
  •  1,784 Forks
  •  264 Open Issues
  •   Updated  
View on GitHub

Popular alternatives

View all
Pyright was added to AlternativeTo by Paul on and this page was last updated .

No comments or reviews, maybe you want to be first?

Official Links

Install from the command line

  • brew install pyright

Be careful what you paste into a terminal. Check what a command installs before running it.

What is Pyright?

Pyright was created to address gaps in existing Python type checkers like mypy.

Speed

Pyright is typically 5x or more faster than mypy and other type checkers that are written in Python. It is meant for large Python source bases. It can run in a “watch” mode and performs fast incremental updates when files are modified.

No Dependency on Python Environment

Pyright is written in TypeScript and runs within node. It does not require a Python environment or imported third-party packages to be installed. This is especially useful when used with the VS Code editor, which uses node as its extension runtime.

Configurability

Pyright supports flexible configuration that provides granular control over settings. Different “execution environments” can be specified for different subsets of a source base. Each environment can specify different PYTHONPATH settings, python language version, and platform target.