openfeature-provider-flagsmith
Openfeature provider for Flagsmith
What it is and what it does
This package is an OpenFeature provider that bridges the OpenFeature SDK to Flagsmith, a server-side feature flag management platform. It allows you to evaluate feature flags, retrieve multivariate variants, and track experiment exposures through a standardized OpenFeature interface. The provider wraps the flagsmith client and exposes its flag evaluation logic as an OpenFeature provider, letting you use Flagsmith's flag definitions and targeting rules within OpenFeature's evaluation API.
The provider supports three main workflows: basic flag evaluation (boolean, string, or JSON values), experiment tracking via the OpenFeature tracking API (which requires flagsmith ≥5.5 with events enabled), and custom event recording. It handles evaluation contexts with flat attributes or nested traits, deduplicates repeated exposures, and can optionally use Flagsmith's default flag logic or boolean config values instead of the enabled state. Tracking calls are silently dropped if events are not enabled on the flagsmith client.
Use it for:
- Evaluate feature flags from a Flagsmith instance within an OpenFeature-based application to control feature rollouts.
- Record experiment exposures and track variant assignments for A/B testing and experimentation workflows.
- Send custom events to Flagsmith for analytics and user behavior tracking.
- Manage flag evaluation context with user traits and attributes for targeted flag resolution.
- Integrate Flagsmith flag management into a multi-provider OpenFeature setup for vendor flexibility.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Connects the OpenFeature SDK to Flagsmith for server-side feature flag evaluation, supporting flag resolution, multivariate experiments, and event tracking.
Yes, with conditions. Install if you are already using OpenFeature and need to connect to a Flagsmith instance, or if you want standardized flag evaluation across multiple providers. The low install friction, active maintenance, and zero known vulnerabilities support adoption. However, verify the license before use in proprietary contexts, and confirm that your flagsmith client version meets the tracking requirements.
Install
openfeature-provider-flagsmith on PyPI
pip
pip install openfeature-provider-flagsmithuv
uv add openfeature-provider-flagsmithpoetry
poetry add openfeature-provider-flagsmithInstalling openfeature-provider-flagsmith
Before you install
Low install friction with only 2 runtime dependencies. Active maintenance status with a release 7 days ago. Supports current Python versions (3.10–3.14).
License in practice
License treatment is unclear; no SPDX identifier or raw license text is available. Verify the actual license before use in proprietary or restricted contexts.
Quickstart
pip install openfeature-sdk openfeature-provider-flagsmith
from flagsmith import Flagsmith
from openfeature import api
client = Flagsmith(environment_key="your-key")
provider = FlagsmithProvider(client=client)
api.set_provider(provider)
of_client = api.get_client()
details = of_client.get_string_details("flag_name", "default")
Requires a Flagsmith environment key and a running Flagsmith instance to connect to.
Verify before relying
- Whether the package is licensed under an open-source or proprietary license (license_treatment is unclear).
- Performance characteristics under high-volume flag evaluation or event tracking scenarios.
- Backward compatibility guarantees or versioning strategy for breaking changes.
- Whether flagsmith ≥5.5 is required for event tracking or if earlier versions are supported.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (<4.0,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — flagsmith, openfeature-sdk |
| Maintenance | actively maintained — 7 days since the last release |
| First released | |
| Downloads | 128,997/month — #11,688 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: openfeature_provider_flagsmith-1.0.0-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
flagsmithFlagsmith is a Python SDK for managing feature…
permissive · top 5,000 on PyPI
openfeature-sdkOpenFeature Python SDK provides a…
permissive · top 5,000 on PyPI
launchdarkly-openfeature-serverBridges LaunchDarkly's feature flag service…
permissive · top 15,000 on PyPI
openfeature-provider-ofrepIntegrates OpenFeature SDK with remote flag…
permissive · top 15,000 on PyPI
flagsmith-flag-engineEvaluates feature flags and remote…
permissive · top 5,000 on PyPI
openfeature-provider-flagdIntegrates flagd flag evaluation into Python…
permissive · top 15,000 on PyPI
openfeature-provider-unleashIntegrates Unleash feature flags with…
permissive · top 15,000 on PyPI
amplitude-experimentProvides server-side A/B testing and feature…
permissive · top 15,000 on PyPI
openfeature-flagd-coreEvaluates feature flags using JSON logic and…
permissive · top 15,000 on PyPI
openfeature-flagd-apiDefines the Python Protocol contract for flagd…
permissive · top 15,000 on PyPI