Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 1.62 KB

index.rst

File metadata and controls

61 lines (42 loc) · 1.62 KB

Welcome to CloudBridge's documentation!

CloudBridge aims to provide a simple layer of abstraction over different cloud providers, reducing or eliminating the need to write conditional code for each cloud.

Usage example

The simplest possible example for doing something useful with CloudBridge would look like the following.

from cloudbridge.cloud.factory import CloudProviderFactory, ProviderList

provider = CloudProviderFactory().create_provider(ProviderList.AWS, {})
print(provider.compute.instances.list())

In the example above, the AWS_ACCESS_KEY and AWS_SECRET_KEY environment variables must be set to your cloud credentials.

Quick Reference

The following object graph shows how to access various provider services, and the resource that they return. Click on any object to drill down into its details.

Installation

The latest release can always be installed form PyPI. For other installation options, see the installation page:

pip install cloudbridge

Documentation

concepts.rst getting_started.rst topics/overview.rst topics/contributor_guide.rst api_docs/ref.rst

Page index

  • genindex