Python SDK for Suga infrastructure resources
suga.yaml
buckets: image: access: app: - read - write
suga generate --python --python-out ./suga_gen
suga generate
from suga_gen.client import SugaClient
# Initialize client client = SugaClient() # Access your resources (names from your suga.yaml) client.image.write("file.txt", b"data") content = client.image.read("file.txt")
Was this page helpful?