Build Status Python version Python version license Codacy Badge Lintly

Dictator

Dictator is a tiny library for Robots™ to work with Redis as a Dict.

It handles Redis API commands and represent itself as a dict-like object.

Install

$ pip install dictator

Usage

It’s easy to start by creating Dictator object

>>> dc = Dictator(host='localhost', port=6379, db=0)

For Python 3 it’s useful to add decode_responses=True to constructor to get normal str instead of bytes.

For the moment it handles not all features of Python Dict but basics: