Asyncio (PEP 3156) Riak client library. This project is based on official Basho python client library (https://github.com/basho/riak-python-client).
Riak KV operations | Yes |
Riak Datatypes | Yes |
Riak BucketTypes | Yes |
Custom resolver | Yes |
Node list support | WIP |
Custom quorum | No |
Connections Pool | No |
Operations timeout | No |
Security | No |
Riak Search | WIP |
MapReduce | WIP |
Tested python versions | 3.5, 3.6 |
Tested Riak versions | 2.1.4, 2.2.3 |
You can read the docs here: Documentation
The easiest way to install aioriak is by using the package on PyPi:
pip install aioriak
- Python >= 3.5
- riak>=2.7.0
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)
You can use docker for running:
DOCKER_CLUSTER=1 python setup.py test
- 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.
The aioriak is offered under MIT license.