Skip to main content

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


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.2.0.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

fastfeatureflag-0.2.0-py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page