معرفی شرکت ها


firapria-0.2.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Get pollution indices for IDF (France)
ویژگی مقدار
سیستم عامل -
نام فایل firapria-0.2.0
نام firapria
نسخه کتابخانه 0.2.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Baptiste Fontaine
ایمیل نویسنده b@ptistefontaine.fr
آدرس صفحه اصلی https://github.com/bfontaine/firapria
آدرس اینترنتی https://pypi.org/project/firapria/
مجوز Copyright © 2014 – Baptiste Fontaine Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
======== firapria ======== .. image:: https://img.shields.io/travis/bfontaine/firapria.png :target: https://travis-ci.org/bfontaine/firapria :alt: Build status .. image:: https://img.shields.io/coveralls/bfontaine/firapria/master.png :target: https://coveralls.io/r/bfontaine/firapria?branch=master :alt: Coverage status .. image:: https://img.shields.io/pypi/v/firapria.png :target: https://pypi.python.org/pypi/firapria :alt: Pypi package ``firapria`` is a lightweight library to extract pollution indices from Airparif website for IDF (France). Install ------- .. code-block:: pip install firapria Since version 0.1.1, ``firapria`` supports both Python 2.x and 3.x. Usage ----- .. code-block:: from firapria.pollution import get_indices indices = get_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, usually before 11 AM. The library also include a simple CLI of the same name: .. code-block:: $ firapria Pollution: Yesterday: 42 Today: 40 Tomorrow: 40 Before 0.1.1 ~~~~~~~~~~~~ ``get_indices`` was introduced in version 0.1.1. Before that one, another API was used. It’s still supported, but the new API is easier. :: from firapria.pollution import PollutionFetcher indices = PollutionFetcher().indices() Tests ----- Clone this repo, then: :: [sudo] make deps make check


نحوه نصب


نصب پکیج whl firapria-0.2.0:

    pip install firapria-0.2.0.whl


نصب پکیج tar.gz firapria-0.2.0:

    pip install firapria-0.2.0.tar.gz