This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

This is an adapters plugin for repoze.what

The Redis plugin makes repoze.what support sources defined in Redis key-value databases by providing one group adapter and one permission adapter.


Redis is a key-value database. It is similar to memcached but the dataset is not volatile, and values can be strings, exactly like in memcached, but also lists and sets with atomic operations to push/pop elements.

In order to be very fast but at the same time persistent the whole dataset is taken in memory and from time to time and/or when a number of changes to the dataset are performed it is written asynchronously on disk.

The database name is numeric; the default database is 0.

repoze.what.plugin.redis uses database 1 for the group adapter and database 2 for the permission adapter.

The database 0 could be used for any table related to users as the sessions.


To compile the trunk version:

$ git clone git://
$ cd redis
$ make

To update:

$ git pull && make clean && make

To run the server:

$ ./redis-server

The Python library is in ./client-libraries/python/

Note: The client-libraries directory inside the Redis distribution is only a temp thing.

Little issues

  • If the client is disconnected after of some time of inactivity –it’s configured to 300 seconds by default–, and it’s called any command then it raises a ConnectionError. It should be rather managed from the Python driver:

  • The data are synchronously saved. It could be modified the _save function (in the Redis adapter) for that it been asynchronously saved, or for that it been saved only when a number of changes to the dataset are performed.


Typical usage:

>>> import redis
>>> from repoze.what.plugins.redis import adapters
>>> group = adapters.RedisGroupAdapter(redis.Redis())
>>> permission = adapters.RedisPermissionAdapter(redis.Redis())
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
repoze.what.plugins.redis-1.0rc1.tar.gz (10.2 kB) Copy SHA256 Checksum SHA256 Source May 24, 2009

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting