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 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

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

File details

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

File metadata

File hashes

Hashes for cloudbees_openfeature_provider_python-0.1.7.tar.gz
Algorithm Hash digest
SHA256 8ced68235cc49af9a242969c286c1613f8c7503991e39b9a33b2d6543d358902
MD5 d735faddc507159e6090ccb697c8a87c
BLAKE2b-256 b82776cab3b87353ececa1bb0aa7b4c68a6c2daf2202710d13178903deeef2ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for cloudbees_openfeature_provider_python-0.1.7.tar.gz:

Publisher: release-please.yml on rollout/cloudbees-openfeature-provider-python

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

File details

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

File metadata

File hashes

Hashes for cloudbees_openfeature_provider_python-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 1b1a6b40acbdd700f6d3e732d1d532667238fd87019ebdc40bbeebe8a2ac78ae
MD5 d673a58fef276900e790465d8cdfbc40
BLAKE2b-256 e4bf60a3946bdf7e0eccc42ded6e2eb954915471239639a3b8c1f2636457b12c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cloudbees_openfeature_provider_python-0.1.7-py3-none-any.whl:

Publisher: release-please.yml on rollout/cloudbees-openfeature-provider-python

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