Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/evandrolg/serialized-redis

:key: A solution to have lists and dictionaries serialized using redis-py
https://github.com/evandrolg/serialized-redis

python redis

Last synced: about 6 hours ago
JSON representation

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

Awesome Lists containing this project

README

        

# SerializedRedis
[![Build
Status](https://travis-ci.org/EvandroLG/serialized-redis.svg?branch=master)](https://travis-ci.org/EvandroLG/serialized-redis)

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

## Installation
To install serialized_redis, simply:
```shell
pip install serialized-redis
```

## Updated Methods
* set
* get
* rpush
* rpushx
* lrange
* hset
* hget

## Example
```python
from serialized_redis import SerializedRedis

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