Skip to main content

No project description provided

Project description

openaq-python

The official Python wrapper for the OpenAQ API.

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

OpenAQ Python is a low-level API wrapper 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

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 automatcally 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 wrapper for the OpenAQ API. Thank you to David for many years of maintaining py-openaq and for taking the original step to develop a wrapper 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.2.0.tar.gz (31.6 kB view details)

Uploaded Source

Built Distribution

openaq-0.2.0-py3-none-any.whl (40.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openaq-0.2.0.tar.gz
  • Upload date:
  • Size: 31.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for openaq-0.2.0.tar.gz
Algorithm Hash digest
SHA256 02d68980fc79e8c1cc121efa7b071893eda6d66269c143199b7e911153922ac1
MD5 8587e03eec3579e7981356826f8cb9ae
BLAKE2b-256 92617975a4fb476803fc490b632a54ecaec793cc63741bcbdbbfdf16c2044aa1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: openaq-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 40.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for openaq-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 718c51311a611d54bd914bb9166cdd4fcf7487cadf1d84457116dc5615076388
MD5 9c9a8994ab8e706165a8b8c44d6a9612
BLAKE2b-256 76d4168c758085cbe78ff18fcc91f58f92b3c9ec420d190150a8037ba4d4f9ac

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