# basedpyright

> A fork of Pyright with stricter type checking rules, Pylance features in any editor and a PyPI package

Source: https://talira.ai/catalog/basedpyright-8r35r1ce
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)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Supports: [LSP](https://talira.ai/standards/lsp.md)[^3]
- Backed by: [DetachHead](https://talira.ai/orgs/detachhead.md)
- Extends: [VS Code](https://talira.ai/ecosystems/vscode.md#ext-5j0x5w6y)
- Forked from [Pyright](https://talira.ai/catalog/pyright-8xnxsfgw.md).

A static type checker and language server for Python, forked from [Pyright](https://talira.ai/catalog/pyright-8xnxsfgw.md), that merges each new Pyright release within a day and adds its own changes: many new diagnostic rules, all enabled by default; a baseline so an existing project can adopt the stricter rules without changing old code; and features of Pylance, Microsoft's closed-source VS Code extension, reimplemented for any editor. It installs from PyPI without Node.js, and its VS Code extension uses the same version as the CLI. MIT licensed.

## Links

- Website: https://docs.basedpyright.com/latest/
- GitHub: https://github.com/DetachHead/basedpyright
- Docs: https://docs.basedpyright.com/latest/

## Problems it solves

- get stricter Python type checking than Pyright gives me
- use Pylance-style features in an editor other than VS Code
- add strict type checking to an old Python project without fixing every error first

## Features

- Pyright's type checking, merged from each Pyright release
- many extra diagnostic rules, all on by default
- baseline for adopting strict rules in an existing project
- Pylance features in any editor
- installs from PyPI without Node.js

## Trust

Overall: 0.65 out of 1.
Signals: maintenance 0.88, adoption 0.71, momentum 0.61, community 0.94, backing 0.30, extensibility 0.00.

- last commit 21 days ago
- 42 commits in the last 90 days
- latest release v1.40.2 56 days ago
- 3.7k GitHub stars
- 229 contributors
- backed by DetachHead

## What this fork adds

- Adds many new diagnostic rules and enables all rules by default (offered upstream: https://github.com/microsoft/pyright/issues/6617)
- Adds a baseline so existing code can adopt stricter rules without being changed (not known whether it was offered upstream)
- Reimplements Pylance-only features for any editor (not known whether it was offered upstream)
- Ships on PyPI so it installs without Node.js (not known whether it was offered upstream)

## Alternatives

- [Pyright](https://talira.ai/catalog/pyright-8xnxsfgw.md): Static type checker for Python
- [ty](https://talira.ai/catalog/ty-aw94qs4x.md): An extremely fast Python type checker and language server, written in Rust
- [Pyrefly](https://talira.ai/catalog/pyrefly-s1pv2yrr.md): A fast type checker and language server for Python, 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

## Sources

[^1]: https://github.com/DetachHead/basedpyright (checked 24 Nov 2026)
[^2]: https://github.com/DetachHead/basedpyright/blob/main/LICENSE.txt (checked 24 Nov 2026)
[^3]: https://docs.basedpyright.com/latest/installation/ides/ (checked 29 Nov 2026)
