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 built with knic-engine
location set to https://knic.isi.edu/engine
If you are running knic-engine
locally for development purposes, for example on http://localhost:5642/knic
, you would need to change this SERVER_ENDPOINT variable.
For example:
const SERVER_ENDPOINT = `http://localhost:5642/knic/user/${USER}/event`;
After that you would need to rebuild knic-jupyter
for the changes to take effect:
pip install -ve .
./run-jupyter-lab.sh
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for knic_jupyter-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bae27e9f22b76d8d5c27007db4799108cb54bff20e30dc7261839bf7132b7c68 |
|
MD5 | da41d5696232485075199ffca05572f0 |
|
BLAKE2b-256 | b782fcad2f67eecb6abbd8c36a6cbba41c41955535e593de5e2bbdb85783632b |