Skip to content

featureflow/featureflow-python-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

featureflow-python-sdk

Python SDK for the featureflow feature management platform

Get your Featureflow account at featureflow.io

Get Started

The easiest way to get started is to follow the Featureflow quick start guides

Installation

The SDK is available on ![pypi][pypi-url].

You can either add it as a dependency or install it globally.

python -m pip install featureflow-sdk

Usage

Here is a simple example of running your feature that prints "I'm enabled" on the screen.

api_key = "<your-javascript-environment-sdk-key>"

def evaluate_my_feature(user):
        featureflow = Featureflow.init(api_key)

        if featureflow.evaluate(:'some-cool-feature', user).isOn():
            maybe_evaluate_my_feature()
            print("I'm enabled")

Releases

No releases published

Packages

No packages published

Languages