Working with Redis should be simple and Pythonic
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
simplest
README.md
requirements.txt
setup.py
test.py

README.md

simplest

Working with Redis should be simple and Pythonic.

Installation

pip install simplest

Usage

>>> from simplest import Redis

>>> r = Redis(db="test")

>>> r['abc'] is None
True

>>> r['abc'] = 'xyz'

>>> r['abc']
'xyz'

>>> r['abc'] = (1, 2, 3)

>>> r['abc']
['1', '2', '3']

>>> r['abc'] = set([1, 2, 3])

>>> r['abc']
set([1, 2, 3])