skillfed

launchdarkly-openfeature-server

An OpenFeature provider for the LaunchDarkly Python server SDK

launchdarkly-openfeature-server v0.5.1 146.2K downloads/30d#11,104 on PyPI4
Permissive license Apache-2.0 Active released

What it is and what it does

This package is an OpenFeature provider that adapts LaunchDarkly's server-side Python SDK to work with the OpenFeature standardized API. It allows developers to integrate LaunchDarkly feature flags into applications using the OpenFeature abstraction layer, which provides a vendor-neutral interface for feature flag evaluation.

The provider is designed for multi-user server systems like web applications and handles both single-context and multi-context evaluations. It maps OpenFeature's EvaluationContext to LaunchDarkly's context model, supporting special attributes like targeting keys, private attributes, and anonymous flags. The package depends on launchdarkly-server-sdk and openfeature-sdk, and is currently in beta, meaning its API may change.

Use it for:

  • Integrate LaunchDarkly feature flags into a web application using the OpenFeature standard API
  • Evaluate feature flags for multi-user contexts (e.g., user + organization) in a server environment
  • Gradually roll out features to subsets of users based on context attributes and targeting rules
  • Switch feature flag providers later by replacing the provider while keeping OpenFeature client code unchanged

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Bridges LaunchDarkly's feature flag service with the OpenFeature SDK for Python, enabling standardized feature flag evaluation in server-side applications.

Yes, with conditions. Install if you are already using LaunchDarkly and want to adopt the OpenFeature standard, or if you want vendor-neutral feature flag abstraction. Avoid if you need a stable API—this is beta software and breaking changes are expected. No known security vulnerabilities as of August 2026.

Install

launchdarkly-openfeature-server on PyPI

pip

pip install launchdarkly-openfeature-server

uv

uv add launchdarkly-openfeature-server

poetry

poetry add launchdarkly-openfeature-server

Installing launchdarkly-openfeature-server

Before you install

Low friction install with only two runtime dependencies. Actively maintained as of 2026-07-01 with recent releases. Beta status means the API is not yet stabilized and may introduce breaking changes.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions, typical for open-source SDKs.

Quickstart

pip install launchdarkly-openfeature-server

from openfeature import api

provider = LaunchDarklyProvider(Config("sdk-key"))
api.set_provider(provider)

Requires Python 3.9 or above. Requires a valid LaunchDarkly SDK key.

Verify before relying

  • Performance characteristics and latency impact when evaluating large numbers of contexts
  • Backward compatibility guarantees during beta phase and expected timeline to stable release
  • Whether the provider handles network failures and offline scenarios gracefully

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (<4.0,>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 2 — launchdarkly-server-sdk, openfeature-sdk
Maintenance actively maintained — 283 days since the last release
Last repo commit
First released
Downloads 146,160/month — #11,104 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: launchdarkly_openfeature_server-0.5.1-py3-none-any.whl

Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Software DevelopmentTopic :: Software Development :: Libraries

Tags

openfeature provider launchdarklyfeature flags server pythonlaunchdarkly openfeature integrationfeature management sdk pythonmulti-context feature evaluationserver-side feature flags python
feature-flagsopenfeatureserver-sdk

More Software Development packages