Skip to main content

No project description provided

Project description

JupyterLab Workbench

JupyterLab Workbench is an opensource software with pre-installed JupyterLab and essential packages intended for corporations, researchers, scientists, students, educators, and etc.

List of pre-installed packages:

  • Pillow
  • Bash Kernel
  • IPython
  • IPyWidgets
  • JupyterHub LDAP Authenticator
  • MGLearn
  • Numpy
  • Pandas
  • Scikit-learn
  • SciPy
  • ...more

Installation

You can install it from pip with:

pip install jupyterlab-workbench

Usage

After the install, rebuild the workbench

jlwb build

Generate a jupyterhub_config.py file

jlwb generate_config

Start the JupyterLab-Workbench

jlwb start -f <path/to/generated_config>

For more information

jlwb help

Deployment

Edit the generated config file and uncomment the following block

c.JupyterHub.spawner_class = 'systemdspawner.SystemdSpawner'
c.SystemdSpawner.default_shell = '/bin/bash'
c.SystemdSpawner.unit_extra_properties = {'LimitMEMLOCK': 'infinity'}

Create a systemd environment file: jlwb.env

PATH=$PATH:/path/to/env/bin

# for FreeIPA (optional)
AUTH_TYPE='freeipa'
LDAP_SERVER_HOST='freeipa.example.com'
LDAP_BIND_USER_DN='uid=imauser,cn=users,cn=accounts,dc=example,dc=com'
LDAP_BIND_USER_PASSWORD='imapasssword'
LDAP_USER_SEARCH_BASE='cn=users,cn=accounts,dc=example,dc=com'
LDAP_USER_SEARCH_FILTER='(&(objectClass=person)(uid={username}))'

# for OpenLDAP (optional)
AUTH_TYPE='openldap'
LDAP_SERVER_HOST='openldap.example.com'
LDAP_BIND_USER_DN='uid=imauser,ou=People,dc=example,dc=com'
LDAP_BIND_USER_PASSWORD='iampassword'
LDAP_USER_SEARCH_BASE='ou=People,dc=example,dc=com'
LDAP_USER_SEARCH_FILTER='(&(objectClass=posixAccount)(uid={username}))'

Create a systemd service file: jlwb.service

vi /etc/systemd/system/jlwb.service
[Unit]
Description=JupyterLab Workbench
After=syslog.target network.target

[Service]
User=root
EnvironmentFile=/path/to/jlwb.env
StandardOutput=file:/path/to/log/jlwb.sysout.log
ExecStart=/path/to/env/bin/jlwb start -f /path/to/jupyterhub_config.py

Restart=on-failure
RestartSec=10

[Install]
WantedBy=multi-user.target

Start JupyterLab Workbench

systemctl daemon-reload
systemctl start jlwb.service
systemctl enable jlwb.service
systemctl status jlwb.service

Development

Clone the project

git clone git@github.com:enlznep/jupyterlab-workbench.git

Create a virtualenv

python -m virtualenv env
source env/bin/activate

Install the package

pip install .

Project details


Download files

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

Source Distribution

jupyterlab-workbench-0.1.3.tar.gz (16.8 kB view details)

Uploaded Source

File details

Details for the file jupyterlab-workbench-0.1.3.tar.gz.

File metadata

  • Download URL: jupyterlab-workbench-0.1.3.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.5

File hashes

Hashes for jupyterlab-workbench-0.1.3.tar.gz
Algorithm Hash digest
SHA256 bd05723bc4243b744bd27d0d464b01643b732d6c89c8f8487626ecb13b265a56
MD5 f80998a257c6ecda2753fbd5d4648e55
BLAKE2b-256 9270bf70963a3de1e28f82b3c0ee0455a3b54fdab8ba177f183c831c07f039a1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page