Toggling and ramping features via a lightweight Redis backend.
Python
Clone or download
Latest commit 7a43c90 Aug 21, 2015
Permalink
Failed to load latest commit information.
feature_ramp
tests Add tests for Feature.py Jun 14, 2015
.gitignore Updates .gitignore to ignore Redis and vim files Jun 14, 2015
.travis.yml Add travel yaml file for CI Jul 23, 2015
LICENSE Initial commit Jun 12, 2015
README.md

README.md

Feature Ramp

Build Status

Supports feature toggling and ramping features via a lightweight Redis backend.

Installation

$ sudo pip install feature_ramp  # currently NOT supported until PyPI approves this package

Feature ramp requires requires a running Redis server. If your application is written in Python, we recommend using redis-py for a convenient way to interface with Redis. To install Redis, follow the Redis Quick Start.

Once you have redis-py and a Redis server running, you're ready to start using Feature Ramp.

NOTE: Feature Ramp assumes your Redis server is running at localhost on port 6379 (this is the default redis-py configuration). To customize this, make the necessary edits here.

Getting Started

>>> from feature_ramp.Feature import Feature
>>> feature_a = Feature('feature_a')
>>> feature_a.activate()
>>> feature_a.is_active
True
>>> feature_a.deactivate()
>>> feature_a.is_active
False

Contact

Amanda Schloss or Anthony Yim