跳转到主要内容

ContainDS的Jupyter扩展伴侣

项目描述

jupyter-containds

Github Actions Status

ContainDS的Jupyter扩展伴侣ContainDS

JupyterLab ContainDS Extension screenshot

在编辑Jupyter笔记本时,单击一下即可根据当前文件创建一个新的Voila仪表盘。

从JupyterLab启动器屏幕,访问您的仪表盘配置页面或直接点击查看与您共享的仪表盘。

需求

  • JupyterLab >= 2.0
  • ipywidgets >= 7

安装

您可以使用pip和JupyterLab 3+进行安装

pip install jupyter-containds

如果您使用JupyterLab 2

pip install jupyter-containds
jupyter labextension install @jupyter-widgets/jupyterlab-manager @ideonate/jupyter-containds

如果您使用的是Jupyter Notebook 5.2或更早版本,您可能还需要启用nbextension

jupyter nbextension enable --py [--sys-prefix|--user|--system] jupyter_containds

卸载

pip uninstall jupyter-containds

如果您使用JupyterLab 2

jupyter labextension uninstall @ideonate/jupyter-containds
pip uninstall jupyter-containds

开发安装

# First install the python package. This will also build the JS packages.
pip install -e ".[test, examples]"

在开发您的扩展时,您需要手动使用笔记本/实验室前端启用您的扩展。对于实验室,这是通过以下命令完成的

jupyter labextension develop . --overwrite

对于经典笔记本,您可以运行

jupyter nbextension install --sys-prefix --symlink --overwrite --py jupyter_containds
jupyter nbextension enable --sys-prefix --py jupyter_containds

请注意,--symlink标志在Windows上不起作用,因此每次您重建扩展时,都必须运行install命令。对于某些安装,您可能还需要使用另一个标志代替--sys-prefix,但这里不会介绍这些标志的含义。

如何查看您的更改

Typescript

要持续监控项目更改并自动触发重建,请启动JupyterLab

jupyter lab

并在单独的会话中,开始监视源目录的更改

jlpm run watch

更改后,等待构建完成,然后刷新浏览器,更改应该生效。

Python

如果您修改了Python代码,则需要重新启动笔记本内核以使其生效。

项目详情


下载文件

下载适用于您的平台文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源代码分发

jupyter-containds-0.2.2.tar.gz (122.7 kB 查看散列)

上传时间

构建分发

jupyter_containds-0.2.2-py2.py3-none-any.whl (139.2 kB 查看散列)

上传时间 Python 2 Python 3

由以下支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面