AxonDocs
Language Servers
Axon documentation

Python

Python language-server support in Axon.

Python

pyright / Python language tooling

Python language intelligence for imports, virtual environments, diagnostics, completions, hover, navigation, formatting, and project symbols.

Delivery

bundled server with project runtime awareness

Activation

.py files and Python workspaces

Capabilities

Resolves imports from the selected project environment.
Provides diagnostics, completions, hover, definition, references, rename, symbols, and formatting hooks.
Works best when the opened root contains pyproject.toml, requirements files, or the active virtual environment.

Setup

Open the repository root, not only a nested package folder.
Select or activate the virtual environment used by the project.
Install project dependencies so import analysis can see real packages.

Troubleshooting

Missing imports usually mean the wrong virtual environment is selected.
Weak completions often mean Axon opened the wrong folder root.
Diagnostics can lag behind if the server is still indexing a large environment.