跳转到主要内容

基于Annotorius的注释Jupyter小部件。

项目描述

ipannotoryous

Build Status Binder npm PyPI conda-forge

基于 Annotorius 的注释Jupyter小部件。

demo

安装

您可以使用 pip 安装

pip install ipannotoryous

或者如果您使用JupyterLab 3

pip install ipannotoryous

或者如果您使用JupyterLab 2

pip install ipannotoryous
jupyter labextension install @jupyter-widgets/jupyterlab-manager ipannotoryous

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

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

开发安装

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

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

jupyter labextension develop . --overwrite

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

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

请注意,Windows上不支持 --symlink 标志,因此您将不得不在重新构建扩展时每次都运行 install 命令。对于某些安装,您可能还需要使用其他标志代替 --sys-prefix,但这里不会介绍这些标志的含义。

如何查看您的更改

Typescript

要持续监视项目更改并自动触发重建,请以监视模式启动Jupyter

jupyter lab --watch

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

npm run watch

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

Python

如果您对Python代码进行了更改,则需要重新启动笔记本内核才能使其生效。

项目详情


下载文件

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

源分发

ipannotoryous-1.0.0.post1.tar.gz (1.1 MB 查看哈希值)

上传时间:

构建分发

ipannotoryous-1.0.0.post1-py2.py3-none-any.whl (978.6 kB 查看哈希值)

上传时间: Python 2 Python 3

由以下支持

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