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

nuwan_ag 4c2beda07b Fixed up code warnings in code climate and landscape 11 år sedan
cloudbridge 4c2beda07b Fixed up code warnings in code climate and landscape 11 år sedan
test c9b9bfe2b8 Improved python3 compatibility and added list_security_groups to ec2 11 år sedan
.gitignore 1500caecff Initial commit 11 år sedan
.travis.yml 85ac31d2a0 Moved coveralls to travis.yml 11 år sedan
LICENSE 1500caecff Initial commit 11 år sedan
README.md bd1fb72899 Fixed up coverage to run only on cloudbridge source. 11 år sedan
example.py 1ae20f0017 Simplified example and remove nose requirement. 11 år sedan
requirements.txt 4b12ccfb9b Added setup.py 11 år sedan
setup.py 38426482a3 Added tox.ini. Removed python 2.6 and lower from supported list. 11 år sedan
tox.ini bd1fb72899 Fixed up coverage to run only on cloudbridge source. 11 år sedan

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

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())