跳转到主要内容

JupyterLite的RobotFramework内核

项目描述

jupyterlite_robotkernel

Github Actions Status

JupyterLite的RobotFramework内核

需求

  • JupyterLite >= 0.1.0b2

安装

要安装扩展,执行

pip install jupyterlite_robotkernel

然后构建您的JupyterLite站点

jupyter lite build

卸载

要删除扩展,执行

pip uninstall jupyterlite_robotkernel

贡献

开发安装

注意:您需要NodeJS来构建扩展包。

jlpm命令是JupyterLab附带版本的yarn,它是与JupyterLab一起安装的。您可以使用下面的yarnnpm代替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 (118.7 kB 查看哈希值)

上传时间 Python 3

由以下机构支持