--- id: launchdarkly-api version: "24.0.0" license: Apache 2.0 license_treatment: permissive maintenance: active --- # launchdarkly-api — LaunchDarkly REST API License: permissive · Maintenance: active · Downloads: 700.8K/mo ## 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 above — 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 pip install launchdarkly-api uv add launchdarkly-api 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_current - Install friction: low - Maintenance: active - Downloads: 700.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags launchdarkly api client, feature flag management python, launchdarkly rest api, feature flag automation, launchdarkly integration, feature flag data export, launchdarkly python sdk, api-client, feature-flags, automation [View on SkillFed](https://skillfed.io/packages/launchdarkly-api) · [View on PyPI](https://pypi.org/project/launchdarkly-api/)