Skip to main content

us-water-quality-data for Python

Versioned U.S. water-system evidence by ZIP for Python. Its bundled JSON is generated from the same open export as the JavaScript package and preserves measured zero, measured false, and unavailable evidence as different states.

import us_water_quality_data as water

record = water.lookup("10001")
print(record)
print(water.meta["total_zips"])

The package provides lookup, get_state, get_worst, get_best, states, count, zips, and search_city. Read coverage counts, source vintage, and field definitions from water.meta; they vary by version.

The copper field is copper_action_level_exceedance, not a concentration. It is True only when an accepted CU90 exceedance record exists and None when unknown. Nullable violation, CCR, enforcement, lead, radon, score, and grade fields must not be converted to reassuring zeros or false values.

lead_level_mg_l is normalized only from a source row with an explicit supported unit. Values at or above 1 mg/L are held for source review and are never divided by 1000 automatically. contaminant_count and health_contaminant_names are None when water_data_available is false.

Home Safety Score fields follow the model version recorded by the source export and remain unavailable when required domain coverage is incomplete. The data is system-level and geographically joined evidence, not tap-level sampling, a property inspection, or a guarantee of safety.

License: CC BY 4.0. Full source and methodology details: zipcheckup.com.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

us_water_quality_data-2026.8.20.tar.gz (6.5 MB view details)

Uploaded Source

Built Distribution

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

us_water_quality_data-2026.8.20-py3-none-any.whl (7.0 MB view details)

Uploaded Python 3

File details

Details for the file us_water_quality_data-2026.8.20.tar.gz.

File metadata

File hashes

Hashes for us_water_quality_data-2026.8.20.tar.gz
Algorithm Hash digest
SHA256 f81b691a86b30a9b4a207c29e1f198d84d552c8fc6fff2df88442bbf6b3e4c6a
MD5 d87672367fcea47113356285be43748f
BLAKE2b-256 c3a3b3c0f6f2bedde9a3955f8dec1e35002821c6ce635de935fe783d16b00863

See more details on using hashes here.

File details

Details for the file us_water_quality_data-2026.8.20-py3-none-any.whl.

File metadata

File hashes

Hashes for us_water_quality_data-2026.8.20-py3-none-any.whl
Algorithm Hash digest
SHA256 d2abfadb98390293492227a30b4ef94cacbd52eefc95e74b52d736f3626735be
MD5 ddc1c71c8a1b50370b289d619cad33d4
BLAKE2b-256 974eb53d433928c4c191f00c9a66a225135c465af69ea484eb9b2615934a2e00

See more details on using hashes here.

Release history Release notifications | RSS feed

2026.8.23

2 files

This release

2026.8.20 This release

2 files

2026.8.19

2 files

2026.8.17

2 files

2026.8.16

2 files

2026.7.26

2 files

2026.7.22

2 files

2026.7.19

2 files

2026.7.12

2 files

2026.7.5

2 files

2026.6.28

2 files

2026.6.21

2 files

2026.6.14

2 files

2026.6.7

2 files

2026.5.31

2 files

2026.5.24

2 files

2026.5.17

2 files

2026.5.11

2 files

2026.5.10

2 files

2026.5.3

2 files

2026.4.26

2 files

2026.4.19

2 files

2026.3.17

2 files

Supported by

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