Conditionally roll out features with redis. (Python version of James Golick's http://github.com/jamesgolick/rollout)
Python
Latest commit c7af8d9 Oct 25, 2010 @cyberdelia cyberdelia update README

README.md

Proclaim

Conditionally roll out features with Redis.

Based on James Golick's rollout.

Usage

Activate 20% of users to view 'feature':

>>> import redis
>>> from proclaim import Proclaim
>>> redis = redis.Redis()
>>> pc = Proclaim(redis)
>>> pc.activate_percentage("feature", 20)

Works with groups and users. User should have an 'id', Proclaim uses it to verify whether user is 'active'.

Copyright

Copyright © 2010 James Golick Copyright © 2010 Curt Micol

See LICENSE for details.