Skip to main content

Python client library for QCache

Project description

https://travis-ci.org/tobgu/qcache-client.png?branch=master https://badge.fury.io/py/qcache-client.svg http://codecov.io/github/tobgu/qcache-client/coverage.svg?branch=master

Python client library for QCache. Uses consistent hashing to distribute data over multiple nodes.

Installation

pip install qcache-client

Documentation

Documentation is close to non-existent right now. Please see the tests in test_qclient.py for examples of how to use it.

Contributing

Want to contribute? That’s great!

If you experience problems please log them on GitHub. If you want to contribute code, please fork the code and submit a pull request.

If you intend to implement major features or make major changes please raise an issue so that we can discuss it first.

Running tests

pip install -r dev-requirements.txt
invoke test

TODO

  • Fetch server side statistics

  • Documentation

  • Support for other python versions than 2.7

  • Support chunked transfer

Changelog

0.3.1 (2016-01-16)

  • Include CHANGELOG in release.

0.3.0 (2015-12-23)

  • Possible to query using POST instead of GET. Good for very large queries.

  • Additional circuit breakers to avoid infinite repetition of requests in case of errors.

0.2.1 (2015-12-14)

  • SSL and basic auth support

  • Possible to add custom headers when posting data, type information for example

0.2.0 (2015-12-06)

  • Report the unsliced result length as part of the result, nice for pagination for example

  • Use connection pooling

0.1.0 (2015-10-25)

  • First release that actually does something sensible.

0.0.1 (2015-10-15)

  • First release on PyPI.

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

qcache-client-0.3.1.tar.gz (15.4 kB view details)

Uploaded Source

File details

Details for the file qcache-client-0.3.1.tar.gz.

File metadata

File hashes

Hashes for qcache-client-0.3.1.tar.gz
Algorithm Hash digest
SHA256 60dd2e90f8dac91f7030c0e5327f3423420c24cb37d05f3b005f65617ef01051
MD5 4ea11100efff7fbca305b9318bbbcd58
BLAKE2b-256 162ee3aa73aa196705c47346861b8720fbcf2dd9db92be49131b9c8eb3b2b972

See more details on using hashes here.

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