For at installere redis-py, skal du blot:
$ sudo pip install redis
eller alternativt (du burde virkelig bruge pip):
$ sudo easy_install redis
eller fra kilde:
$ sudo python setup.py install
Kom godt i gang
>>> import redis
>>> r = redis.StrictRedis(host='localhost', port=6379, db=0)
>>> r.set('foo', 'bar')
True
>>> r.get('foo')
'bar'
Detaljer:https://pypi.python.org/pypi/redis