CloudBees.com OpenFeature SDK
Project description
CloudBees Feature Management provider for OpenFeature
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cloudbees_openfeature_provider_python-0.1.7.tar.gz.
File metadata
- Download URL: cloudbees_openfeature_provider_python-0.1.7.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ced68235cc49af9a242969c286c1613f8c7503991e39b9a33b2d6543d358902
|
|
| MD5 |
d735faddc507159e6090ccb697c8a87c
|
|
| BLAKE2b-256 |
b82776cab3b87353ececa1bb0aa7b4c68a6c2daf2202710d13178903deeef2ef
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cloudbees_openfeature_provider_python-0.1.7.tar.gz -
Subject digest:
8ced68235cc49af9a242969c286c1613f8c7503991e39b9a33b2d6543d358902 - Sigstore transparency entry: 204650054
- Sigstore integration time:
-
Permalink:
rollout/cloudbees-openfeature-provider-python@af2545545927d311ba1fea4edf3fb0a8738fb3ed -
Branch / Tag:
refs/heads/main - Owner: https://github.com/rollout
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@af2545545927d311ba1fea4edf3fb0a8738fb3ed -
Trigger Event:
push
-
Statement type:
File details
Details for the file cloudbees_openfeature_provider_python-0.1.7-py3-none-any.whl.
File metadata
- Download URL: cloudbees_openfeature_provider_python-0.1.7-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b1a6b40acbdd700f6d3e732d1d532667238fd87019ebdc40bbeebe8a2ac78ae
|
|
| MD5 |
d673a58fef276900e790465d8cdfbc40
|
|
| BLAKE2b-256 |
e4bf60a3946bdf7e0eccc42ded6e2eb954915471239639a3b8c1f2636457b12c
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cloudbees_openfeature_provider_python-0.1.7-py3-none-any.whl -
Subject digest:
1b1a6b40acbdd700f6d3e732d1d532667238fd87019ebdc40bbeebe8a2ac78ae - Sigstore transparency entry: 204650060
- Sigstore integration time:
-
Permalink:
rollout/cloudbees-openfeature-provider-python@af2545545927d311ba1fea4edf3fb0a8738fb3ed -
Branch / Tag:
refs/heads/main - Owner: https://github.com/rollout
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@af2545545927d311ba1fea4edf3fb0a8738fb3ed -
Trigger Event:
push
-
Statement type: