RSCloud

delivering the power of rackspace APIs to python
python bindings for cloud provisioning

–> skip to the tutorial –>

installation

pip is your friend. pip is your ticket to packages in the python package index and the method of choice for acquiring RSCloud. You can use easy_install to get pip, and then forget about easy_install. (it’s like using IE to get Chrome)

If you don’t have pip installed:

and you’re on debian based linux:

$ sudo apt-get install python-pip

For an install of pip (OS Independent), get the pip installer script:

$ curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py

$ [sudo] python get-pip.py

Of course, there are other methods by which to acquire pip. find them at pip’s installation page

You will also need the latest distribute to install RSCloud, or more specifically, for the setup script to run when you install RSCloud via pip (in the next step). Attempting a pip install of RSCloud before installing distribute will probably inform you of this. Install distribute via pip if you don’t already have it:

$ pip install distribute

You may simply need to upgrade your distribute package in order for the RSCloud install to complete with pip. To upgrade, add the –upgrade tag to your pip install command...:

$ pip install distribute --upgrade

With pip and distribute installed, you should now be able to run:

$ pip install RSCloud

Running the above command should take care of RSCloud’s dependencies as well. A list for the curious:

requests>=1.1.0
pytz>=2012j
python-dateutil>=2.1
simplejson>=3.0.7
keyring>=1.2
PyYAML>=3.10

Any of these packages you are missing will be installed automatically when you pip install RSCloud. If “Successfully installed RSCloud [and other deps]; Cleaning up...” happens, you’re ready to do some cloud manipulation. Check out the source documentation, or check out the tutorial.

About RSCloud

RSCloud is a package of python bindings for the Rackspace Cloud APIs. Within, you will find a module for each of the cloud services. Check the 'modules' link above for a listing.

Talk with us

Nate House
Zak Jones
Sam Stavinoha

API Resources

You can download some of the developer.rackspace.com documents right from here.

Developer Guides:

RSCloud: Useful Links

Next topic

intro

Table Of Contents