feature_ramp

Easy feature ramping using Redis


Keywords
Redis, Feature, Toggle, Flag, Ramp, Switch
License
Other
Install
pip install feature_ramp==0.1

Documentation

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