Skip to main content

Python client for Lambda Cloud

Project description

Lambda Cloud Python

A simple Python client for the Lambda Cloud API, built with httpx.

Installation

Installation via PyPI

pip install lambda-cloud-python

Installation from source

git clone https://github.com/jxtngx/lambda-cloud-python.git
cd lambda-cloud-python
pip install -e .

Usage

[!NOTE] see docs for more examples

The Lambda Cloud Python client provides the following functionality:

Instances

  • instances.list() - Get all instances for the account
  • instances.get(instance_id) - Get details for a specific instance
  • instances.update(instance_id, ...) - Update details of a specific instance
  • instances.launch(...) - Launch one or more new instances
  • instances.restart(instance_ids) - Start one or more instances
  • instances.terminate(instance_ids) - Terminate one or more instances

Instance Types

  • instance_types.list() - Get available instance types and their specifications

SSH Keys

  • ssh_keys.list() - Get all SSH keys for the account
  • ssh_keys.add(name, public_key) - Add a new SSH key
  • ssh_keys.delete(name) - Delete an SSH key

File Systems

  • file_systems.list() - Get all file systems for the account
  • file_systems.create(...) - Create a new file system
  • file_systems.delete(name) - Delete a file system

Images

  • images.list() - List available machine images

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_cloud_python-0.0.1.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

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

lambda_cloud_python-0.0.1-py3-none-any.whl (26.6 kB view details)

Uploaded Python 3

File details

Details for the file lambda_cloud_python-0.0.1.tar.gz.

File metadata

  • Download URL: lambda_cloud_python-0.0.1.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for lambda_cloud_python-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2a32b92eca705f8e591daf2defea77e02b324f97cc42265eeb88c0e1363b2c92
MD5 8d40ac6dfc6b3ec75cbe44914a4049ca
BLAKE2b-256 a05f7032844285dd60dfac6a60afb992112331a2f4196687cdc9c010034967bc

See more details on using hashes here.

File details

Details for the file lambda_cloud_python-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for lambda_cloud_python-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8d74c0f6a6f734832272ce2061fe91aac3d6360ff61b449137b94676d02a32a1
MD5 35b4c53aa8e739501d94a96472223263
BLAKE2b-256 0a82dca547bfd6c514732afb99ecc6b8231ca58e6b939fe61666a60779fb8d3e

See more details on using hashes here.

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