Skip to main content

A client library for accessing Lambda Cloud API

Project description

Lambda Cloud API - CLI wrapper

This repo contains the generated Python client for the Lambda Cloud API and a lightweight CLI wrapper so you can call it directly from your terminal.

Running the CLI locally

  1. Set your API token via LAMBDA_CLOUD_TOKEN (or LAMBDA_CLOUD_API_TOKEN / LAMBDA_API_TOKEN), optionally LAMBDA_CLOUD_BASE_URL if you use a non-default endpoint.
  2. Install this CLI: uv pip install lambda-ai-cloud-api-client.
  3. Run commands: lambda-ai <command> ...

Examples:

  • List instance types: lambda-ai instance-types
  • List images: lambda-ai images
  • List SSH keys: lambda-ai ssh-keys
  • List instances: lambda-ai instances list
  • Get one instance: lambda-ai instances get <instance-id>
  • Launch an instance: lambda-ai instances launch --region us-east-1 --instance-type gpu_1x_a10 --ssh-key my-key --name demo
  • Terminate instances: lambda-ai instances terminate <id-1> <id-2>

Flags:

  • --token to override the token (instead of env vars)
  • --base-url to target a specific control plane (defaults to https://cloud.lambdalabs.com)
  • --insecure to skip TLS verification (only for debugging)

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

lambda_ai_cloud_api_client-1.0.0.tar.gz (45.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lambda_ai_cloud_api_client-1.0.0-py3-none-any.whl (172.9 kB view details)

Uploaded Python 3

File details

Details for the file lambda_ai_cloud_api_client-1.0.0.tar.gz.

File metadata

File hashes

Hashes for lambda_ai_cloud_api_client-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5396ae16a01db0df1a062746d958f051309b7ee1abdcf68c673401fe8f605000
MD5 34120c5909990e1aa7b8daa529a71d5c
BLAKE2b-256 734a232a2860de079780a2fd6a4e4e68e92a494b6accda3b00720a9d0709675b

See more details on using hashes here.

Provenance

The following attestation bundles were made for lambda_ai_cloud_api_client-1.0.0.tar.gz:

Publisher: ci.yml on alexandervaneck/lambda-ai-cloud-api-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lambda_ai_cloud_api_client-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for lambda_ai_cloud_api_client-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d9dcd34b4a73083a2a682920d0297eb14e739e1e31b65dfdc7d0b78549eb160
MD5 0fc273d73e58c0f81bfff1de5d052a45
BLAKE2b-256 782efa2d2b4a13ac726af23db78764202309568be8d29a51c86b32f8d4482cfa

See more details on using hashes here.

Provenance

The following attestation bundles were made for lambda_ai_cloud_api_client-1.0.0-py3-none-any.whl:

Publisher: ci.yml on alexandervaneck/lambda-ai-cloud-api-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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