marcusianlevine.jupyter-container
jupyter-container
This adds a Jupyter notebook service for a single user to your Ansible Container project. It is made to work with JupyterHub.
To install the service, run these commands:
# Go to your Ansible Container project folder
$ cd myproject
# Install the service
$ ansible-container install marcusianlevine.jupyter-container
Requirements
- You need Ansible Container.
- You should have an existing Ansible Container project. To create one, follow these steps:
# Make a new folder for your project $ mkdir myproject # Navigate to the new folder $ cd myproject # Set up the project $ ansible-container init
Role Variables
Here are some variables you can set:
py2_env
- The name of the Python 2 virtual environment added to conda.
jupyterhub_pip_version
- This must match the version of JupyterHub you have on the Hub that uses this image.
cran_packages
- A list of R packages to install.
conda2_packages
- A list of conda packages for Python 2 to install.
pip2_packages
- A list of pip packages for Python 2 to install.
extra_conda3_packages
- A list of additional conda packages for Python 3 to install, on top of
conda2_packages
.
- A list of additional conda packages for Python 3 to install, on top of
extra_pip3_packages
- A list of extra pip packages for Python 3 to install, in addition to the ones in
pip2_packages
.
- A list of extra pip packages for Python 3 to install, in addition to the ones in
extra_lab_extensions
- A list of extra Jupyter Lab extensions (npm packages) to install.
install_nbextensions
- Install
jupyter_contrib_nbextensions
using conda (and its configurator).
- Install
Dependencies
Note: This role is built to work from a single-user Jupyter notebook base image
License
BSD
Author Information
Written by Marcus Levine for CKM Advisors.
Informazioni sul progetto
Build a custom single-user Jupyter Notebook container for use with JupyterHub
Installa
ansible-galaxy install marcusianlevine.jupyter-container
Licenza
bsd-3-clause
Download
95
Proprietario
Data Science + DevOps = DataEng