nb_prep
nb_prep automates preparing jupyter notebooks for sharing and storage.
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 jupyter notebooks of all cell outputs (using
nbstripout)
You can also configure nb_prep once as a pre- and post-commit hook and have notebook output automatically prepared every time you git commit.
nb_prep is a useful automation tool when you have a lot of analysis notebooks in git that you want to share with stakeholders.
If your main interest is preparing clean notebooks for storing in git commits, consider using jupytext instead.
Installation
pip install nb_prep
Documentation
Metadata
Release files for nb-prep 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nb_prep-1.0.2.tar.gz | 9.3 kB | Without provenance | Details for nb_prep-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nb_prep-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for nb_prep-1.0.2-py3-none-any.whl |
Total release size: 21.8 kB
Release files / nb_prep-1.0.2.tar.gz
| Download URL | nb_prep-1.0.2.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
538f555e85fd978de3acf896da9191a3021659e89aa7749e24077dfbd6aff0ca
|
|
BLAKE2b-256 checksum How to use checksums |
a55bd911f5d61d0b1a2449bf631cb387df6c52d27f5c4ca0be99b5b745107b8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
|
Release files / nb_prep-1.0.2-py3-none-any.whl
| Download URL | nb_prep-1.0.2-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
67d6dfc8d34e88eb74f344671e9e0dae68cb4941f5bfcbb3443f81f1d276856b
|
|
BLAKE2b-256 checksum How to use checksums |
0d1fba03ce37d9b3b00024ad50b90c67fc3919b66acc9b7b31e61ec7651f9fd6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
|
Security for nb-prep 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.