Skip to main content

🪐 👀 Jupyter Viewer.

Project description

Datalayer

Become a Sponsor

🪐 👀 Jupyter Viewer

A revisited NbViewer as a modern Web application to view Jupyter notebooks.

NbViewer is built on top of the GitHub nbviewer repository and has been an attraction point for many data scientists since years.

Jupyter Viewer takes over the concept of easy visualisation and brings it to the Web application developers with React.js components to render Notebooks without any Kernel. It is also available as JupyterLab extension.

If needed, Users can then connect the static view o a Kernel and make it even more interactive.

Usage

This repository packages the Jupyter UI Viewer component as a JupyterLab extension. Install and launch with the following commands (you will need Python installed on your machine).

pip install jupyter_viewer
jupyter viewer

After launching, enjoy the 👀 views on http://localhost:8888/jupyter_viewer (served by Jupyter).

Jupyter Viewer

You can ask to view a Notebook hosted on GitHub.

# Apply the following pattern:
# open http://localhost:8888/github/{account}/{repo}/{branch}/{path}
# For example...
open http://localhost:8888/github/datalayer/examples/main/pytorch-gpu/pytorch-gpu-example.ipynb

Develop

yarn
yarn build
# open http://localhost:3063
yarn start

Browse http://localhost:3063 (served by Webpack).

open http://localhost:3063
open http://localhost:3063/github/datalayer/examples/main/pytorch-gpu/pytorch-gpu-example.ipynb

Develop the JupyterLab extension.

pip install -e .[test]
jupyter labextension develop . --overwrite
jupyter labextension list
jupyter server extension list
# open http://localhost:8888/api/jupyter/lab?token=60c1661cc408f978c309d04157af55c9588ff9557c9380e4fb50785750703da6
yarn jupyterlab

Releases

Jupyter Viewer is released as a python package in PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

jupyter_viewer-0.0.7-py3-none-any.whl (6.3 MB view details)

Uploaded Python 3

File details

Details for the file jupyter_viewer-0.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyter_viewer-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 0639ebfead3e14ab2621ff0738b8e4460a068b4bae80f5e1b8a41362aa2da94e
MD5 abe130b57b80223a922f2a83850f5beb
BLAKE2b-256 4e71b48c2f1266184386187fdc465b3674ef9070a4d882ffa6efb3795a71e3d8

See more details on using hashes here.

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