Skip to main content

AQIPY

A simple tool to get Air Quality Indices from around the world.

Installation

  1. Get an API token here.
  2. Create an environment variable with your token:
    export AQIPY_TOKEN='<your_new_token>'

From source

  1. Clone this repository.
  2. From your new directory:
    pip3 install -e .

From PyPI

pip install aqipy

Usage

To get the AQI for your current location (IP based):
aqipy

To get the AQI for a specific location (latitude longitude):
aqipy geo [--latlon / -l <lat lon>]

Example

$ aqipy geo --latlon 53.8 -7.4

Attribution

This tool uses APIs provided by the World Air Quality Index Project.

Metadata

Release files for aqipy 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aqipy 0.4.1
File Size Uploaded Provenance Actions
aqipy-0.4.1.tar.gz 3.0 kB Without provenance Details for aqipy-0.4.1.tar.gz

Release files / aqipy-0.4.1.tar.gz

Download URL aqipy-0.4.1.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
854edc49e43dbe70348e1cd138ead3a86996d45e9bb681e6b818a019769b15df
BLAKE2b-256 checksum
How to use checksums
eeb92880112acf1d3ba16b686063463cd6bfe653d3d12d480abb2efd4260d1e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2

Security for aqipy 0.4.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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