Skip to main content

JupyterLab Logout Button

Project description

jupyterlab-logout

Logout Button for JupyterLab

screenshot

Installation

JupyterLab 4.x

Use version 1.0.0 or above.

pip install jupyterlab-logout>=1.0.0

JupyterLab 3.x

Use version 0.5.0.

pip install jupyterlab-logout==0.5.0

Contributing

Development install

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 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

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-logout

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyterlab_logout-1.0.0.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

jupyterlab_logout-1.0.0-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file jupyterlab_logout-1.0.0.tar.gz.

File metadata

  • Download URL: jupyterlab_logout-1.0.0.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for jupyterlab_logout-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f2e06423e3228ceb2f98321bf26121d0cad013a58157abffa2355f2b9d853a3e
MD5 79ea6c7aaf31830947177ae7a447a297
BLAKE2b-256 9bbbd3bcc0a6f3067304fc9b36a8e18d8660678234dba99a47c1f95da5e6f283

See more details on using hashes here.

File details

Details for the file jupyterlab_logout-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlab_logout-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 289d10aba9c8015a0b38d20545763d599014bb54f56aa7375a11c1758b5a7c14
MD5 937ccc63a25a5869ee5bf3e726234610
BLAKE2b-256 e7621af11f1375c8ea3945690be707c9fbfd1987a34a5cc59f5828e10747c571

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page