1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Python bindings to the Rackspace Cloud Servers API — python-cloudservers v1.0 documentation</title>
<link rel="stylesheet" href="_static/nature.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '',
VERSION: '1.0',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="top" title="python-cloudservers v1.0 documentation" href="#" />
<link rel="next" title="The cloudservers shell utility" href="shell.html" />
</head>
<body>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="shell.html" title="The cloudservers shell utility"
accesskey="N">next</a> |</li>
<li><a href="#">python-cloudservers v1.0 documentation</a> »</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="section" id="python-bindings-to-the-rackspace-cloud-servers-api">
<h1>Python bindings to the Rackspace Cloud Servers API<a class="headerlink" href="#python-bindings-to-the-rackspace-cloud-servers-api" title="Permalink to this headline">¶</a></h1>
<p>This is a client for Rackspace’s Cloud Servers API. There’s <a class="reference external" href="api.html"><em>a Python API</em></a> (the <a class="reference external" href="ref/exceptions.html#module-cloudservers"><tt class="xref py py-mod docutils literal"><span class="pre">cloudservers</span></tt></a> module), and a <a class="reference external" href="shell.html"><em>command-line script</em></a> (installed as <strong class="program">cloudservers</strong>). Each implements the entire
Rackspace Cloud Servers API.</p>
<p>You’ll need a <a class="reference external" href="http://rackspacecloud.com/">Rackspace Cloud</a> account, and you’ll need to make sure to sign
up for both Cloud Servers <em>and</em> Cloud Files – Rackspace won’t let you get an
API key unless you’ve got a Cloud Files account, too. Once you’ve got an
account, you’ll find your API key in the management console under “Your
Account”.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last">You may want to read <a class="reference external" href="http://docs.rackspacecloud.com/servers/api/cs-devguide-latest.pdf">Rackspace’s API guide</a> (PDF) – the first bit, at
least – to get an idea of the concepts. Rackspace is doing the cloud
hosting thing a bit differently from Amazon, and if you get the concepts
this library should make more sense.</p>
</div>
<p>Contents:</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference external" href="shell.html">The <strong class="program">cloudservers</strong> shell utility</a></li>
<li class="toctree-l1"><a class="reference external" href="api.html">The <tt class="docutils literal"><span class="pre">cloudservers</span></tt> Python API</a><ul>
<li class="toctree-l2"><a class="reference external" href="api.html#usage">Usage</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference external" href="ref/index.html">API Reference</a><ul>
<li class="toctree-l2"><a class="reference external" href="ref/backup_schedules.html">Backup schedules</a></li>
<li class="toctree-l2"><a class="reference external" href="ref/exceptions.html">Exceptions</a></li>
<li class="toctree-l2"><a class="reference external" href="ref/flavors.html">Flavors</a></li>
<li class="toctree-l2"><a class="reference external" href="ref/images.html">Images</a></li>
<li class="toctree-l2"><a class="reference external" href="ref/ipgroups.html">Shared IP addresses</a></li>
<li class="toctree-l2"><a class="reference external" href="ref/servers.html">Servers</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference external" href="releases.html">Release notes</a><ul>
<li class="toctree-l2"><a class="reference external" href="releases.html#may-6-2010">1.1 (May 6, 2010)</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="section" id="contributing">
<h1>Contributing<a class="headerlink" href="#contributing" title="Permalink to this headline">¶</a></h1>
<p>Development takes place <a class="reference external" href="http://github.com/jacobian/python-cloudservers">on GitHub</a>; please file bugs/pull requests there.</p>
<p>Run tests with <tt class="docutils literal"><span class="pre">python</span> <span class="pre">setup.py</span> <span class="pre">test</span></tt>.</p>
</div>
<div class="section" id="indices-and-tables">
<h1>Indices and tables<a class="headerlink" href="#indices-and-tables" title="Permalink to this headline">¶</a></h1>
<ul class="simple">
<li><a class="reference external" href="genindex.html"><em>Index</em></a></li>
<li><a class="reference external" href="py-modindex.html"><em>Module Index</em></a></li>
<li><a class="reference external" href="search.html"><em>Search Page</em></a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
<h3><a href="#">Table Of Contents</a></h3>
<ul>
<li><a class="reference external" href="#">Python bindings to the Rackspace Cloud Servers API</a><ul>
</ul>
</li>
<li><a class="reference external" href="#contributing">Contributing</a></li>
<li><a class="reference external" href="#indices-and-tables">Indices and tables</a></li>
</ul>
<h4>Next topic</h4>
<p class="topless"><a href="shell.html"
title="next chapter">The <strong class="program">cloudservers</strong> shell utility</a></p>
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/index.txt"
rel="nofollow">Show Source</a></li>
</ul>
<div id="searchbox" style="display: none">
<h3>Quick search</h3>
<form class="search" action="search.html" method="get">
<input type="text" name="q" size="18" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="shell.html" title="The cloudservers shell utility"
>next</a> |</li>
<li><a href="#">python-cloudservers v1.0 documentation</a> »</li>
</ul>
</div>
<div class="footer">
© Copyright 2009, Jacob Kaplan-Moss.
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0pre.
</div>
</body>
</html>
|