Conditionally roll out features with redis. (Python version of James Golick's http://github.com/jamesgolick/rollout)
Python
Switch branches/tags
Nothing to show
Pull request Compare This branch is 2 commits ahead of asenchi:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
proclaim
tests
.gitignore
LICENSE
README.md
setup.py

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.