Skip to main content

grocery_list

Project description

grocery-list

pip install grocery-list

Silly package to compile a shopping list.

The ingredients dictionary's keys are categories (e.g., fruits, vegetables, bakery, etc.) and their values are lists of shopping items (e.g., apple, potato, bread, etc.). A second dictionary contains recipes whose keys are the name of a meal and whose values are lists of ingredients, each of which can be a shopping item or another recipe.

Just fork and edit ingredients.py and recipes.py as you wish.

Example:

from grocery_list import *
grocery_list('beans on toast')

Output: {'bakery': ['bread'], 'dairy': ['butter'], 'tins': ['baked beans']}

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

grocery_list-0.0.4.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

grocery_list-0.0.4-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page