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
- Jupyter LDAP Authenticator
- MGLearn
- Numpy
- Pandas
- Scikit-learn
- SciPy
- ...more
Installation
You can install it from pip with:
pip install jupyterlab-workbench
Usage
First, we need to build it
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
Deploy
Edit the generated config file and uncomment the 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
AUTH_TYPE=''
LDAP_SERVER_HOST=''
LDAP_BIND_USER_DN=''
LDAP_BIND_USER_PASSWORD=''
LDAP_USER_SEARCH_BASE=''
LDAP_USER_SEARCH_FILTER=''
Create a systemd service file: 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
Release history Release notifications | RSS feed
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.2.tar.gz
(16.6 kB
view hashes)
Close
Hashes for jupyterlab-workbench-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1aa8952cbaa6f0be9c0ab2f6368a4ef9dc265531f4e426fa37cc4586126a6f1d |
|
MD5 | 96652570d752869b47a9e5fc5242279a |
|
BLAKE2b-256 | cfe3ef5da10ba5b3e957928a698b03af236168dc2e64ff55b9e6d98d9e899465 |