light-weight feature flags
Project description
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
pip install fastfeatureflag
poetry add fastfeatureflag
flag
away ...
!!! tip "take a look at the decorator feature_flag()
- that is all you need."
from fastfeatureflag.feature_flag import feature_flag
@feature_flag("off")
def broken_feature():
return "I am broken"
NotImplementedError: Feature not implemented
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for fastfeatureflag-0.2.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f12782bb6bebde33c62e6018cb978c1525e7934f03b9e4c9a1faaa476a8a9966 |
|
MD5 | 960cb8d601c6bc95d9dc2017ea816d69 |
|
BLAKE2b-256 | 8d97edc2ed5d3df72078682f5f605269b035bf12dc5e0aa591218deff3b3915b |