flagbearer
Python SDK for Flagbearer. Downloads an environment's ruleset and evaluates flags locally for each user, without making a network request for every flag check. Requires Python 3.10 or later and has no dependencies.
pip install flagbearer-dev
Docs
Keys, syncing at startup, per-request checks, shutdown and exposures are covered at docs.flagbearer.dev/sdks/python.
Development
Requires uv. From this directory:
uv run pytest
The tests include the shared evaluation fixtures in
fixtures/evaluation.json,
which the Node SDK also runs.
Integration tests
Flagbearer's integration tests run this SDK against the real backend through
testing/servers/python-server.py.
Metadata
Release files for flagbearer-dev 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flagbearer_dev-0.1.0.tar.gz | 28.6 kB | With provenance | Details for flagbearer_dev-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flagbearer_dev-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for flagbearer_dev-0.1.0-py3-none-any.whl |
Total release size: 45.0 kB
Release files / flagbearer_dev-0.1.0.tar.gz
| Download URL | flagbearer_dev-0.1.0.tar.gz |
|---|---|
| Size | 28.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
518ba90e422e585ee2bd591ba6d4228f1e47341a44f7b52ea1c8a87404027177
|
|
BLAKE2b-256 checksum How to use checksums |
04dbeb3bffe8a62089cd7df50ef70e56b70aab927ad91868a1feb9da2cc12717
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / flagbearer_dev-0.1.0-py3-none-any.whl
| Download URL | flagbearer_dev-0.1.0-py3-none-any.whl |
|---|---|
| Size | 16.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e8070061a511e26e545bbd706e07485c077a1559b9f78f280f6a4179939c8c4
|
|
BLAKE2b-256 checksum How to use checksums |
23b7cb1edff887a5a3f223dd25490f57cc126a623eccf2c68cb32227392a079d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logSecurity for flagbearer-dev 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for flagbearer_dev-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.