Python (pyright)

Languageby Tori @gettoriApache-2.0Bundled
Runs your project’s code

Python (pyright) loads code from the project it opens, such as its dependencies or its own configuration. Tori asks before starting it in each project and remembers your answer for that project.

Verified against
pyright 1.1.414Measured Oct 9, 2026
Platforms
macOS, Linux, Windows
Install
Tori installs it from npmpyright@1.1.414
Needs Tori
26.1009.0 or newer
Schema
Version 1
Id
python
Source file
lsp/python.toml ↗gettori/packs on GitHub

Add it in Tori

  1. Open Settings with the gear in the title bar.
  2. Go to LSP.
  3. Python (pyright) is already there: it ships inside Tori. When the catalog has a newer version, Add a language lists it with Update.

Adding writes one file and runs nothing. Installing pyright from npm is a separate click on the same row.

Use it without the catalog

Download the file and drop it in the folder below. Tori loads it the next time it starts.

Download file python.toml
~/.config/tori/packs/lsp/

The file

python.tomlRead only
1# Python via pyright. The id is `python` so the example in LSP-SERVERS.md,2# which a user may already have in ~/.config/tori/lsp/, whole-replaces this one3# instead of being refused as a second primary for .py.45schema_version = 16id = "python"7label = "Python (pyright)"8description = "Python type checking and navigation, through pyright"9license = "Apache-2.0"10contributor = { name = "Tori", github = "gettori" }11verified_against = "pyright 1.1.414"12verified_on = "2026-10-09"13root_markers = ["pyproject.toml", "setup.py", "setup.cfg", "requirements.txt", "pyrightconfig.json", ".git"]14request_timeout_ms = 300001516# Asks the project's interpreter for its search paths, which runs its site17# hooks and `.pth` files.18runs_project_code = true1920[languages]21py = "python"22pyi = "python"2324[launch]25kind = "managed"26runtime = "node"27program = "pyright-langserver"28args = ["--stdio"]2930[install]31kind = "npm"32package = "pyright"33version = "1.1.414"