Skip to main content

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 nbconvert options

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

  1. Inside the OS temporary directory by default.

  2. Also I wanted to try Typer.

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)

Source distribution for nbv 0.0.5
File Size Uploaded
nbv-0.0.5.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nbv 0.0.5
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page