由Xeus支持的JupyterLite的Nelson内核
项目描述
jupyterlite-xeus-nelson
浏览器中运行的JupyterLite的xeus-nelson Nelson内核。
需求
- jupyterlite-core >= 0.1.0b20
安装
要安装扩展,执行
pip install jupyterlite-xeus-nelson
然后构建您的JupyterLite站点
jupyter lite build
卸载
要删除扩展,执行
pip uninstall jupyterlite_xeus_nelson
贡献
开发安装
注意:您需要NodeJS来构建扩展包。
《jlpm》命令是JupyterLab内置的《yarn》版本,它随JupyterLab一起安装。您可以在下面的示例中使用《yarn》或《npm》代替《jlpm》。
# Clone the repo to your local environment
# Change directory to the jupyterlite_xeus_nelson 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_xeus_nelson
在开发模式下,您还需要删除由《jupyter labextension develop》命令创建的符号链接。要找到其位置,您可以运行《jupyter labextension list》以确定《labextensions》文件夹的位置。然后您可以在该文件夹中删除名为《jupyterlite-xeus-nelson》的符号链接。
打包扩展
请参阅《RELEASE》
项目详情
关闭
jupyterlite-xeus-nelson-0.1.4.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 42336f070660b1fe3e04d6868fc4da0dada18b42a160a357027809b794daef03 |
|
MD5 | 6243bda69f1e0911765323834e07b9f1 |
|
BLAKE2b-256 | 525808770b38ecb38ca5ae57bd859db8baf88ac7868e3e5b711b28d610e74d9e |
关闭
jupyterlite_xeus_nelson-0.1.4-py3-none-any.whl的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | c0e4dd7d1e3a1a1eca9d2eb596e5d278ffe2878b9d1b74b6e0a111308ea199a0 |
|
MD5 | d914a26d2460773f559fa39c4801e42d |
|
BLAKE2b-256 | dedb6bb6133c5c443a5003174b8654ac27a10c8b1c92cde589564545729257cf |