Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python client library for Deltacloud API

Project Description

A Python client for Deltacloud API REST interface.

Features

  • Basic operations with images, instances, hardware-profiles and realms
  • Manage instances using start, stop, destroy and reboot operations
  • Create new instance from image

Install

pip install deltacloud

Examples

Launching an instance

from deltacloud import Deltacloud
client = Deltacloud('http://localhost:3001/api', 'mockuser', 'mockpassword')
instance = client.create_instance('img1', {'hwp_id': 'm1-small'})

Listing images/hardware profiles/realms/instances

print(client.images())
print(client.hardware_profiles())
print(client.realms())
print(client.instances())

Stopping an instance

instance = client.instances()[0]
instance.stop()

Contributions

  • Michal Fojtik
  • Tomas Sedovic
  • Martin Packman

License

Licensed under Apache License, Version 2.0 Copyright (C) 2009 Red Hat, Inc.

See http://www.apache.org/licenses/LICENSE-2.0

Release History

Release History

This version
History Node

0.9.1

History Node

0.9.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
deltacloud-0.9.1.tar.gz (4.7 kB) Copy SHA256 Checksum SHA256 Source Feb 28, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting