kkszysiu / redisext

Redisext is a data modeling tool for Redis.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redisext

image

image

image

image

Documentation

Documentation is available at https://pythonhosted.org/redisext/.

Example

Data model example:

import redisext.backend.redis
import redisext.hashmap
import redisext.serializer


class Connection(redisext.backend.redis.Connection):
    MASTER = {'host': 'localhost', 'port': 6379, 'db': 0}


class SeriousStats(redisext.hashmap.Map):
    CONNECTION = Connection
    SERIALIZER = redisext.serializer.Numeric

About

Redisext is a data modeling tool for Redis.

License:MIT License


Languages

Language:Python 98.8%Language:Makefile 1.2%