ByCloud Docs
GuidesCLIAPISDK

Python SDK

Official Python SDK with async support

Installation

pip install bycloud-sdk

Quick Start

Here's a quick example to get you started with the Python SDK:

from bycloud import ByCloud
# Initialize the client
client = ByCloud(token="YOUR_ACCESS_TOKEN")
# List all instances
instances = client.compute.list_instances()
print(instances)
# Create a new instance
new_instance = client.compute.create_instance(
name="my-instance",
flavor_id="c1.medium",
image_id="ubuntu-22.04"
)
print(new_instance)

Features

- Full coverage of the ByCloud API

- Automatic request signing and authentication

- Built-in error handling and retries

- Strongly typed responses