Skip to main content

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

See https://trello.com/b/F2Smw3QO/labmachine

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

labmachine-0.4.4.tar.gz (32.4 kB view details)

Uploaded Source

Built Distribution

labmachine-0.4.4-py3-none-any.whl (46.1 kB view details)

Uploaded Python 3

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

Hashes for labmachine-0.4.4.tar.gz
Algorithm Hash digest
SHA256 63cfec5c979bae12d8918e564b49c935504f529d2c8dca696ccebfc19e8081fe
MD5 a196741e45eb7e0a852ba93d6cefea32
BLAKE2b-256 80ed9e9c3414f9dbc78c9b245a5fde7262c64f1ee906ec0ce0d4986112c71f56

See more details on using hashes here.

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

Hashes for labmachine-0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6688d1d2a987f458888cbcdc3e7680f572c9d304626bb96964f5f4744c54abd8
MD5 6ff084f42d8bac9158344b47de33e1d3
BLAKE2b-256 09d85eeb4a9c1eda3c7f432463ad1b5ecab8fbeee3f3d0b192f1d8711db30b25

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page