JupyterLab注销按钮
项目描述
jupyterlab-logout
JupyterLab注销按钮
安装
JupyterLab 4.x
使用版本 1.0.0
或更高。
pip install jupyterlab-logout>=1.0.0
JupyterLab 3.x
使用版本 0.5.0
。
pip install jupyterlab-logout==0.5.0
贡献
开发安装
注意:您将需要NodeJS来构建扩展包。
命令 jlpm
是JupyterLab预安装的yarn版本。您可以使用 yarn
或 npm
替代 jlpm
。
# Clone the repo to your local environment
# Change directory to the jupyterlab-logout 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 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以在浏览器中加载更改(您可能需要等待几秒钟以重新构建扩展)。
默认情况下,命令 jlpm run build
为此扩展生成源映射,以便更容易使用浏览器开发者工具进行调试。要为JupyterLab核心扩展生成源映射,您可以运行以下命令
jupyter lab build --minimize=False
卸载
pip uninstall jupyterlab-logout
项目详情
下载文件
下载适用于您平台的项目文件。如果您不确定选择哪个,请了解更多关于安装包的信息。
源代码分布
jupyterlab_logout-1.0.0.tar.gz (22.7 kB 查看散列)
构建分布
jupyterlab_logout-1.0.0-py3-none-any.whl (16.0 kB 查看散列)
关闭
jupyterlab_logout-1.0.0.tar.gz 的散列
算法 | 散列摘要 | |
---|---|---|
SHA256 | f2e06423e3228ceb2f98321bf26121d0cad013a58157abffa2355f2b9d853a3e |
|
MD5 | 79ea6c7aaf31830947177ae7a447a297 |
|
BLAKE2b-256 | 9bbbd3bcc0a6f3067304fc9b36a8e18d8660678234dba99a47c1f95da5e6f283 |
关闭
jupyterlab_logout-1.0.0-py3-none-any.whl 的散列
算法 | 散列摘要 | |
---|---|---|
SHA256 | 289d10aba9c8015a0b38d20545763d599014bb54f56aa7375a11c1758b5a7c14 |
|
MD5 | 937ccc63a25a5869ee5bf3e726234610 |
|
BLAKE2b-256 | e7621af11f1375c8ea3945690be707c9fbfd1987a34a5cc59f5828e10747c571 |