Async implementation of Riak DB python client
Project description
Asyncio (PEP 3156) Riak client library. This project is based on official Basho python client library (https://github.com/basho/riak-python-client).
Features
Riak KV operations | Yes |
Riak Datatypes | Yes |
Riak BucketTypes | Yes |
Custom resolver | Yes |
Node list support | No |
Custom quorum | No |
Connections Pool | No |
Operations timeout | No |
Security | No |
Riak Search | No |
MapReduce | No |
Tested python versions | 3.5.0, 3.5.1 |
Tested Riak versions | 2.1.3, 2.1.4 |
Documentation
You can read the docs here: Documentation
Installation
The easiest way to install aioriak is by using the package on PyPi:
pip install aioriak
Requirements
- Python >= 3.5
- riak>=2.1.3
Using exampe
client = await RiakClient.create('localhost', loop=loop) bucket_type = client.bucket_type('default') bucket = bucket_type.bucket('example') obj = await bucket.get('key') print(obj.data)
Testing
Docker based testing
You can use docker for running:
DOCKER_CLUSTER=1 python setup.py test
Contribute
- Issue Tracker: https://github.com/rambler-digital-solutions/aioriak/issues
- Source Code: https://github.com/rambler-digital-solutions/aioriak
Feel free to file an issue or make pull request if you find any bugs or have some suggestions for library improvement.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size aioriak-0.1.3-py3-none-any.whl (27.6 kB) | File type Wheel | Python version 3.5 | Upload date | Hashes View |
Filename, size aioriak-0.1.3.tar.gz (24.0 kB) | File type Source | Python version None | Upload date | Hashes View |