Python API Reference

Python client features:

View featureflagtech on pypi.

Getting started

Install the client into your application via pip:

  pip install featureflagtech

Now require in the client and instantiate it. You need to pass the URL of your feature flag.

  from featureflagtech import FeatureFlag

  fft = FeatureFlag({"apiKey": "b6b3f5c8-c7ce-48c4-a1a2-0e0e43be626c"})

  if fft.get("flagName"):
    # do new stuff

    #do old stuff

Basic usage

You can interogate the client for flag value:

  fft.get( "newFeature" );

This can be used as a condition in if statements.