ConfigCat OpenFeature Provider for Python
This repository contains an OpenFeature provider that allows ConfigCat to be used with the OpenFeature Python SDK.
Installation
pip install configcat-openfeature-provider
Usage
The ConfigCatProvider constructor takes the SDK key and an optional ConfigCatOptions argument containing the additional configuration options for the ConfigCat Python SDK:
from configcatclient import ConfigCatOptions, PollingMode
from openfeature import api
from configcat_openfeature_provider import ConfigCatProvider
# Configure the OpenFeature API with the ConfigCat provider.
api.set_provider(
ConfigCatProvider(
"<YOUR-CONFIGCAT-SDK-KEY>",
# Configure the ConfigCat SDK.
ConfigCatOptions(
polling_mode=PollingMode.auto_poll(60),
),
)
)
# Create a client.
client = api.get_client()
# Evaluate a feature flag.
is_awesome_feature_enabled = client.get_boolean_value("isAwesomeFeatureEnabled", False)
For more information about all the configuration options, see the Python SDK documentation.
Need help?
Contributing
Contributions are welcome. For more info please read the Contribution Guideline.
About ConfigCat
ConfigCat is a feature flag and configuration management service that lets you separate releases from deployments. You can turn your features ON/OFF using ConfigCat Dashboard even after they are deployed. ConfigCat lets you target specific groups of users based on region, email or any other custom user attribute.
ConfigCat is a hosted feature flag service. Manage feature toggles across frontend, backend, mobile, desktop apps. Alternative to LaunchDarkly. Management app + feature flag SDKs.
Metadata
Release files for configcat-openfeature-provider 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| configcat_openfeature_provider-1.1.0.tar.gz | 8.2 kB | Without provenance | Details for configcat_openfeature_provider-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| configcat_openfeature_provider-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for configcat_openfeature_provider-1.1.0-py3-none-any.whl |
Total release size: 13.9 kB
Release files / configcat_openfeature_provider-1.1.0.tar.gz
| Download URL | configcat_openfeature_provider-1.1.0.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e37c59daea390732621c076be98636f1c98a906483fc615dd97e7a0fe2dc86d9
|
|
BLAKE2b-256 checksum How to use checksums |
4364561e3fad952e1ed7094677b767da1cdd82ec173134779780d9aaf7b4f0c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / configcat_openfeature_provider-1.1.0-py3-none-any.whl
| Download URL | configcat_openfeature_provider-1.1.0-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d08023dd81b8bba95eb5d10998d1aa0914cee219375f532b725bbb84494aeb1
|
|
BLAKE2b-256 checksum How to use checksums |
be3afaacf89c16248ac26aca880c714c4c3f137b2964bb959e8286d44a548a2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for configcat-openfeature-provider 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.