$npx skillfedfor your agent

harness-featureflags

Feature flag server SDK for python

With conditionsPyPI Software DevelopmentReleased Apr 2026400.4K downloads / moApache Software License 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — harness_featureflags-1.7.5-py2.py3-none-any.whl
v1.7.5 · released 2026-04-09 · Python >=3.5 · 7 runtime deps: httpx, pyjwt, attrs, mmh3, requests, tenacity, typing-extensions

Yes, if you are using the Harness Feature Flags platform. The SDK is actively maintained, has low install friction, permissive licensing, and no known vulnerabilities. It is the canonical way to integrate Python applications with Harness flags. Not relevant if you use a different feature flag platform or manage flags in-process.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.5 or newer; Harness Feature Flags platform account and server SDK key to connect.
  • Low install friction with a pure-Python wheel distribution.
  • Active maintenance with recent releases; last commit on 2026-08-03.

License · maintenance · safety

Apache Software License 2.0 (permissive) — Apache Software License 2.0 (permissive) allows commercial use, modification, and distribution with minimal restrictions—suitable for most production environments.

last release 2026-04-09 (127 days) · last repo commit 2026-08-03 · 5 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 400,366 downloads/mo, #6,941 on PyPI

Verify before relying

pip install harness-featureflags

from featureflags.client import CfClient
from featureflags.evaluations.auth_target import Target

client = CfClient(apiKey="your-api-key")
target = Target(identifier="user_1", name="User 1")
result = client.bool_variation("flag-name", target, False)
print(result)
  • Performance characteristics under high-volume flag evaluations or large target populations.
  • Behavior and fallback handling when the Harness platform is unreachable after retries exhausted.
  • Thread-safety guarantees for concurrent flag evaluation calls.
Same gist for agents: .md · .json

What it is and what it does

This is the official Python SDK for integrating with Harness Feature Flags, a platform for managing feature toggles and A/B tests. The SDK connects to the Harness service, downloads flag definitions, and evaluates them locally based on target attributes and rules. It supports streaming updates so flag changes on the platform are reflected in real time without polling. The SDK handles caching, retry logic, and metrics reporting back to the platform.

You instantiate a client with an API key, create target objects representing users or entities, and call variation methods (bool_variation, int_variation, string_variation, etc.) to get the flag value for that target. The SDK applies rules, percentage rollouts, and custom targeting logic server-side and caches the results locally. It's designed for server-side use where you control the SDK lifecycle and have a persistent connection to the Harness backend.

Use it for

  • Roll out new features gradually to a percentage of users without redeploying code.
  • Run A/B tests by serving different flag variations to different user segments based on custom attributes.
  • Kill-switch critical features in production by toggling a flag without a code push.
  • Manage feature access by role or organization using target attributes and flag rules.
  • Experiment with performance-impacting changes by enabling them for a subset of targets first.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are using the Harness Feature Flags platform.

The SDK is actively maintained, has low install friction, permissive licensing, and no known vulnerabilities. It is the canonical way to integrate Python applications with Harness flags. Not relevant if you use a different feature flag platform or manage flags in-process.

Install

harness-featureflags on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Active maintenance with recent releases; last commit on 2026-08-03. Seven runtime dependencies (httpx, pyjwt, attrs, mmh3, requests, tenacity, typing-extensions) are all stable, widely-used libraries.

Requires Python 3.5 or newer; Harness Feature Flags platform account and server SDK key to connect.

License in practice

Apache Software License 2.0 (permissive) allows commercial use, modification, and distribution with minimal restrictions—suitable for most production environments.

Quickstart

pip install harness-featureflags

from featureflags.client import CfClient
from featureflags.evaluations.auth_target import Target

client = CfClient(apiKey="your-api-key")
target = Target(identifier="user_1", name="User 1")
result = client.bool_variation("flag-name", target, False)
print(result)

Verify before relying

  • Performance characteristics under high-volume flag evaluations or large target populations.
  • Behavior and fallback handling when the Harness platform is unreachable after retries exhausted.
  • Thread-safety guarantees for concurrent flag evaluation calls.

Package facts

LicenseApache Software License 2.0 permissive
Python supportSupports the current Python release >=3.5
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
httpxpyjwtattrsmmh3requeststenacitytyping-extensions
MaintenanceActively maintained 127 days since the last release
Last repo commit
First released
Downloads400,366 / month, #6,941 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 2 - Pre-AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8

Evidence: harness_featureflags-1.7.5-py2.py3-none-any.whl

Tags

Capabilities
feature flag sdk pythonharness feature flags clientfeature toggle evaluationremote feature flag managementflag variation server sdkfeature flag streaming updatesflag targeting and rules
Topics
feature-flagsharness-platforma-b-testing
PyPI keywords
featureflags

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “feature flag sdk python”

  • harness-featureflagsPython SDK for evaluating and managing feature flags served by the…
  • openfeature-sdkOpenFeature Python SDK provides a vendor-agnostic API for feature…
  • flipt-clientA Python client for Flipt feature flag evaluation that performs flag…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also UnleashClient · statsig · yggdrasil-engine · launchdarkly-server-sdk · django-waffle · flagsmith-flag-engine · django-flags · flagsmith · openfeature-sdk