A spawner for JupyterHub to spawn notebooks over Sky Port
Project description
Sky Port Juputer terminal
Sky Port project
Sky Port is an universal bus between user software and compute resources. It can also be considered as a transportation layer between workload producers and compute resource providers. Sky Port makes it easy to connect user software to different cloud resources.
Sky Port integration
The current project represents a custom spawner that allows to configure spawning options and submit jupyterlab job over Sky Port.
The spawner python package is distributed vis PyPI as swm-jupyter-spawner
.
Development environment for the spawner
Ensure conda
and pip
are installed and accessable via $PATH (installed in the dev container image by default).
1. Create conda environment
# Run the dev container from swm-core first, then switch to swm-jupyter-term directory
conda create -n swm-jupyter --override-channels --strict-channel-priority -c conda-forge -c anaconda nodejs configurable-http-proxy
conda init bash
Activate conda:
conda activate swm-jupyter
Deactivate conda:
conda deactivate
For local testing:
docker pull jupyter/datascience-notebook:hub-3.1.1
2. Configure virtualenv
make prepare-venv
JupyterHub spawner
All you need to start using it is to have swm-core container running and then you start and login to jupyterhub. In order to start jupyterhub manually in a terminal:
conda activate swm-jupyter
. .venv/bin/activate
jupyterhub
Contributing
We appreciate all contributions. If you are planning to contribute back bug-fixes, please do so without any further discussion. If you plan to contribute new features, utility functions or extensions, please first open an issue and discuss the feature with us.
License
We use a shared copyright model that enables all contributors to maintain the copyright on their contributions.
This software is licensed under the BSD-3-Clause license.
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
File details
Details for the file swmjupyter-0.1.3.tar.gz
.
File metadata
- Download URL: swmjupyter-0.1.3.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5f30bd1ef1ed24feb4378bc6c6d735d2cce6a4fb9a3c3094493383fe027a47f |
|
MD5 | 9cdf63eac97a517edde1674dbfa50180 |
|
BLAKE2b-256 | c6d73615be75645a0921eda5bb0999c4e9e99bc16fb48752dfe3d5755264df6b |
File details
Details for the file swmjupyter-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: swmjupyter-0.1.3-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c73b93b94f7d875f784d3ba7cdb1dad9367b41c223ab4b607ac50041b77637df |
|
MD5 | 834cb3164dd51ed1d5ca1e1af809d3ba |
|
BLAKE2b-256 | 4f9e087845586e47a12008d29df27eb382ed62b7c3eba6455b959852761c3f3d |