The minimal versions of Python for use with this client are Python 3.5.x.
python setup.py install
Feature | Status |
---|---|
Riak KV operations | Yes |
Riak Datatypes | Yes |
Riak BucketTypes | Yes |
Custom resolver | Yes |
Node list support | No |
Custom quorum | No |
Connections Pool | No |
Operations timout | No |
Security | No |
Tested python ver. | 3.5.x |
Tested Riak version | 2.1.3 |
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