Add it in Tori
- Open Settings with the gear in the title bar.
- Go to LSP.
- 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"