forked from HackerShackOfficial/Smart-Bartender
-
Notifications
You must be signed in to change notification settings - Fork 7
/
drinks.py
599 lines (588 loc) · 12.3 KB
/
drinks.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
#drinks.py
drink_list = [{
'name': 'Vesper',
'ingredients': {
'gin': 60,
'vodka': 15.0,
'vermouth': 7.5
},
'prep': 'Shake and strain into a chilled cocktail glass.'
},
{
'name': 'Bacardi',
'ingredients': {
'whiteRum': 45.0,
'lij': 20,
'grenadine': 10
},
'prep': 'Shake with ice cubes. Strain into chilled cocktail glass.'
},
{
'name': 'Negroni',
'ingredients': {
'gin': 30,
'campari': 30,
'vermouth': 30
},
'prep': 'Build into old-fashioned glass filled with ice. Stir gently.'
},
{
'name': 'Rose',
'ingredients': {
'cherryBrandy': 20,
'vermouth': 40
},
'prep': 'Stir all ingredients with ice and strain into a cocktail glass.',
'specials': ['3 dashes Strawberry syrup']
},
{
'name': 'Old Fashioned',
'ingredients': {
'whiskey': 45.0
},
'prep': 'Place sugar cube in old-fashioned glass and saturate with bitters,add a dash of plain water. Muddle until dissolve. Fill the glass with ice cubes and add whisky.',
'specials': ['2 dashes Angostura Bitters',
'1 sugar cube']
},
{
'name': 'Tuxedo',
'ingredients': {
'gin': 30,
'vermouth': 30
},
'prep': 'Stir all ingredients with ice and strain into cocktail glass.',
'specials': ['1/2 bar spoon Maraschino',
'1/4 bar spoon Absinthe',
'3 dashes Orange Bitters']
},
{
'name': 'Mojito',
'ingredients': {
'whiteRum': 40,
'lij': 30
},
'prep': 'Muddle mint springs with sugar and lime juice. Add splash of soda water and fill glass with cracked ice. Pour rum and top with soda water. Serve with straw.',
'specials': ['2 teaspoons white sugar',
'Soda water']
},
{
'name': "Horse's Neck",
'ingredients': {
'brandy': 40,
'gingerAle': 120
},
'prep': 'Build into highball glass with ice cubes. Stir gently. If required, add dashes of Angostura bitters.',
'specials': ['Dash of Angostura bitters (optional)']
},
{
'name': "Planter's Punch",
'ingredients': {
'darkRum': 45.0,
'oj': 35.0,
'pj': 35.0,
'lej': 20,
'grenadine': 10
},
'prep': 'Pour all ingredients, except the bitters, into shaker filled with ice. Shake. Pour into large glass, filled with ice. Add Angostura bitters, on top.',
'specials': ['3 to 4 dashes Angostura bitters']
},
{
'name': 'Sea Breeze',
'ingredients': {
'vodka': 40,
'cj': 120,
'gj': 30
},
'prep': 'Build all ingredients in a rock glass filled with ice.'
},
{
'name': 'Pisco Sour',
'ingredients': {
'brandy': 45.0,
'lej': 30,
'grenadine': 20
},
'prep': 'Shake and strain into a chilled champagne flute. Dash some Angostura bitters on top.',
'specials': ['1 raw egg white (small egg)']
},
{
'name': 'Long Island Iced Tea',
'ingredients': {
'tequila': 15.0,
'vodka': 15.0,
'whiteRum': 15.0,
'tripSec': 15.0,
'gin': 15.0,
'lej': 25.0,
'grenadine': 30.0
},
'prep': 'Add all ingredients into highball glass filled with ice. Stir gently. Serve with straw.',
'specials': ['1 dash of Cola']
},
{
'name': 'Clover Club',
'ingredients': {
'gin': 45.0,
'grenadine': 15.0,
'lej': 15.0
},
'prep': 'Shake with ice cubes. Strain into cocktail glass.'
},
{
'name': 'Angel Face',
'ingredients': {
'gin': 30,
'apricotBrandy': 30,
'appleBrandy': 30
},
'prep': 'Shake with ice cubes. Strain into a cocktail glass.'
},
{
'name': 'Mimosa',
'ingredients': {
'champagne': 75.0,
'oj': 75.0
},
'prep': 'Pour orange juice into flute and gently pour Champagne. Stir gently. Note: a Buck\'s Fizz and a Mimosa are the same drink.'
},
{
'name': 'Whiskey Sour',
'ingredients': {
'whiskey': 45.0,
'lej': 30.0,
'grenadine': 15.0
},
'prep': 'Dash egg white (Optional: if used shake little harder to foam up the egg white). Pour all ingredients into cocktail shaker filled with ice. Shake. Strain into cocktail glass. If served \'On the rocks\',strain ingredients into old-fashioned glass filled with ice.'
},
{
'name': 'Screwdriver',
'ingredients': {
'vodka': 50,
'oj': 100
},
'prep': 'Build into a highball glass filled with ice. Stir gently.'
},
{
'name': 'Cuba Libre',
'ingredients': {
'whiteRum': 50,
'cola': 120,
'lij': 10
},
'prep': 'Build all ingredients in a highball glass filled with ice.'
},
{
'name': 'Manhattan',
'ingredients': {
'whiskey': 50,
'vermouth': 20
},
'prep': 'Stir in mixing glass with ice cubes. Strain into chilled cocktail glass.',
'specials': ['1 dash Angostura Bitters']
},
{
'name': 'Porto Flip',
'ingredients': {
'brandy': 15.0,
'port': 45.0,
'eggYolk': 10
},
'prep': 'Shake with ice cubes. Strain into cocktail glass. Sprinkle with fresh ground nutmeg.'
},
{
'name': 'Gin Fizz',
'ingredients': {
'gin': 45.0,
'lej': 30,
'grenadine': 10,
'soda': 80
},
'prep': 'Shake all ingredients with ice cubes, except soda water. Pour into tumbler. Top with soda water.'
},
{
'name': 'Espresso Martini',
'ingredients': {
'vodka': 50,
'coffeeLiqueur': 10
},
'prep': 'Shake and strain into a chilled cocktail glass.',
'specials': ['Sugar syrup (according to individual preference of sweetness)',
'1 short strong Espresso']
},
{
'name': 'Margarita',
'ingredients': {
'tequila': 35.0,
'tripSec': 20,
'lij': 15.0
},
'prep': 'Shake with ice cubes. Strain into cocktail glass rimmed with salt (note:Fruit Margarita - blend selected fruit with the above recipe).'
},
{
'name': 'French 75',
'ingredients': {
'gin': 30,
'lej': 15.0,
'champagne': 60
},
'prep': 'Shake with ice cubes, except for champagne. Strain into a champagne flute. Top up with champagne. Stir gently.',
'specials': ['2 dashes Sugar syrup']
},
{
'name': 'Yellow Bird',
'ingredients': {
'whiteRum': 30,
'galliano': 15.0,
'tripSec': 15.0,
'lij': 15.0
},
'prep': 'Shake and strain into a chilled cocktail glass.'
},
{
'name': 'Pina Colada',
'ingredients': {
'whiteRum': 30,
'pj': 90,
'coconutMilk': 30
},
'prep': 'Blend all the ingredients with ice in a electric blender, pour into a large goblet or Hurricane glass and serve with straws.'
},
{
'name': 'Aviation',
'ingredients': {
'gin': 45.0,
'cherryLiqueur': 15.0,
'lej': 15.0
},
'prep': 'Shake and strain into a chilled cocktail glass.'
},
{
'name': 'Bellini',
'ingredients': {
'prosecco': 100,
'peachPuree': 50
},
'prep': 'Pour peach puree into chilled glass and add sparkling wine. Stir gently. Variations: Puccini (fresh mandarin juice), Rossini (fresh strawberry puree), Tintoretto (fresh pomegranate juice)'
},
{
'name': 'Grasshopper',
'ingredients': {
'cremeCacao': 30,
'cream': 30
},
'prep': 'Shake with ice cubes. Strain into chilled cocktail glass.'
},
{
'name': 'Tequila Sunrise',
'ingredients': {
'tequila': 45.0,
'oj': 90,
'grenadine': 15.0
},
'prep': 'Build tequila and orange juice into highball with ice cubes. Add a splash of grenadine to create sunrise effect. Do not stir.'
},
{
'name': 'Daiquiri',
'ingredients': {
'whiteRum': 45.0,
'lij': 25.0,
'grenadine': 15.0
},
'prep': 'Shake and strain into a cocktail glass.'
},
{
'name': 'Rusty Nail',
'ingredients': {
'whiskey': 25.0
},
'prep': 'Build into old-fashioned glass filled with ice. Stir gently.'
},
{
'name': 'B52',
'ingredients': {
'coffeeLiqueur': 20,
'baileys': 20,
'tripSec': 20
},
'prep': 'Layer ingredients one at a time starting with Kahlua, followed by Baileys Irish Cream and top with Grand Marnier. Flame the Grand Marnier, serve while the flame is still on, accompanied with a straw on side plate.'
},
{
'name': 'Stinger',
'ingredients': {
'brandy': 50,
'cremeCacao': 20
},
'prep': 'Stir in mixing glass with ice cubes. Strain into a cocktail glass.'
},
{
'name': 'Golden Dream',
'ingredients': {
'galliano': 20,
'tripSec': 20,
'oj': 20,
'cream': 10
},
'prep': 'Shake with ice cubes. Strain into chilled cocktail glass.'
},
{
'name': 'God Mother',
'ingredients': {
'vodka': 35.0,
'amaretto': 35.0
},
'prep': 'Build into old fashioned glass filled with ice cubes. Stir gently.'
},
{
'name': 'Spritz Veneziano',
'ingredients': {
'prosecco': 60,
'aperol': 40
},
'prep': 'Build into an old-fashioned glass filled with ice. Top with a splash of soda water.',
'specials': ['Splash of Soda water']
},
{
'name': 'Bramble',
'ingredients': {
'gin': 40,
'lej': 15.0,
'grenadine': 10,
'blackberryLiqueur': 15.0
},
'prep': 'Build over crushed ice, in a rock glass. Stir, then pour the blackberry liqueur over the top of the drink in a circular fashion.'
},
{
'name': 'Alexander',
'ingredients': {
'brandy': 30,
'cremeCacao': 30,
'cream': 30
},
'prep': 'Shake and strain into a chilled cocktail glass. Sprinkle with fresh ground nutmeg.'
},
{
'name': 'Lemon Drop Martini',
'ingredients': {
'vodka': 25.0,
'tripSec': 20,
'lej': 15.0
},
'prep': 'Shake and strain into a chilled cocktail glass rimmed with sugar.'
},
{
'name': 'French Martini',
'ingredients': {
'vodka': 45.0,
'raspberryLiqueur': 15.0,
'pj': 15.0
},
'prep': 'Stir in mixing glass with ice cubes. Strain into chilled cocktail glass. Squeeze oil from lemon peel onto the drink.'
},
{
'name': 'Black Russian',
'ingredients': {
'vodka': 50,
'coffeeLiqueur': 20
},
'prep': 'Build into old fashioned glass filled with ice cubes. Stir gently. Note: for White Russian, float fresh cream on the top and stir gently.'
},
{
'name': 'Bloody Mary',
'ingredients': {
'vodka': 45.0,
'tj': 90,
'lej': 15.0
},
'prep': 'Stir gently, pour all ingredients into highball glass.',
'specials': ['2 to 3 dashes of Worcestershire Sauce','Tabasco','Celery salt','Pepper']
},
{
'name': 'Mai-tai',
'ingredients': {
'whiteRum': 40,
'darkRum': 20,
'tripSec': 15.0,
'grenadine': 15.0,
'lij': 10
},
'prep': 'Shake and strain into highball glass. Serve with straw.'
}, {
"name": "Madras",
"ingredients": {
"vodka": 45,
"cj": 90,
"oj": 30
}
}, {
"name": "Lemon Drop",
"ingredients": {
"vodka": 40,
"lej": 40,
"grenadine": 15
}
}, {
"name": "Cape Cod",
"ingredients": {
"vodka": 35,
"cj": 135
}
}, {
"name": "Bourbon Squash",
"ingredients": {
"whisky": 45,
"oj": 50,
"lej": 30,
"grenadine": 20
}
}]
drink_options = [
{
"name": "Gin",
"value": "gin"
},
{
"name": "White Rum",
"value": "whiteRum"
},
{
"name": "Dark Rum",
"value": "darkRum"
},
{
"name": "Coconut Rum",
"value": "coconutRum"
},
{
"name": "Vodka",
"value": "vodka"
},
{
"name": "Tequila",
"value": "tequila"
},
{
"name": "Tonic Water",
"value": "tonic"
},
{
"name": "Coke",
"value": "coke"
},
{
"name": "Orange Juice",
"value": "oj"
},
{
"name": "Margarita Mix",
"value": "mmix"
},
{
"name": "Cranberry Juice",
"value": "cj"
},
{
"name": "Pineapple Juice",
"value": "pj"
},
{
"name": "Apple Juice",
"value": "aj"
},
{
"name": "Grapefruit Juice",
"value": "gj"
},
{
"name": "Tomato Juice",
"value": "tj"
},
{
"name": "Lime Juice",
"value": "lij"
},
{
"name": "Lemon Juice",
"value": "lej"
},
{
"name": "Whiskey",
"value": "whiskey"
},
{
"name": "Triple Sec",
"value": "tripSec"
},
{
"name": "Grenadine",
"value": "grenadine"
},
{
"name": "Vermouth",
"value": "vermouth"
},
{
"name": "Soda",
"value": "soda"
},
{
"name": "Peach Schnapps",
"value": "peachSchnapps"
},
{
"name": "Midori",
"value": "midori"
},
{
"name": "Presecco",
"value": "prosecco"
},
{
"name": "Cherry Brandy",
"value": "cherryBrandy"
},
{
"name": "Apple Brandy",
"value": "appleBrandy"
},
{
"name": "Apricot Brandy",
"value": "apricotBrandy"
},
{
"name": "Brandy (generic)",
"value": "brandy"
},
{
"name": "Champagne",
"value": "champagne"
},
{
"name": "Cola",
"value": "cola"
},
{
"name": "Port",
"value": "port"
},
{
"name": "Coconut Milk",
"value": "coconutMilk"
},
{
"name": "Creme de Cacao",
"value": "cremeCacao"
},
{
"name": "Grenadine",
"value": "grenadine"
},
]
# Check for ingredients that we don 't have a record for
if __name__ == "__main__":
found = []
drinks = [x["value"] for x in drink_options]
for D in drink_list:
for I in D["ingredients"]:
if I not in drinks and I not in found:
found.append(I)
print(I)