Registry /
http-networking / launchdarkly-openfeature-server
Install & Compatibility
Where this runs
tested against v0.5.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 21.9MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 2.1s · import 0.000s · 22MB
20MB installed
● package 20MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
LaunchDarklyProvider
✓ from ld_openfeature import LaunchDarklyProvider
✗ from launchdarkly_openfeature.server import LaunchDarklyProvider
Config
✓ from ld_openfeature import Config
Simple example showing initialization and flag evaluation.
import os
from ldclient import Config, LDClient
from openfeature import api
from openfeature.evaluation_context import EvaluationContext
from launchdarkly_openfeature.server import LaunchDarklyProvider
# Initialize LD client
ld_config = Config(os.environ.get('LAUNCHDARKLY_SDK_KEY', ''))
ld_client = LDClient(config=ld_config)
# Set provider in OpenFeature
api.set_provider(LaunchDarklyProvider(ld_client))
# Get OpenFeature client
client = api.get_client()
# Evaluate a flag
targeting_key = 'user-key'
ctx = EvaluationContext(targeting_key=targeting_key, attributes={'email': 'user@example.com'})
result = client.get_boolean_value('my-flag', default_value=False, evaluation_context=ctx)
print(f'Flag value: {result}')
Upgrade
Version history
0.5.1latest on PyPI · released Nov 4, 2025
Audit
Dependencies
launchdarkly-server-sdkrequiredRequired for LD client configuration.
openfeature-sdkrequiredRequired for OpenFeature API.