python package that process the data dumped by the israeli supermarket
Project description
Israel Supermarket Parsers: Clients to parser the data published by the supermarkets.
This is a parser for ALL the supermarket chains listed in the GOV.IL site.
שקיפות מחירים (השוואת מחירים) - https://www.gov.il/he/departments/legalInfo/cpfta_prices_regulations הגדרת הקבצים שהיו צריכים להיות זמינים באתרים - https://www.nevo.co.il/law_html/law01/501_131.htm
🤗 Want to support my work?
Got a question?
You can email me at erlichsefi@gmail.com
If you think you've found a bug:
- Create issue in issue tracker to see if it's already been reported
- Please consider solving the issue by yourself and creating a pull request.
What is il_supermarket_parsers?
A simple access layer to the data the supermarkets publish. You can download the data using https://github.com/OpenIsraeliSupermarkets/israeli-supermarket-parsers.
You only need to run the following code to parse all the data currently shared by the supermarkets and was downloaded using the package above.
from il_supermarket_parsers import ConvertingTask
scraper = ConvertingTask(data_folder="dumps")
scraper.run()
Quick start
il_supermarket_parsers can be installed using pip:
python3 pip install il_supermarket_parsers
If you want to run the latest version of the code, you can install it from the repo directly:
python3 -m pip install -U git+https://github.com/OpenIsraeliSupermarkets/israeli-supermarket-parsers.git
# or if you don't have 'git' installed
python3 -m pip install -U https://github.com/OpenIsraeliSupermarkets/israeli-supermarket-parsers/main
Running Docker
Build yourself:
docker build -t erlichsefi/israeli-supermarket-parsers --target prod .
or pull the existing image from docker hub:
docker pull erlichsefi/israeli-supermarket-parsers:latest
Then running it using:
docker run -v "./dumps:/usr/src/app/dumps" \
-v "./outputs:/usr/src/app/outputs" \
-e ENABLED_PARSERS="BAREKET,YAYNO_BITAN" \
-e ENABLED_FILE_TYPES="STORE_FILE" \
-e LIMIT=1 \
erlichsefi/israeli-supermarket-parsers
Contributing
Help in testing, development, documentation and other tasks is highly appreciated and useful to the project. There are tasks for contributors of all experience levels.
If you need help getting started, don't hesitate to contact me.
Development status
IL SuperMarket Parser is beta software, as far as i see devlopment stoped until new issues will be found.
Project details
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 il_supermarket_parser-0.0.5.tar.gz
.
File metadata
- Download URL: il_supermarket_parser-0.0.5.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95e713d955554ae8d14c2b87018ff1da775efff9dc2fb17caf255f09c6cb7f00 |
|
MD5 | 334d84a4a364e4db32b5dbd51a608472 |
|
BLAKE2b-256 | 6002b29ffb05acf9b030dd7fbf1b210d6468dbe1f76d425c800c9f1accb76085 |
File details
Details for the file il_supermarket_parser-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: il_supermarket_parser-0.0.5-py3-none-any.whl
- Upload date:
- Size: 30.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f5644bc18bd446206004eff241e83829560613dbddf47887d45f47d655dcbbc |
|
MD5 | d275cd6c3b841d2a97da52078c57a172 |
|
BLAKE2b-256 | 5751cb4f28b1a2b050274f35114820677792ade5d5c518df29c1e0c65859a8bf |