Repository navigation
DataSpector v1.0.0
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&cobollerCLI):- 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 NUTF-16,PIC UUTF-8 +BYTE-LENGTH,PIC GDBCS,PIC 1USAGE BIT,POINTER/INDEX,OCCURS,REDEFINES, and level-88 condition names. - Generates Pandera validation schemas directly from COBOL copybooks (
Copybook.to_pandera_schema).
- Converts fixed-width and compressed binary COBOL files into CSV, TSV, JSON/JSONL, Excel, Parquet, or pandas DataFrames with chunked streaming (
- Format-Agnostic Data-Integrity Checks (
dataspector.checkers&dataspectorCLI):- Unified
GenericDatainterface 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.
- Unified
- Documentation: https://aberndsen.github.io/dataspector/
Installation
pip install dataspector
# or with uv
uv add dataspector