FeatureManagement
A library for enabling/disabling features at runtime.
What it is and what it does
Featuremanagement is a Microsoft-maintained Python library for managing application features at runtime through feature flags. It provides a way to define which features are enabled or disabled, and under what conditions, without requiring code redeployment. The library integrates with common Python patterns and can work with configuration sources like Azure App Configuration, making it useful for gradual rollouts, A/B testing, and feature experimentation.
The package has no external runtime dependencies, installs easily, and supports modern Python versions (3.10 through 3.14). It is actively maintained, with a recent release and a stable API surface. The library is designed to be straightforward to integrate into existing applications, with examples provided for plain Python, Django, and Flask applications.
Use it for:
- Gate new features behind flags to roll them out gradually to users without redeploying code.
- Run A/B tests by conditionally enabling features for different user segments or cohorts.
- Disable problematic features in production quickly by toggling a flag rather than releasing a hotfix.
- Manage feature variants to test different implementations of the same feature simultaneously.
- Integrate with Azure App Configuration to centralize feature flag management across services.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Enables runtime control of application features through feature flags, allowing conditional activation of functionality based on defined rules and conditions.
Yes. The package is production-stable, actively maintained, has zero dependencies, and addresses a common operational need. Install it if you need runtime feature control; the low friction and clean API make it a straightforward addition to any Python application.
Install
featuremanagement on PyPI
pip
pip install featuremanagementuv
uv add featuremanagementpoetry
poetry add featuremanagementInstalling FeatureManagement
Before you install
Low friction installation with no runtime dependencies. Active maintenance, last release 29 days ago, and supports current Python versions (3.10–3.14).
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal legal constraints—suitable for commercial and open-source projects alike.
Quickstart
pip install featuremanagement
from featuremanagement import FeatureManager
manager = FeatureManager()
if manager.is_enabled('feature_name'):
# execute feature-gated code
Requires Python 3.10 or later.
Verify before relying
- Whether the library provides built-in integrations with Azure App Configuration or requires separate setup.
- Whether feature variants (mentioned in examples) are fully documented or require external configuration.
- Performance characteristics when managing large numbers of feature flags.
Package facts
| License | MIT License Copyright (c) Microsoft Corporation. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 260,747/month — #8,392 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: featuremanagement-2.2.0-py3-none-any.whl
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
django-waffleDjango Waffle provides feature flags (toggles)…
permissive · top 5,000 on PyPI
django-flagsDjango-Flags provides a feature flag system for…
permissive · top 15,000 on PyPI
azure-mgmt-coreProvides ARM-specific extensions to Azure Core…
permissive · top 1,000 on PyPI
pomlPOML is a markup language and Python SDK for…
unclear · top 15,000 on PyPI
azure-appconfiguration-providerLoads application configurations from Azure App…
permissive · top 5,000 on PyPI
statsigStatsig is a Python server SDK for managing…
permissive · top 5,000 on PyPI
flagsmithFlagsmith is a Python SDK for managing feature…
permissive · top 5,000 on PyPI
UnleashClientA server-side Python SDK for integrating with…
permissive · top 5,000 on PyPI
azure-servicemanagement-legacyProvides a Python client library for legacy…
permissive · top 5,000 on PyPI
azure-mgmt-resource-deploymentsManages Azure resource deployments…
permissive · top 5,000 on PyPI