Explainable, safety-first data quality, validation, cleaning, and drift analysis.
Project description
AxiomBraid 2.0
Explainable, safety-first data quality for Python.
AxiomBraid inspects, validates, cleans, compares, and monitors tabular datasets while keeping automated changes conservative, visible, and reproducible.
Installation
pip install axiombraid
Windows:
py -m pip install axiombraid
Optional charts:
pip install "axiombraid[charts]"
Quick start
import axiombraid as AB
result = AB.inspect("students.csv")
AB.report("students.csv")
cleaned = AB.clean("students.csv", risk="low")
AB.export_html("students.csv", "reports/students.html", theme="dark")
Version 2 explainability
result = AB.inspect(
"students.csv",
include_confidence=True,
include_quality_profile=True,
)
AB.report(
"students.csv",
include_confidence=True,
include_quality_profile=True,
)
The quality profile explains Completeness, Uniqueness, Validity, Consistency, and Integrity. Confidence represents evidence strength, not calibrated probability.
Controlled evaluation
clean = AB.read_csv("clean.csv")
corrupted, truth = AB.inject_issues(clean, missing_rate=0.05, duplicate_rate=0.05, invalid_range_rate=0.05, random_state=42)
results = AB.run_evaluation(clean, corruption_config={"missing_rate": 0.05, "duplicate_rate": 0.05, "invalid_range_rate": 0.05, "random_state": 42})
Evaluation metrics operate at issue/column granularity.
Main capabilities
- Missing values, duplicates, constants, identifiers, outliers, suspicious ranges, text inconsistencies, and date-like text
- Explainable dataset, column, and five-dimensional quality scoring
- Evidence-aware confidence with readable console and HTML reports
- Preview-first, risk-classified, reversible cleaning
- Validation contracts, fingerprints, leakage screening, schema comparison, and drift history
- Controlled synthetic corruption with exact ground truth
- Precision, recall, F1, confidence diagnostics, quality-response evaluation, and benchmarks
- Streaming, caching, plugins, batch processing, CLI, and Roman Urdu reports
Safety
AxiomBraid does not silently delete outliers, clip invalid values, drop identifiers, or mutate input DataFrames through the functional API.
Diagnostics
print(AB.about())
print(AB.self_check())
print(AB.compatibility_check())
CLI
py -m axiombraid --version
py -m axiombraid inspect data.csv --confidence --quality-profile
py -m axiombraid evaluate clean.csv --output reports/evaluation
py -m axiombraid benchmark data.csv --repeats 3 --output reports/benchmark.json
License: MIT
Repository: https://github.com/Adil307/AxiomBraid
Source-code documentation with Doxygen
AxiomBraid 2.0.0 includes final Doxygen configuration for modules, classes, functions, docstrings, source browsing, examples, and Graphviz diagrams.
Install the tools on Windows:
winget install --id DimitriVanHeesch.Doxygen -e
winget install --id Graphviz.Graphviz -e
Generate and open the documentation without PowerShell execution-policy issues:
.\generate_doxygen.cmd
The generated main page is:
docs/doxygen/html/index.html
See docs/DOXYGEN.md for setup, troubleshooting, CI artifact generation, and reviewer-sharing instructions.
Project details
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 axiombraid-2.0.1.tar.gz.
File metadata
- Download URL: axiombraid-2.0.1.tar.gz
- Upload date:
- Size: 115.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3bf35c276b697c703c8ec1ce143724cd0b08797cdb798cede05b738b35d4c1ab
|
|
| MD5 |
24aa2e060170568c5201322bc8ead0ff
|
|
| BLAKE2b-256 |
855c0023516f5676c7b647148ba64b6db320e4a8a91948fdc69a6b240014da6f
|
File details
Details for the file axiombraid-2.0.1-py3-none-any.whl.
File metadata
- Download URL: axiombraid-2.0.1-py3-none-any.whl
- Upload date:
- Size: 77.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d07fa006c5cf9a594a38970ec44d64cdb10ac379edd974b8690a1848a5362c1
|
|
| MD5 |
8d31c82c16da83629f576872bf6f2437
|
|
| BLAKE2b-256 |
55f6b1f12fcc8b958887ecb58f7af69cad357781c82adaa15ca061310b50d625
|