Skip to main content

No project description provided

Project description

openaq-python

The official Python SDK for the OpenAQ API.

:warning: OpenAQ python is still under active development and may be unstable until a v1.0.0 release

Python SDK for the OpenAQ Version 3 API.

PyPI - Version PyPI - Python Version


Table of Contents

Installation

OpenAQ python is availble on pip.

pip install openaq

Documentation

Documentation available at python.openaq.org

Documentation can also be run locally using hatch run docs:serve

License

openaq is distributed under the terms of the MIT license.

Development

Code is styled according to black, imports are sorted using isort, and code is linted using ruff.

Codebase can be automatically formatted and linted by running:

hatch run style:fmt

style can be checked with:

hatch run style:check

Testing uses pytest.

hatch run test:test

Code coverage can be viewed with:

hatch run test:cov

Acknowledgements

For many years py-openaq by David Hagan filled the gap for a Python API SDK for the OpenAQ API. Thank you to David for many years of maintaining py-openaq and for taking the original step to develop a Python tool for OpenAQ.

Project details


Download files

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

Source Distribution

openaq-0.3.0.tar.gz (3.5 MB view details)

Uploaded Source

Built Distribution

openaq-0.3.0-py3-none-any.whl (47.7 kB view details)

Uploaded Python 3

File details

Details for the file openaq-0.3.0.tar.gz.

File metadata

  • Download URL: openaq-0.3.0.tar.gz
  • Upload date:
  • Size: 3.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for openaq-0.3.0.tar.gz
Algorithm Hash digest
SHA256 a2d47ff8f8fdab8c197ca39cedf14abd1cee0300e47e8eae0abc4eb649614053
MD5 569f6d3858bbad9980d73ca9d7b50e09
BLAKE2b-256 cbbee2272e24e026518f80a50bcfa7fdbdd5f24c06873a2bd86d5307af19d834

See more details on using hashes here.

File details

Details for the file openaq-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: openaq-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 47.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for openaq-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b359dc1a94d2de381ee8ea848d1ccd1e82c4e9c430ea961e9bbc599dc0ff3df
MD5 8906d23c6b768d57806d267fc024849c
BLAKE2b-256 214cc74a1fc33e28f427940ac5c601e5e98743e2de34571d763932b9544317db

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page