TileDB的Jupyterlab小部件
项目描述
tiledb-plot-widget
TileDB的Jupyterlab小部件
需求
- JupyterLab >= 3.0
安装
要安装扩展,请执行
pip install tiledb-plot-widget
卸载
要删除扩展,请执行
pip uninstall tiledb-plot-widget
贡献
开发安装
注意:您需要NodeJS来构建扩展包。
《jlpm》命令是JupyterLab安装的固定版本yarn,您可以使用《jlpm》或《npm》代替下面的《jlpm》。
# Clone the repo to your local environment
# Change directory to the tiledb-plot-widget 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 tiledb-plot-widget
在开发模式下,还需要删除《jupyter labextension develop》命令创建的符号链接。要找到其位置,可以运行《jupyter labextension list》以确定《labextensions》文件夹的位置。然后可以删除该文件夹中名为《@tiledb-inc/tiledb-plot-widget》的符号链接。
打包扩展
请参阅RELEASE
项目详情
下载文件
下载您平台上的文件。如果您不确定选择哪个,请了解有关安装包的更多信息。
源分发
此版本没有可用的源分发文件。请参阅生成分发存档的教程。
构建分发
tiledb_plot_widget-1.1.0-py3-none-any.whl (225.2 kB 查看哈希值)
关闭
tiledb_plot_widget-1.1.0-py3-none-any.whl的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 3c887b8fa972db8d0116e73630dc43e712a507f6bab16a64a6c081bb9a13fec3 |
|
MD5 | 8a661a2294a14be8939b87c431f640fa |
|
BLAKE2b-256 | 9fb01675fa4100a9188ca2c728ecc59464f6634efdd40004f90c10d4c2da56d7 |