由Xeus驱动的JupyterLite的wren内核
项目描述
jupyterlite-xeus-wren-kernel
一个在浏览器中运行的JupyterLite的wren内核,由Xeus提供支持。
需求
- JupyterLite >= 0.1.0a14
安装
要安装扩展,执行
pip install jupyterlite_xeus_wren
然后构建您的JupyterLite站点
jupyter lite build
卸载
要移除扩展,执行
pip uninstall jupyterlite_xeus_wren
贡献
开发安装
注意:您需要NodeJS来构建扩展包。
jlpm
命令是JupyterLab安装的yarn的固定版本。您可以使用 yarn
或 npm
替代以下 jlpm
。
# Clone the repo to your local environment
# Change directory to the jupyterlite_xeus_wren 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_wren
在开发模式下,您还需要删除由 jupyter labextension develop
命令创建的符号链接。要找到其位置,您可以运行 jupyter labextension list
以确定 labextensions
文件夹的位置。然后您可以删除该文件夹内名为 jupyterlite-xeus-wren
的符号链接。
打包扩展
请参阅 RELEASE
项目详情
下载文件
下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。
源分布
jupyterlite-xeus-wren-0.2.1.tar.gz (4.3 MB 查看散列)
构建分布
关闭
jupyterlite-xeus-wren-0.2.1.tar.gz 的散列
算法 | 散列摘要 | |
---|---|---|
SHA256 | 0ed1bea47f2e3e75f847a001213509bcbb8a6340913556e1768480b611d5514b |
|
MD5 | b789e96cd853dfb5b4e37acba6fe31ed |
|
BLAKE2b-256 | ecca9fa2dae43a78bc1e7d6f6464c7a2ebe2e0e39e9128ea0d2fef151d51cb0f |
关闭
jupyterlite_xeus_wren-0.2.1-py3-none-any.whl 的散列
算法 | 散列摘要 | |
---|---|---|
SHA256 | 48f694f45d9db35845ae572e63094617725e72d406bde856fc09d9dd349a6ea8 |
|
MD5 | e74e804d5414089a0de449d5b2536460 |
|
BLAKE2b-256 | d30692ef9b17fc636e25d5ed5683fb6eaa8b63757b4846095b073971fd359e83 |