JupyterLab扩展,用于公开顶部栏空间
项目描述
JupyterLab Top Bar
用于在JupyterLab中实验顶部栏空间的单一代码库。
类似于状态栏,顶部栏可以用来放置一些指示器并优化整体空间。
灵感来自Gnome Shell顶部栏指示器。
扩展
- jupyterlab-topbar-extension:公开顶部栏区域的通用扩展
- jupyterlab-topbar-text:添加和编辑自定义文本
- jupyterlab-system-monitor:显示系统指标(内存使用情况)
- jupyterlab-logout:添加“注销”按钮
- jupyterlab-theme-toggle:在浅色和深色主题之间切换
在线尝试
使用Binder在浏览器中尝试扩展
安装
JupyterLab 3.0
# container extension
pip install jupyterlab-topbar
# to install the topbar-text extension
jupyter labextension install jupyterlab-topbar-text
JupyterLab 1.x和2.x
# container extension
jupyter labextension install jupyterlab-topbar-extension
# system metrics
jupyter labextension install jupyterlab-system-monitor
pip install nbresuse
# custom text in the top bar
jupyter labextension install jupyterlab-topbar-text
# add a logout button
jupyter labextension install jupyterlab-logout
# theme toggling extension
jupyter labextension install jupyterlab-theme-toggle
一键安装
jupyter labextension install jupyterlab-topbar-extension \
jupyterlab-system-monitor \
jupyterlab-topbar-text \
jupyterlab-logout \
jupyterlab-theme-toggle
开发
# create a new conda environment
conda create -n jupyterlab-topbar -c conda-forge jupyterlab nodejs -y
conda activate jupyterlab-topbar
# Install dependencies
jlpm
# Install the package in development mode
pip install -e .
# Link your development version of the extension with JupyterLab
jlpm run develop
# For the jupyterlab-topbar-text extension
jlpm run link
# Rebuild extension TypeScript source after making changes
jlpm run build
卸载
pip uninstall jupyterlab-topbar
项目详情
关闭
jupyterlab-topbar-0.6.1.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | f1f9144fd09c29b8921f378662f26c65a460967d9c48eeea8018cea49626fb5f |
|
MD5 | 4d2c12003010082602c8591dcfd2f272 |
|
BLAKE2b-256 | c86adfb91e558d5e7628dbf73936d4a65a93d40612d3635b998129225f4e4f7f |
关闭
jupyterlab_topbar-0.6.1-py3-none-any.whl 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 6863a055d94b40d42b01e7e6771bc3622677c4621d95849a8a2c15ff33f9835a |
|
MD5 | b80697b2f92feddf3f652b27291edf09 |
|
BLAKE2b-256 | 7703f3c1c92c9223309934de6d49166f6cb73fa38f9772a601cd5e6c4ca655c0 |