basedpyright
static type checking for Python (but based)
Decision gist · record as of 2026-08-14
Yes, if you need static type checking for Python and want Pyright with additional improvements. The low install friction, active maintenance, permissive license, and lack of known vulnerabilities make it a solid choice. Verify first whether the specific enhancements over Pyright align with your project's needs by checking the documentation.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later; nodejs-wheel-binaries runtime dependency must be available.
- Low install friction with a single runtime dependency on nodejs-wheel-binaries.
- The project is actively maintained with a recent release (1 day old) and 3525 repository stars, indicating ongoing development and community engagement.
License · maintenance · safety
permissive license (permissive) — Licensed under MIT (permissive), allowing free use, modification, and distribution with minimal restrictions.
last release 2026-08-13 (1 days) · last repo commit 2026-08-13 · 3,525 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 10,488,410 downloads/mo, #1,449 on PyPI
Alternatives
Verify before relying
pip install basedpyright
basedpyright --help- Whether basedpyright can be used as a drop-in replacement for pyright in existing type-checking workflows.
- Specific list of type checking improvements and Pylance features added beyond the upstream pyright.
- Performance characteristics compared to the original pyright implementation.
What it is and what it does
Basedpyright is a maintained fork of Microsoft's Pyright static type checker, designed to add type checking improvements and features from Pylance that are not present in the upstream project. It analyzes Python code for type errors without running it, helping developers catch bugs early and enforce type safety across codebases. The package requires Python 3.8 or later and depends on nodejs-wheel-binaries at runtime, making it suitable for projects that already have Node.js infrastructure or can tolerate that dependency.
The project is actively developed with frequent releases and a substantial community following. It serves developers who want stricter or more feature-rich type checking than standard Pyright provides, particularly those working with modern Python versions (3.8 through 3.14 are supported).
Use it for
- Enforce type safety in Python projects by catching type errors before runtime.
- Integrate type checking into CI/CD pipelines as part of code quality gates.
- Use enhanced type checking features from Pylance without adopting the full IDE.
- Migrate from Pyright while gaining additional type checking capabilities.
- Validate type annotations in large codebases across Python 3.8+.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need static type checking for Python and want Pyright with additional improvements.
The low install friction, active maintenance, permissive license, and lack of known vulnerabilities make it a solid choice. Verify first whether the specific enhancements over Pyright align with your project's needs by checking the documentation.
Install
basedpyright on PyPI
Before you install
Low install friction with a single runtime dependency on nodejs-wheel-binaries. The project is actively maintained with a recent release (1 day old) and 3525 repository stars, indicating ongoing development and community engagement.
Requires Python 3.8 or later; nodejs-wheel-binaries runtime dependency must be available.
License in practice
Licensed under MIT (permissive), allowing free use, modification, and distribution with minimal restrictions.
Quickstart
pip install basedpyright
basedpyright --help
Verify before relying
- Whether basedpyright can be used as a drop-in replacement for pyright in existing type-checking workflows.
- Specific list of type checking improvements and Pylance features added beyond the upstream pyright.
- Performance characteristics compared to the original pyright implementation.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagenodejs-wheel-binaries |
| Maintenance | Actively maintained 1 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 10,488,410 / month, #1,449 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: basedpyright-1.39.10-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “pyright fork”
- basedpyrightBasedpyright is a static type checker for Python that forks and…
- kubernetes-stubs-elephant-forkProvides type stubs for the Kubernetes Python API client, enabling…
- subprocess32A backport of Python 3's subprocess module to Python 2, with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Quality Assurance packages
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.
Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.
Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.
pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.
Install it if your test suite takes long enough that parallelization would save meaningful time.
Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.
Install it if you work with CloudFormation templates.
See also pyright · optype · pylint · types-awscrt · scipy-stubs · types-lxml · pymarkdownlnt · bar-raiser · types-typed-ast · types-s3transfer