Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 992 Bytes

README.rst

File metadata and controls

39 lines (25 loc) · 992 Bytes

Redisext

https://travis-ci.org/mylokin/redisext.svg?branch=master https://coveralls.io/repos/mylokin/redisext/badge.svg?branch=master

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