pyredisA Python client library for the redis key value database | |
Download |
pyredis Ranking & Summary
Advertisement
- License:
- BSD License
- Price:
- FREE
- Publisher Name:
- Alexander Solovyov
- Publisher web site:
- http://hg.piranha.org.ua/
pyredis Tags
pyredis Description
A Python client library for the redis key value database 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 APIEverything mentioned in Redis' command reference is supported. Design of library makes it possible to use unknown commands.UsageYou 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 Requirements: · Python
pyredis Related Software