Get pollution indices for IDF (France)
Project description
firapria is a lightweight library to extract pollution indices from Airparif website for IDF (France).
Install
pip install firapria
Usage
from firapria.pollution import PollutionFetcher
indices = PollutionFetcher().indices()
It returns three integers, for yesterday’s, today’s and tomorrow’s indices. It might return only two integers sometimes, it’s when no prevision is available for tomorrow’s indice.
The library also include a CLI executable of the same name. Run it with -h to see its available options.
Tests
Clone this repo, then:
[sudo] make deps make check
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
firapria-0.1.0.tar.gz
(3.8 kB
view hashes)