A simple creator of machines with Jupyterlab
Project description
labmachine
This is a POC with two purposes: refactoring a cluster package from labfunctions and allowing the creation and self registering of a jupyter instance.
This work was inpired by Let Deep Learning VMs and Jupyter notebooks burn the midnight oil for you
Right now only works for Google Cloud but should be easy to expand to other providers.
For examples, see examples
See infra_[cpu|gpu].py
and lab_[cpu|gpu].py
infra_*
files are raw implementacion of the cluster library.
Lab files are abstractions built over this library for jupyter lab provisioning.
Features
- VM creation (Google)
- Jupyter on docker
- SSL certificates (ZeroSSL & Caddy)
- Volumes managments (Creation, Resizing, deletion, formating, etc)
- DNS A record creation (Google, Cloudflare)
- Automatic shutdown by inactivity (by Jupyter)
- GPU Provisioning (nvidia-smi installation, docker configuration, etc)
- Linux image creation (Packer)
- Entities types for autocompletion
Documentation
Next work
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 labmachine-0.4.4.tar.gz
.
File metadata
- Download URL: labmachine-0.4.4.tar.gz
- Upload date:
- Size: 32.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.8.10 Linux/5.19.13_1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63cfec5c979bae12d8918e564b49c935504f529d2c8dca696ccebfc19e8081fe |
|
MD5 | a196741e45eb7e0a852ba93d6cefea32 |
|
BLAKE2b-256 | 80ed9e9c3414f9dbc78c9b245a5fde7262c64f1ee906ec0ce0d4986112c71f56 |
File details
Details for the file labmachine-0.4.4-py3-none-any.whl
.
File metadata
- Download URL: labmachine-0.4.4-py3-none-any.whl
- Upload date:
- Size: 46.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.8.10 Linux/5.19.13_1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6688d1d2a987f458888cbcdc3e7680f572c9d304626bb96964f5f4744c54abd8 |
|
MD5 | 6ff084f42d8bac9158344b47de33e1d3 |
|
BLAKE2b-256 | 09d85eeb4a9c1eda3c7f432463ad1b5ecab8fbeee3f3d0b192f1d8711db30b25 |