Skip to main content

Find recipes based on ingredients you have

Project description

WhatsCookin

About The Project

WhatsCookin is a Python package that interfaces with the command-line tool to solve the daily dilemma of figuring out what to cook. By inputting the ingredients you currently have in your kitchen, WhatsCookin queries a local JSON database to find potential recipes.

Installation

pip install WhatsCookin

Local Dev Installation

Clone the repository and install dependencies using pipenv:

python3 -m pip install pipenv
python3 -m pipenv install --dev

Activate the environment: python3 -m pipenv shell

Run tests: pytest

Build the package: python3 -m build

Usage

1. Find Recipes

Pass a list of ingredients you have on hand to see what you can make.

whatscookin find "chicken" "rice" "soy sauce" "broccoli"
Output

Matches Found:

ID: 101 | Name: Chicken and Broccoli Stir-Fry

ID: 102 | Name: Simple Chicken Fried Rice

2. Get Recipe Details

Use a Recipe ID to get the full prep time and instructions.

whatscookin details 101
Output:

Recipe: Chicken and Broccoli Stir-Fry Prep Time: 20 mins Instructions: Dice the chicken and chop the broccoli ...

3. Check Missing Ingredients

See what you need to buy at the store to make a specific recipe (using its ID) based on what you already have.

whatscookin missing 104 "chicken" "rice"
Output:

You still need:

  • soy sauce
  • broccoli

4. Surprise Me!

Just ask for a random recipe!

whatscookin random
Output:

Spicy Peanut Noodles (ID: 212)

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

whatscookin-0.1.0.tar.gz (561.1 kB view details)

Uploaded Source

Built Distribution

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

whatscookin-0.1.0-py3-none-any.whl (573.4 kB view details)

Uploaded Python 3

File details

Details for the file whatscookin-0.1.0.tar.gz.

File metadata

  • Download URL: whatscookin-0.1.0.tar.gz
  • Upload date:
  • Size: 561.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for whatscookin-0.1.0.tar.gz
Algorithm Hash digest
SHA256 124676937798228ea2dc8d3a9c6e6a0539787ac002449f0bb765d636d87605e5
MD5 1b3cbae8d6b6f1cb193f69c90a0fdfb5
BLAKE2b-256 b3adbaaf1b2ee1547fe1535d4271f51c8eb5cca2fc2a84831272bf31a93f4b38

See more details on using hashes here.

File details

Details for the file whatscookin-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: whatscookin-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 573.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for whatscookin-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ed6dcdce87ef102e6bcb52b301f8d290770b1667817867c06ecbb60bcd41d9d
MD5 f9651d52aa152708a207900a844df21b
BLAKE2b-256 50cd2952c6602c313ea202004cd80252d2765dc2cfb13a11490f05a89dafe9e0

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