Skip to main content

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

redis-collections.readthedocs.org

License: ISC

© 2013 Jan Javorek <jan.javorek@gmail.com>

This work is licensed under ISC license.

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

redis-collections-0.1.0.tar.gz (15.4 kB view details)

Uploaded Source

File details

Details for the file redis-collections-0.1.0.tar.gz.

File metadata

File hashes

Hashes for redis-collections-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e21e28649e0c3f29f02eb78108d2947c099dd6e31c2f4e2671cfc26ca2b459cc
MD5 0fb1822527026690840e6e0a16dc26f6
BLAKE2b-256 f415045e977f5d54504108389f6152b4ad181a7b6a88377477f6a64bc96279aa

See more details on using hashes here.

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