aqipy-0.4.1


توضیحات

A simple CLI to get live Air Quality Indices
ویژگی مقدار
سیستم عامل -
نام فایل aqipy-0.4.1
نام aqipy
نسخه کتابخانه 0.4.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Dan O'Meara
ایمیل نویسنده omeara.dan@gmail.com
آدرس صفحه اصلی https://github.com/danoscarmike/aqipy
آدرس اینترنتی https://pypi.org/project/aqipy/
مجوز -
# AQIPY A simple tool to get Air Quality Indices from around the world. ## Installation 1. Get an API token [here](https://aqicn.org/data-platform/token/#/). 1. Create an environment variable with your token: `export AQIPY_TOKEN='<your_new_token>'` ### From source 1. Clone this repository. 1. 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](http://waqi.info/).


نحوه نصب


نصب پکیج whl aqipy-0.4.1:

    pip install aqipy-0.4.1.whl


نصب پکیج tar.gz aqipy-0.4.1:

    pip install aqipy-0.4.1.tar.gz