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.
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
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 us_water_quality_data-2026.8.19.tar.gz.
File metadata
- Download URL: us_water_quality_data-2026.8.19.tar.gz
- Upload date:
- Size: 6.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3e9eae90e7a4b6535140082ed4909f57055098ea0cfb494b3bb7ec500e097c5
|
|
| MD5 |
210fb45d17e74d6c02bbe0984e1421aa
|
|
| BLAKE2b-256 |
bdfc8669885a8bea176bafb690086e24b31cef05e36c5b64d9f8cbbca49a9708
|
File details
Details for the file us_water_quality_data-2026.8.19-py3-none-any.whl.
File metadata
- Download URL: us_water_quality_data-2026.8.19-py3-none-any.whl
- Upload date:
- Size: 7.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
226506125060cdcb35d9b9fcf0d63b3ba37f43e6cd6497890a0304bdaab4e3e9
|
|
| MD5 |
41c11242531e9c2d74e99a81db13bc89
|
|
| BLAKE2b-256 |
f8d2c287a4d7c87613dbbf376c75a02b5abcbc0b48e75080fe37579edfdc1595
|