Skip to content

Releases: openaq/openaq-python

v0.4.0

31 Mar 22:00
6ddc672
Compare
Choose a tag to compare

[0.4.0] - 2025-03-31

Updated

  • Client rate limiting functionality
  • Drop support for Python 3.8
  • Type annotations removing old Dict and List in favor of dict and list

Added

  • Mypy type checking
  • ServiceUnavailableError HTTP error exception.
  • BadGatewayError HTTP error exception.
  • Separated RateLimitError and HTTPRateLimitError into separated exception.

v0.3.0

01 Oct 19:03
099d678
Compare
Choose a tag to compare

Changelog

  • Refactor of response models
  • rate limit header support
  • v3 measurements changes
  • v3 latest endpoints

v0.2.1

15 Feb 23:57
Compare
Choose a tag to compare

0.2.1

Changelog

  • Resolves issue that breaks OpenAQ.locations() method and AsyncOpenAQ.locations() from upstream API change. Checks for and ignore fields not included in response model.

v0.2.0

21 Dec 16:17
Compare
Choose a tag to compare

v0.2.0

Changelog

  • parameters_id arguments for OpenAQ.locations() method and AsyncOpenAQ.locations() method
  • Added Forbidden and ServerError exceptions to all export.
  • vendored pyhump, removed as pyproject.toml dependency

v0.1.1

31 Oct 22:42
Compare
Choose a tag to compare

v0.1.1

Changelog

  • Fix AsyncOpenAQ client close() method

v0.1.0

31 Oct 19:51
Compare
Choose a tag to compare

v0.1.0