take-me-cloud
take-me-cloud is a CLI for working with Lightning AI studios from your shell. It can list every studio you can access, sync Lightning SSH entries into ~/.ssh/config, create or replace studios from a local config file, and bootstrap a fresh studio for repository work.
Introduction
The CLI authenticates with Lightning AI through LIGHTNING_API_KEY and either LIGHTNING_USER_ID or LIGHTNING_USERNAME. It uses those credentials to discover your organizations, teamspaces, and studios.
Installation
pip install take_me_cloud
uv tool install take_me_cloud
For development:
pip install -e .
Configuration
Create ~/.config/take_me_cloud_config.yaml with a Lightning AI section:
Lightning AI:
machine_default: T4
cloud_provider: AWS
teamspace:
- name: rwth-gut/skillcomp
owner_type: org
- name: vaishnavahari/myml
owner_type: user
machine_default: CPU
teamspace entries are shown interactively when you create a studio. Each entry must use owner/teamspace naming.
Usage
List studios
take-me-cloud --list
take-me-cloud -ls
The output is grouped by teamspace and shows the studio name, owner, machine type, and current state.
Sync SSH config
take-me-cloud --lock-ssh
This preserves non-Lightning SSH hosts, removes stale Lightning entries, and writes the current accessible studios into ~/.ssh/config.
Create or replace a studio
take-me-cloud --create-replace my-studio
The CLI prompts for a teamspace from the config file, deletes any existing studio with the same name, starts the replacement with the configured machine type, and appends common setup commands to ~/.bash_history.
Go studio
take-me-cloud --go-studio my-repo
This creates or replaces a studio, clones svaichu/my-repo into the studio home directory, writes .vscode/settings.json, and installs the requested VS Code extensions on the remote environment.
Set up a Colab VM
Describe the setup under the Colab key in ~/.config/take_me_cloud_config.yaml:
Colab:
host: colab
env:
- GH_TOKEN
- HF_TOKEN
commands:
- curl -fsSL https://chatgpt.com/codex/install.sh | CODEX_NON_INTERACTIVE=1 sh
- curl -fsSL https://pixi.sh/install.sh | sh
Start the Colab VM yourself and make sure ssh colab works, then run:
take-me-cloud --colab
take-me-cloud --colab other-host
| Key | Meaning |
|---|---|
host |
SSH host used when --colab has no HOST argument. |
env |
Names of variables in your local shell to export from the VM's ~/.bashrc (stored there in plain text). Unset ones are skipped. |
commands |
Commands run on the VM in order, after the variables and bash history are set. The setup stops at the first failure. They get no input, so they must run non-interactively. |
The package ships no defaults: without a key, that step is skipped, and without a host you must pass one. The example above installs Codex and pixi. It does not need Lightning credentials.
Bash history commands
New Lightning studios and Colab VMs get your commands added to their bash history file (HISTFILE, normally ~/.bash_history), so they show up in Ctrl+R search. List them under the top-level bash_history key in ~/.config/take_me_cloud_config.yaml:
bash_history:
- uv sync --active
- uv pip list
Lightning AI:
machine_default: T4
Commands already in the history are not repeated. Quote a command that contains : or #. Without this key, no history is added.
Version
take-me-cloud --version
take-me-cloud -v
Development
Run the tests with:
uv run python -m unittest discover -s tests -v
Project Layout
take_me_cloud/base.py: Lightning helpers and SSH/config logictake_me_cloud/cli.py: Argument parsing and command dispatchtake_me_cloud/colab.py: Colab VM setup over SSHtake_me_cloud/history.py: Config file and bash history helperstests/: Unit tests for the core flows
Metadata
Release files for take-me-cloud 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| take_me_cloud-0.2.2.tar.gz | 18.3 kB | With provenance | Details for take_me_cloud-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| take_me_cloud-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for take_me_cloud-0.2.2-py3-none-any.whl |
Total release size: 31.8 kB
Release files / take_me_cloud-0.2.2.tar.gz
| Download URL | take_me_cloud-0.2.2.tar.gz |
|---|---|
| Size | 18.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
81cafc353c6fd2b1757ec18ea35273c0d83e606c17b398475fd5a68d942f06ab
|
|
BLAKE2b-256 checksum How to use checksums |
f31ef1b6cd86c531374ead55a3d4cd1d3003931d7d503375b819284c462e4ed5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logRelease files / take_me_cloud-0.2.2-py3-none-any.whl
| Download URL | take_me_cloud-0.2.2-py3-none-any.whl |
|---|---|
| Size | 13.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5603038b9a4fad6bcfacdb041a740e6d92b2076461483cd4b83c3751db24d5c6
|
|
BLAKE2b-256 checksum How to use checksums |
81de4db26655867d359d30da574b058165eaa0c3052b18d17800db4b6dbcfad0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logSecurity for take-me-cloud 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for take_me_cloud-0.2.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.