pyredis is a Python client library for the redis key value database.
Redis is a key value store with some interesting features:
1. It's fast.
2. Keys are strings but values can have types of "NONE", "STRING", "LIST", "SET" or "ZSET".
Lists can be atomically push'd, pop'd, lpush'd, lpop'd and indexed. This allows you to store things like lists of comments under one key while retaining the ability to append comments without reading and putting back the whole list.
See redis on code.google.com for more information.
Commands API
Everything mentioned in Redis' command reference is supported. Design of library makes it possible to use unknown commands.
Usage
You can look at tests.py to get the idea or at this simple example:
>>> from pyredis import Redis
>>> r = Redis()
>>> r.set('a', 'test')
True
>>> r.get('a') == 'test'
True
Product's homepage
Requirements:
· Python