LabLink CLI
Command-line tool for deploying and managing LabLink teaching lab infrastructure —
on AWS (EC2 via Terraform) or on a machine you already have (provider: manual,
deployed with docker-compose).
Installation
This package is not yet published to PyPI. Install it from source — the repo is a
uv workspace, so sync all three packages into the shared root venv:
git clone https://github.com/talmolab/lablink.git
cd lablink
uv sync --all-packages
Usage
lablink --help
lablink --version # or -v
Commands
| Command | Description |
|---|---|
configure |
Create or edit LabLink configuration (interactive TUI) |
setup |
Provision provider-specific bootstrap resources (AWS: S3 + DynamoDB for Terraform state) |
doctor |
Check prerequisites and configuration |
deploy |
Deploy LabLink infrastructure (AWS Terraform or docker-compose) |
destroy |
Tear down LabLink infrastructure |
status |
Show deployment health and inventory |
logs |
View allocator and client logs |
export-metrics |
Export deployment metrics to CSV or JSON |
stats |
Show a cohort session-metrics summary in the terminal |
cleanup |
Remove deployment resources and local state |
show-config |
View the current LabLink configuration |
cache-clear |
Clear LabLink caches (Terraform templates, deployment metrics) |
Client fleet commands
| Command | Description |
|---|---|
client launch |
Launch client VMs via the allocator service (AWS provider) |
client register |
Register this bring-your-own box as a manual client and run the client container |
client unregister |
Tear down a registered BYO box |
client reset-overlay |
Discard this box's persisted mesh-overlay node identity |
Run lablink <command> --help for details on any command.
Documentation
Full CLI documentation: https://talmolab.github.io/lablink/cli/
Metadata
Release files for lablink-cli 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lablink_cli-0.4.0.tar.gz | 226.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lablink_cli-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 364.0 kB
Release files / lablink_cli-0.4.0.tar.gz
| Download URL | lablink_cli-0.4.0.tar.gz |
|---|---|
| Size | 226.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e1902836e1f2138c57292a472ec14bbc63a2c21b6d8de40683d7eee7b657cf1
|
|
BLAKE2b-256 checksum How to use checksums |
8bd313c6c5e9f3100ead6b1334605ab6f4d14c436ff8817253baa89441c3674d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / lablink_cli-0.4.0-py3-none-any.whl
| Download URL | lablink_cli-0.4.0-py3-none-any.whl |
|---|---|
| Size | 138.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c85919304c92676a9e430c58efa7a6e00834b55e4381014403c015a7a095fda
|
|
BLAKE2b-256 checksum How to use checksums |
4efb4422a6ad0dbe22cfffbcaf8ea1582a673a93f8dff5d087ff1e9ad7b17ea4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|