معرفی شرکت ها


cs.portlet.aemet-1.4.1


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

A portlet to show the weather via AEMET
ویژگی مقدار
سیستم عامل -
نام فایل cs.portlet.aemet-1.4.1
نام cs.portlet.aemet
نسخه کتابخانه 1.4.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Mikel Larreategi
ایمیل نویسنده mlarreategi@codesyntax.com
آدرس صفحه اصلی https://github.com/codesyntax/cs.portlet.aemet
آدرس اینترنتی https://pypi.org/project/cs.portlet.aemet/
مجوز GPL
Introduction ============ This products creates a portlet to show weather information as provided by AEMET_ . It parses an XML file and creates a data structure to create a portlet based on a structure similar to the one provided by the product Meteo_ . This product worked great, but due to the constantly changing HTML of the AEMET_ site, it failed easily. Now AEMET provides a fixed XML for each place, so you just have to create a portlet and type the URL of the XML file you want to show. The parsing results are cached in memory using `plone.memoize`_'s RAMCache. If you want to customize the look and feel of the portlet, use `z3c.jbot`_ and look at the internals of the dict created after parsing the XML at aemetparser.py file. You can see examples of customization of this portlet at: - http://www.aretxabaleta.eus - http://www.eibar.eus - http://www.deba.eus Compatibility ============== Tested on Plone 4.0.x, 4.1, 4.2 and 4.3 Not tested on Plone 3.3.x but it should work. Credits ======== - Idea: GMV_ for Meteo_ - AEMET_: for providing weather information freely available (always giving credit) in Spain. - Parsing code and portlet implementation: Dani Reguera <dreguera@codesyntax.com> - Plone goodies, doc and i18n: Mikel Larreategi <mlarreategi@codesyntax.com> .. _AEMET: http://www.aemet.es .. _Meteo: http://plone.org/products/meteo .. _`z3c.jbot`: http://pypi.python.org/pypi/z3c.jbot .. _GMV: http://www.gmv.com/en/ .. _`plone.memoize`: http://pypi.python.org/pypi/plone.memoize Changelog ========= 1.4.1 (2018-02-01) ------------------ - fix url parsing [erral] 1.4 (2018-02-01) ---------------- - Remove lxml [libargutxi] 1.3 (2013-11-04) ---------------- - Return empty dicts when the original XML has empty data [erral] 1.2 (2011-10-06) ----------------- - Some docs [erral] 1.1 (2011-10-05) ------------------ - Added i18n [erral] 1.0 (unreleased) ------------------- - Initial release [dani]


نحوه نصب


نصب پکیج whl cs.portlet.aemet-1.4.1:

    pip install cs.portlet.aemet-1.4.1.whl


نصب پکیج tar.gz cs.portlet.aemet-1.4.1:

    pip install cs.portlet.aemet-1.4.1.tar.gz