Installation

From package managers:

Install Pyls-Memestra plugin:

pip install pyls-memestra

Install the server extension:

pip install jupyter-lsp

Install the front-end extension for Jupyter Lab:

jupyter labextension install @krassowski/jupyterlab-lsp           # for JupyterLab 2.x
# jupyter labextension install @krassowski/jupyterlab-lsp@0.8.0   # for JupyterLab 1.x

Make sure you have NodeJs and the Python Language Server installed in your environment. You can get it with mamba:

mamba install -c conda-forge nodejs python-lsp-server

Or conda:

conda install -c conda-forge nodejs python-lsp-server

From source:

Clone the github repository:

git clone git@github.com:QuantStack/pyls-memestra.git

Install the dependencies with either conda or mamba:

conda install -c conda-forge python jupyterlab nodejs python-lsp-server memestra jupyter-lsp
mamba install -c conda-forge python jupyterlab nodejs python-lsp-server memestra jupyter-lsp

Install the jupyter-lsp frontend extension:

jupyter labextension install @krassowski/jupyterlab-lsp           # for JupyterLab 2.x
# jupyter labextension install @krassowski/jupyterlab-lsp@0.8.0   # for JupyterLab 1.x

Install the pyls-memestra plugin

python -m pip install -e .