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

nuwan_ag 85ac31d2a0 Moved coveralls to travis.yml hace 10 años
cloudbridge c9b9bfe2b8 Improved python3 compatibility and added list_security_groups to ec2 hace 10 años
test c9b9bfe2b8 Improved python3 compatibility and added list_security_groups to ec2 hace 10 años
.gitignore 1500caecff Initial commit hace 10 años
.travis.yml 85ac31d2a0 Moved coveralls to travis.yml hace 10 años
LICENSE 1500caecff Initial commit hace 10 años
README.md 85ac31d2a0 Moved coveralls to travis.yml hace 10 años
example.py 1ae20f0017 Simplified example and remove nose requirement. hace 10 años
requirements.txt 4b12ccfb9b Added setup.py hace 10 años
setup.py 38426482a3 Added tox.ini. Removed python 2.6 and lower from supported list. hace 10 años
tox.ini 85ac31d2a0 Moved coveralls to travis.yml hace 10 años

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