Jupyter Projects

A Custom Jupyter Widget Library


To install use pip:

$ pip install demo
$ jupyter nbextension enable --py --sys-prefix demo

To install for jupyterlab

$ jupyter labextension install demo

For a development installation (requires npm),

$ git clone Projects.git
$ cd Jupyter Projects
$ pip install -e .
$ jupyter nbextension install --py --symlink --sys-prefix demo
$ jupyter nbextension enable --py --sys-prefix demo
$ jupyter labextension install js

When actively developing your extension, build Jupyter Lab with the command:

$ jupyter lab --watch

This take a minute or so to get started, but then allows you to hot-reload your javascript extension. To see a change, save your javascript, watch the terminal for an update.

Note on first jupyter lab --watch, you may need to touch a file to get Jupyter Lab to open.