为集合提供更具交互性的格式的 JupyterLab 扩展
项目描述
ipycollections-扩展
为集合提供更具交互性的格式的 JupyterLab 扩展
此扩展作为预构建扩展分发。
要求
- JupyterLab >= 3.0
安装
要安装扩展,请执行:
pip install ipycollections
卸载
要删除扩展,请执行:
pip uninstall ipycollections
贡献
开发安装
注意:您将需要 NodeJS 来构建扩展包。
该jlpm命令是与 JupyterLab 一起安装的 JupyterLab 的固定版本
yarn。您可以使用
yarn或npm代替jlpm以下。
# Clone the repo to your local environment
# Change directory to the ipycollections 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 build
您可以在不同的终端中同时观察源目录并运行 JupyterLab 以观察扩展源的变化并自动重建扩展。
# Watch the source directory in one terminal, automatically rebuilding when needed
jlpm watch
# Run JupyterLab in another terminal
jupyter lab
运行 watch 命令后,每个保存的更改都将立即在本地构建并在您正在运行的 JupyterLab 中可用。刷新 JupyterLab 以在浏览器中加载更改(您可能需要等待几秒钟才能重建扩展)。
默认情况下,该jlpm build命令会为此扩展生成源映射,以便更轻松地使用浏览器开发工具进行调试。要同时为 JupyterLab 核心扩展生成源映射,您可以运行以下命令:
jupyter lab build --minimize=False
开发卸载
pip uninstall ipycollections
在开发模式下,您还需要删除jupyter labextension develop
命令创建的符号链接。要找到它的位置,您可以运行jupyter labextension list以找出labextensions
文件夹所在的位置。然后,您可以删除该ipycollections文件夹中命名的符号链接。
打包扩展
见发布
项目详情
下载文件
下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。
源分布
ipycollections-0.2.0.tar.gz
(26.9 kB
查看哈希)
内置分布
ipycollections-0.2.0-py3-none-any.whl
(31.6 kB
查看哈希)
关
ipycollections -0.2.0.tar.gz 的哈希值
| 算法 | 哈希摘要 | |
|---|---|---|
| SHA256 | 27c47dd94185e718ee26ccd1806a90787d0c676ded0a14b81929adb423910243 |
|
| MD5 | 868e84ccee1b2f071cf772d845b35dd4 |
|
| 布莱克2-256 | a55b40fce392d58819ffa6a35c7ce29a0284a0328befd4a13b1e30106ae87c38 |
关
ipycollections -0.2.0-py3-none-any.whl 的哈希值
| 算法 | 哈希摘要 | |
|---|---|---|
| SHA256 | 7531a2f36c0c92553f00df3518cd4cff4623a721d7b069eccae4deed8cce7199 |
|
| MD5 | 4c469497bd3549d9769bca33b47da0c9 |
|
| 布莱克2-256 | 91e6e6878ad5ff522eb696e5d30e3c491bffa9914917171531c0bb1a927b8386 |