Skip to main content

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

Release files for labmachine 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for labmachine 0.6.0
File Size Uploaded
labmachine-0.6.0.tar.gz 35.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for labmachine 0.6.0
File Interpreter ABI Platform
labmachine-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 85.4 kB

Release files / labmachine-0.6.0.tar.gz

Download URL labmachine-0.6.0.tar.gz
Size 35.6 kB
Tags Source
SHA-256 checksum
How to use checksums
617bd5b754a755ecd486594b7474e5b72f108655bc81e783b1bf2447f078135a
BLAKE2b-256 checksum
How to use checksums
84fd394f5ead1f21bbbea9a19db8b121dc4525d64403ae60e76d149b8f752a52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.10 Linux/5.19.15_1

Release files / labmachine-0.6.0-py3-none-any.whl

Download URL labmachine-0.6.0-py3-none-any.whl
Size 49.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
16d8eea92708e3d03451d0ddef57ca09073c732666eaae55f0de8dcb78f1dab2
BLAKE2b-256 checksum
How to use checksums
c4b03161f7e4cddcfdc9e9f42e44be08f5350dcaaff862a30cb27e347752bba4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.10 Linux/5.19.15_1

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.0

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page