nbv
Read-only Jupyter Notebook viewing using nbconvert.
Invoking
nbv notebook.ipynb
converts the notebook to HTML1 and opens this HTML file in the default web browser.
You can get a similar result with just
nbconvert notebook.ipynb --to html --post serve
Note that this (and nbv) doesn't require a full Jupyter installation (e.g. JupyterLab) in order to run.
But nbv has additional benefits2:
- doesn't pollute the notebook location with HTML (unlike the above)
- no server, just open the HTML file in browser
- simple CLI, exposing only a few
nbconvertoptions
Note: nbv will use the nbconvert library if installed, otherwise it will fall back to the jupyter-nbconvert command.
uv examples
Use jupyter-nbconvert command:
uvx nbv notebook.ipynb
Use nbconvert library:
uvx --with nbconvert nbv notebook.ipynb
uvx --from 'nbv[complete]' nbv notebook.ipynb
uv tool install --with nbconvert nbv
Release files for nbv 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nbv-0.0.5.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nbv-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:10.9 kB
Release files / nbv-0.0.5.tar.gz
| Download URL | nbv-0.0.5.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
94d934edcdd3c93881fcc854858b05370df867198c2d8858cbba63fccc2acb20
|
|
BLAKE2b-256 checksum How to use checksums |
d764eaa80086faf75e76ab57572841b7fddf19026c8219d5036566090f2ba68d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.3
|
Release files / nbv-0.0.5-py3-none-any.whl
| Download URL | nbv-0.0.5-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d63d8882009e7aa070aa07b06781be9bd14aebe64ee629e02a706ce11654f71
|
|
BLAKE2b-256 checksum How to use checksums |
e3da51e7bbac89df27feb41f90adb6ac6b1b5717fbf4b1f26196b23377b1399f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.3
|