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 accountinstances.get(instance_id)- Get details for a specific instanceinstances.update(instance_id, ...)- Update details of a specific instanceinstances.launch(...)- Launch one or more new instancesinstances.restart(instance_ids)- Start one or more instancesinstances.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 accountssh_keys.add(name, public_key)- Add a new SSH keyssh_keys.delete(name)- Delete an SSH key
File Systems
file_systems.list()- Get all file systems for the accountfile_systems.create(...)- Create a new file systemfile_systems.delete(name)- Delete a file system
Images
images.list()- List available machine images
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a32b92eca705f8e591daf2defea77e02b324f97cc42265eeb88c0e1363b2c92
|
|
| MD5 |
8d40ac6dfc6b3ec75cbe44914a4049ca
|
|
| BLAKE2b-256 |
a05f7032844285dd60dfac6a60afb992112331a2f4196687cdc9c010034967bc
|
File details
Details for the file lambda_cloud_python-0.0.1-py3-none-any.whl.
File metadata
- Download URL: lambda_cloud_python-0.0.1-py3-none-any.whl
- Upload date:
- Size: 26.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d74c0f6a6f734832272ce2061fe91aac3d6360ff61b449137b94676d02a32a1
|
|
| MD5 |
35b4c53aa8e739501d94a96472223263
|
|
| BLAKE2b-256 |
0a82dca547bfd6c514732afb99ecc6b8231ca58e6b939fe61666a60779fb8d3e
|