openfeature-flagd-core
OpenFeature flagd evaluator core implementation
Decision gist · record as of 2026-08-14
Yes, if you are building on the OpenFeature Python SDK and need local flag evaluation. The package is actively maintained, has low install friction, carries a permissive Apache 2.0 license, and has no known vulnerabilities. Install only if you are already adopting OpenFeature; it is a specialized component, not a general-purpose library.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 a pure-Python wheel distribution.
- Actively maintained with recent commits; part of the OpenFeature Python SDK contrib ecosystem.
License · maintenance · safety
permissive license (permissive) — Apache 2.0 permissive license allows commercial and derivative use with attribution and notice requirements; suitable for most projects.
last release 2026-04-30 (106 days) · last repo commit 2026-08-12 · 25 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 208,906 downloads/mo, #9,522 on PyPI
Alternatives
Verify before relying
pip install openfeature-flagd-core
from openfeature.contrib.tools.flagd.core import FlagdCore
core = FlagdCore()
core.set_flags('{"flags": {"my-flag": {"state": "ENABLED", "variants": {"on": true}, "defaultVariant": "on"}}}')
result = core.resolve_boolean_value("my-flag", False)- Whether the package supports flag evaluation with context/targeting rules beyond the basic boolean resolution shown in the example.
- Performance characteristics when evaluating large flag sets or complex JSON logic expressions.
- Integration patterns with the broader OpenFeature SDK beyond the core evaluator role.
What it is and what it does
openfeature-flagd-core is a reference implementation of the flagd evaluator for the OpenFeature Python SDK contrib project. It parses flag definitions, applies targeting rules written in JSON logic, and resolves flag variants using custom operators for fractional rollouts, semantic version comparisons, and string matching. The package provides the core evaluation engine that sits between flag definitions and the OpenFeature SDK, handling the logic of determining which variant a flag should return given its configuration and evaluation context.
The package is designed as a modular component mirroring the Java flagd-core module, making it suitable for projects that need deterministic flag evaluation without external service dependencies. It depends on openfeature-sdk for the broader SDK integration, plus mmh3 for hashing (likely for fractional rollouts), panzi-json-logic for rule evaluation, and semver for version comparisons.
Use it for
- Evaluate feature flags locally in Python applications using JSON logic targeting rules without requiring a remote flagd service.
- Implement fractional rollouts and canary deployments by resolving flag variants based on custom operators and context.
- Test flag evaluation logic in unit tests by directly instantiating and configuring the evaluator with flag definitions.
- Build custom feature flag management systems that need a reference-grade evaluator compatible with the OpenFeature specification.
- Resolve semantic version-based feature flags for version-gated functionality or compatibility checks.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building on the OpenFeature Python SDK and need local flag evaluation.
The package is actively maintained, has low install friction, carries a permissive Apache 2.0 license, and has no known vulnerabilities. Install only if you are already adopting OpenFeature; it is a specialized component, not a general-purpose library.
Install
openfeature-flagd-core on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with recent commits; part of the OpenFeature Python SDK contrib ecosystem.
Requires Python 3.10 or later.
License in practice
Apache 2.0 permissive license allows commercial and derivative use with attribution and notice requirements; suitable for most projects.
Quickstart
pip install openfeature-flagd-core
from openfeature.contrib.tools.flagd.core import FlagdCore
core = FlagdCore()
core.set_flags('{"flags": {"my-flag": {"state": "ENABLED", "variants": {"on": true}, "defaultVariant": "on"}}}')
result = core.resolve_boolean_value("my-flag", False)
Verify before relying
- Whether the package supports flag evaluation with context/targeting rules beyond the basic boolean resolution shown in the example.
- Performance characteristics when evaluating large flag sets or complex JSON logic expressions.
- Integration patterns with the broader OpenFeature SDK beyond the core evaluator role.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesopenfeature-flagd-apiopenfeature-sdkmmh3panzi-json-logicsemver |
| Maintenance | Actively maintained 106 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 208,906 / month, #9,522 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3 |
Evidence: openfeature_flagd_core-1.0.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 › “JSON logic flag targeting”
- openfeature-flagd-coreEvaluates feature flags using JSON logic and custom operators…
- harness-featureflagsPython SDK for evaluating and managing feature flags served by the…
- openfeature-provider-flagsmithConnects the OpenFeature SDK to Flagsmith for server-side feature…
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-flagd-api · openfeature-provider-flagd · openfeature-sdk · openfeature-provider-ofrep · flagsmith-flag-engine · openfeature-hooks-opentelemetry · openfeature-provider-flagsmith · launchdarkly-openfeature-server · openfeature-provider-unleash