shoebot / jupyter-shoebot

Jupyter kernel for running Shoebot scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Jupyter kernel for running Shoebot scripts

License:GNU General Public License v3.0


Languages

Language:Jupyter Notebook 97.7%Language:Python 2.3%Language:Shell 0.1%