python-sdk-contrib/providers/openfeature-provider-flagd
..
schemas@d897c24594
scripts
src/openfeature/contrib/provider/flagd
tests
LICENSE
README.md
pyproject.toml

README.md

flagd Provider for OpenFeature

This provider is designed to use flagd's evaluation protocol, or locally evaluate flags defined in a flagd flag definition.

Installation

pip install openfeature-provider-flagd

Configuration and Usage

Instantiate a new FlagdProvider instance and configure the OpenFeature SDK to use it:

from openfeature import api
from openfeature.contrib.provider.flagd import FlagdProvider

api.set_provider(FlagdProvider())

Configuration options

The default options can be defined in the FlagdProvider constructor.

Option name Type & Values Default
host str localhost
port int 8013
schema str http
timeout int 2

License

Apache 2.0 - See LICENSE for more information.