Skip to main content

datasanity

A tiny (<200 lines) CSV health-check + anomaly-detection tool.

It reports:

  • Missing value percentages
  • Duplicate row count
  • Cardinality per column
  • Basic anomaly score (z-score > 3)
  • Row + column summary

Install

pip install datasanity

Usage

from datasanity import analyze_csv, pretty_report

r = analyze_csv("data.csv")
print(pretty_report(r))

CLI Demo

python run_demo.py

Local Development

To install the package locally for development:

cd datasanity
pip install -e .

Building for Distribution

To create a distributable package:

pip install build
python -m build

This creates .whl and .tar.gz files in the dist/ directory that you can share or upload to PyPI.

Metadata

Release files for datasanity 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datasanity 0.1.0
File Size Uploaded Provenance
datasanity-0.1.0.tar.gz 3.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for datasanity 0.1.0
File Interpreter ABI Platform
datasanity-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.2 kB

Release files / datasanity-0.1.0.tar.gz

Download URL datasanity-0.1.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f767876b6fa982df10fe7adf15264ccb22586397f9a76c8f07a6b9d0ff1727ad
BLAKE2b-256 checksum
How to use checksums
9e2479272a5deb98e3cb43358591348a3af1b9a49069c573598131810d0143cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / datasanity-0.1.0-py3-none-any.whl

Download URL datasanity-0.1.0-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bfa6ad531feee475ec94c873ecf15622ba065ddc10cc7d648b6ad61e3e6a0dad
BLAKE2b-256 checksum
How to use checksums
db47c41f251a661e189bcd1e887ae6a0dfa75edee5d7504d1ce557b18b74daee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for datasanity 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page