Skip to content

DataSpector v1.0.0

Choose a tag to compare

@aberndsen aberndsen released this 20 Nov 17:05
· 24 commits to main since this release

DataSpector v1.0.0

First public release of DataSpector — a format-agnostic Python data-integrity checker and COBOL/mainframe data converter.

Highlights

  • COBOL Copybook & Mainframe Data Engine (dataspector.coboller & coboller CLI):
    • Converts fixed-width and compressed binary COBOL files into CSV, TSV, JSON/JSONL, Excel, Parquet, or pandas DataFrames with chunked streaming (Copybook.yield_data, to_dataframe, convert, summary).
    • Supports EBCDIC/ASCII/Micro Focus zoned decimals (overpunch & separate signs), COMP-3 / PACKED-DECIMAL, COMP-6, COMP/COMP-4/COMP-5/COMP-X, BINARY-*, COMP-1/COMP-2 (IEEE 754 & IBM HFP), FLOAT-SHORT/FLOAT-LONG, external floats, numeric-edited (DECIMAL-POINT IS COMMA), PIC N UTF-16, PIC U UTF-8 + BYTE-LENGTH, PIC G DBCS, PIC 1 USAGE BIT, POINTER/INDEX, OCCURS, REDEFINES, and level-88 condition names.
    • Generates Pandera validation schemas directly from COBOL copybooks (Copybook.to_pandera_schema).
  • Format-Agnostic Data-Integrity Checks (dataspector.checkers & dataspector CLI):
    • Unified GenericData interface over CSV, delimited/fixed-width text, Excel, Parquet, JSON/JSONL, SQLite, ODBC databases, and COBOL copybook+data pairs.
    • Built-in source-level, cross-source, and streaming record-level checks plus declarative Pandera schema validation (record_validate_schema).
    • Batch execution via Excel driver workbooks and formatted Excel reports.
  • Documentation: https://aberndsen.github.io/dataspector/

Installation

pip install dataspector
# or with uv
uv add dataspector