Local profiling · Python + Rust

Know your data before it ships.

Find missing values, inferred types and unusual values in files or tables. Set quality limits and get a pass, fail or inconclusive result.

Runs on your machine. Deterministic analysis.
Open source under MIT or Apache-2.0.

An example report

orders.csv

8 rows · 3 columns · full scan

ColumnTypeNulls
order_idinteger0%
amountinteger0%
regionstring25%

amount
Median 30 · range 10–60

Amount frequencies: 10 occurs once, 20 twice, 30 three times, 40 once, 50 zero times, 60 once

Quality score93.19 / 100

Gate: fail

Why it fails: region has 2 missing cells out of 8, above the 20% null limit. The score meets the minimum of 90.

Default analysis of this CSV with dataprof 0.13.1. The report also flags the small sample size.

Try it on a small dataset

From CSV to a quality check

Use the same data as the report above. Then replace it with your own file.

1 Install the package

Python 3.11–3.15. The package has no Python dependencies.

python -m pip install dataprof

2 Get the example data

Save orders.csv in your working directory, beside your script.

3 Profile and check

Python
import dataprof as dp

report = dp.profile("orders.csv")
print(report.quality_score)
print(report["region"].null_percentage)

result = report.check(
    min_quality_score=90,
    max_null_percentage={"*": 20},
)
print(result.verdict)
report.save("report.json")

Output

93.19
25.0
fail

The score passes. The null check fails: 25% of region is missing.

The full report is saved to report.json.

Python API guide
Use the same check in CI
python -m dataprof.check orders.csv --min-quality 90 --max-null "*=20"

This CSV exits with code 1. Exit codes: 0 pass, 1 fail, 2 inconclusive, 3 input, policy or output error.

Read the data. Keep the evidence.

A report you can use in your pipeline

Understand each column

Inspect types, null counts, numeric summaries, patterns and distinct values. Save a report to compare it with a later run.

Choose your quality limits

Set a minimum score or limits on missing values. Gates return pass, fail or inconclusive when the evidence cannot settle a check.

See what was analyzed

Reports record the analyzed population. Uncomputed metrics stay missing, and estimates are marked so you can judge their limits.

Serialized metrics are checked across input paths and engines against a documented numeric contract.

Supported inputs

Start with the data you have

Files, in-memory tables and streams use a shared report model.

Files

CSV, JSON, JSONL and Parquet.

CSV detects comma, semicolon, pipe and tab delimiters. JSON accepts an array of objects; JSONL accepts one object per line.

Python tables and bytes

pandas and polars DataFrames, Arrow tables, batches and streams.

Also accepts dictionaries, bytes and BytesIO. Byte inputs require a format. Table libraries are optional.

Async and database sources

Async byte streams and database queries.

PostgreSQL, MySQL and SQLite need a source build with connector features. The incremental engine uses bounded accumulators.

The quality model

A score with evidence behind it

Quality analysis assesses up to seven dimensions, informed by ISO 8000-8 and ISO/IEC 25012. The aggregate uses only dimensions the data supports.

A score can pass while an individual check fails, as in the CSV above. Choose limits that fit your data.

Completeness
Missing cells and fully populated rows.
Consistency
Type consistency, format and encoding issues.
Uniqueness
Duplicate rows and key uniqueness.
Accuracy
Outliers and range violations.
Timeliness
Future dates and stale timestamps.
Validity
Conformance to detected semantic patterns.
Precision
Decimal scale in floating-point columns.

Benchmark evidence

Inspect the profiling costs

Explore timings, variation and workload details from CI artifacts. The benchmark pages explain the measurement boundaries and how to reproduce a run.

Browse benchmarks

Keep going

Documentation and project links