Skip to main content

A Python client for the Rackspace Cloud Backup API.

Project description

Cloud Backup API Python SDK

:version: 0.19.3
:Presentations: `Introduction`_
.. image::
:alt: Requirements Status
.. image::
:alt: TravisCI Status

Welcome to the Python bindings to the Rackspace Cloud Backup
API. These bindings will help you make the most of the Cloud Backup
system and integrate it into your workflows.

**Table of Contents**

.. contents::
:depth: 2
:backlinks: none


* Python 2.7 and 3.3+ supported
* Easy to install (pip)
* Easy to test (nose + tox)
* Designed to be easy to use with `ipython`_
- Tab-completion and smart introspection
- verbs map to object functions: backup.start()
- nouns map to object properties:

I'll let the code speak for ease of use:

.. code-block:: python

from rcbu.client.client import Client
from rcbu.client.connection import Connection
import rcbu.client.backup_configuration as backup_config

conn = Connection('username', 'dfw',
client = Client(conn)
myconf = backup_config.from_file('backup_config.json', conn)

# Upload a new backup configuration to the Backup API

backup = client.create_backup(myconf)
status = backup.start()

# block here until the backup completes
# polls once a minute by default

# easy reporting and checking for success
report =

Check out the `backup_config.json`_


Make sure you have libgmp, libssl, and the Python development headers installed::

sudo apt-get install libgmp-dev libssl-dev python-dev
sudo apt-get install libgmp-dev libssl-dev python3-dev # for Py3

On Windows, make sure that the proper Visual Studio path is configured::


.. code-block:: bash

pip install git+


Some simple guidelines:

* Unit tests for new features
* Keep the code clean - flake8
* Be wary of warnings and errors - pylint
* >95% code coverage - keep it strong
* Be `Pythonic`_

For more details, checkout the `Contributing`_ guide.

If you have any questions, please check in with Alejandro Cabrera

.. _Pythonic:
.. _backup_config.json:
.. _ipython:
.. _Introduction:
.. _Contributing:

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rackspace-backup-client-0.19.3.tar.gz (40.0 kB view hashes)

Uploaded Source

Built Distributions

rackspace_backup_client-0.19.3-py33-none-any.whl (49.6 kB view hashes)

Uploaded Python 3.3

rackspace_backup_client-0.19.3-py27-none-any.whl (49.6 kB view hashes)

Uploaded Python 2.7

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page