Skip to content

jvvook/jupyterhub-shareduser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi-profile plugin for user-wide Jupyterhub

This extension simply turns Jupyterhub into Jupyterlab with multiple configurations identified by arbitrarily chosen names. Other things such as base directory and password are still shared.

Motivation

My lab used to share a single instance of Jupyterlab on a single Unix account. The problem was that the Jupyterlab session and configuration were also shared between the members. This extension enables the separation of them by arbitrarily chosen names.

Installation

Install user-wide Jupyterhub along with Jupyterlab (or Notebook).

conda install -c conda-forge jupyterlab jupyterhub

Clone this repository and run pip install -e .

Configuration

In Jupyterhub configuration file:

c.JupyterHub.authenticator_class = "shareduser.SUAuthenticator"
c.SUAuthenticator.password_hash = "$argon2id$v=19$m=102400,t=2,p=..." # generated by argon2
c.JupyterHub.spawner_class = "shareduser.SUSpawner"
c.Spawner.default_url = "/lab"

About

Jupyterhub plugin for the single user & multi profile setting

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages