skillfed

launchdarkly-api

LaunchDarkly REST API

launchdarkly-api v24.0.0 700.8K downloads/30d#5,292 on PyPI5
Permissive license Apache 2.0 Active released

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-api

uv

uv add launchdarkly-api

poetry

poetry add launchdarkly-api

Installing 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

launchdarkly api clientfeature flag management pythonlaunchdarkly rest apifeature flag automationlaunchdarkly integrationfeature flag data exportlaunchdarkly python sdk
api-clientfeature-flagsautomation

More WWW/HTTP packages