معرفی شرکت ها


countdowner-0.3.1


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

A Python 3.5+ package to check for sales at Countdowngrocery stores throughout New Zealand
ویژگی مقدار
سیستم عامل -
نام فایل countdowner-0.3.1
نام countdowner
نسخه کتابخانه 0.3.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Alex Raichev
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/araichev/countdowner
آدرس اینترنتی https://pypi.org/project/countdowner/
مجوز The MIT License
Copyright (c) 2017 Alex Raichev 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. Description-Content-Type: UNKNOWN Description: Countdowner ************ .. image:: https://travis-ci.org/araichev/countdowner.svg?branch=master :target: https://travis-ci.org/araichev/countdowner A Python 3.4+ package to check for sales at Countdown grocery stores throughout New Zealand. Pretty rough, but gets the job done. Installation ============= ``pip install -U git+https://github.com/araichev/countdowner`` Usage ====== Here is a common workflow. #. Get the stock codes of the products you want to watch by searching `the Countdown site <https://shop.countdown.co.nz/>`_. The stock code of a product is listed in the URL of its details page. For example, the stock code for the product at ``https://shop.countdown.co.nz/Shop/ProductDetails?stockcode=214684&name=colgate-360-toothbrush-medium-whole-mouth-clean`` is ``214684``. #. Put your stock codes into a YAML watchlist along with your email address and a name for the watchlist. The watchlist ---call it ``watchlist.yaml``--- should have the form:: name: my_favorites email_addresses: - brainbummer@mailinator.com - rhymedude@mailinator.com products: | description,stock_code organic cheese,281739 GB chocolate,260803 Lupi olive oil,701829 Earthcare double toilet paper,381895 Dijon mustard,700630 #. Use the ``countdowner`` library functions as in the IPython notebook at ``ipynb/examples.ipynb`` or run ``countdownit --help`` from the command line for information on the command line tool. To use the emailing functionality of ``countdowner``, you'll need a (free) `Mailgun account <https://mailgun.com>`_. Authors ======== - Alex Raichev (2017-05) Notes ====== - Development status is Alpha - This project uses semantic versioning - I might extend this to New World stores once they roll out `more online shopping <http://www.newworld.co.nz/online-shopping/>`_ - Will replace ``grequests`` with a faster asynchronous HTTP requester as soon as someone makes one for ``trio`` History ======== 0.3.1, 2017-11-10 ------------------- - Adapted ``parse_product`` function to Countdown's new HTML page format 0.3.0, 2017-10-06 ------------------- - Changed ``run_pipeline`` API 0.2.0, 2017-06-18 ------------------- - Allowed for multiple email addresses in watchlist - In tests, replaced actual HTTP requests with mock ones 0.1.0, 2017-06-04 ------------------- - Replaced ``curio`` and ``curio-http`` with ``grequests`` for asynchronous requests. The latter is slower but easier to use. - Handled invalid stock codes - Added some automated tests 0.0.1, 2017-05-30 ------------------ - First draft Platform: UNKNOWN


نیازمندی

مقدار نام
>=3.12 PyYAML
>=4.6.0 beautifulsoup4
>=6.7 click
>=0.3.0 grequests
>=3.7.3 lxml
>=0.19.0 pandas
>=2.14.2 requests


نحوه نصب


نصب پکیج whl countdowner-0.3.1:

    pip install countdowner-0.3.1.whl


نصب پکیج tar.gz countdowner-0.3.1:

    pip install countdowner-0.3.1.tar.gz