skillfed

flagsmith

Flagsmith Python SDK

flagsmith v6.2.1 1.2M downloads/30d#4,287 on PyPI
Permissive license BSD3 Active released

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 flagsmith

uv

uv add flagsmith

poetry

poetry add flagsmith

Installing 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

License :: Other/Proprietary LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

feature flag managementremote configurationfeature toggles pythonflagsmith sdkenvironment-based feature controldynamic configuration managementfeature flag service client
feature-flagsremote-configsaas-client

More Software Development packages