Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Python Chorus API Library

Project description

# pylibchorus – Python Chorus API Library #

[![Build Status](https://travis-ci.org/kennyballou/pylibchorus.svg)](https://travis-ci.org/kennyballou/pylibchorus)

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()
>>> config.read('/tmp/alpine.cfg')
['/tmp/alpine.cfg']
>>> with pylibchorus.ChorusSession(config) as session:
...     print(session.sid)
...     ok, json = pylibchorus.get('/sessions', session)
...     print(ok)
...     print(json['response']['session_id'])
...
49fb8e27e591d9ccb6f0006334eedb8e4d8004a5
200
49fb8e27e591d9ccb6f0006334eedb8e4d8004a5
>> 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].

[1]: https://github.com/chorus/chorus

[2]: http://opensource.org/licenses/MIT

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

Project details


Release history Release notifications

This version
History Node

0.0.4.2015430171944

History Node

0.0.3.2015424191519

History Node

0.0.2.2015410181549

History Node

0.0.1.201549155955

History Node

0.0.1.20154916239

History Node

0.0.1.2015491608

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pylibchorus-0.0.4.2015430171944.tar.gz (4.4 kB) Copy SHA256 hash SHA256 Source None Apr 30, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page