Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.38 KB

README.md

File metadata and controls

46 lines (33 loc) · 1.38 KB

jupyter-shoebot

Jupyter kernel for running Shoebot scripts

Binder

Installation

First, you need to have Jupyter installed, as well as the development version of Shoebot. Using virtualenvwrapper for this is heavily recommended.

# create the virtualenv
mkvirtualenv jupytershoebot
# install jupyter dependencies
pip install jupyter jupyter-pip
# clone the Shoebot repository, enter it and install
git clone https://github.com/shoebot/shoebot
cd shoebot
python setup.py install

After ensuring both packages are available, install the extension.

# leave the shoebot/ dir
cd ..
# clone the jupyter-shoebot repository, enter it and install
git clone https://github.com/shoebot/jupyter-shoebot
cd jupyter-shoebot
python setup.py install

And finally, while still on the jupyter-shoebot/ directory, run

jupyter kernelspec install shoebot_kernel --sys-prefix

Usage

After running Jupyter with jupyter notebook, go to the Kernel menu, select Change kernel and select Shoebot.

Acknowledgements

This plugin's workings and install script are based on cairo-jupyter's, and its structure was heavily inspired by the Jupyter bash kernel.