Prijsoog compares prices for items in Dutch grocery stores.
Project description
Prijsoog
This is a simple hobby project which main focus is to get familiar with webscraping, Sphinx documentation and PyPi deployment. I do not take any responsibility for possible site bans due to excessive page requests.
Prijsoog provides an easy-to-use api for retrieving product-price combinations for specific grocery items in Dutch supermarkets. You can pass a grocery-related query to Prijsoog’s search functionality to obtain a supermarket-depended list of related grocery items. Prijsoog sends a GET request to a selected set of the biggest Dutch supermarkets, and retrieves the top N products most relevant for your query. In order to assure fair use of their server capacity, Prijsoog’s defaults to a delay time of 5 seconds between queries.
Installation
Install the latest version of Prijsoog via Pypi:
pip install prijsoog
Quick Demo
See following example
import prijsoog
# Show Albert Heijn results for "kiwi"
AH = prijsoog.AhWatcher()
products = AH.search("kiwi")
print(products)
# Show Jumbo results for "kiwi"
Jumbo = prijsoog.JumboWatcher()
products = Jumbo.search("kiwi")
print(products)
Free software: MIT license
Documentation: https://prijsoog.readthedocs.io
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.5-0.1.7 (2021-10-16)
Fix PyPi deployment
0.1.1-0.1.4 (2021-10-15)
Teething problems
Automatic PyPI deployment
0.1.0 (2021-10-10)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file prijsoog-0.1.7.tar.gz
.
File metadata
- Download URL: prijsoog-0.1.7.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaa2383c102c161903513a02e4ea0ebfef0b1743fca82013b510d641690d9496 |
|
MD5 | 88b2a21240a47cb920811aa87aec9884 |
|
BLAKE2b-256 | 4eb2449245efbbf7003f8fb6152eedac0be54ef793ca0605f3d0ab022b570861 |
File details
Details for the file prijsoog-0.1.7-py2.py3-none-any.whl
.
File metadata
- Download URL: prijsoog-0.1.7-py2.py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 625e66d2f9cb2c9372b6e71f60d7fa8e3f4ff7b795b690870790133336eda884 |
|
MD5 | 8181d2fe8f3aabd387615653ab2e648e |
|
BLAKE2b-256 | bb200cfc2b0d6eba293ecb324ede04790b40f9c36e047ae9e1e9ef19451767b0 |