cutover
Prove that nothing changed. Compare two tables before a migration's consumers are repointed, and get the two numbers that end the argument: 0/0 mismatches across N columns and K/K partitions with an identical fingerprint.
pip install cutover
cutover old.parquet new.parquet --key id --partition date --tol amount=0.01 --html report.html
import cutover
report = cutover.compare(old, new, key=["id"], partition="date", tolerance={"amount": 0.01})
report.passed # True / False
report.reasons # [] or ["rows_only_in_old", "column_mismatch:amount", ...]
open("report.html", "w").write(report.to_html())
Sources: .parquet, .csv, duckdb:///file.db?table=t, sqlite:///file.db?table=t,
postgres://…?table=t (via the DuckDB postgres extension), or a pyarrow.Table /
pandas.DataFrame / polars.DataFrame. pip install cutover[bigquery] adds
cutover.from_bigquery(sql).
Exit codes: 0 PASS · 1 FAIL · 2 error. Apache-2.0.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cutover-0.1.0.tar.gz.
File metadata
- Download URL: cutover-0.1.0.tar.gz
- Upload date:
- Size: 109.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
947249974f604c0e0454917e46065e285b13cab63d55940a22bba2100677e53e
|
|
| MD5 |
20df638e74da7d7e5cd5161def60f316
|
|
| BLAKE2b-256 |
6587cb27b4751301056e6c58c54f850c07199083e3866c6ff04c17e285f799ac
|
Provenance
The following attestation bundles were made for cutover-0.1.0.tar.gz:
Publisher:
publish.yml on sandovabarbora/cutover
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cutover-0.1.0.tar.gz -
Subject digest:
947249974f604c0e0454917e46065e285b13cab63d55940a22bba2100677e53e - Sigstore transparency entry: 2842405575
- Sigstore integration time:
-
Permalink:
sandovabarbora/cutover@3bf9b72e023fa88ed05004a5d7e57d7da053720b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/sandovabarbora
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3bf9b72e023fa88ed05004a5d7e57d7da053720b -
Trigger Event:
push
-
Statement type:
File details
Details for the file cutover-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cutover-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9ea537d6f3a78590cdef522f92afb881bf40d4759e178575c754d01c9e9fcbd
|
|
| MD5 |
8a8abc75b48d1a441e275641f2034480
|
|
| BLAKE2b-256 |
cbe002cbf7b081fe0cd39062f6b6d30d4861ba64a55fc9c8000f775dca526f38
|
Provenance
The following attestation bundles were made for cutover-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on sandovabarbora/cutover
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cutover-0.1.0-py3-none-any.whl -
Subject digest:
e9ea537d6f3a78590cdef522f92afb881bf40d4759e178575c754d01c9e9fcbd - Sigstore transparency entry: 2842405647
- Sigstore integration time:
-
Permalink:
sandovabarbora/cutover@3bf9b72e023fa88ed05004a5d7e57d7da053720b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/sandovabarbora
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3bf9b72e023fa88ed05004a5d7e57d7da053720b -
Trigger Event:
push
-
Statement type: