Ship faster, confidently. LaunchDarkly feature flags decouple deployments from releases, so teams can safely test new functionality in production with the confidence to rollback instantly.
Feature flags for Python
Deploy faster, improve reliability, and release confidently using feature flags in Python applications.
Take control of releases in Python
From Django and Flask to TensorFlow, feature flags help make the most of Python apps by letting teams deploy code changes to subsets of users, instantly roll back buggy features, and run A/B tests in production safely.
Learn more on our YouTube Channel
Watch "Developing APIs with Python and LaunchDarkly"
Why feature management?
Feature management helps teams use feature flags on a massive scale across a variety of complex use cases.
Unlike configuration files, our feature management platform lets developers:
FAQs
The LaunchDarkly Python SDK is a server-side SDK meaning you'll use your Server-Side SDK Key to configure the client.
LaunchDarkly's Python SDK uses a streaming connection, an always-open connection to the Flag Delivery Network. Thanks to this constant, high-speed connection to the flag delivery network, your connected SDKs will receive updates to feature flags within 200ms.
No, in fact, at app startup, when the SDK initializes, LaunchDarkly only needs 25ms to initialize and get the starting feature flag values from the Flag Delivery Network.
No. All our SDKs perform all feature flag evaluations in memory using the feature flag ruleset they have cached in memory.
Each of our SDKs follows the same pattern: initialize, evaluate, update. When feature flags are changed in LaunchDarkly, those changes are broadcast to the Flag Delivery Network.
LaunchDarkly reliably serves 20 trillion flags a day around the globe through our Flag Delivery Network. In the case where your app can't reach LaunchDarkly's flag delivery network, we've built in two backstops to ensure your application continues to work uninterrupted. Our SDKs are self-healing, if their connection to the flag delivery network is interrupted, they will continue to retry in the background until they can reconnect. Because all feature flag evaluations happen in memory, your app will just keep working. Each of our SDKs also offers the ability to set a default value in the event you can't reach the flag delivery network at app startup, so your app can safely start serving your defaults and get its updates as soon as it can connect again.
Learn more on our YouTube Channel