JupyterLite的RobotFramework内核
项目描述
jupyterlite_robotkernel
JupyterLite的RobotFramework内核
需求
- JupyterLite >= 0.1.0b2
安装
要安装扩展,执行
pip install jupyterlite_robotkernel
然后构建您的JupyterLite站点
jupyter lite build
卸载
要删除扩展,执行
pip uninstall jupyterlite_robotkernel
贡献
开发安装
注意:您需要NodeJS来构建扩展包。
jlpm
命令是JupyterLab附带版本的yarn,它是与JupyterLab一起安装的。您可以使用下面的yarn
或npm
代替jlpm
。
# Clone the repo to your local environment
# Change directory to the jupyterlite_robotkernel directory
# Install package in development mode
python -m 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以在浏览器中加载更改(您可能需要等待几秒钟以重新构建扩展)。
开发卸载
pip uninstall jupyterlite_robotkernel
在开发模式下,您还需要删除由jupyter labextension develop
命令创建的符号链接。要找到其位置,您可以通过运行jupyter labextension list
来确定labextensions
文件夹的位置。然后您可以删除该文件夹中的名为robotkernel
的符号链接。
项目详情
关闭
jupyterlite_robotkernel-0.1.0b4-py3-none-any.whl的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 3d94381f9091c867cb526a1cb44d76def5c996ab27166f51765dbffedc70c4cd |
|
MD5 | b61ac174300bae747d844b8f2da40685 |
|
BLAKE2b-256 | 149ed0e47363aa6fad0846471b2e0d2b1f525a15bf06264abe8142020d3e3ef1 |