Skip to main content

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


Download files

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

Source Distribution

bandeira-0.1.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

bandeira-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

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

Hashes for bandeira-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1ce4c2ce8d0fde2d50650befd8ba01965631641208c6c4006b94d21301890858
MD5 94237584e639a33e200f0913d4cf990e
BLAKE2b-256 67e85c74782c1edcb3b521007215f0cf650f9a7a1c1a620122b3084eff65deec

See more details on using hashes here.

Provenance

The following attestation bundles were made for bandeira-0.1.0.tar.gz:

Publisher: python.yml on felipekafuri/bandeira-sdks

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

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

Hashes for bandeira-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8b6f5f4d31ee668c6ebd19e038334af3df7c7d754c4fcee7bf15fb01335e0fe4
MD5 b0ca53e094ea32ec75d082c94c7c7207
BLAKE2b-256 fb4f4b3094e9dbda9c1c5ce7ee0e84802589f3bea6b4f902ea2ca020c21348c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for bandeira-0.1.0-py3-none-any.whl:

Publisher: python.yml on felipekafuri/bandeira-sdks

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