Skip to main content

Read-only viewing of Jupyter notebooks in the web browser.

Project description

nbv

Read-only Jupyter Notebook viewing using nbconvert.

Invoking

nbv notebook.ipynb

converts the notebook to HTML[^1] 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 benefits[^2]:

  • 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

[^1]: Inside the OS temporary directory by default. [^2]: Also I wanted to try Typer.

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

nbv-0.0.1.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

nbv-0.0.1-py3-none-any.whl (3.9 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