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

nuwan_ag 0043e17a53 Fixed incorrect classname. 11 年之前
cloudbridge 0043e17a53 Fixed incorrect classname. 11 年之前
tests 251954ad8f Added initial unit tests 11 年之前
.gitignore 1500caecff Initial commit 11 年之前
LICENSE 1500caecff Initial commit 11 年之前
README.md e5ca43eb54 Changed interface definitions to be more consistent. Updated example.py 11 年之前
example.py e5ca43eb54 Changed interface definitions to be more consistent. Updated example.py 11 年之前
requirements.txt e5ca43eb54 Changed interface definitions to be more consistent. Updated example.py 11 年之前

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