JupyterLab Logout Button
Project description
jupyterlab-logout
Logout Button for JupyterLab
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
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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2e06423e3228ceb2f98321bf26121d0cad013a58157abffa2355f2b9d853a3e |
|
MD5 | 79ea6c7aaf31830947177ae7a447a297 |
|
BLAKE2b-256 | 9bbbd3bcc0a6f3067304fc9b36a8e18d8660678234dba99a47c1f95da5e6f283 |
File details
Details for the file jupyterlab_logout-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: jupyterlab_logout-1.0.0-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 289d10aba9c8015a0b38d20545763d599014bb54f56aa7375a11c1758b5a7c14 |
|
MD5 | 937ccc63a25a5869ee5bf3e726234610 |
|
BLAKE2b-256 | e7621af11f1375c8ea3945690be707c9fbfd1987a34a5cc59f5828e10747c571 |