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

nuwan_ag cca41c51af Added missing base class file 11 years ago
cloudbridge cca41c51af Added missing base class file 11 years ago
tests ab58ed4a6a Merging forgotten to commit local code with the repo 11 years ago
.gitignore 1500caecff Initial commit 11 years ago
LICENSE 1500caecff Initial commit 11 years ago
README.md 691f4e4970 Auto-applied pep8 on save. Fixed other pep8 violations. 11 years ago
example.py 1ae20f0017 Simplified example and remove nose requirement. 11 years ago
requirements.txt 1ae20f0017 Simplified example and remove nose requirement. 11 years ago

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