JupyterLab 初始扩展。
项目描述
epi2melabs_splash
JupyterLab 初始扩展。
要求
- JupyterLab >= 3.0
安装
要安装扩展,请执行:
pip install epi2melabs_splash
卸载
要删除扩展,请执行:
pip uninstall epi2melabs_splash
贡献
开发安装
注意:您将需要 NodeJS 来构建扩展包。
该jlpm命令是与 JupyterLab 一起安装的 JupyterLab 的固定版本
yarn。您可以使用
yarn或npm代替jlpm以下。
# Clone the repo to your local environment
# Change directory to the epi2melabs_splash 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 epi2melabs_splash
在开发模式下,您还需要删除jupyter labextension develop
命令创建的符号链接。要找到它的位置,您可以运行jupyter labextension list以找出labextensions
文件夹所在的位置。然后,您可以删除该@epi2melabs/epi2melabs-splash文件夹中命名的符号链接。
项目详情
下载文件
下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。
源分布
epi2melabs_splash-1.0.0.tar.gz
(40.9 kB
查看哈希)
内置分布
epi2melabs_splash-1.0.0-py3-none-any.whl
(97.0 kB
查看哈希)
关
epi2melabs_splash -1.0.0.tar.gz 的哈希值
| 算法 | 哈希摘要 | |
|---|---|---|
| SHA256 | 71fcf8b27477080fc1535eb3f632fc890cd7272407b80198e60b90718f19a6d2 |
|
| MD5 | 0e66f9fad120baab1b4a612aa98c2837 |
|
| 布莱克2-256 | ffab32ed8cb7005722a2219ce3de61f038ae7504583859c5f446fcd2101560ab |
关
epi2melabs_splash -1.0.0-py3-none-any.whl 的哈希值
| 算法 | 哈希摘要 | |
|---|---|---|
| SHA256 | b93c964db3ac88a3060c54bf1e491cd433fb3f4a6b63aeacb9d2d9cfb1bce5d2 |
|
| MD5 | 827c23689ec9a9f5fbe7a29bd6217ff5 |
|
| 布莱克2-256 | 8e03e1095850937578528f476c41c1537123ffcee6b2e897fae15c8135a8f393 |