Skip to content

123 cocktail recipes at your fingertips, with various search and sorting options (including alphabetical, by ingredients, cocktail names).

License

Notifications You must be signed in to change notification settings

wakabaloola/cocktail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cocktail


Description

A convenient and interactive cocktail recipe finder. It includes 123 cocktail recipes with step-by-step instructions. There are various search and sort options (including alphabetical, by ingredients, cocktail names).

cocktails.json: this file contains cocktail recipes
python.py: this file contains the script (see below).

Feel free to add additional recipes, improve the existing ones, or modify the code as you see fit (subject to the GNU General Public Licence v3 conditions).

NOTE: In the file mediterranean.py there is a corresponding script for mediterranean food recipes instead of cocktails. I'm including it here because the underlying code is essentially the same (with some minor tweaks). The food recipes it draws from are stored in mediterranean_recipes.json.


How to use it

It is very simple; just run the python script with your favourite IDE, or (if you are on a mac) directly in the terminal (and after navigating to the appropriate directory) by typing:

python cocktail.py

You will be presented with the following:

Welcome to the Cocktail Recipe Finder! Please choose an option from the menu below:

'1' Cocktail Search
'2' Ingredients Search '3' Cocktail List (in alphabetical order)
'4' Ingredients List (in alphabetical order)
'0' Exit

Enter your choice (0-4):

after which you can enter a number (0-4), and, well, just follow the instructions. There is also an error tolerance, so don't worry if you don't know precisely how to spell a cocktail recipe; just aim to get it at least 70% right. Overall, it is hopefully pretty self-explanatory --cheers!

About

123 cocktail recipes at your fingertips, with various search and sorting options (including alphabetical, by ingredients, cocktail names).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages