跳转到主要内容

JupyterLab扩展,用于公开顶部栏空间

项目描述

JupyterLab Top Bar

Github Actions Status Binder PyPI

用于在JupyterLab中实验顶部栏空间的单一代码库。

类似于状态栏,顶部栏可以用来放置一些指示器并优化整体空间。

灵感来自Gnome Shell顶部栏指示器。

screencast

扩展

在线尝试

使用Binder在浏览器中尝试扩展

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 (14.4 kB 查看哈希值)

上传时间

构建分发

jupyterlab_topbar-0.6.1-py3-none-any.whl (56.3 kB 查看哈希值)

上传时间 Python 3

由以下支持