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
  • Logging into cloud provider log service

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.6.0.tar.gz (35.6 kB view details)

Uploaded Source

Built Distribution

labmachine-0.6.0-py3-none-any.whl (49.8 kB view details)

Uploaded Python 3

File details

Details for the file labmachine-0.6.0.tar.gz.

File metadata

  • Download URL: labmachine-0.6.0.tar.gz
  • Upload date:
  • Size: 35.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.10 Linux/5.19.15_1

File hashes

Hashes for labmachine-0.6.0.tar.gz
Algorithm Hash digest
SHA256 617bd5b754a755ecd486594b7474e5b72f108655bc81e783b1bf2447f078135a
MD5 b8ca417d9a029a1f5f13b2af591b0fdf
BLAKE2b-256 84fd394f5ead1f21bbbea9a19db8b121dc4525d64403ae60e76d149b8f752a52

See more details on using hashes here.

File details

Details for the file labmachine-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: labmachine-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 49.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.10 Linux/5.19.15_1

File hashes

Hashes for labmachine-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16d8eea92708e3d03451d0ddef57ca09073c732666eaae55f0de8dcb78f1dab2
MD5 9aa827af5c5c3758bc408025e1b83fb4
BLAKE2b-256 c4b03161f7e4cddcfdc9e9f42e44be08f5350dcaaff862a30cb27e347752bba4

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