# launchdarkly-server-sdk

> LaunchDarkly SDK for Python

- **URL**: https://www.freshcrate.ai/projects/launchdarkly-server-sdk
- **Author**: LaunchDarkly
- **Category**: Frameworks
- **Latest version**: `9.15.1` (2026-04-21)
- **License**: Apache-2.0
- **Source**: https://github.com/launchdarkly/python-server-sdk
- **Homepage**: https://pypi.org/project/launchdarkly-server-sdk/
- **Language**: Python
- **GitHub**: 44 stars, 46 forks
- **Registry**: pypi (`launchdarkly-server-sdk`)
- **Tags**: `pypi`

## Description

# LaunchDarkly Server-side SDK for Python

[![Actions Status](https://github.com/launchdarkly/python-server-sdk/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/launchdarkly/python-server-sdk/actions/workflows/ci.yml)
[![readthedocs](https://readthedocs.org/projects/launchdarkly-python-sdk/badge/)](https://launchdarkly-python-sdk.readthedocs.io/en/latest/)

[![PyPI](https://img.shields.io/pypi/v/launchdarkly-server-sdk.svg?maxAge=2592000)](https://pypi.python.org/pypi/launchdarkly-server-sdk)
[![PyPI](https://img.shields.io/pypi/pyversions/launchdarkly-server-sdk.svg)](https://pypi.python.org/pypi/launchdarkly-server-sdk)

## LaunchDarkly overview

[LaunchDarkly](https://www.launchdarkly.com) is a feature management platform that serves trillions of feature flags daily to help teams build better software, faster. [Get started](https://docs.launchdarkly.com/home/getting-started) using LaunchDarkly today!

[![Twitter Follow](https://img.shields.io/twitter/follow/launchdarkly.svg?style=social&label=Follow&maxAge=2592000)](https://twitter.com/intent/follow?screen_name=launchdarkly)

## Supported Python versions

This version of the LaunchDarkly SDK is compatible with Python 3.10+.

## Getting started

Refer to the [SDK reference guide](https://docs.launchdarkly.com/sdk/server-side/python) for instructions on getting started with using the SDK.

## Learn more

Read our [documentation](http://docs.launchdarkly.com) for in-depth instructions on configuring and using LaunchDarkly. You can also head straight to the [complete reference guide for this SDK](http://docs.launchdarkly.com/docs/python-sdk-reference).

Generated API documentation is on [readthedocs.io](https://launchdarkly-python-sdk.readthedocs.io/en/latest/).

## Testing

We run integration tests for all our SDKs using a centralized test harness. This approach gives us the ability to test for consistency across SDKs, as well as test networking behavior in a long-running application. These tests cover each method in the SDK, and verify that event sending, flag evaluation, stream reconnection, and other aspects of the SDK all behave correctly.

## Contributing

We encourage pull requests and other contributions from the community. Check out our [contributing guidelines](CONTRIBUTING.md) for instructions on how to contribute to this SDK.

## Verifying SDK build provenance with the SLSA framework

LaunchDarkly uses the [SLSA framework](https://slsa.dev/spec/v1.0/about) (Supply-chain Levels for Software Artifacts) to help developers make their supply chain more secure by ensuring the authenticity and build integrity of our published SDK packages. To learn more, see the [provenance guide](PROVENANCE.md).

## About LaunchDarkly

* LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard.  With LaunchDarkly, you can:
    * Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases.
    * Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).
    * Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file.
    * Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get access to more features than users in the ‘silver’ plan). Disable parts of your application to facilitate maintenance, without taking everything offline.
* LaunchDarkly provides feature flag SDKs for a wide variety of languages and technologies. Read [our documentation](https://docs.launchdarkly.com/sdk) for a complete list.
* Explore LaunchDarkly
    * [launchdarkly.com](https://www.launchdarkly.com/ "LaunchDarkly Main Website") for more information
    * [docs.launchdarkly.com](https://docs.launchdarkly.com/  "LaunchDarkly Documentation") for our documentation and SDK reference guides
    * [apidocs.launchdarkly.com](https://apidocs.launchdarkly.com/  "LaunchDarkly API Documentation") for our API documentation
    * [blog.launchdarkly.com](https://blog.launchdarkly.com/  "LaunchDarkly Blog Documentation") for the latest product updates

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `9.15.1` | 2026-04-21 | Low | Imported from PyPI (9.15.1) |
| `9.15.0` | 2026-02-10 | Low | ## [9.15.0](https://github.com/launchdarkly/python-server-sdk/compare/9.14.1...9.15.0) (2026-02-10)   ### Features  * Drop support for python 3.9 ([#393](https://github.com/launchdarkly/python-server-sdk/issues/393)) ([5b761bd](https://github.com/launchdarkly/python-server-sdk/commit/5b761bd306e1e6973b59cea3f7657463de0204d1)) * Update ChangeSet to always require a Selector ([#405](https://github.com/launchdarkly/python-server-sdk/issues/405)) ([5dc4f81](https://github.com/launchdarkly/python-ser |
| `9.14.1` | 2025-12-15 | Low | ## [9.14.1](https://github.com/launchdarkly/python-server-sdk/compare/9.14.0...9.14.1) (2025-12-15)   ### Bug Fixes  * Remove all synchronizers in daemon mode ([#388](https://github.com/launchdarkly/python-server-sdk/issues/388)) ([441a5ec](https://github.com/launchdarkly/python-server-sdk/commit/441a5ecb3d3f1428801c44b875b32ef396df2fa3))  --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-pleas |
| `9.14.0` | 2025-12-04 | Low | ## [9.14.0](https://github.com/launchdarkly/python-server-sdk/compare/9.13.1...9.14.0) (2025-12-04)   ### Features  * adding data system option to create file datasource intializer ([e5b121f](https://github.com/launchdarkly/python-server-sdk/commit/e5b121f92a09fcaf717f88b426348798961ab62e)) * adding file data source as an intializer ([#381](https://github.com/launchdarkly/python-server-sdk/issues/381)) ([3700d1d](https://github.com/launchdarkly/python-server-sdk/commit/3700d1ddd9ef6c7a505ec24783 |
| `9.13.1` | 2025-11-19 | Low | ## [9.13.1](https://github.com/launchdarkly/python-server-sdk/compare/9.13.0...9.13.1) (2025-11-19)   ### Bug Fixes  * Include ldclient.datasystem in docs ([#379](https://github.com/launchdarkly/python-server-sdk/issues/379)) ([318c6fe](https://github.com/launchdarkly/python-server-sdk/commit/318c6fea0738d296713768afc8e08ee9b2360dc2))  --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#re |
| `9.13.0` | 2025-11-19 | Low | ## [9.13.0](https://github.com/launchdarkly/python-server-sdk/compare/9.12.3...9.13.0) (2025-11-19)   ### Features  * **experimental:** Release EAP support for FDv2 data system ([#376](https://github.com/launchdarkly/python-server-sdk/issues/376)) ([0e7c32b](https://github.com/launchdarkly/python-server-sdk/commit/0e7c32b4df12daef25e9b2e9b637225c3e74a2dd))  --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/google |
| `9.12.3` | 2025-10-30 | Low | ## [9.12.3](https://github.com/launchdarkly/python-server-sdk/compare/9.12.2...9.12.3) (2025-10-30)   ### Bug Fixes  * Fix overly generic type hint on File data source ([#365](https://github.com/launchdarkly/python-server-sdk/issues/365)) ([52a7499](https://github.com/launchdarkly/python-server-sdk/commit/52a7499f7cf1d4311f89fa98e65bca670e127aa6)), closes [#364](https://github.com/launchdarkly/python-server-sdk/issues/364)  --- This PR was generated with [Release Please](https://github.com/googl |
| `9.12.2` | 2025-10-27 | Low | ## [9.12.2](https://github.com/launchdarkly/python-server-sdk/compare/9.12.1...9.12.2) (2025-10-27)   ### Bug Fixes  * Fix incorrect event count in failure message ([#359](https://github.com/launchdarkly/python-server-sdk/issues/359)) ([91f4163](https://github.com/launchdarkly/python-server-sdk/commit/91f416329bd3e53a622ce58caa63cdd6cdcc8896))  --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release- |
| `9.12.1` | 2025-09-30 | Low | ## [9.12.1](https://github.com/launchdarkly/python-server-sdk/compare/9.12.0...9.12.1) (2025-09-30)   ### Bug Fixes  * Add validation format check for SDK key ([#351](https://github.com/launchdarkly/python-server-sdk/issues/351))  --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).  <!-- CURSOR_SUMMARY --> |
| `9.12.0` | 2025-07-14 | Low | ## [9.12.0](https://github.com/launchdarkly/python-server-sdk/compare/9.11.1...9.12.0) (2025-07-11)   ### ⚠ BREAKING CHANGES  * Drop support for Python 3.8 (eol 2024-10-07) ([#339](https://github.com/launchdarkly/python-server-sdk/issues/339))  ### Features  * Add support for plugins. ([#337](https://github.com/launchdarkly/python-server-sdk/issues/337)) ([241f6f4](https://github.com/launchdarkly/python-server-sdk/commit/241f6f49b203044f801fdfc976f7d446225ec5e1)) * Drop support for Python 3.8 (e |

## Citation

- HTML: https://www.freshcrate.ai/projects/launchdarkly-server-sdk
- Markdown: https://www.freshcrate.ai/projects/launchdarkly-server-sdk.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/launchdarkly-server-sdk/deps

_Generated by freshcrate.ai. Indexes pypi releases for AI-agent ecosystem packages._
