AQI calculation library
Project description
AQI calculation library (python)
The library calculates the following indexes:
- AQI (US)
- AQHI (Canada)
- CAQI (Europe)
- DAQI (UK)
- AQI (Australia)
- CAI (South Korea)
- PSI (Singapore)
- AQHI (Hong Kong)
- AQI (Mainland China)
- AQI (India)
Installation
From source:
git clone --recursive https://github.com/atmotube/aqipy.git
cd python
python setup.py install
From PyPI directly:
pip install aqipy-atmotech
Examples
calculate US AQI:
from aqipy import aqi_us
aqi, aqi_data = aqi_us.get_aqi(o3_8h=0.07853333)
print('aqi', aqi)
print('effects', aqi_data['o3_8h'][1])
print('cauntions', aqi_data['o3_8h'][2])
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-atmotech-0.1.1.tar.gz
(12.6 kB
view hashes)
Built Distribution
Close
Hashes for aqipy_atmotech-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c542c484bbc952d63f71b9b098981f3cb5747ee752e178fc34609aa6033e14c4 |
|
MD5 | bc26917c54e068a86b7f971ea4df964d |
|
BLAKE2b-256 | cce78bb1a92b3fdfcd2e0aa97705ccf84ba7206a2aef255fdde0b1241672b8d3 |