nbh
⚡️ Create a beautiful notebook HTML file from a Jupyter notebook
Highlights
very opinionated HTML renderer for Jupyter notebooks, focusing on simplicity and readability.
It supports Markdown, LaTeX, and Python code cells, with a clean and minimal design.
Tufte CSS is used for styling, providing a clean and elegant look, Github Flavored Markdown is used for rendering Markdown cells, and KaTeX is used for rendering LaTeX equations.
See intro_to_latex.ipynb and the generated intro_to_latex.html for a more complex example.
Usage
The recommended way is to use uvx:
# outputs my_notebook.html in the same directory
uvx nbh my_notebook.ipynb
# outputs each ipynb in the /tmp directory
uvx nbh *.ipynb --output /tmp
If you want the latest version, you can run it directly from the GitHub repository (unstable):
# outputs my_notebook.html in the same directory
uvx git+https://github.com/Mistobaan/nbh my_notebook.ipynb
# outputs my_notebook.html in the /tmp directory
uvx git+https://github.com/Mistobaan/nbh my_notebook.ipynb --output /tmp
License
nbh is licensed under the MIT LICENSE
Metadata
Release files for nbh 0.1.4
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 |
|---|---|---|---|---|
| nbh-0.1.4.tar.gz | 13.0 kB | Without provenance | Details for nbh-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nbh-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for nbh-0.1.4-py3-none-any.whl |
Total release size: 25.0 kB
Release files / nbh-0.1.4.tar.gz
| Download URL | nbh-0.1.4.tar.gz |
|---|---|
| Size | 13.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ee1bc719951aa82d3e2cb9c7a1bbffeb9b41fe2c637759d2a45384d05e6b636
|
|
BLAKE2b-256 checksum How to use checksums |
2cb79cc9fbdfbdf3192bd5c84ade9e631375175d3a9b7edcd250ad0d5339d4a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.7
|
Release files / nbh-0.1.4-py3-none-any.whl
| Download URL | nbh-0.1.4-py3-none-any.whl |
|---|---|
| Size | 12.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0aae6e3fd489549349da384c001df7e8fa196242b6da4792e0dcc7dfd63c72f5
|
|
BLAKE2b-256 checksum How to use checksums |
90828eebab62e2651eb23603cc9e55b8329800a30dd691b4197216f64cfa6a6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.7
|
Security for nbh 0.1.4
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.