Skip to main content

Generic Python K/V Store Client

Project description

Purpose

The objective of this module is to provide a common API to different KeyValue stores like consul, etcd or zookeeper.

Usage examples

Basic usage examples:

import kvstore
kv = kvstore.Client()
kv.set(key, value)
kv.get(key)
kv.recurse(key)
kv.delete(key)
kv.delete(key, recursive=True)
kv.index(key, recursive=True)
kv.get(key, wait=True, index=index, wait='10m')
kv.recurse(key, wait=True, index=index, wait='10m')

Project details


Download files

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

Source Distribution

kvstore-0.1.1.tar.gz (2.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page