Skip to main content

Async implementation of Riak DB python client

Project description

Build Status Coverage Status GitHub issues PyPI version

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 3.5, 3.6
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.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

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

This version
History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
aioriak-0.1.8-py3-none-any.whl (34.3 kB) Copy SHA256 hash SHA256 Wheel 3.5 May 9, 2017
aioriak-0.1.8.tar.gz (28.6 kB) Copy SHA256 hash SHA256 Source None May 9, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page