Socket
Socket
Sign inDemoInstall

jupyterlab-nbgallery

Package Overview
Dependencies
Maintainers
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jupyterlab-nbgallery

A JupyterLab Extension for NBGallery integration


Maintainers
6

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

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc