Fabric Jupyter Notebook Container Setup
Project description
JupyterHub Notebook Container Setup
This repository contains the software responsible for setting up Jupyter Hub Container for a FABRIC user.
Overview
This package installs a startup script on the JH Container and configures the container as below:
- Tokens:
Creates a token file using the CI LOGON Refresh Token environment variable. This file is then used by Fablib to get tokens from the Credential Manager. The file is only created if it does not exist.
- Config Directory
fabric_config
:Creates the **fabric_config** directory if does not exist already. A default **fabric_rc** file is also created in the config directory with all the environment variables set to the defaults
- Requirements
requirements.txt
- Config
fabric_config.json
- Notebooks
- SSH Keys
- Custom Python Packages
Requirements
Python 3.9+
Pre-requisites
Ensure that following are installed
virtualenv
virtualenvwrapper
Installation
Multiple installation options possible. For CF development the recommended method is to install from GitHub MASTER branch:
$ mkvirtualenv fabrictestbed
$ workon fabrictestbed
$ pip install git+https://github.com/fabric-testbed/fabric-cli.git
For inclusion in tools, etc, use PyPi
$ mkvirtualenv fabrictestbed
$ workon fabrictestbed
$ pip install fabrictestbed
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
Built Distribution
Hashes for jupyternb_setup-1.3.3b2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 029aaae51f0dfbd6164376622c8aae01297936fa47b28ee6137705a0c4639f0d |
|
MD5 | 1daf12a6e4389a5a7f3ae7bf7c4c3e34 |
|
BLAKE2b-256 | 536fa25445e2ca18c0e0e84720d7c25c42066d5d40641a347c1f0525da481fab |