{ "info": { "author": "Matt Bachmann", "author_email": "bachmann.matt@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "# Price Watcher\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)\n[![Build Status](https://travis-ci.org/Bachmann1234/price_watcher.svg?branch=master)](https://travis-ci.org/Bachmann1234/price_watcher)\n[![codecov](https://codecov.io/gh/Bachmann1234/price_watcher/branch/master/graph/badge.svg)](https://codecov.io/gh/Bachmann1234/price_watcher)\n\nThis repo is a script I wrote to help watch a product page \non amazon. Basically waiting to see if the product drops below a certain price.\n\nThe following will check the page and text the number 2025550112 if it finds a price < $1000\n\n```bash\nprice_watcher B01FV4TAKK 1000 2025550112\n```\n\nthe intended use of this script is as something you would throw into a cron task (or an aws lambda function like I did)\nand let it watch a page for you\n\n## Developing\n\nSimply setup a virtualenv and install the requirements and install the source formatting githook\n\n```bash\nvirtualenv -p python3 venv\npip install -r requirements.txt\npre-commit install\n```\n\nRunning the tests\n```bash\nsource venv/bin/activate\npython -m pytest tests\n```\n\nRunning the code formatter\n\n```bash\nsource venv/bin/activate\nblack .\n```\n\n## Known Issues\nI wrote this for one very specific product. \nIt works for others (specifically ones that have a [Offer Listing](https://www.amazon.com/gp/offer-listing/B01FV4TAKK/ref=dp_olp_new_mbc?ie=UTF8&condition=new)) but I have not had a need yet so I have not seen how robust the scrape is.\n\nI'm down for talking about improvements if people see this and are interested. But I mostly wrote this to watch this one product for my wife. It started as a simple script but then I was having fun writing it in a somewhat maintainable way", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bachmann1234/price_watcher", "keywords": "", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "price-watcher", "package_url": "https://pypi.org/project/price-watcher/", "platform": "", "project_url": "https://pypi.org/project/price-watcher/", "project_urls": { "Homepage": "https://github.com/bachmann1234/price_watcher" }, "release_url": "https://pypi.org/project/price-watcher/1.1.0/", "requires_dist": null, "requires_python": ">=3.7.0", "summary": "Watches prices on amazon product pages", "version": "1.1.0" }, "last_serial": 5532765, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "fdef114f2050dd264f1a1ed8b604676d", "sha256": "4e5e44cfa343bff4d83bfb1d744601cb89bb935ae27c2375b79a0a0d4c74e02c" }, "downloads": -1, "filename": "price_watcher-1.0.0.tar.gz", "has_sig": false, "md5_digest": "fdef114f2050dd264f1a1ed8b604676d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7.0", "size": 4946, "upload_time": "2019-07-15T01:19:29", "url": "https://files.pythonhosted.org/packages/04/86/c9ac25165db2c497ceb103a7796ec827c8ef2c7e393332ff59386be6bf79/price_watcher-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "8820da7c2c5ee307b8c8067f805619ad", "sha256": "6ed2fadec669804c6b8b8c0e5d73629b703c9ab33eb843cd9c25b27984db7d8b" }, "downloads": -1, "filename": "price_watcher-1.0.1.tar.gz", "has_sig": false, "md5_digest": "8820da7c2c5ee307b8c8067f805619ad", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7.0", "size": 4973, "upload_time": "2019-07-15T02:01:15", "url": "https://files.pythonhosted.org/packages/15/62/776687ba5343c5348ca27a5ddda4e7d1746ab9c38cef4c9c3a9f791f50d6/price_watcher-1.0.1.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "2aa3919e1b4349277a219b4963a0a7b1", "sha256": "7fccad7b0e6c0811b0fde5e39f3e340b46a926dcf82a21b8151de5a502b08a06" }, "downloads": -1, "filename": "price_watcher-1.1.0.tar.gz", "has_sig": false, "md5_digest": "2aa3919e1b4349277a219b4963a0a7b1", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7.0", "size": 4976, "upload_time": "2019-07-15T02:10:23", "url": "https://files.pythonhosted.org/packages/f3/b6/b839228731c1971f7a22f3d7d167a284493bc350d8bff84a09b9fac9a0c2/price_watcher-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2aa3919e1b4349277a219b4963a0a7b1", "sha256": "7fccad7b0e6c0811b0fde5e39f3e340b46a926dcf82a21b8151de5a502b08a06" }, "downloads": -1, "filename": "price_watcher-1.1.0.tar.gz", "has_sig": false, "md5_digest": "2aa3919e1b4349277a219b4963a0a7b1", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7.0", "size": 4976, "upload_time": "2019-07-15T02:10:23", "url": "https://files.pythonhosted.org/packages/f3/b6/b839228731c1971f7a22f3d7d167a284493bc350d8bff84a09b9fac9a0c2/price_watcher-1.1.0.tar.gz" } ] }