flagsmith
Flagsmith Python SDK
What it is and what it does
Flagsmith is a client library that connects your Python application to the Flagsmith feature flag service. It lets you query feature flags and remote configuration values that are managed centrally, enabling you to control feature availability and configuration across multiple environments without code changes or redeployment.
The SDK handles communication with the Flagsmith backend through HTTP requests (via the requests and requests-futures dependencies) and supports server-sent events for real-time flag updates (via sseclient-py). It depends on flagsmith-flag-engine for core flag evaluation logic and uses iso8601 for timestamp parsing. The package supports modern Python versions and is actively maintained.
Use it for:
- Toggle features on or off for specific user segments or environments without redeploying your application.
- Manage remote configuration values (like API endpoints or feature parameters) that can be updated centrally.
- Run A/B tests by serving different feature variants to different users based on flag rules.
- Gradually roll out new features to a percentage of users, monitoring for issues before full release.
- Disable problematic features in production immediately without a code deployment.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Flagsmith is a Python SDK for managing feature flags and remote configuration across multiple projects and environments, allowing you to toggle features and update settings without redeploying your application.
Yes. The package has low install friction, active maintenance, a permissive license, no known vulnerabilities, and sits in the top 5000 PyPI packages by download volume. It is a straightforward choice if you are using Flagsmith's service for feature flag management and need a Python client.
Install
flagsmith on PyPI
pip
pip install flagsmithuv
uv add flagsmithpoetry
poetry add flagsmithInstalling flagsmith
Before you install
Low install friction with a pure-wheel distribution and six straightforward runtime dependencies. The package is actively maintained with a release dated 2026-08-14, supporting current Python versions from 3.10 through 3.14.
License in practice
Licensed under BSD3, a permissive license that allows commercial and private use with minimal restrictions, making it suitable for most production environments.
Quickstart
pip install flagsmith
from flagsmith import Flagsmith
client = Flagsmith(environment_key='your-environment-key')
flags = client.get_flags()
Requires Python 3.10 or later; the Flagsmith service endpoint must be accessible from your application environment.
Verify before relying
- Whether the SDK supports local flag evaluation or requires network calls for every flag check.
- Performance characteristics and caching behavior when handling large numbers of flags.
- Whether flagsmith-flag-engine is a compiled dependency or pure Python.
Package facts
| License | BSD3 (permissive) |
| Python support | supports the current Python release (<4,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — flagsmith-flag-engine, iso8601, requests, requests-futures, sseclient-py, typing-extensions |
| Maintenance | actively maintained — 0 days since the last release |
| First released | |
| Downloads | 1,159,248/month — #4,287 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: flagsmith-6.2.1-py3-none-any.whl
Keywords: feature, flag, flagsmith, remote, config
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
configcat-clientA Python SDK for integrating ConfigCat's…
permissive · top 5,000 on PyPI
flagsmith-flag-engineEvaluates feature flags and remote…
permissive · top 5,000 on PyPI
openfeature-provider-flagsmithConnects the OpenFeature SDK to Flagsmith for…
unclear · top 15,000 on PyPI
openfeature-sdkOpenFeature Python SDK provides a…
permissive · top 5,000 on PyPI
launchdarkly-server-sdkA server-side SDK for integrating…
permissive · top 5,000 on PyPI
UnleashClientA server-side Python SDK for integrating with…
permissive · top 5,000 on PyPI
django-flagsDjango-Flags provides a feature flag system for…
permissive · top 15,000 on PyPI
django-waffleDjango Waffle provides feature flags (toggles)…
permissive · top 5,000 on PyPI
oai-statsig-python-coreStatsig Python bindings for server-side feature…
permissive · top 15,000 on PyPI
edx-togglesProvides Django-integrated feature toggle…
agpl · top 15,000 on PyPI