Installation#
PyPI (recommended)#
The Python package is hosted on the Python Package Index (PyPI).
The latest published version of nbrefactor can be installed using
pip install --update nbrefactor
Manual Installation#
Simply clone the repo and extract the files in the nbrefactor folder,
then run:
pip install -r requirements.txt
pip install -e .
Or use one of the scripts below:
GIT#
cdinto your project directoryUse
sparse-checkoutto pull the library files only into your project directorygit init nbrefactor cd nbrefactor git remote add -f origin https://github.com/ThunderStruct/nbrefactor.git git config core.sparseCheckout true echo "nbrefactor/*" >> .git/info/sparse-checkout git pull --depth=1 origin master pip install -r requirements.txt pip install -e .
SVN#
cdinto your project directorycheckoutthe library filessvn checkout https://github.com/ThunderStruct/nbrefactor/trunk/nbrefactor pip install -r requirements.txt pip install -e .