Skip to content
Ravello Python SDK
Python Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
examples
images
lib
tests
.gitignore
LICENSE
MANIFEST.in
README.rst
dev-requirements.txt
release.py
setup.cfg
setup.py
tasks.py
test.conf.in
tox.ini

README.rst

Ravello Python SDK

This is a micro-SDK for accessing the Ravello API in Python. It also contains a few useful utility scripts.

Installation

Installation from the Python Package Index:

$ pip install ravello-sdk

Installation from source:

$ python setup.py install

Running the tests

Run the unit tests on your current Python version:

$ python tests/unit.py

Run the integration tests on your current Python version:

$ cp test.conf.in test.conf
# edit test.conf and follow the comments
$ python tests/integration.py

Run all tests on all supported Python versions:

$ tox

Examples

Various usage examples exist for the SDK (credit goes to the relevant contributers):

The following shows a small example of how to use the SDK: When the organization of the user has an identity domain, the user must include it in the username: identity_domain/username . Otherwise use only the username.

from ravello_sdk import *
client = RavelloClient()
client.login('identity_domain/username', 'Passw0rd')
for app in client.get_applications():
    print('Found Application: {0}'.format(app['name']))

Source Code

The source code for this project is on Github.

License

The Ravello Python SDK is licensed under the Apache 2.0 license.

You can’t perform that action at this time.