Skip to main content

A simple CLI to get live Air Quality Indices

Project description


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


  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


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

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


$ aqipy geo --latlon 53.8 -7.4


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

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

aqipy-0.4.1.tar.gz (3.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page