Skip to main content

Generate a shopping list from recipe .txt files

Project description

Shopping List Generator

A simple CLI tool written in Python for generating a shopping list text file from multiple recipe files. Written so my girlfriend stops taking an extra 15 minutes every week copying the recipe contents...

Quick Setup

The app uses Pipenv for dependency managment. So you will need to be familiar with this to run the application locally.

The application uses your working directory to find recipe text files, and outputs a shopping_list.txt file to the working directory. The file extension of the recipe file does not need to be specified, it is assumed to be .txt.

So running the app from the src folder would look like: pipenv run python -m shopping_list_generator "test_recipes/daal, test_recipes/curry"

You can also specify the quantity to multiply each recipe ingredient by like: pipenv run python -m shopping_list_generator "test_recipes/daal-2, test_recipes/curry-2" Which would multiply both the daal and curry ingredients by 2.

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

shopping-list-generator-0.0.6.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shopping_list_generator-0.0.6-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file shopping-list-generator-0.0.6.tar.gz.

File metadata

  • Download URL: shopping-list-generator-0.0.6.tar.gz
  • Upload date:
  • Size: 3.6 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.9.7

File hashes

Hashes for shopping-list-generator-0.0.6.tar.gz
Algorithm Hash digest
SHA256 437b7a821996844ea8e60e6fb75d4171914a901d0388ccddec9b4aa04d984dd9
MD5 9ed6e39b4168d23aa13ebece12e0dc1e
BLAKE2b-256 3974d055f126e62d23d10b79624ff882dbf32e3080b0a11f38e19651678e69db

See more details on using hashes here.

File details

Details for the file shopping_list_generator-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: shopping_list_generator-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: 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.9.7

File hashes

Hashes for shopping_list_generator-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ee6d6e6707a8d8ff31bce21cc5b49cdccc2d7f52a25003659d2487cbfe4ed30b
MD5 fa570f5c3d7a39fe7a3f406c52faf309
BLAKE2b-256 20fa7f63a494ca8899ba703525295e22f5f0f2ad8b217f24cc81ebdd12a88f5a

See more details on using hashes here.

Supported by

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