/notebook_setup

Some batteries for Jupyter notebooks

Primary LanguagePythonMIT LicenseMIT

Notebook setup package

Build Status

Idea is to

import blackhc.notebook

and get someuseful stuff in your jupyter notebooks.

Right now 'useful stuff' is:

  • finds the project root and changes directory to that;
  • adds $project_root/src to the Python paths;
  • load the autoreload extension and set its mode to 2.

Installation

To install using pip, use:

pip install blackhc.notebook

To run the tests, use:

python setup.py test

Build and publish a new version

pip install build twine
python -m build  
twine upload dist/*