Skip to main content

czech_air_quality

PyPI - Version PyPI - Downloads PyPI - Typing

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:

  • Python 3.10+
  • requests >= 2.28.0
  • geopy >= 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)

Source distribution for czech-air-quality 2.0.3
File Size Uploaded
czech_air_quality-2.0.3.tar.gz 30.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for czech-air-quality 2.0.3
File Interpreter ABI Platform
czech_air_quality-2.0.3-py3-none-any.whl Python 3 none any Details

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 log

Release 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 log

Release history Release notifications | RSS feed

This release

2.0.3 This release

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

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