基于 Annotorius 的注解 Jupyter Widget。
项目描述
无稽之谈
基于Annotorius的注释 Jupyter Widget 。
安装
您可以使用以下方式安装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
请注意,该--symlink标志在 Windows 上不起作用,因此您install每次重建扩展时都必须在此处运行该命令。对于某些安装,您可能还需要另一个标志而不是--sys-prefix,但我们不会在这里介绍这些标志的含义。
如何查看您的更改
打字稿:
要持续监视项目的更改并自动触发重建,请在监视模式下启动 Jupyter:
jupyter lab --watch
在一个单独的会话中,开始观察源目录的变化:
npm run watch
更改后等待构建完成,然后刷新浏览器,更改应该会生效。
Python:
如果您对 python 代码进行了更改,则需要重新启动笔记本内核才能使其生效。
项目详情
关
ipannotoryous -1.0.0.post1.tar.gz 的哈希值
| 算法 | 哈希摘要 | |
|---|---|---|
| SHA256 | dc82b6c7da587f5e7876da455ceaceaba3006957a25442e5f2a5bd3419a3f8e5 |
|
| MD5 | b8316a0ab832b607bdf78471c570faa8 |
|
| 布莱克2-256 | e2589609bfc6031ccd11e13a17df66ae861a2d8a018ef7a253df93e44cb7f387 |
关
ipannotoryous -1.0.0.post1-py2.py3-none-any.whl 的哈希值
| 算法 | 哈希摘要 | |
|---|---|---|
| SHA256 | 572243c7a61b41bf39649e61faada25b510c6c7fbc019f54e22898194417a30e |
|
| MD5 | 0a2486fbcff3abc1f1a8df5e5cdbf8e8 |
|
| 布莱克2-256 | 5ea53246b14925cdd8463c0db4854f562c24e9c551b3e942c82df00d5ea7f1e2 |