Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Working with Redis should be simple and Pythonic
branch: master
Failed to load latest commit information.
simplest Update usage instructions
README.md Update usage instructions
requirements.txt First commit
setup.py Update version
test.py First commit

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])
Something went wrong with that request. Please try again.