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>'
  3. Clone this repository.
  4. From your new directory:
    pip3 install -e .


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>]


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.

Files for aqipy, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size aqipy-0.2.1-py3-none-any.whl (3.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size aqipy-0.2.1.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page