• Stars
    star
    103
  • Rank 323,774 (Top 7 %)
  • Language
    TypeScript
  • License
    BSD 3-Clause "New...
  • Created over 5 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

JupyterLab Top Bar extensions

JupyterLab Top Bar Extensions

Extension status Github Actions Status Binder PyPI

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.

screencast

Extensions

Try it online

Try the extensions in your browser with Binder:

Binder

Installation

JupyterLab 4.x

Use latest versions of the extensions. Note that jupyterlab-system-monitor extension will be distributed along with jupyter-resource-usage package for JupyterLab 4.x

# topbar text extension
pip install jupyterlab-topbar-text

# logout extension
pip install jupyterlab-logout

# theme toggler extension
pip install jupyterlab-theme-toggler

JupyterLab 3.0

Use pinned versions as the latest version is incompatible with JupyterLab 3.x

# topbar text extension
pip install jupyterlab-topbar-text==0.6.2

# system monitor extension
pip install jupyterlab-system-monitor==0.8.0

# logout extension
pip install jupyterlab-logout==0.5.0

# theme toggler extension. Install it as labextension
jupyter labextension install jupyterlab-topbar-extension jupyterlab-theme-toggle

JupyterLab 1.x and 2.x

# container extension
jupyter labextension install jupyterlab-topbar-extension

# system metrics
jupyter labextension install jupyterlab-system-monitor
pip install jupyter-resource-usage

# 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

Note: You will need NodeJS to build the extension package.

The jlpm command is JupyterLab's pinned version of yarn that is installed with JupyterLab. You may use yarn or npm in lieu of jlpm below.

# Clone the repo to your local environment
# Change directory into the package that we want to develop
cd packages/<extension_name>
# 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

You can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.

# Watch the source directory in one terminal, automatically rebuilding when needed
jlpm run watch
# Run JupyterLab in another terminal
jupyter lab

With the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).

By default, the jlpm run build command generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:

jupyter lab build --minimize=False

Uninstall

pip uninstall jupyterlab_topbar_text jupyterlab_logout jupyterlab_theme_toggler

More Repositories

1

jupyterlab-variableInspector

Variable Inspector extension for Jupyterlab
TypeScript
1,071
star
2

jupyterlab-vim

Vim notebook cell bindings for JupyterLab
TypeScript
649
star
3

spellchecker

Spellchecker for JupyterLab notebook markdown cells and file editor.
TypeScript
199
star
4

rise

RISE: "Live" Reveal.js JupyterLab Slideshow Extension
TypeScript
152
star
5

jupyterlab-spreadsheet-editor

JupyterLab spreadsheet editor for tabular data (e.g. csv, tsv)
TypeScript
126
star
6

jupyterlab-kernelspy

A Jupyter Lab extension for inspecting messages to/from a kernel
TypeScript
79
star
7

jupyterlab-unfold

An IDE-like file browser for JupyterLab
TypeScript
72
star
8

jupyter-archive

A Jupyter/Jupyterlab extension to make, download and extract archive files.
Python
72
star
9

jupyter-videochat

Video chat with peers inside JupyterLab
TypeScript
58
star
10

jupyterlab-tour

A JupyterLab UI tour built on jupyterlab-tutorial and react-joyride.
TypeScript
56
star
11

jupyterlab-link-share

JupyterLab Extension to easily share a link to a running server on Binder
TypeScript
48
star
12

jupyterlab-cell-flash

JupyterLab extension to show a flash effect when a cell is executed ⚡ ✨
TypeScript
39
star
13

jupyter-ui-toolkit

UI Toolkit for Jupyter
TypeScript
38
star
14

jlab-enhanced-cell-toolbar

A cell toolbar for JupyterLab.
TypeScript
36
star
15

jupyterlab-contrib.github.io

Management and website of JupyterLab Unofficial Extensions and Tools
Smarty
36
star
16

jupyterlab-filesystem-access

[Experimental] Browse local files using the non-standard File System Access API
TypeScript
30
star
17

jlab-enhanced-launcher

Alternative launcher for JupyterLab
TypeScript
25
star
18

jupyterlab-app-cookiecutter

Kickstart your JupyterLab based standalone application 🚀
TypeScript
22
star
19

jupyterlab_toastify

Customize 'react-toastify' to integrate nicely in JupyterLab.
TypeScript
22
star
20

jupyterlab-theme-editor

Extension providing a theme editor where colors, font families and font sizes of the elements of the user interface can be varied
TypeScript
21
star
21

search-replace

Search and replace accross files
TypeScript
20
star
22

jupyterlab-favorites

Add the ability to save favorite folders to JupyterLab for quicker browsing
TypeScript
13
star
23

jupyterlab-pytutor

Python Tutor extension for JupyterLab
TypeScript
9
star
24

jupyterlab-plugin-graph

JupyterLab extension to show an interactive dependency graph of the installed plugins
TypeScript
9
star
25

jupyterlab-open-url-parameter

JupyterLab extension to open files passed via a URL parameter.
TypeScript
8
star
26

jupyterlab-fileopen

A JupyterLab extension that adds a shortcut for opening files using the OS file explorer
Python
7
star
27

jupyterlab-gitlab

A JupyterLab extension for browsing GitLab repositories
TypeScript
5
star
28

ipylgbst

A widget library for controlling LEGO® BOOST via web-bluetooth
Python
4
star
29

jlab-image-editor

Simple image editor for JupyterLab
TypeScript
4
star
30

jupyterlab-logout

Log out button for JupyterLab
Python
3
star
31

react-auth-google-example

Example enabling users to log in with Google Identity service for webapps.
TypeScript
1
star
32

jupyterlab-topbar-text

JupyterLab extension to display arbitrary text in the top bar
Python
1
star
33

.github

Health files for the @jupyterlab-contrib organization
1
star
34

jupyterlab-code-toc

Table of Contents JupyterLab extension with code content
TypeScript
1
star
35

jupyterlab-browser-storage

A JupyterLab Drive to save files in the browser storage.
TypeScript
1
star