/jupyterlab-extension

Jupyterlab extension to publish to Kyso

Primary LanguageJupyter Notebook

jupyterlab-kyso

Prerequisites

  • JupyterLab 0.34 or more
  • A Kyso account

Installation

Check your version of Jupyterlab using the following command

jupyter-lab --version
0.35.2

JupyterLab 0.35 or above

To install this extension into JupyterLab (requires node 5 or later), do the following:

jupyter labextension install @kyso/jupyterlab
pip install kyso_jupyterlab
jupyter serverextension enable --sys-prefix kyso_jupyterlab

Jupyter 0.34

jupyter labextension install @kyso/jupyterlab@jupyterlab-0.34.9

Note, this version just lets you publish to kyso, you can't download project from kyso to your JupyterLab instance.

Development

For a development install, do the following in the repository directory:

yarn
yarn run build
jupyter labextension install . --no-build
yarn run watch
# and in another shell
jupyter lab --watch

Deployment

To publish the client side extension:

npm publish

To publish the server side extension:

python3 setup.py sdist
twine upload dist/*