File: README.rst

package info (click to toggle)
python-openstacksdk 0.8.1-2~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 2,748 kB
  • sloc: python: 15,505; makefile: 156; sh: 46
file content (36 lines) | stat: -rw-r--r-- 1,141 bytes parent folder | download | duplicates (2)
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
OpenStack Python SDK
====================

The ``python-openstacksdk`` is a collection of libraries for building
applications to work with OpenStack clouds. The project aims to provide
a consistent and complete set of interactions with OpenStack's many
services, along with complete documentation, examples, and tools.

This SDK is under active development, and in the interests of providing
a high-quality interface, the APIs provided in this release may differ
from those provided in future release.

Usage
-----

The following example simply connects to an OpenStack cloud and lists
the containers in the Object Store service.::

   from openstack import connection
   conn = connection.Connection(auth_url="http://openstack:5000/v3",
                                project_name="big_project",
                                username="SDK_user",
                                password="Super5ecretPassw0rd")
   for container in conn.object_store.containers():
      print(container.name)

Documentation
-------------

Documentation is available at
http://developer.openstack.org/sdks/python/openstacksdk/

License
-------

Apache 2.0