Skip to main content

Python Chorus API Library

Project description

# pylibchorus – Python Chorus API Library #

[![Build Status](](

This intends to be a near complete Python language binding of the [Chorus API][1].

The library itself will likely be very unstable for a little while as its development progresses.

## Sample Usage ##

Here is a sample interactive session that demonstrates the current usage.

>>> import pylibchorus
>>> from ConfigParser import SafeConfigParser
>>> config = SafeConfigParser()
>>> with pylibchorus.ChorusSession(config) as session:
...     print(session.sid)
...     ok, json = pylibchorus.get('/sessions', session)
...     print(ok)
...     print(json['response']['session_id'])
>> quit()

Notice, some of the interactions that depend on the requests library may be cleaned up in the future, enabling easier interaction with this library.

## License ##

This code is licensed and distributed, as-is without warranty and in the hopes it will be useful under the terms and conditions of the MIT license. Please see the LICENSE file for more information. If the LICENSE file was not distributed with your copy, you may also find it [on the web][2].



<!— vim: colorcolumn=70:textwidth=69: –>

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

pylibchorus- (4.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page