QCache-client
Python client library for QCache. Uses consistent hashing to distribute data over multiple nodes.
Installation
pip install qcache-client
Documentation
Available at http://qcache-client.readthedocs.org/en/latest/.
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
The tests requires that you have docker installed since they are executed against a QCache instance running in a docker container.
pip install -r dev-requirements.txt
invoke test
TODO
Async interface?
Changelog
0.5.1 (2019-01-06)
Include response content in cases of unexpected responses for easier debugging.
Expose “trust_env” as a client constructor parameter to improve performance.
0.5.0 (2017-01-08)
Support TLS client certificate verification
0.4.2 (2016-12-18)
Check dropped nodes also on get, not only post.
Make connection stats public and resettable.
0.4.1 (2016-11-11)
Include content encoding in the result object.
0.4.0 (2016-09-18)
Support for custom headers when running queries. This allows use of the pandas filter engine introduced in QCache 0.6.1.
0.3.2 (2016-04-10)
Support Python 3.4 and 3.5.
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.
Metadata
Release files for qcache-client 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| qcache-client-0.5.1.tar.gz | 13.4 kB | Without provenance | Details |
Release files / qcache-client-0.5.1.tar.gz
| Download URL | qcache-client-0.5.1.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b60446d7a241e714e08ae68cbf8c451d01e85b9a759c2a0f88aea08a1542b76
|
|
BLAKE2b-256 checksum How to use checksums |
b8a986f223e0ef77a49d8210ce4770410426042db990911da96fbc0651c256bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|
Security for qcache-client 0.5.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.