serialized-redis

A solution to have lists and dictionaries serialized using redis-py.


Keywords
Redis, redis-py, serialized datas
License
MIT
Install
pip install serialized-redis==0.1.5

Documentation

SerializedRedis

Build
Status

A solution to have lists and dictionaries serialized using redis-py.

Installation

To install serialized_redis, simply:

    pip install serialized-redis

Updated Methods

  • set
  • get
  • rpush
  • rpushx
  • lrange
  • hset
  • hget

Example

    from serialized_redis import SerializedRedis

    redis = SerializedRedis()
    redis.set('datas', { 'name': 'Evandro', 'age:': 27 })
    type(redis.get('datas')) # It will return a dict