Skip to main content

Data models for Redis

Project description

https://travis-ci.org/mylokin/redisext.svg?branch=master https://coveralls.io/repos/mylokin/redisext/badge.svg?branch=master https://pypip.in/wheel/redisext/badge.svg https://pypip.in/d/redisext/badge.png

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

redisext-1.3.8.tar.gz (6.6 kB view hashes)

Uploaded Source

Built Distribution

redisext-1.3.8-py2.py3-none-any.whl (10.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page