🪐 👀 Jupyter Viewer.
Project description
🪐 👀 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).
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
Built Distribution
File details
Details for the file jupyter_viewer-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: jupyter_viewer-0.0.7-py3-none-any.whl
- Upload date:
- Size: 6.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0639ebfead3e14ab2621ff0738b8e4460a068b4bae80f5e1b8a41362aa2da94e |
|
MD5 | abe130b57b80223a922f2a83850f5beb |
|
BLAKE2b-256 | 4e71b48c2f1266184386187fdc465b3674ef9070a4d882ffa6efb3795a71e3d8 |