/
View dependency graph
Depends on
- dh-python (dh-sequence-python3)
- python3-defaults (python3-all)
- setuptools (python3-setuptools)
- debhelper-compat
README (full)
AQIPY
A simple tool to get Air Quality Indices from around the world.
Installation
- Get an API token here.
- Create an environment variable with your token:
export AQIPY_TOKEN='<your_new_token>'
From source
- Clone this repository.
- 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.
| dir | aqipy/ |
| dir | debian/ |
| file | .gitignore |
| file | LICENSE |
| file | README.md |
| file | install.sh |
| file | setup.py |
| file | uninstall.sh |