Note: This language server is currently in the early stages of active development and not all features are yet supported. We encourage desktop users to use https://github.com/palantir/python-language-server instead.
This is a language server for Python that adheres to the Language Server Protocol (LSP). It uses Jedi to perform source code analysis. Python versions 2.x and 3.x are supported.
You'll need Python version 3.5 or greater.
pip3 install -r requirements.txtpython3 python-langserver.py --mode=tcp --addr=2087
To try it in Visual Studio Code, install the vscode-client extension and then open up a .py file.
Run make test.
The tests require pytest. Note that some tests may fail if you're using virtualenv instead of the system Python.