Skip to content

finprint.cli

module finprint

finprint: show, verify, apply, export and schema.

  • finprint show <recipe>: the step list in plain words.
  • finprint verify <recipe> [--inputs DIR] [--catalogue URL] [--dry-run] [--trust]: replay and compare; writes the verification back into the recipe unless --dry-run. Exit 0 when reproduced, 1 otherwise. A named step whose code was not recorded on this machine is printed first and runs only with --trust (or after a “yes” at the prompt when the terminal is interactive).
  • finprint apply <recipe> --input <name>=<path> [--input ...] -o <out.csv> [--trust] [--json]: run the recipe’s steps on new inputs of the same shape (bound by input id, name or file basename) and write the result. No hash is compared (that is verify); a step that addresses rows by position or label, or that adds or removes other columns on the new data, refuses. Exit 0 only when applied; nothing is written otherwise. Untrusted named-step code is printed and runs only with --trust.
  • finprint export <recipe> --format openlineage|prov [-o FILE].
  • finprint schema [-o FILE]: the JSON Schema of the recipe file.

function

def main(argv: list[str] | None = None) -> int

Source: packages/finprint/src/finprint/cli.py, line 39