582 B
582 B
An OpenStack all-in-one SDK
Notes and mockups for a unified OpenStack SDK.
Example:
import io
from openstack import OpenStackClient, KeystoneAuth
= OpenStackClient(KeystoneAuth('http://localhost:8000/', 'alex', '****'))
client = client.compute.images.list()[0]
image = client.compute.servers.create(image=image)
server print server.public_ips[0]
= client.object_storage.container.create(name='stuff')
container ='a thing', contents=io.BytesIO(b'all the bytes')) container.objects.create(name