🪐 👀 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/jupyter_viewer/github/datalayer/examples/main/pytorch-gpu/pytorch-gpu-example.ipynb
Develop
Develop the Web application.
yarn
yarn build
yarn start
# Browse the Webpack server.
open http://localhost:3063
open http://localhost:3063/github/datalayer/examples/main/pytorch-gpu/pytorch-gpu-example.ipynb
Develop the Jupyter Server
pip install -e .[test]
jupyter viewer
# Browse the Jupyter Server.
open http://localhost:8888/jupyter_viewer
open http://localhost:8888/jupyter_viewer/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
yarn jupyterlab
# Browse JupyterLab.
open http://localhost:8888
Publish
make publish
open https://viewer.datalayer.tech
open https://viewer.datalayer.tech/github/datalayer/examples/main/pytorch-gpu/pytorch-gpu-example.ipynb
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
Hashes for jupyter_viewer-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ff971c64fb21a4c03255e9f2e887b186e8dbee7ce7f8ae5e20b0bcb61b509a6 |
|
MD5 | b148c02b563e88c000a3b96b5ffc9851 |
|
BLAKE2b-256 | 5f664f20e8bb75fa322e065fac5062a19208d8935441075ae7a3e63c3c30738a |