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 |
WIP |
Custom quorum |
No |
Connections Pool |
No |
Operations timeout |
No |
Security |
No |
Riak Search |
WIP |
MapReduce |
WIP |
Tested python versions |
|
Tested Riak versions |
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.7.0
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.
License
The aioriak is offered under MIT license.
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.
Source Distribution
Built Distribution
File details
Details for the file aioriak-0.2.0.tar.gz
.
File metadata
- Download URL: aioriak-0.2.0.tar.gz
- Upload date:
- Size: 28.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 405d141c467f55dd57b5a76e43435a84f9648fd037dc771827758b947d53709f |
|
MD5 | 25c3cb406d4c0efa8127520fd55230a3 |
|
BLAKE2b-256 | a4bc0d5d1d84bbea247e0a4003baf7e4187d1667bc6433f8e4540b5266d06694 |
File details
Details for the file aioriak-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: aioriak-0.2.0-py3-none-any.whl
- Upload date:
- Size: 33.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a360f622271744e6996b4c8c062c8280ed5210f64db2f03ca46fea064402633 |
|
MD5 | d578b062dd580be66d1e5204b9b8c4b0 |
|
BLAKE2b-256 | 1f98044d99d4a3d4820893b70bf715d93784cfea254794056e99390123750565 |