recordchaos for Python
The Python package and pytest plugin for recordchaos, built from the same Rust core as the command-line tool.
Status: planned. Nothing is published yet. Until then, build it from the root of a clone of the repository (needs Rust):
pip install ./python
import recordchaos
@recordchaos.cases("scenarios/late-correction.toml")
def test_importer(case):
store = MyImporter()
for step in case.steps: # usually one bundle; two for correction sequences
store.load(step) # dict
case.check(view={
"latest_glucose": store.latest("synthetic-glucose"),
"patient_count": store.patient_count(),
})
- Each case becomes one pytest item, named by case id and operator.
- The scenario path is relative to the folder you run pytest from.
case.check(view=...)runs the same oracles as the command-line tool and raises a readable assertion with the finding sentence.- If your importer rejects a bundle, call
case.check(view={}, rejected=True). Any other exception from your importer counts as a crash. Its fingerprint is the exception type and the file and line that raised it, so one bug gives one finding even when the message changes from case to case. pytest --recordchaos-shrinkre-runs a failing test with fewer mutations until the fewest that still fail are left.pytest --recordchaos-report results/writes the same report.html, results.json and junit.xml.- Like
recordchaos run, the plugin refuses a base bundle that fails the schema, has a broken reference, or has values that look like real identifiers. Pass--recordchaos-confirm-syntheticonly for a bundle you know is synthetic; the check is a heuristic and does not prove that a bundle is de-identified. - Check that the plugin is registered with
pytest --trace-config.
Synthetic test data only. HL7, FHIR and the FHIR [FLAME DESIGN] are the registered trademarks of Health Level Seven International and their use does not constitute endorsement by HL7.
Metadata
Release files for recordchaos 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 |
|---|---|---|---|---|
| recordchaos-0.1.0.tar.gz | 521.4 kB | Without provenance | Details for recordchaos-0.1.0.tar.gz |
Built distributions (wheels)
Total release size: 27.2 MB
Release files / recordchaos-0.1.0.tar.gz
| Download URL | recordchaos-0.1.0.tar.gz |
|---|---|
| Size | 521.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae5adb793160506770b3832b675757bfc9050ed21de1cd69fc1270a36d2a01dc
|
|
BLAKE2b-256 checksum How to use checksums |
0ec0f16212efce40bd6d7078887f6655fae6b4df5a3ea152547e302cc2815527
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / recordchaos-0.1.0-cp310-abi3-win_arm64.whl
| Download URL | recordchaos-0.1.0-cp310-abi3-win_arm64.whl |
|---|---|
| Size | 3.4 MB |
| Tags | CPython 3.10 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
91709b1bed5629ec81fe6395e34f96f96d9fcb29f41886378d5d8c4619f38ee2
|
|
BLAKE2b-256 checksum How to use checksums |
6fa679f002222a365ee91e4d6f1886cb9a0e32826a2438a6a375ee953bc13275
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / recordchaos-0.1.0-cp310-abi3-win_amd64.whl
| Download URL | recordchaos-0.1.0-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 3.9 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
e32525bb298177ec20e3e1f26628e2c18635d26c93093e57001fea23ba651383
|
|
BLAKE2b-256 checksum How to use checksums |
17ae52424ef99554cc22062742a27eee9290d1e60c20db22f6324260eac2f027
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / recordchaos-0.1.0-cp310-abi3-win32.whl
| Download URL | recordchaos-0.1.0-cp310-abi3-win32.whl |
|---|---|
| Size | 3.3 MB |
| Tags | CPython 3.10 Windows x86-32 abi3 |
|
SHA-256 checksum How to use checksums |
5873e773f90290ee889a857ab30c1914799958857c185d33179b1594885fcab3
|
|
BLAKE2b-256 checksum How to use checksums |
2fd278d50c0daf5eb00c50d37005026526e5f03aa2676738e5fe9b09f5ddcb5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / recordchaos-0.1.0-cp310-abi3-manylinux_2_28_x86_64.whl
| Download URL | recordchaos-0.1.0-cp310-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 4.2 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
97fcf49597ad0726020c99968ac6ad0b63e9c337528209c81c1afa736f1dea3f
|
|
BLAKE2b-256 checksum How to use checksums |
9618b359c9c14cf3743041348c65eb5e7d93165393d69c6799dc44fc8175bde5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / recordchaos-0.1.0-cp310-abi3-manylinux_2_28_aarch64.whl
| Download URL | recordchaos-0.1.0-cp310-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 4.1 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
153f4fc62403f2b9a017d27e85a6db0229021bf15d7a3380b9e0350c0df4ddbe
|
|
BLAKE2b-256 checksum How to use checksums |
f98c7abd0813b67dd97e3e3b31519262d8f128a89a7ac6eba2b77a6c6a83d901
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / recordchaos-0.1.0-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | recordchaos-0.1.0-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.7 MB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
1c9eaa75d40036ea02f57575ba83aa90787bbc47a6de21ba713335cff7cfd099
|
|
BLAKE2b-256 checksum How to use checksums |
ac4d3a5cba8baa5653d4917745c6c1e7a1c1189e01508db46ca0228984ba3313
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / recordchaos-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | recordchaos-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 3.9 MB |
| Tags | CPython 3.10 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
13829aefa077ab8cd1c05588683eca4f5537e67d6cb952883bf2e216c35a3ed7
|
|
BLAKE2b-256 checksum How to use checksums |
7840466a922e775fa3baa1c5266678876a3513e32ace2f1ead3f67252891c889
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for recordchaos 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.
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.