An implementation of the Language Server Protocol (LSP) for Python. Version 0.36.2 is the final release; the project is deprecated in favor of python-lsp-server (a community fork) and pyright/pylance. It provides IDE features like autocompletion, linting, code navigation, and refactoring.
pip install python-language-serverVerified import paths — ran on the pinned version, not inferred.
Basic usage: the server is typically started by an editor plugin. The `pyls` module provides a `ProcessServer` class for programmatic launching.
Replace python-language-server with python-lsp-server: `pip install python-lsp-server` and change imports to `import pylsp`.
Update your .pylsrc or editor settings to match the new schema. See: https://github.com/palantir/python-language-server/releases/tag/0.36.0
Use `import pyls` (all lowercase).
Ensure the package is installed: `pip install python-language-server`. Then import as `import pyls`.
Upgrade to the latest version: `pip install --upgrade python-language-server`.
Create a `.pylsrc` file in the project root or home directory. See https://github.com/palantir/python-language-server#configuration