Tools to maintain a respository of Jupyter notebooks
pip install nbpages
This package assumes you have created a github repository containing one or more Jupyter notebooks (*.ipynb) in a
notebooks. The initial setup is performed with the command
python nbpages --setup
This creates a directory named
templates if needed with configuration data found in the
.git subdirectory. If not
already present, Jinja templates
notebook_header.jinja are created. These templates should be
edited as required.
Notebooks filenames are prefixed with
nn refers to the chapter number or, if a letter, to an Appendix.
refers to the section number. Section00` the chapter title and any prefatory material.
To use, execute the command line
from the top level directory of the notebook repository. The command will add or amend headers and navigation bars in all notebooks, and create a table of contents and a keyword index accessible from README.md and the navigation bars.
To help achieve a consistent style over a collection of notebooks, use the command
python nbpages --lint
to locate some forms of notebook 'lint'. A current list of additional features can be found
python nbpages --help
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size nbpages-0.0.1.dev4.tar.gz (6.3 kB)||File type Source||Python version None||Upload date||Hashes View|