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.1.0.tar.gz (23.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyterlab_logout-1.1.0-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jupyterlab_logout-1.1.0.tar.gz
  • Upload date:
  • Size: 23.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for jupyterlab_logout-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e8a96d7090869b43a3d432ab03f432f7354e161fbedda6728cccaba6e5f797a1
MD5 782498868c40df645cb269e4539dc691
BLAKE2b-256 85253fa3a74bd2e92a28cba9f13ca58ed1bcde2b59a63ca80280b9c968042125

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jupyterlab_logout-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4c5b347d15bd0752c94991f7b0c00c7b4cf6eeab0ddb4a02b39297c869b794bb
MD5 d95ba602f0a05fa58ad659c287a86a1e
BLAKE2b-256 68ad3c9b66d3c816943070c26823a9636747c2f779b9839f7e60871bfb6ec7bd

See more details on using hashes here.

Supported by

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