czech_air_quality
Python library for retrieving and processing current air quality data from the CHMI OpenData portal, that provides data hourly.
Features:
- Fetch air quality report/pollutant measurements and EAQI data of a location.
- Resolve locations to the nearest physical weather station automatically using Nominatim.
- Ability to automatically fetch multiple close stations to get measurements of all pollutants at a location
- Caching mechanism
Installation
pip install czech_air_quality
Requirements:
Python3.10+requests>= 2.28.0geopy>= 2.3.0
Quick Start
from czech_air_quality import AirQuality
client = AirQuality()
aqi_level, description = client.get_air_quality_index("Prague")
print(f"AQI: {aqi_level} ({description})")
# Output: "AQI: 3 (Moderate)"
API documentation
References/docs can be found below, this library also supports full typing hints:
https://czech-air-quality.readthedocs.io
Data Source
Data from CHMI (Czech Hydrometeorological Institute) OpenData portal, updated hourly.
Metadata
Release files for czech-air-quality 2.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| czech_air_quality-2.0.3.tar.gz | 30.4 kB | With provenance | Details for czech_air_quality-2.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| czech_air_quality-2.0.3-py3-none-any.whl | Python 3 | none | any | Details for czech_air_quality-2.0.3-py3-none-any.whl |
Total release size: 58.1 kB
Release files / czech_air_quality-2.0.3.tar.gz
| Download URL | czech_air_quality-2.0.3.tar.gz |
|---|---|
| Size | 30.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
751668e747fd91685d6ee40df41e18d51cd834c73e56b5aa35bf4195d5ea6d53
|
|
BLAKE2b-256 checksum How to use checksums |
3eb0e8ac306528acf3f35ddbb9656d82c4f34f07a3afa503d1ce22b2eaa5cf22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 12, 2026.
Transparency logRelease files / czech_air_quality-2.0.3-py3-none-any.whl
| Download URL | czech_air_quality-2.0.3-py3-none-any.whl |
|---|---|
| Size | 27.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e5b99e21f09e94d24802cd9c2189ea6ff0aea63adb6d677724eeba0f753fce60
|
|
BLAKE2b-256 checksum How to use checksums |
0b91586a10de21778a60785be120aeb283b269f9b333d1741f1d93bf66ad8673
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 12, 2026.
Transparency logSecurity for czech-air-quality 2.0.3
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for czech_air_quality-2.0.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 12, 2026.
Transparency logA 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.