A consistent interface to multiple IaaS clouds; in Python http://cloudbridge.cloudve.org

Enis Afgan 53045601c9 Use a dict getter when grabbing EC2 instance name 11 年之前
cloudbridge 53045601c9 Use a dict getter when grabbing EC2 instance name 11 年之前
test 113a094723 Added create_instance support for openstack + basic tests. 11 年之前
.gitignore 1500caecff Initial commit 11 年之前
.travis.yml e090981cb5 Simplified tox coverage. Fixed typos 11 年之前
LICENSE 1500caecff Initial commit 11 年之前
README.md e090981cb5 Simplified tox coverage. Fixed typos 11 年之前
example.py 1ae20f0017 Simplified example and remove nose requirement. 11 年之前
requirements.txt 4b12ccfb9b Added setup.py 11 年之前
setup.py e090981cb5 Simplified tox coverage. Fixed typos 11 年之前
tox.ini e090981cb5 Simplified tox coverage. Fixed typos 11 年之前

README.md

cloudbridge

cloudbridge provides a layer of abstraction over different cloud providers. It's a straightfoward implementation of the bridge pattern.

Code Climate Code Health Coverage Status Build Status Release Status

Usage example

from cloudbridge.providers.interfaces import CloudProviderFactory
from bunch import Bunch

config = Bunch(access_key='a_key',
               secret_key='s_key')

provider = CloudProviderFactory().create_provider(ProviderList.EC2, config)
print(provider.security.list_key_pairs())