Repository navigation
Releases
Table Contract Check 0.4.0
Workflows can now require a minimum number of distinct result keys shared by both tables. Set min_matched_rows = 1 in a TOML contract to reject two header-only exports when results are required. The report still shows the observed and required counts with --limit 0. Older contracts keep their existing behavior.
The published wheel installed offline and passed the comparison tests on Ubuntu, Windows, and macOS. Verify the wheel or source distribution against SHA256SUMS.txt. Check conda-forge availability before using the new option from that channel.
Table Contract Check v0.3.0
Generate a starter TOML contract from a CSV or TSV header with --init. Choose the key, numeric, and ignored columns explicitly. Numeric tolerances start at zero.
Use --output PATH to create a new contract file, or omit --output for UTF-8 stdout. An existing output file is left intact.
table-contract-check --init results.csv --key sample --numeric estimate --output results.tomlAll 18 tests passed in the Linux and Windows CI matrix on Python 3.11 and 3.14. The wheel and source distribution passed metadata checks. The installed wheel generated a contract and caught the expected differences.
Table Contract Check 0.2.1
Zero-tolerance comparisons now compare finite decimal values exactly. Very small nonzero differences are reported, and equivalent values with large exponents match.
All 12 tests passed in the Windows and Ubuntu CI matrix with Python 3.11 and 3.14. The attached Python wheel was built from the tested source and passed an installation and CLI smoke check.
Table Contract Check 0.2.0
Table Contract Check 0.1.0
Changelog
0.1.0
- Compare UTF-8 result tables by one or more identifying columns.
- Report schema and row changes, exact text changes, and numerical deviations outside the declared tolerance.
- Print readable or JSON reports with separate exit codes for differences and input errors.
- Include a worked comparison and CI setup guide.