Skip to main content

Python 3 SDK for the featureflow feature management platform

Project description

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

Usage

Here is a simple example of running your feature that prints "I'm enables" 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("Feature evaluated")

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

featureflow-sdk-0.1.1.tar.gz (7.3 kB view hashes)

Uploaded Source

Built Distribution

featureflow_sdk-0.1.1-py3-none-any.whl (14.2 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