lab-extensions
Repo for JupyterLab/Retrolab/Notebookv7 NBGallery Extensions
Included extensions
Server extensions
jupyterlab-nbgallery
Lab Extensions
- autodownload
- environment-Life - Does not work in Retrolab/Notebookv7 at this time
- environment-registration
- gallery-menu
- inject-uuid - Add the NBGallery UUID and Commit ID to the environment of the kernel
- instrumentation - Track cell execution metrics and submit them to NBGallery
- userpreferences - Save JupyterLab prefernces to NBGallery and download them back to Jupyter
Installation
pip install juptyerlab_nbgallery- Restart Jupyter Server if already running
Configuration
Ensure the following environment variables are configured to anable various features
- NBGALLERY_URL - Required for all but environment life
- ENABLED_AUTODOWNLOAD - Set to 1 to auto download recently executed and starred notebooks
- ENABLE_INSTRUMENTATION - Set to 1 to record cell executions to NBGallery
- NBGALLERY_TERMINATION_TIME - Date/Time string for when the Jupyter instance will terminate/delete contents (If empty, no date is displayed)
- NB_USER - username for user running Jupyter (needed for userpreferences)
Checking Configuration
- To ensure NBGALLERY_URL is set visit
/jupyterlab_nbgallery/environmentunder the Jupyter server root- Example: If juptyer lab is at http://localhost/lab, visit http://localhost/jupyterlab_nbgallery/environment
Disabling individual lab extensions
To disable a specific lab extension use jupyter labextension disable @jupyterlab-nbgallery/<extensionname> such as jupyter labextension disable @jupyterlab-nbgallery/autodownload
Build
Best to build it in a container with JupyterLab installed for the time being. Then: pip install jupyter_packaging python setup.py bdist_wheel
Metadata
Release files for jupyterlab-nbgallery 3.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jupyterlab_nbgallery-3.0.6.tar.gz | 217.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jupyterlab_nbgallery-3.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 465.8 kB
Release files / jupyterlab_nbgallery-3.0.6.tar.gz
| Download URL | jupyterlab_nbgallery-3.0.6.tar.gz |
|---|---|
| Size | 217.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3964d983aaecf1fca40dfc4561e6ee257e3b33d7ad90c65ae4bbafb69e5b032b
|
|
BLAKE2b-256 checksum How to use checksums |
81b302c1d9d397ca3a03d0e91875174f5ffadc026c7a6ac8dd16957730b28b51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.21
|
Release files / jupyterlab_nbgallery-3.0.6-py3-none-any.whl
| Download URL | jupyterlab_nbgallery-3.0.6-py3-none-any.whl |
|---|---|
| Size | 248.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
269144cd3ffc5c0ab9bba568cdcbe846ae41672dd99aa4e319b13124b5f004f2
|
|
BLAKE2b-256 checksum How to use checksums |
848a45e64563a7d795cf518b13b5a82f4fbc53110c99960bd2e82fa091a12a4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.21
|