Official Python client SDK for Bandeira feature flag service
Project description
Bandeira Python SDK
Official Python client SDK for Bandeira, a self-hosted feature flag service.
Install
pip install bandeira
Usage
from bandeira import BandeiraClient, Config, Context
client = BandeiraClient(Config(
url="http://localhost:8080",
token="your-client-token",
))
client.start()
if client.is_enabled("my-flag", Context(user_id="user-123")):
# feature is on
pass
client.close()
Project details
Release history Release notifications | RSS feed
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 bandeira-0.1.0.tar.gz.
File metadata
- Download URL: bandeira-0.1.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ce4c2ce8d0fde2d50650befd8ba01965631641208c6c4006b94d21301890858
|
|
| MD5 |
94237584e639a33e200f0913d4cf990e
|
|
| BLAKE2b-256 |
67e85c74782c1edcb3b521007215f0cf650f9a7a1c1a620122b3084eff65deec
|
Provenance
The following attestation bundles were made for bandeira-0.1.0.tar.gz:
Publisher:
python.yml on felipekafuri/bandeira-sdks
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bandeira-0.1.0.tar.gz -
Subject digest:
1ce4c2ce8d0fde2d50650befd8ba01965631641208c6c4006b94d21301890858 - Sigstore transparency entry: 969548482
- Sigstore integration time:
-
Permalink:
felipekafuri/bandeira-sdks@e40baeffeafa6909f46599f0b8c017edac6ebf35 -
Branch / Tag:
refs/tags/python/v0.1.0 - Owner: https://github.com/felipekafuri
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python.yml@e40baeffeafa6909f46599f0b8c017edac6ebf35 -
Trigger Event:
push
-
Statement type:
File details
Details for the file bandeira-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bandeira-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b6f5f4d31ee668c6ebd19e038334af3df7c7d754c4fcee7bf15fb01335e0fe4
|
|
| MD5 |
b0ca53e094ea32ec75d082c94c7c7207
|
|
| BLAKE2b-256 |
fb4f4b3094e9dbda9c1c5ce7ee0e84802589f3bea6b4f902ea2ca020c21348c9
|
Provenance
The following attestation bundles were made for bandeira-0.1.0-py3-none-any.whl:
Publisher:
python.yml on felipekafuri/bandeira-sdks
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bandeira-0.1.0-py3-none-any.whl -
Subject digest:
8b6f5f4d31ee668c6ebd19e038334af3df7c7d754c4fcee7bf15fb01335e0fe4 - Sigstore transparency entry: 969548484
- Sigstore integration time:
-
Permalink:
felipekafuri/bandeira-sdks@e40baeffeafa6909f46599f0b8c017edac6ebf35 -
Branch / Tag:
refs/tags/python/v0.1.0 - Owner: https://github.com/felipekafuri
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python.yml@e40baeffeafa6909f46599f0b8c017edac6ebf35 -
Trigger Event:
push
-
Statement type: