--- id: openfeature-provider-flagsmith version: "1.0.0" license: unclear license_treatment: unclear maintenance: active --- # openfeature-provider-flagsmith — Openfeature provider for Flagsmith License: unclear · Maintenance: active · Downloads: 129.0K/mo ## 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 above — 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 pip install openfeature-provider-flagsmith uv add openfeature-provider-flagsmith poetry add openfeature-provider-flagsmith ## Installing 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_current - Install friction: low - Maintenance: active - Downloads: 129.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags openfeature flagsmith provider, feature flag evaluation sdk, flagsmith openfeature integration, server-side feature flags, flag evaluation with tracking, experiment variant assignment, openfeature provider, feature-flags, experimentation, openfeature [View on SkillFed](https://skillfed.io/packages/openfeature-provider-flagsmith) · [View on PyPI](https://pypi.org/project/openfeature-provider-flagsmith/)