Skip to main content

CloudBees.com OpenFeature SDK

Project description

CloudBees Feature Management provider for OpenFeature

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. a OpenFeature Specification OpenFeature SDK CloudBees Rox SDK

This is the CloudBees provider implementation for OpenFeature for the Python SDK.

OpenFeature provides a vendor-agnostic abstraction layer on Feature Flag management.

This provider allows the use of CloudBees Feature Management as a backend for Feature Flag configurations.

Requirements

  • python 3.8 or higher

Installation

Add it to your build

pip install cloudbees-openfeature-provider-python

Confirm peer dependencies are installed

pip install openfeature-sdk

Configuration

Follow the instructions on the Python SDK project for how to use the Python SDK.

You can configure the CloudBees provider by doing the following:

from openfeature import api
from openfeature.api import EvaluationContext
from cloudbees.provider import CloudbeesProvider

appKey = 'INSERT_APP_KEY_HERE'
provider = CloudbeesProvider(appKey)
api.set_provider(provider)
client = api.get_client()
value = client.get_boolean_value("enabled-new-feature", False)

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

Built Distribution

File details

Details for the file cloudbees_openfeature_provider_python-0.1.5.tar.gz.

File metadata

File hashes

Hashes for cloudbees_openfeature_provider_python-0.1.5.tar.gz
Algorithm Hash digest
SHA256 4bd9631265ce5dbc8581f0d66794bfc71279757b078873e4b886f190fee64f87
MD5 9f3d17aabeb19e8fe9407a19daaceb27
BLAKE2b-256 0db5a749539caac9c64213a94a6411ae3d7807839812b879c0eb0c2fb449e57b

See more details on using hashes here.

File details

Details for the file cloudbees_openfeature_provider_python-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for cloudbees_openfeature_provider_python-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a79a9b78412a5aa2a32ebb6ba5c830fa2eae33d25260455cf51402052413d050
MD5 663a700f68a4eb73e574142999c35076
BLAKE2b-256 b3c35cfe1db773eb731a42e761766caeecf0b812c13c8ee62e819ddf17df0d26

See more details on using hashes here.

Supported by

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