JupyterLab 扩展,用于分享正在运行的 Jupyter 服务器 URL
项目描述
jupyterlab-link-share
JupyterLab 扩展,用于分享正在运行的 Jupyter 服务器 URL
需求
- JupyterLab >= 3.0
安装
pip install jupyterlab-link-share
贡献
开发安装
注意:您需要 NodeJS 来构建扩展包。
jlpm
命令是 JupyterLab 随附的 yarn 版本,与 JupyterLab 一起安装。您可以使用 yarn
或 npm
替代下面的 jlpm
。
# Clone the repo to your local environment
# Change directory to the jupyterlab-link-share directory
# Install package in development mode
pip install -e .
# Link your development version of the extension with JupyterLab
jupyter labextension develop . --overwrite
# Rebuild extension Typescript source after making changes
jlpm run build
您可以在不同的终端中同时监视源目录并运行 JupyterLab,以监视扩展源的变化并自动重新构建扩展。
# Watch the source directory in one terminal, automatically rebuilding when needed
jlpm run watch
# Run JupyterLab in another terminal
jupyter lab
当监视命令运行时,每次保存的更改都将立即在本地构建并可供正在运行的 JupyterLab 使用。刷新 JupyterLab 以在浏览器中加载更改(您可能需要等待几秒钟以重新构建扩展)。
默认情况下,jlpm run build
命令为此扩展生成源映射,以便更容易使用浏览器开发工具进行调试。要为 JupyterLab 核心扩展也生成源映射,可以运行以下命令
jupyter lab build --minimize=False
卸载
pip uninstall jupyterlab-link-share
项目详情
下载文件
下载适合您平台的文件。如果您不确定选择哪个,请了解有关 安装包 的更多信息。
源分发
jupyterlab-link-share-0.3.0.tar.gz (72.9 kB 查看哈希)
构建分发
jupyterlab_link_share-0.3.0-py3-none-any.whl (146.5 kB 查看哈希)
关闭
jupyterlab-link-share-0.3.0.tar.gz 的哈希
算法 | 哈希摘要 | |
---|---|---|
SHA256 | f0de426aae08da0e18aa9ad32b40f62dcbb007c08509336ac58c994048a7a341 |
|
MD5 | 82b3d9e8f23681b7f6866070f4ab422b |
|
BLAKE2b-256 | 5f63037eef5db99816206935fe491e6cd8b8a72f6933895ec8c1af44eda8eab9 |
关闭
jupyterlab_link_share-0.3.0-py3-none-any.whl 的哈希
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 840b901706da75b67d2c1a107106998c58ee19e7391cbc60ae3d7603b0281a00 |
|
MD5 | f4fc7de6df66121de26a5f17e1061d22 |
|
BLAKE2b-256 | 516757d83f8e1b0b4bb952b8ac2ffa8beb6e74b8e4eedfab060ded472de63071 |