Skip to content

vre-hub/zenodo-jupyterlab-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zenodo Jupyterlab Extension

Build and install extension

Zenodo JupyterLab plugin This project is currently in development and is subject to change.

This project integrates Zenodo into Jupyter Lab extension.

Requirements

JupyterLab > 4, < 5 Notebook < 7

Install

You will need NodeJS >= 20 for these steps.

Now, install yarn:
npm install -g corepack corepack enable

Install the Python dependencies from within the main project directory:
python -m pip install -r requirements.txt

Install Yarn Dependencies:
jlpm

Install and Build the Extension:
python -m pip install .

Enable the Extension:
jupyter server extension enable zenodo_jupyterlab.server

Now open a local instance of Jupyter Lab, and it should be present on the sidebar.

Docker

Rather than manually cloning the repository, it is possible to run the extension in a Docker container. To do this, use the following command:
docker run -d -p 8888:8888 ghcr.io/vre-hub/zenodo-jupyterlab-extension:<version>

All available versions can be found here

Now the instance of Jupyter Lab with the extension installed and enabled should be avilable on localhost:8888