Setup

Make sure you have python installed on your system. clone project from repository open terminal in project directory

Install the requirements pip install -r requirements.txt

Command to run script python3 main.py

To stop script press ctrl+c

Sample Input and Output

Here is the sample input of ingredients:

Input:

Gin,Triple Sec,Lillet Blanc,Lemon Juice,Absinthe

Output:

Corpse Reviver: ['Gin', 'Triple Sec', 'Lillet Blanc', 'Lemon Juice', 'Absinthe'] , Measures: ['3/4 oz', '3/4 oz', '3/4 oz', '3/4 oz', '1 dash']

White Lady: ['Gin', 'Triple Sec', 'Lemon Juice'] , Measures: ['4cl', '3cl', '2cl']

TestCase

To execute tests run this command python -m unittest test.py