flagpact
Check a Flagsmith config change against every app version before you publish it.
A Flagsmith remote-config value changes, and the apps that read it get the new value at once. An old build still in people's hands can crash the moment you save. flagpact replays each app version's own tests against the new value, shows which versions would break and how many users are on them, and keeps those versions on the previous value with a segment on app_version.
Install
pip install flagpact
Python 3.10 or newer.
Use
Check a pending value against every app version. It exits 1 if a version would break, and 0 if none would:
flagpact check --value new.json --config flagpact.json
Read a public GitHub repository (or a local folder) and draft a flagpact.json. Release tags such as v1.0.0 and v2.0.0 each become an app version:
flagpact import https://github.com/owner/repo --out flagpact.json
Open the local console, against a Flagsmith on your own machine:
flagpact-server .flagpact-keys.env flagpact.json
More
The console, the one-command demo, the GitHub Action, the agent skill for the Flagsmith CLI, and the full documentation are in the repository: https://github.com/Nithinaug/flagpact
flagpact writes only to a Flagsmith on 127.0.0.1 or localhost. It is MIT licensed.
Metadata
Release files for flagpact 0.1.1
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 |
|---|---|---|---|---|
| flagpact-0.1.1.tar.gz | 321.2 kB | Without provenance | Details for flagpact-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flagpact-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for flagpact-0.1.1-py3-none-any.whl |
Total release size: 629.1 kB
Release files / flagpact-0.1.1.tar.gz
| Download URL | flagpact-0.1.1.tar.gz |
|---|---|
| Size | 321.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
46731ab58f1292ac91f0a2001e3c2117edde9e0e96503c6494a68c7c3fa75902
|
|
BLAKE2b-256 checksum How to use checksums |
7dd00994732c1cc2ccfc86d6f050760ac1610249122bfa7e3f53d4743c6c4b2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / flagpact-0.1.1-py3-none-any.whl
| Download URL | flagpact-0.1.1-py3-none-any.whl |
|---|---|
| Size | 308.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
633663243ed02c865d8411bdfdb01fff503183aa383f6d392d87b594497ac3ef
|
|
BLAKE2b-256 checksum How to use checksums |
9025dca3110ce0c3d282072cca0e623d5c120a76a3a575e6df5d18985f3ecba9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for flagpact 0.1.1
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.