OpenFeature Flipt Provider
This provider is designed to evaluate feature flags against the Flipt api using Flipt's OpenFeature remote evaluation protocol (OFREP) API. This provider performs flag evaluations via HTTP.
Table of Contents
Installation
pip install openfeature-provider-flipt
Configuration
from openfeature import api
from openfeature.contrib.provider.flipt import FliptProvider
api.set_provider(FliptProvider(base_url="<flipt instance>", namespace="<your flipt feature flag namespace>"))
client = api.get_client()
client.get_boolean_value("<your feature flag key>", True)
License
Apache 2.0 - See LICENSE for more information.
Metadata
Release files for openfeature-provider-flipt 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| openfeature_provider_flipt-0.1.3.tar.gz | 9.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openfeature_provider_flipt-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.7 kB
Release files / openfeature_provider_flipt-0.1.3.tar.gz
| Download URL | openfeature_provider_flipt-0.1.3.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cdd5b3ab8d36d32335f15eb67378e89d28943a739d27f6017cd0709ebecdfda5
|
|
BLAKE2b-256 checksum How to use checksums |
ced148ee9af2f56550c1e0a3c2df2fb5ad0b55842281b22acfcb124eacdce0ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 21, 2025.
Transparency logRelease files / openfeature_provider_flipt-0.1.3-py3-none-any.whl
| Download URL | openfeature_provider_flipt-0.1.3-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
afd6242d36f77d7077ede6fb0c6f2c5a508c97d10c26d0302cd1e47c5cf67572
|
|
BLAKE2b-256 checksum How to use checksums |
eab571fd322be82a10ab6287daeb9ce61f7ccafbb735f9e6cec50f4585484128
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 21, 2025.
Transparency log