Skip to main content

Agua # Agua

A system that helps you test the coverage and accuracy of your data applications.

Installation

pip install agua

Example Usage

cd example
agua test
Test results for example.csv
        Column: name vs final_name
Coverage (3/4): ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇   75.00%
Accuracy (2/3): ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇   66.67%

        Column: age vs test_age
Coverage (4/4): ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇  100.00%
Accuracy (4/4): ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇  100.00%

        Column: fruit vs test_fruit
Coverage (4/4): ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇  100.00%
Accuracy (4/4): ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇  100.00%

Configuration

Check out example/agua.yml for configuration options.

To compare columns, you may use one of the existing comparators or specify a python path to a callable. Check out agua/comparators.py for example comparators.

List built-in comparators with,

agua list

Any keyword arguments that need to be passed to the comparator may be specified with a kwargs parameter

Graphs are printed with a slightly modified version of termgraph

Metadata

Release files for agua 0.1.1

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

Source distribution (sdist)

Source distribution for agua 0.1.1
File Size Uploaded
agua-0.1.1.tar.gz 5.0 kB Details

Release files / agua-0.1.1.tar.gz

Download URL agua-0.1.1.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b6ad1fd04433007cce8d40972e145198718d0d76a023d28d26948ffb4db4e2fa
BLAKE2b-256 checksum
How to use checksums
acc2a3dc7e69c59194cee1ae627b4882d04dcbc5931b43af38b4d7f84ada1c06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1

1 release file

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