Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/evandrolg/serialized-redis
- Owner: EvandroLG
- Created: 2014-09-14T20:49:08.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-04-03T16:09:07.000Z (over 1 year ago)
- Last Synced: 2024-11-15T02:49:45.403Z (about 23 hours ago)
- Topics: python, redis
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 47
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 SerializedRedisredis = SerializedRedis()
redis.set('datas', { 'name': 'Evandro', 'age:': 27 })
type(redis.get('datas')) # It will return a dict
```