FastFeatureFlag is a lightweight tool to generate and use feature flags. Build in python for python. The key components are:
- easy to add feature flag
- easily activate/deactivate features
- naming/grouping flags
- define custom response for flagged features
- use environment variables as your on/off switch
- manage feature flags with a simple toml file
Installation¶
flag
away ...¶
take a look at the decorator feature_flag()
- that is all you need.
fast feature flags
from fastfeatureflag.feature_flag import feature_flag
@feature_flag("off")
def broken_feature():
return "I am broken"
broken_feature()
NotImplementedError: Feature not implemented
Last update:
October 28, 2023
Created: October 28, 2023
Created: October 28, 2023