JupyterLite的Lua内核,由Xeus提供支持
项目描述
jupyterlite-xeus-lua-kernel
在浏览器中运行的JupyterLite的Lua内核。
需求
- JupyterLite >= 0.1.0a14
安装
要安装扩展,请执行
pip install jupyterlite_xeus_lua
然后构建您的JupyterLite站点
jupyter lite build
卸载
要移除扩展,请执行
pip uninstall jupyterlite_xeus_lua
贡献
开发安装
注意:您需要NodeJS来构建扩展包。
jlpm
命令是JupyterLab安装的yarn的固定版本。您可以使用yarn
或npm
代替下面的jlpm
。
# Clone the repo to your local environment
# Change directory to the jupyterlite_xeus_lua 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_lua
在开发模式下,您还需要删除jupyter labextension develop
命令创建的符号链接。要找到其位置,您可以运行jupyter labextension list
以确定labextensions
文件夹的位置。然后您可以在该文件夹中删除名为jupyterlite-xeus-lua
的符号链接。
打包扩展
项目详情
关闭
jupyterlite-xeus-lua-0.3.3.tar.gz的哈希
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 131b6315c759b525c928fbf6716ce6454e488bc6154da2f9c31e5fe14fe0293f |
|
MD5 | 3247bd4f305c8830d24f8c170fdf7213 |
|
BLAKE2b-256 | b3764231596f951f12c5fcf370c97818130ccd5b59a773ac9432e75b07a367f9 |
关闭
jupyterlite_xeus_lua-0.3.3-py3-none-any.whl的哈希
算法 | 哈希摘要 | |
---|---|---|
SHA256 | ae739f641ee61f500a3afa3c38ca47412b7d1af31eafd4bbd31661f649146e4d |
|
MD5 | 7ffa13b365330242bd1a76bcbc77d7c3 |
|
BLAKE2b-256 | a106b234b376e0f7d0244445f5653d29b5106bd5052f8bd5084ef6d77610604f |