JupyterLite的echo内核
项目描述
jupyterlite-echo-kernel
JupyterLite的echo内核。
需求
- JupyterLite >= 0.1.0a10
安装
要安装扩展,执行
pip install jupyterlite-echo-kernel
然后构建您的JupyterLite站点
jupyter lite build
卸载
要移除扩展,执行
pip uninstall jupyterlite-echo-kernel
贡献
开发安装
注意:您需要NodeJS来构建扩展包。
jlpm
命令是JupyterLab捆绑的yarn版本,它是与JupyterLab一起安装的。您可以使用下面的yarn
或npm
代替jlpm
。
# Clone the repo to your local environment
# Change directory to the jupyterlite-echo-kernel 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-echo-kernel
在开发模式下,您还需要移除由jupyter labextension develop
命令创建的符号链接。要找到其位置,您可以运行jupyter labextension list
以确定labextensions
文件夹的位置。然后您可以移除该文件夹中名为@jupyterlite/echo-kernel
的符号链接。
打包扩展
关闭
jupyterlite-echo-kernel-0.2.0.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | a9a3230e4f7ea03b0d81a202c02068d46a214b2858f608e298e3787b9ca5546e |
|
MD5 | b345289b4342cfeb541a578b87403115 |
|
BLAKE2b-256 | ab6d1dae5248bca68a3f795921c0cedfcd58cc6c03e35d5a61c35b752252aba2 |
关闭
jupyterlite_echo_kernel-0.2.0-py3-none-any.whl的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 9aa68fb6fd660b78d66fad094c7f5b4f3c9dd1d2fdcee3280ee77a47dcba25cd |
|
MD5 | 5359c0fee1bfa8619d2d869fda67c575 |
|
BLAKE2b-256 | 9f2f2ce5bef9162608ea3bf37c404e9a64f0d61e17f2acd98850d5c30faebe00 |