Official OpenAQ Python SDK.
Project description
OpenAQ Python SDK
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
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
The OpenAQ Python SDK 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
mypy static type checking:
hatch run types:check
Testing uses pytest.
hatch run test:test
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openaq-0.5.0.tar.gz.
File metadata
- Download URL: openaq-0.5.0.tar.gz
- Upload date:
- Size: 7.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed3bde3227512e0a358928c8fac90a48eb57d3b3c4671e1733e51c5ea11819ba
|
|
| MD5 |
399ae7f2d4182b1b7077a2e454a53449
|
|
| BLAKE2b-256 |
0d46b5a7642a23d59ae562825db8de660a41f1d83bbb4da4a17ea56167f1dbd7
|
Provenance
The following attestation bundles were made for openaq-0.5.0.tar.gz:
Publisher:
publish.yml on openaq/openaq-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openaq-0.5.0.tar.gz -
Subject digest:
ed3bde3227512e0a358928c8fac90a48eb57d3b3c4671e1733e51c5ea11819ba - Sigstore transparency entry: 659805633
- Sigstore integration time:
-
Permalink:
openaq/openaq-python@ba1106ef16f5655c7df01fae21d521b5a2675702 -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/openaq
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ba1106ef16f5655c7df01fae21d521b5a2675702 -
Trigger Event:
release
-
Statement type:
File details
Details for the file openaq-0.5.0-py3-none-any.whl.
File metadata
- Download URL: openaq-0.5.0-py3-none-any.whl
- Upload date:
- Size: 53.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e07394349ad1d11d8683274e6fb35a8cb747d329d6783f62aed7fc5f8f7caf5
|
|
| MD5 |
4e5f5e915cb4b33afc5a08c8814f2352
|
|
| BLAKE2b-256 |
c3008f74956b4442ddfd86151129d6d6fecb6f7bd2770ef9b400091695c95001
|
Provenance
The following attestation bundles were made for openaq-0.5.0-py3-none-any.whl:
Publisher:
publish.yml on openaq/openaq-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openaq-0.5.0-py3-none-any.whl -
Subject digest:
5e07394349ad1d11d8683274e6fb35a8cb747d329d6783f62aed7fc5f8f7caf5 - Sigstore transparency entry: 659805646
- Sigstore integration time:
-
Permalink:
openaq/openaq-python@ba1106ef16f5655c7df01fae21d521b5a2675702 -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/openaq
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ba1106ef16f5655c7df01fae21d521b5a2675702 -
Trigger Event:
release
-
Statement type: