pyright
brew install pyright
v1.1.410
MIT
Fast, standards-based static type checker for Python with command-line and IDE integration.
Why you might care
Pyright enforces PEP 484 type hints at development time, catching type errors before runtime. It's significantly faster than mypy on large codebases and integrates tightly with VS Code. Use it in CI/CD pipelines or pre-commit hooks to maintain type safety across your Python project.
1.9k
30-day installs · #1001
4.4k
90-day · #1159
15.8k
365-day · #1185
15.5k
★ GitHub stars · updated 1d ago
Runtime dependencies
Links
- https://github.com/microsoft/pyright
- GitHub: microsoft/pyright
- Brew formula source: Formula/p/pyright.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"mypy",
"pytype",
"pyre"
],
"build_dependencies": [],
"categories": [
"linter",
"type-checker"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"node"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Static type checker for Python",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:41:15+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "pyright",
"github_default_branch": "main",
"github_last_commit_at": "2026-06-19T07:35:12Z",
"github_readme_excerpt": "\n\n# Static Type Checker for Python\n\nPyright is a full-featured, standards-based static type checker for Python. It is designed for high performance and can be used with large Python source bases.\n\nPyright includes both a [command-line tool](https://microsoft.github.io/pyright/#/command-line) and an [extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-pyright.pyright).\n\n\n## Pyright Playground\n\nTry Pyright in your browser using the [Pyright Playground](https://pyright-play.net/?code=MQAgKgFglgziMEMC2AHANgUxAEw0g9gHYwAuATgiRnBPgO4gDG%2BSBhIGZZ%2BZcjC7AEZZcVRlWzwSlKPzRoAniEFKUCslADmEEgDoAUPtwAzEAmzYAFAA8AXCGNp8lADQgF9x85IBKW-pBAkDIMEgBXMnZrEABqd0NQAAUEGBgoQk0zKTIQdNIBRiwUkBIILBgMZkJJBDJNMKQMQhJg6jC0Ejh0rLIw5qhGjmtClBIoIgNzKwBGNwAiOZ99IA).\n\n\n## Documentation\n\nRefer to [the documentation](https://microsoft.github.io/pyright) for installation, configuration, and usage details.\n\n\n## Environment variables\n\nIf Pyright fails to create a temporary directory (for example in remote/server environments where the OS temp directory doesn\u0027t exist or isn\u0027t writable), you can override the temp directory root:\n\n- `PYRIGHT_TMPDIR`: Absolute path to a directory that Pyright can use for temporary files/directories. Pyright will create it if needed.\n\nPyright otherwise relies on the platform temp directory (for example `TMPDIR`, `TMP`, `TEMP`, or the OS default).\n\n\n## Community\nDo you have questions about Pyright or Python type annotations in general? Post your questions in [the discussion section](https://github.com/microsoft/pyright/discussions).\n\nIf you would like to report a bug or request an enhancement, file a new issue in either the [pyright](https://github.com/microsoft/pyright/issues) or [pylance-release](https://github.com/microsoft/pylance-release/issues) issue tracker. In general, core type checking functionality is associated with Pyright while language servic",
"github_repo": "microsoft/pyright",
"github_stars": 15478,
"github_topics": [],
"homepage": "https://github.com/microsoft/pyright",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 1890,
"installs_365d": 15811,
"installs_90d": 4414,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": "2026-06-20T23:48:21+00:00",
"llm_model": "claude-haiku-4-5",
"name": "pyright",
"oldnames": [],
"one_liner": "Fast, standards-based static type checker for Python with command-line and IDE integration.",
"optional_dependencies": [],
"rank_30d": 1001,
"rank_365d": 1185,
"rank_90d": 1159,
"raw_hash": "d88b4d67b36f6f4a",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/p/pyright.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "1.1.410",
"versioned_formulae": [],
"why_use_this": "Pyright enforces PEP 484 type hints at development time, catching type errors before runtime. It\u0027s significantly faster than mypy on large codebases and integrates tightly with VS Code. Use it in CI/CD pipelines or pre-commit hooks to maintain type safety across your Python project."
}