JupyterLab extension to expose the top bar space
Project description
JupyterLab Top Bar
Monorepo to experiment with the top bar space in JupyterLab.
Similar to the status bar, the top bar can be used to place a few indicators and optimize the overall space.
Inspired by Gnome Shell Top Bar indicators.
Extensions
- jupyterlab-topbar-extension: generic extension to expose the top bar area
- jupyterlab-topbar-text: add and edit custom text
- jupyterlab-system-monitor: show system metrics (memory usage)
- jupyterlab-logout: add a "Log Out" button
- jupyterlab-theme-toggle: switch between the Light and Dark themes
Try it online
Try the extensions in your browser with Binder:
Installation
JupyterLab 3.0
# container extension
pip install jupyterlab-topbar
# to install the topbar-text extension
jupyter labextension install jupyterlab-topbar-text
JupyterLab 1.x and 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
All-in-one install:
jupyter labextension install jupyterlab-topbar-extension \
jupyterlab-system-monitor \
jupyterlab-topbar-text \
jupyterlab-logout \
jupyterlab-theme-toggle
Development
# 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
Uninstall
pip uninstall jupyterlab-topbar
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jupyterlab-topbar-0.6.0.tar.gz
(14.6 kB
view hashes)
Built Distribution
Close
Hashes for jupyterlab_topbar-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a60c023ff261120d8480ca8c8da67fc732b0f34db2bd9637af9b26caff338455 |
|
MD5 | 036f762d5657e4f80cb7df85fd763d96 |
|
BLAKE2b-256 | e86c0db8d394d66c19b43a7f7be09379af9e492ad99270926a1744e789a53f05 |