Skip to main content

Prepare jupyter notebooks for storing in git and sharing as HTML

Project description

Unit tests PyPI - Python Version PyPI PyPI - Downloads GitHub contributors PyPI - License

nb_prep

nb_prep makes it easier to prepare jupyter notebooks for storing in git and sharing with stakeholders.

You can use the nb_prep CLI to:

  • Convert jupyter notebooks to HTML (using nbconvert) and:
    • add a date prefix to the filename.
    • add a git hash suffix to the filename.
    • move the HTML file to a configured output directory
  • Strip all cell outputs (using nbstripout)

You can also configure nb_prep once as a pre-commit hook and have notebook output automatically prepared every time you git commit.

Installation

pip install nb_prep

Documentation

See allianz-direct.github.io/nb_prep.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nb_prep-1.0.1.tar.gz (9.0 kB view hashes)

Uploaded Source

Built Distribution

nb_prep-1.0.1-py3-none-any.whl (12.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page