# Pyright

> Static type checker for Python

Source: https://talira.ai/catalog/pyright-8xnxsfgw
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / type checking](https://talira.ai/categories/developer-tools/type-checking), [developer tools / language servers](https://talira.ai/categories/developer-tools/language-servers), [languages / python](https://talira.ai/categories/languages/python)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Backed by: [Microsoft](https://talira.ai/orgs/microsoft.md)
- Funding: public company (NASDAQ:MSFT)[^2]

Pyright is a full-featured, standards-based static type checker for [Python](https://talira.ai/catalog/python-tgjs08pq.md) from Microsoft, designed for high performance on large codebases. It implements the typing PEPs from type hints and generics to structural subtyping, typed dictionaries, variadic generics, dataclass transforms and the new type parameter syntax, infers types for return values and variables, and narrows types through `if`/`else` control flow. It runs as a command-line tool with a watch mode that updates incrementally, and as a language server: its own VS Code extension, Neovim, Sublime Text, Emacs and PyCharm integrations, and Microsoft's [Pylance](https://talira.ai/catalog/pylance-cv0es80q.md) extension, which builds on it. Configuration files give subdirectories their own execution environments with different search paths, Python versions and platforms.

## Links

- Website: https://microsoft.github.io/pyright/
- GitHub: https://github.com/microsoft/pyright
- Docs: https://microsoft.github.io/pyright/

## Problems it solves

- type check a large Python codebase quickly
- get type errors in my editor as I type Python, with a language server
- catch Python bugs from wrong types in CI before they ship
- type check Python with the newest typing PEPs supported early
- use different Python versions and search paths for different folders of one repo when type checking
- a faster alternative to mypy for strict Python type checking
- Python type checking in Neovim, Emacs or Sublime Text

## Features

- standards-based type checking of the typing PEPs
- type inference for return values and variables
- control-flow type narrowing
- watch mode with fast incremental updates
- language server for editors
- VS Code extension
- configuration files with per-directory execution environments
- browser playground

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.78 out of 1.
Signals: maintenance 1.00, adoption 0.84, momentum 0.68, community 0.89, backing 0.55, extensibility 0.20.

- last commit 3 days ago
- 155 commits in the last 90 days
- latest release 1.1.414 2 months ago
- 15.8k GitHub stars
- 167 contributors
- backed by Microsoft
- funding: public company (NASDAQ:MSFT)

## Alternatives

- [ty](https://talira.ai/catalog/ty-aw94qs4x.md): An extremely fast Python type checker and language server, written in Rust
- [Pylance](https://talira.ai/catalog/pylance-cv0es80q.md): A performant, feature-rich language server for Python in VS Code
- [mypy](https://talira.ai/catalog/mypy-b1eegf0c.md): Optional static typing for Python
- [Sorbet](https://talira.ai/catalog/sorbet-7qt3f670.md): A fast, powerful type checker designed for Ruby
- [TypeScript](https://talira.ai/catalog/typescript-w0asrgz8.md): JavaScript with static types, compiled to plain JavaScript
- [Flow](https://talira.ai/catalog/flow-ss3d2chg.md): A static type checker and typed dialect of JavaScript

## Sources

[^1]: https://github.com/microsoft/pyright/blob/main/LICENSE.txt (checked 24 Nov 2026)
[^2]: https://www.sec.gov/files/company_tickers_exchange.json (checked 20 Nov 2026)
