Skip to main content

A JupyterLab extension.

Project description

knic-jupyter

Jupyter Lab for the KNIC Project at USC ISI (Information Sciences Institute)

Installation

Follow the steps below to install knic-jupyter:

git clone git@github.com:usc-isi-i2/knic-jupyter.git
cd knic-jupyter
conda create --name knic-jupyter python=3.8 -y
conda activate knic-jupyter
pip install knic-jupyter

Running the lab

To run jupyter lab you can use this predefined script:

./run-jupyter-lab.sh

Adding notebooks

You might want to copy the notebooks that you want to work on, for example:

git clone git@github.com:usc-isi-i2/knic-notebooks.git notebooks

From there, if any additional dependencies are required you can install those using conda install <package-name> or pip install <package-name>

Development

KNIC Jupyter lab extension is pre-built with knic-engine location set to https://knic.isi.edu/engine

If you are running knic-engine locally for development purposes, i.e. on http://localhost:5642/knic, you could add a --develop flag to the run-jupyter-lab.sh command. This will change the endpoint of knic-engine from our production setting, to your local setting.

For example:

./run-jupyter-lab.sh --develop

NOTE: It might take a little longer to spin up jupyter lab if the knic-engine endpoint changed as we would need to rebuild our extension.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

knic_jupyter-0.1.14.tar.gz (249.0 kB view hashes)

Uploaded Source

Built Distribution

knic_jupyter-0.1.14-py3-none-any.whl (103.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page