Skip to content

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

Notifications You must be signed in to change notification settings

Python-Devs-Brasil/serialized-redis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 96.4%
  • Makefile 3.6%