Skip to main content

Python SDK for the Ravello API

Project description

This is a small SDK for accessing the Ravello API in Python

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

Example

The following shows a small example of how to use the SDK:

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

Documentation

The documentation is available on readthedocs.

Source Code

The source code for this project is on Github.

License

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

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

ravello-sdk-1.3.tar.gz (21.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page