Set of basic Python collections backed by Redis.
Project description
Set of basic Python collections backed by Redis.
Status: ACTIVE
Under active development and maintenance.
Example
Redis Collections are a simple, pythonic way how to access Redis structures:
>>> from redis_collections import Dict >>> d = Dict() >>> d['answer'] = 42 >>> d <redis_collections.Dict fe267c1dde5d4f648e7bac836a0168fe> >>> d.items() [('answer', 42)] >>> d.update({'hasek': 39, 'jagr': 68}) >>> dict(d.items()) {'answer': 42, 'jagr': 68, 'hasek': 39} >>> del d['answer'] >>> dict(d.items()) {'jagr': 68, 'hasek': 39}
Available collections are Dict, List, Set.
Documentation
License: ISC
© 2013 Jan Javorek <jan.javorek@gmail.com>
This work is licensed under ISC license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
redis-collections-0.1.0.tar.gz
(15.4 kB
view hashes)