JupyterLab扩展,用于显示已安装插件的交互式依赖图
项目描述
jupyterlab-plugin-graph
JupyterLab扩展,用于显示所有已安装插件的交互式依赖图。
需求
- JupyterLab >= 2.0
安装
pip install jupyterlab-plugin-graph
贡献
开发安装
注意:您需要NodeJS来构建扩展包。
jlpm
命令是JupyterLab附带安装的yarn的固定版本。您可以使用yarn
或npm
代替下面的jlpm
。
# Clone the repo to your local environment
# Change directory to the jupyterlab-plugin-graph 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
在运行watch命令时,每次保存的更改都会立即在本地构建,并可在运行的JupyterLab中使用。刷新JupyterLab以在浏览器中加载更改(您可能需要等待几秒钟,直到扩展被重建)。
默认情况下,jlpm run build
命令为该扩展生成源映射,以便更容易使用浏览器开发者工具进行调试。要同时为JupyterLab核心扩展生成源映射,可以运行以下命令
jupyter lab build --minimize=False
卸载
pip uninstall jupyterlab-plugin-graph
项目详情
下载文件
下载适用于您的平台文件。如果您不确定选择哪一个,请了解更多关于安装包的信息。
源分布
jupyterlab-plugin-graph-0.2.1.tar.gz (128.6 kB 查看哈希值)
构建分布
关闭
哈希值 for jupyterlab_plugin_graph-0.2.1-py3-none-any.whl
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 38cc8023282e166f772a9f9da7e940e2dc199d257775a3117f3db88f7b55170b |
|
MD5 | 13ee42686eaf538b9ac880e4d9d0bb41 |
|
BLAKE2b-256 | dfce04676fc11a678b31ea2555de897a22d63c6fdffaf8c76ef85c268189d22f |