qx-flags
Feature flag evaluation for Qx services via OpenFeature. Automatically injects
tenant_id and user_id from RequestContext into every flag evaluation.
Usage
from qx.flags import FlagClient, InMemoryFlag, InMemoryProvider
# Configure once at startup (swap for Unleash/FlagD in production)
FlagClient.configure(InMemoryProvider({
"new-checkout": InMemoryFlag("on", {"on": True, "off": False}),
}))
# Evaluate anywhere — context is injected automatically
flags = FlagClient()
if await flags.bool("new-checkout", default=False):
return await new_checkout(order)
Metadata
Release files for qx-flags 1.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 |
|---|---|---|---|---|
| qx_flags-1.1.0.tar.gz | 3.2 kB | Without provenance | Details for qx_flags-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qx_flags-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for qx_flags-1.1.0-py3-none-any.whl |
Total release size: 6.2 kB
Release files / qx_flags-1.1.0.tar.gz
| Download URL | qx_flags-1.1.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
073a3c0bf8aae9837f19556cd3c5f9a6b29052ff1e570a87e4a68a7c89a7f453
|
|
BLAKE2b-256 checksum How to use checksums |
f164c56ad76d330efbc2202adfad4966dc316518ccd3df7090ebcde086153e0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / qx_flags-1.1.0-py3-none-any.whl
| Download URL | qx_flags-1.1.0-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3fc9a5928f3121489fd7c70674d33cfc1ddc1bc4405cf1c73071f9e4021548f2
|
|
BLAKE2b-256 checksum How to use checksums |
453b97a5791481674f970cb68d6b40a96dea090b017e2bd7b6f40d68e8996aa5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for qx-flags 1.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.