MariyaSha / RandomRecipePicker

display random recipe with Tkinter, SQLite3 and RecipeDB
85 stars 77 forks source link

RandomRecipePicker

display random recipe using a GUI Tkinter application, SQLite3 and RecipeDB

thumbnail_Tkinter2

Watch on YouTube

This repository was created for my Tkinter GUI YouTube tutorial:
https://youtu.be/5qOnzF7RsNA

author: Mariya Sha

dependencies:

database webscraped from:
https://cosylab.iiitd.edu.in/recipedb/
using MechanicalSoup and SQLite

find out how you can webscrape your own database with those libraries
by following this tutorial of mine: https://youtu.be/MkGQmZoMuRM

Project Directories

the following directories require a detailed overview:

starter_files

this directory contains the starter files required to follow my YouTube tutorial.

complete_project_WINDOWS

this directory contains the complete application, created by following the YouTube tutorial.
as this app uses custom fonts, it's suitable for Windows users only.
an non-OS-dependant version of this project will be uploaded shortly.
in addition to all the files specified in starter_files, this directory contains:

please note! I've added some horizontal padding with padx=25 both for the title and ingredients.
everything else is a 100% match to the code presented in the tutorial (+ helpful comments)

relationalDB_complete_project_WINDOWS

this directory contains the updated application (January, 2023)
designed with a relational database rather than the database that was shown in the YouTube tutorial.
recipes.db now contains 2 tables:

as a result, 2 functions were slightly modified:

app