launchdarkly-api
LaunchDarkly REST API
What it is and what it does
This is an auto-generated Python client for LaunchDarkly's REST API, built from their OpenAPI specification. It provides programmatic access to feature flag management, custom integrations, and data export workflows—but is explicitly not intended for embedding feature flags in applications (use LaunchDarkly's SDKs for that instead). The library wraps HTTP calls to LaunchDarkly's API with typed Python objects, handling authentication via personal or service access tokens.
The client depends on pydantic for data validation, python-dateutil for timestamp handling, typing-extensions for type hints, and urllib3 for HTTP transport. It requires Python 3.9 or later and is actively maintained, with the latest release from 2026-08-03. The library is suitable for backend automation, CI/CD integration, and administrative tooling around feature flag management.
Use it for:
- Automate feature flag creation, updates, and deletion as part of deployment pipelines or infrastructure-as-code workflows.
- Export feature flag configurations and audit logs for compliance, reporting, or backup purposes.
- Build custom integrations between LaunchDarkly and internal tools, dashboards, or monitoring systems.
- Programmatically manage feature flag targeting rules and user segments across multiple environments.
- Sync feature flag state with external systems or trigger downstream workflows based on flag changes.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Python client library for LaunchDarkly's REST API, enabling programmatic management of feature flags, custom integrations, and data export workflows.
Yes, if you need to automate LaunchDarkly feature flag management or integrate LaunchDarkly with backend systems. The package is actively maintained, has low install friction, carries a permissive license, and has no known vulnerabilities. Do not use it to embed flags in web or mobile applications—use LaunchDarkly's SDKs for that instead. Requires Python 3.9+ and a valid API access token.
Install
launchdarkly-api on PyPI
pip
pip install launchdarkly-apiuv
uv add launchdarkly-apipoetry
poetry add launchdarkly-apiInstalling launchdarkly-api
Before you install
Low friction installation with four stable runtime dependencies (pydantic, python-dateutil, typing-extensions, urllib3). Actively maintained with recent releases; last commit 2026-08-03.
License in practice
Licensed under Apache 2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions.
Quickstart
pip install launchdarkly-api
from launchdarkly_api import ApiClient, Configuration
from launchdarkly_api.api.feature_flags_api import FeatureFlagsApi
config = Configuration(api_key='your-access-token')
client = ApiClient(config)
api = FeatureFlagsApi(client)
flags = api.get_feature_flags('project-key')
Requires Python 3.9 or later. Requires a valid LaunchDarkly personal or service access token for authentication.
Verify before relying
- Whether the package supports all current LaunchDarkly REST API endpoints or if some are missing from the generated client.
- Performance characteristics when managing large numbers of feature flags or making bulk operations.
- Whether there are any known compatibility issues with specific LaunchDarkly account configurations or API versions.
Package facts
| License | Apache 2.0 (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — pydantic, python-dateutil, typing-extensions, urllib3 |
| Maintenance | actively maintained — 11 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 700,791/month — #5,292 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: launchdarkly_api-24.0.0-py2.py3-none-any.whl
Keywords: OpenAPI, OpenAPI-Generator, LaunchDarkly REST API
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
launchdarkly-server-sdkA server-side SDK for integrating…
permissive · top 5,000 on PyPI
launchdarkly-openfeature-serverBridges LaunchDarkly's feature flag service…
permissive · top 15,000 on PyPI
launchpadliblaunchpadlib provides a Python client library…
copyleft · top 15,000 on PyPI
launchdarkly-eventsourceConsumes Server-Sent Events (SSE) from remote…
permissive · top 5,000 on PyPI
sunshine-conversations-clientPython client library for the Sunshine…
unclear · top 5,000 on PyPI
configcat-clientA Python SDK for integrating ConfigCat's…
permissive · top 5,000 on PyPI
netapp-ontapA Python REST API client library for NetApp…
permissive · top 15,000 on PyPI
apache-airflow-clientA Python client library for the Apache Airflow…
permissive · top 15,000 on PyPI
trycourierA typed Python client for the Courier REST API…
permissive · top 15,000 on PyPI
qase-api-clientPython client library for the Qase TestOps API…
unclear · top 15,000 on PyPI