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

nuwan_ag 9c5a9723ca Refactoring and consistency improvement. 10 سال پیش
cloudbridge 9c5a9723ca Refactoring and consistency improvement. 10 سال پیش
tests 691f4e4970 Auto-applied pep8 on save. Fixed other pep8 violations. 10 سال پیش
.gitignore 1500caecff Initial commit 10 سال پیش
LICENSE 1500caecff Initial commit 10 سال پیش
README.md 691f4e4970 Auto-applied pep8 on save. Fixed other pep8 violations. 10 سال پیش
example.py 691f4e4970 Auto-applied pep8 on save. Fixed other pep8 violations. 10 سال پیش
requirements.txt e5ca43eb54 Changed interface definitions to be more consistent. Updated example.py 10 سال پیش

README.md

libcloudbridge

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

Usage example

from cloudbridge.providers.interfaces import CloudProviderFactory
from cloudbridge.util 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()