This is my EE551 Engineering Python final project.
The purpose of this project is to have users experience new foods by allowing them to quickly search through a recipe book. The three situations where this program might come useful are:
- You open your fridge and you see a few ingredients but you have no idea what to make with them. With this program, the user is able to input their ingredients and have a couple recipes pop up containing these ingredients (and more that may need to be purchased).
- Search functionality based on ingredients
- Must include & Must not include(in case of dietary restrictions) options
- Search functionality based on ingredients
- You are invited to a potluck and there is a specific theme (specific culture or holiday) and you don't know what to make. With this program, the user is able to search for recipes based on specific keywords (the holiday or culture).
- Search functionality based on holiday, culture, type of food (ie. pie, cake, cookies, etc.)
- You might be adventerous one day and want to test your culinary skills and make something of a specific complexity level. With this program, the user is able to select recipes based on its complexity.
- Complexity is calculated based on:
- How long it takes to make the dish
- Number of ingredients needed
- Number of steps in the recipe
- Different complexity levels are:
- Beginner [1]
- Intermediate [2]
- Advanced [3]
- Expert [4]
- Master [5]
- Complexity is calculated based on:
The recipes used will be generated by allrecipes.com
pip3 install beautifulsoup4
pip3 install lxml
Click to see explanation of files
This file contains all the different functionalites that this recipe book contains.
This file is the one you would use to interact with the recipe book.
This is a short snippet of the four menu items:
- Search for recipes based on ingredients
- Search for recipes based on keywords(ie. Christmas, cake, Chinese)
- Search for recipes based on keywords and ingredients
- Search for recipes based on complexity
This folder contains all the .py files but as pre-run ipynb to display quick overview of what this program can do.
This folder contains the test code. Unitting testing was implemented here.
Populate from foodnetwork.com as well to expand recipe collection.