--- id: pyright version: "1.1.411" license: MIT license_treatment: permissive maintenance: active --- # pyright — Command line wrapper for pyright License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install pyright uv add pyright poetry add pyright ## Description # Pyright for Python [![Downloads](https://pepy.tech/badge/pyright)](https://pepy.tech/project/pyright) ![PyPI](https://img.shields.io/pypi/v/pyright) ![Supported python versions](https://img.shields.io/pypi/pyversions/pyright) > This project is not affiliated with Microsoft in any way, shape, or form Pyright for Python is a Python command-line wrapper over [pyright](https://github.com/microsoft/pyright), a static type checker for Python. ## Installation Use the package manager [pip](https://pip.pypa.io/en/stable/) to install pyright. ```bash pip install pyright ``` > [!TIP] > It's highly recommended to install `pyright` with the `nodejs` extra which uses [`nodejs-wheel`](https://pypi.org/project/nodejs-wheel-binaries/) to > download Node.js binaries as it is more reliable than the default [`nodeenv`](https://pypi.org/project/nodeenv/) solution. > > ```bash > pip install pyright[nodejs] > ``` ## Usage Pyright can be invoked using two different methods ```bash pyright --help ``` or ```bash python3 -m pyright --help ``` Pyright for Python should work exactly the same as pyright does, see the [pyright... ## AI interpretation — verify before relying Pyright is a Python command-line wrapper that runs Microsoft's Pyright static type checker, automatically downloading Node.js if needed to execute the underlying TypeScript-based type analysis tool. Verdict: Pyright is a well-maintained, actively developed type checker wrapper with low install friction and permissive licensing. It bridges Python developers to Microsoft's Pyright without requiring npm, though runtime Node.js availability is a prerequisite. No known vulnerabilities and stable production status make it suitable for type-checking workflows. [View on SkillFed](https://skillfed.io/packages/pyright) · [View on PyPI](https://pypi.org/project/pyright/)