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
:tools: Installation
pip install fastfeatureflag
poetry add fastfeatureflag
:white_flag: 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"
broken_feature()
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
fastfeatureflag-0.3.0.tar.gz
(7.1 kB
view hashes)
Built Distribution
Close
Hashes for fastfeatureflag-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 654e951f2d49d792f8952a2acbeb7c98072a28ded982ec42eebd3468cbb503be |
|
MD5 | 57873a951f16a9c4aed45af84a8baa40 |
|
BLAKE2b-256 | 24a147a87c82091115a0dc13d4244dd1047938f0e36bbdc912c0ade803b34292 |