Python SDK
Official Python SDK with async support
Installation
pip install bycloud-sdkQuick Start
Here's a quick example to get you started with the Python SDK:
from bycloud import ByCloud# Initialize the clientclient = ByCloud(token="YOUR_ACCESS_TOKEN")# List all instancesinstances = client.compute.list_instances()print(instances)# Create a new instancenew_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