Skip to main content

Lightweight dataset quality checks for CSV files

Project description

DataGuard

DataGuard is a lightweight Python package for basic dataset quality validation with both API and CLI support.

Features

  • Missing value detection
  • Duplicate row detection
  • Optional target column analysis
  • JSON report export
  • Command line interface

Installation

From TestPyPI:

pip install -i https://test.pypi.org/simple/ dataguard-lite

Local development:

pip install -e .

Usage (Python API)

from dataguard import validate_csv

report = validate_csv("data.csv", target="label")
report.summary()
report.to_json("report.json")

Usage (CLI)

dataguard data.csv
dataguard data.csv --target label
dataguard data.csv --json report.json

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

dataguard_lite-0.3.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dataguard_lite-0.3.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file dataguard_lite-0.3.0.tar.gz.

File metadata

  • Download URL: dataguard_lite-0.3.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for dataguard_lite-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1db8d9f3a7d226f3dd454817fd5370181bcf3561310ee1182303875c629cead3
MD5 df3d3bd48d0ca48276656da7e03e6972
BLAKE2b-256 fc78b3db812be21a4d093373bd7dbddc0d2160e7832d553d3a306e731da6de9f

See more details on using hashes here.

File details

Details for the file dataguard_lite-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: dataguard_lite-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for dataguard_lite-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d691896a16ffa8f88355ff0a60e1256a23dd689d52f111c271159d2915d90a6
MD5 cd70950b5e5f2c505a8fc8e1f605d7b0
BLAKE2b-256 cebecb9b93dba365532baeddd3b6b574332ec6517e10b5c4793b9c27d25f0261

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page