Skip to main content

OpenFeature flagd Core

Reference implementation of the flagd evaluator -- flag parsing, targeting rules (JSON logic), and custom operators (fractional, sem_ver, starts_with, ends_with). Mirrors the Java flagd-core module.

It is part of the OpenFeature Python SDK contrib project.

Installation

pip install openfeature-flagd-core

Usage

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)

License

Apache 2.0 - See LICENSE for details.

Metadata

Release files for openfeature-flagd-core 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openfeature-flagd-core 2.0.0
File Size Uploaded
openfeature_flagd_core-2.0.0.tar.gz 12.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for openfeature-flagd-core 2.0.0
File Interpreter ABI Platform
openfeature_flagd_core-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 27.7 kB

Release files / openfeature_flagd_core-2.0.0.tar.gz

Download URL openfeature_flagd_core-2.0.0.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b416396949ee766f791ade3c5880fb15407b774349ee13b72f5e76ccfe932ca8
BLAKE2b-256 checksum
How to use checksums
895bdefdba9f4fc0039d8ed925def0684cca964a87b1510307e852c96cf505a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release files / openfeature_flagd_core-2.0.0-py3-none-any.whl

Download URL openfeature_flagd_core-2.0.0-py3-none-any.whl
Size 14.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f7198cac5fd5a25907afb3500075223a8b271b960c736d05f75002ab1427214
BLAKE2b-256 checksum
How to use checksums
7e93b3b06ad61d5fed8d7c444ba0bfeaa2a73d0d991c26eb3026866b9b054190
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page