german36-del / Shopwise

This repository aims to help you with your shoping tasks, finding the best price for your shoping list or searching in the supermarket webs a similar product.
Other
1 stars 0 forks source link


shopwise_icon
🛍️ shopwise

A python package to get the best price on your shoplist.

⚠️ Disclaimer

This repository is under continuous development. Some supermarkets may not be fully implemented yet. The registry implemented address the task as scraping but actually it is not pure scraping. The naming will be changed.

📋 Features

⚙️ Installation

To install shopwise you can clone the repository and use pip.

  1. Clone the repository.

    git clone https://german36-del/shopwise.git
    cd shopwise
  2. Install the tool using pip.

shopwise can be accessed through both the Command-Line Interface (CLI) and Python code. The default parameters are configured in the shopwise/cfg/default.yaml file, and overwritten by the specified arguments in the CLI or Python calls.

CLI

shopwise may be used directly in the Command Line Interface (CLI), with the following command format:

shopwise <task> <arg1=value2> <arg2=value2> ...

For example:

shopwise supermarket save_scrap=True

Python

Shopwise may also be used directly in a Python environment, and it accepts the same arguments as in the CLI example above:

from shopwise import shopwise

# Find the best price for your shoplist!!
shopwise(save_scrap=True, supermarkets=["mercadona", "alcampo"])

🛒 Supported Supermarkets

Supermarket 1
Supermarket 2
Supermarket 3
Supermarket 4
Supermarket 5