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.2.0.tar.gz (5.7 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.2.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file bandeira-0.2.0.tar.gz.

File metadata

  • Download URL: bandeira-0.2.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bandeira-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7e8587ff6631c4fce0db0719e8e3107a37ef223299c0be712b92f59288042b85
MD5 a18eaeb3d6c691c91d3e85ee9a6b8da4
BLAKE2b-256 6c270991abfff67571c638f08b1deeba9599c86ecd93a4b6be8d97b2ff33a78b

See more details on using hashes here.

Provenance

The following attestation bundles were made for bandeira-0.2.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.2.0-py3-none-any.whl.

File metadata

  • Download URL: bandeira-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ecfe951e016bfdd6eb47120df4c45ab97518f70393f15c481ae24e08567583c
MD5 579c34d8d9918af9c3b39d561f96474a
BLAKE2b-256 063e84661cc9a393825bef8a3ffb77c4a1f26945fafb2989743238c4c17ed5a0

See more details on using hashes here.

Provenance

The following attestation bundles were made for bandeira-0.2.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