Skip to main content

OpenFeature provider for the Flipt feature flagging service

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openfeature_provider_flipt-0.1.3.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openfeature_provider_flipt-0.1.3-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file openfeature_provider_flipt-0.1.3.tar.gz.

File metadata

File hashes

Hashes for openfeature_provider_flipt-0.1.3.tar.gz
Algorithm Hash digest
SHA256 cdd5b3ab8d36d32335f15eb67378e89d28943a739d27f6017cd0709ebecdfda5
MD5 1bf6b181631205f4a56ccaf93d856128
BLAKE2b-256 ced148ee9af2f56550c1e0a3c2df2fb5ad0b55842281b22acfcb124eacdce0ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for openfeature_provider_flipt-0.1.3.tar.gz:

Publisher: release.yml on open-feature/python-sdk-contrib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file openfeature_provider_flipt-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for openfeature_provider_flipt-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 afd6242d36f77d7077ede6fb0c6f2c5a508c97d10c26d0302cd1e47c5cf67572
MD5 d65e3cd7973d51ca0c068b8b86d309e2
BLAKE2b-256 eab571fd322be82a10ab6287daeb9ce61f7ccafbb735f9e6cec50f4585484128

See more details on using hashes here.

Provenance

The following attestation bundles were made for openfeature_provider_flipt-0.1.3-py3-none-any.whl:

Publisher: release.yml on open-feature/python-sdk-contrib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page