openfeature-sdk
Standardizing Feature Flagging for Everyone
Decision gist · record as of 2026-08-14
Yes. The SDK is actively maintained, has no external dependencies, supports current Python versions, and is licensed permissively. Install it if you need a vendor-agnostic abstraction for feature flagging or are evaluating the OpenFeature ecosystem. The main consideration is whether your chosen flag management tool has an available provider; check the OpenFeature ecosystem before committing.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low install friction with no runtime dependencies.
- Actively maintained with a recent release (74 days ago) and ongoing commits.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.
last release 2026-06-01 (74 days) · last repo commit 2026-07-14 · 107 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,271,669 downloads/mo, #3,178 on PyPI
Alternatives
Verify before relying
pip install openfeature-sdk==0.10.0
from openfeature import api
from openfeature.provider.in_memory_provider import InMemoryFlag, InMemoryProvider
my_flags = {"v2_enabled": InMemoryFlag("on", {"on": True, "off": False})}
api.set_provider(InMemoryProvider(my_flags))
client = api.get_client()
flag_value = client.get_boolean_value("v2_enabled", False)
print("Value: " + str(flag_value))- Whether the ecosystem of available providers (commercial, open-source, in-house) is mature enough for your specific flag management tool.
- Performance characteristics when evaluating flags at high frequency or with large evaluation contexts.
What it is and what it does
OpenFeature Python SDK is a standardized, vendor-agnostic API for feature flagging. It sits between your application and a feature flag management tool (like LaunchDarkly, Unleash, or an in-house system), providing a consistent interface for flag evaluation regardless of which provider you choose. You define flags through a pluggable provider system, then evaluate them using simple client methods that return boolean, string, numeric, or object values.
The SDK supports contextual flag evaluation (targeting based on user or request attributes), hooks for injecting logic into the evaluation lifecycle, domains for binding multiple providers in one app, and eventing to react to provider state changes. It has no external runtime dependencies, installs cleanly, and supports modern Python versions (3.10–3.14). The specification is community-driven and vendor-neutral, designed to reduce lock-in to any single flag management platform.
Use it for
- Evaluate feature flags in a Python web application without being locked into a specific flag management vendor.
- Implement A/B testing or gradual rollouts by evaluating flags with user or request context to target specific segments.
- Integrate custom or in-house flag management systems by implementing a provider that conforms to the OpenFeature specification.
- Add pre- and post-evaluation hooks to log flag evaluations, track experiments, or validate flag values before use.
- Migrate between feature flag platforms by swapping providers without changing application code.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The SDK is actively maintained, has no external dependencies, supports current Python versions, and is licensed permissively. Install it if you need a vendor-agnostic abstraction for feature flagging or are evaluating the OpenFeature ecosystem. The main consideration is whether your chosen flag management tool has an available provider; check the OpenFeature ecosystem before committing.
Install
openfeature-sdk on PyPI
Before you install
Low install friction with no runtime dependencies. Actively maintained with a recent release (74 days ago) and ongoing commits. Supports current Python versions (3.10 through 3.14).
Requires Python 3.10 or later.
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install openfeature-sdk==0.10.0
from openfeature import api
from openfeature.provider.in_memory_provider import InMemoryFlag, InMemoryProvider
my_flags = {"v2_enabled": InMemoryFlag("on", {"on": True, "off": False})}
api.set_provider(InMemoryProvider(my_flags))
client = api.get_client()
flag_value = client.get_boolean_value("v2_enabled", False)
print("Value: " + str(flag_value))
Verify before relying
- Whether the ecosystem of available providers (commercial, open-source, in-house) is mature enough for your specific flag management tool.
- Performance characteristics when evaluating flags at high frequency or with large evaluation contexts.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 74 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,271,669 / month, #3,178 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: openfeature_sdk-0.10.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “vendor-agnostic flag management”
- openfeature-sdkOpenFeature Python SDK provides a vendor-agnostic API for feature…
- scrapliscrapli is a Python library for connecting to and automating network…
- sigmatoolsSigmatools provides command-line utilities and a Python library for…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also openfeature-provider-flagsmith · openfeature-provider-ofrep · openfeature-provider-unleash · openfeature-provider-flagd · openfeature-flagd-core · posthog · launchdarkly-openfeature-server · openfeature-flagd-api · flagsmith · devcycle-python-server-sdk