jupyterlab-markup-expr扩展,用于向jupyterlab-markup添加表达式节点标记。
项目描述
jupyterlab_markup_expr
jupyterlab-markup-expr扩展,用于向jupyterlab-markup添加表达式节点标记。
需求
- JupyterLab >= 3.0
安装
要安装扩展,请执行
pip install jupyterlab_markup_expr
卸载
要移除扩展,请执行
pip uninstall jupyterlab_markup_expr
贡献
开发安装
注意:您需要NodeJS来构建扩展包。
jlpm
命令是JupyterLab安装的yarn的固定版本。您可以使用yarn
或npm
代替下面的jlpm
。
# Clone the repo to your local environment
# Change directory to the jupyterlab_markup_expr directory
# Install package in development mode
pip install -e .
# Link your development version of the extension with JupyterLab
jupyter labextension develop . --overwrite
# Rebuild extension Typescript source after making changes
jlpm build
您可以在不同的终端中同时监视源目录并运行JupyterLab,以监视扩展源的变化并自动重新构建扩展。
# Watch the source directory in one terminal, automatically rebuilding when needed
jlpm watch
# Run JupyterLab in another terminal
jupyter lab
当监视命令运行时,每次保存的更改都会立即在本地构建并可供运行的JupyterLab使用。刷新JupyterLab以在浏览器中加载更改(您可能需要等待几秒钟以重新构建扩展)。
默认情况下,jlpm build
命令为该扩展生成源映射,以便更方便地使用浏览器开发者工具进行调试。要同时为 JupyterLab 核心扩展生成源映射,可以运行以下命令:
jupyter lab build --minimize=False
开发模式卸载
pip uninstall jupyterlab_markup_expr
在开发模式下,还需要删除由 jupyter labextension develop
命令创建的符号链接。要找到其位置,可以运行 jupyter labextension list
以确定 labextensions
文件夹的位置。然后可以删除该文件夹中名为 jupyterlab-markup-expr
的符号链接。
打包扩展
参见 RELEASE
项目详情
下载文件
下载适用于您平台文件的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。
源分布
jupyterlab_markup_expr-0.1.1.tar.gz (146.8 kB 查看哈希值)
构建分布
关闭
jupyterlab_markup_expr-0.1.1.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | d5d409b7748164ac5c3219e7b321ecdedaef994c0ef7d2d5a3daf2b09d0dce37 |
|
MD5 | bd85a70adb716d6e95d0892707ecc1d6 |
|
BLAKE2b-256 | d0582037d24e058bd24d01baf94edb04926fa147421b0b3e20739f1a27024153 |
关闭
jupyterlab_markup_expr-0.1.1-py3-none-any.whl 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 2a02a4ba7711336f8094c1ae84a8c863b5c018176c16f3669a5b5cb7f74bfa8f |
|
MD5 | 96441af288e945f459955c30013f5ba7 |
|
BLAKE2b-256 | 4c0c1c62392853f0c0d09acdfc08f8841daded9d9e677b6f68a629a3f6905f9a |