Automate your grocery shop
The goal of
autogroceries is to automate your weekly grocery shop (from Sainsbury's).
autogroceries was developed for for personal use and is no longer under active development. You can install the development version from
pip install autogroceries
autogroceries uses Selenium to interface with the Sainsbury's website, automatically filling your cart with an inputted list of ingredients.
The below illustrates the minimal config required to run
from autogroceries.shopper import SainsburysShopper ingreds = ["tomatoes", "lemon"] n_ingreds = [1, 2] sb = SainsburysShopper(ingreds, n_ingreds) # SainsburysShopper needs Sainsbury's grocery account username/email and password # for security, it's recommended to load these from a file # rather than inputting your credentials directly shopping_list = sb.shop("UN", "PW")
An example of
autogroceries in action:
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for autogroceries-1.0.1-py3-none-any.whl