Current Guadeloupe (French West Indies) ATMO pollution indicator (from 1 to 10)
# atmo Guadeloupe (French West Indies) ATMO pollution indicator (from 1 to 10).
This module grabs ATMO pollution indicator from gwadair.com website and show a digest of these data.
This module was created to work in Guadeloupe but should be usable in other areas with observatory monitoring pollution using ISEO module as well.
It can be used as command line tool or as python module.
## Indice Atmo
The indice ATMO is the pollution indicator from 1 (very good) to 10 (very bad). It’s used to show simply the global air quality in a city.
Actually, this tools works only for Guadeloupe and parse some json files generated by a module called “ISEO”. Thus this tool should work with data using the same format. Just put your values in the atmo.cfg file.
## using pip
pip install atmo
## from source
git clone https://github.com/Alert-Box/atmo cd atmo python setup.py install
# Usage example
- ## Command Line
- $ atmo
## Python Module
>>> from atmo.atmo import Atmo >>> ia = Atmo() >>> print ia.info() ['ATMO Friday 15 July 2016', "Aujourd'hui : Bon (VERT )", 'Demain : Moyen (ORANGE )']
Atmo is a Free Software and is licensed under the GNU General Public License (GPL) Version 3 or later.
## GNU General Public License (GPL) Version 3 or later
View official GNU site <http://www.gnu.org/licenses/gpl.html>.
[View the Open Source Initiative site.](http://opensource.org/licenses/mit-license.php)