Skip to main content

A JupyterLab Extension for NBGallery integration

Project description

lab-extensions

Repo for JupyterLab/Retrolab/Notebookv7 NBGallery Extensions

Included extensions

Server extensions

jupyterlab-nbgallery

Lab Extensions

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

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

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

jupyterlab_nbgallery-3.0.3-py3-none-any.whl (247.6 kB view details)

Uploaded Python 3

File details

Details for the file jupyterlab_nbgallery-3.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlab_nbgallery-3.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7646dfd07d0a5d1325df848b46e38264a57078e5bff624bb786eebffa15e7f02
MD5 6635d3b1d649b38ad6d9a079464ba516
BLAKE2b-256 f86ea340c55f2284e3575c582dbf3a63122ff9594b294df463c1051c46360203

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