Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 1.56 KB

README.md

File metadata and controls

51 lines (39 loc) · 1.56 KB

Build Status Coverage Status GitHub issues PyPI version

Python asyncio client for Riak

Installation

The minimal versions of Python for use with this client are Python 3.5.x.

From Source

python setup.py install

Features

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

Using example

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