Skip to main content

Redis data structures wrapped with Python 3.

Project description

Redis data structures wrapped with Python 3.

Full documentation can be found at


redis_structures requires a running Redis server. See Redis’s quickstart for installation instructions.

To install redis_structures:

$ sudo pip install redis_structures

or from source:

$ git clone
$ cd redis_structures
$ sudo python install

Getting Started

>>> from redis_structures import StrictRedis, RedisHash
>>> client = StrictRedis(host='localhost', port=6379, db=0)
>>> rh = RedisHash("my_hash", prefix="rs:hash" client=client)
>>> rh['hello'] = "world"  # sets the field name 'hello' to value 'world' in
>>>                        # redis under the key rs:hash:my_hash
>>> rh['hello']
>>> del rh['hello']
>>> rh.get('hello')

Project details

Download files

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

Files for redis_structures, version 0.1.6
Filename, size File type Python version Upload date Hashes
Filename, size redis_structures-0.1.6.tar.gz (37.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page