跳转到主要内容

🪐 👀 Jupyter Viewer.

项目描述

Datalayer

Become a Sponsor

🪐 👀 Jupyter Viewer

作为现代Web应用程序查看Jupyter笔记本的重访NbViewer

NbViewer建立在GitHub nbviewer存储库之上,并已成为许多数据科学家的吸引力点多年。

Jupyter Viewer继承了简单可视化的概念,并将其带给Web应用程序开发者,通过React.js组件渲染Notebooks而不需要任何Kernel。它还可以作为JupyterLab扩展使用。

如果需要,用户可以将静态视图连接到Kernel,使其更加互动。

使用方法

此存储库将Jupyter UI Viewer组件打包为JupyterLab扩展。使用以下命令安装和启动(您需要在计算机上安装Python)。

pip install jupyter_viewer
jupyter viewer

启动后,请在http://localhost:8888/jupyter_viewer(由Jupyter提供)上欣赏👀视图。

Jupyter Viewer

您可以要求查看托管在GitHub上的Notebook。

# 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

开发

开发Web应用程序。

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

开发Jupyter服务器

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

开发JupyterLab扩展。

pip install -e .[test]
jupyter labextension develop . --overwrite
jupyter labextension list
jupyter server extension list
yarn jupyterlab
# Browse JupyterLab.
open http://localhost:8888

发布

make publish
open https://viewer.datalayer.tech
open https://viewer.datalayer.tech/github/datalayer/examples/main/pytorch-gpu/pytorch-gpu-example.ipynb

版本

Jupyter Viewer作为Python包在PyPI中发布。

项目详情


下载文件

下载适用于您的平台的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源代码分发

此版本没有可用的源代码分发文件。请参阅有关 生成分发存档 的教程。

构建的分发

jupyter_viewer-0.0.8-py3-none-any.whl (15.1 MB 查看散列值)

上传时间 Python 3

由以下组织支持