From cb7e37e4ac120d72d4e4599c612a004261d141a3 Mon Sep 17 00:00:00 2001 From: Anton Lydike Date: Thu, 1 Sep 2022 10:44:49 +0200 Subject: [PATCH] added bio pesto wild garlic, minor fixes --- blog.md | 51 ++++++++++++++++++++++++++++++---------- make_table.py | 8 +++++-- web/templates/table.html | 2 +- 3 files changed, 45 insertions(+), 16 deletions(-) diff --git a/blog.md b/blog.md index c68a501..68e3bb1 100644 --- a/blog.md +++ b/blog.md @@ -51,7 +51,7 @@ Each pesto is compared in these categories: *Eaten with:* Gemelli -*category:* basil, vegan, creamy +*category:* verde, vegan, creamy *ingredients:* Basil (35.6%), Sunflower oil, Cashews, Glucose syrup, water, modified cornstarch, salt, natural aroma, olive oil, sugar, lactic acid. @@ -76,7 +76,7 @@ Each pesto is compared in these categories: *Eaten with:* Girandole -*category:* basil, genovese, rustic +*category:* genovese, rustic *ingredients:* Basil (44%), Olive oil (18%), Sunflower oil, Grana Padano (6%), Pine nuts (4%), Cashews (4%), Pecorino Romano, salt, sugar, garlic, lactic acid, ascorbic acid. @@ -127,7 +127,7 @@ Each pesto is compared in these categories: *Eaten with:* Girandole -*category:* basil, genovese, creamy +*category:* genovese, creamy *ingredients:* sunflower oil, basil (30%), cashews, Parmiggiano Reggiano (5%), corn fiber, whey powder, salt, milk protein, olive oil, sugar, basil extract, natural aroma, lactic acid, garlic. @@ -153,7 +153,7 @@ Each pesto is compared in these categories: *Eaten with:* Gemelli -*category:* basil, genovese, rustic +*category:* genovese, rustic *ingredients:* Sunflower oil, basil (20%), pine nuts (15%), native olive oil (6%), Parmiggiano Reggiano, salt, whey, garlic, wine vinegar, citric acid, lactic acid. @@ -177,7 +177,7 @@ Each pesto is compared in these categories: *Eaten with:* Girandole -*category:* tomato, creamy +*category:* rosso, creamy *ingredients:* tomato pulp (34%), sunflower oil, tomato puree (14%), glucose syrup, Grana Padano (5%), cashews (4%), basil (3%), salt, starch, Aceto Balsamico di Modena, aroma, Pecorino Romano (1%), sugar, bread crumbs, whey protein, garlic powder, citric acid. @@ -201,7 +201,7 @@ Each pesto is compared in these categories: *Eaten with:* Girandole -*category:* tomato, creamy +*category:* rosso, creamy *ingredients:* tomato pulp (34.9%), sunflower oil, concentrated tomato puree (15%), glucose syrup, Grana Padano, cashews, salt, basil, Aceto Balsamico di Modena, (2%), whey powder, Pecorino Romano, sugar, rice starch, garlic, lactic acid, aroma. @@ -227,7 +227,7 @@ Each pesto is compared in these categories: *Eaten with:* Girandole -*category:* basil, rustic +*category:* verde, rustic *ingredients:* basil (45.2%), sunflower oil (25.9%), olive oil (9.7%), cashews (6%), pine nuts (4%), Parmiggiano Reggiano (4%), Pecorino Romano (2%), salt, sugar, lactic acid, garlic. @@ -253,7 +253,7 @@ Each pesto is compared in these categories: *Eaten with:* Girandole -*category:* tomato, creamy +*category:* rosso, creamy *ingredients:* dried tomatoes (39%), sunflower oil, tomato pulp (7%), basil (7%), olive oil (2.5%), sugar, salt, pine nuts (1.5%), garlic, wine acid, ascorbic acid, lactic acid. @@ -278,7 +278,7 @@ Each pesto is compared in these categories: *Eaten with:* Girandole -*category:* tomato, creamy +*category:* rosso, creamy *ingredients:* sunflower oil, tomato pulp (28.5%), concentrated tomato puree (8%), half-dried tomatoes (7.5%), whey powder, salt, sugar, concentrated carrot juice, garlic, oregano, powdered buttermilk, lactic acid, aroma. @@ -303,7 +303,7 @@ Each pesto is compared in these categories: *Eaten with:* Girandole -*category:* ricotta, tomato, creamy +*category:* ricotta, rosso, creamy *ingredients:* sunflower oil, ricotta (20%), tomato pulp (17.3%), glucose syrup, concentrated tomato puree (5.7%), walnuts (5%), basil, Grana Padano Cheese, salt, cashews, whey powder, sugar, rice starch, lactic acid, garlic, aroma, powdered buttermilk. @@ -329,9 +329,9 @@ Each pesto is compared in these categories: ### Gut & Günstig "Pesto alla Genovese" (Creamy) *Date:* 2022-08-19 -*Eaten with:* noodles. +*Eaten with:* Girandole -*category:* basil, genovese, creamy +*category:* genovese, creamy *ingredients:* sunflower oil, basil (31%), cashews, Grana Padano cheese (5%), whey protein, salt, Pecorino Romano cheese (1%), olive oil, sugar, garlic powder, aroma, ascorbic acid, lactic acid. @@ -352,6 +352,31 @@ Each pesto is compared in these categories: *images:* DSC_1218.jpg, DSC_1219.jpg +### Bio Gourmet "Pesto Bärlauch" +*Date:* 2022-08-30 + +*Eaten with:* Girandole + +*category:* rustic, herbal, vegan + + +*ingredients:* sunflower oil, wild garlic (33%), native olive oil, cashews, salt. + +| Category | Rating / Value | +|-------------|----------------| +| taste | 5/5 | +| consistency | 5/5 | +| ingredients | 5/5 | +| price | 3.59€ | +| size | 125g | + +*notes:* This is a strong pesto. Holy cow. You will easily get 4-8 servings out of it, depending on how much garlic you like. It has a pronounced wild garlic flavour, with a little bit of nuttiness, and thats it. Very basic, but very good. The only negative I can think of is that you just cannot eat it in any office setting other than homeoffice. It's very garlicy. + +**Final verdict:** ★★★★★ + + +*images:* DSC_1596.jpg, DSC_1597.jpg + ### Template Make "Name" (Variant) @@ -359,7 +384,7 @@ Each pesto is compared in these categories: *Eaten with:* noodles. -*category:* basil, tomato, ricotta, genovese, calabrese, creamy, rustic +*category:* rosso, ricotta, herbal, genovese, calabrese, creamy, rustic *ingredients:* diff --git a/make_table.py b/make_table.py index 25c915f..8c48c7a 100644 --- a/make_table.py +++ b/make_table.py @@ -1,6 +1,10 @@ from make_website import populate_template_str, datetime, get_json, review_id +PESTO_TYPES = ('Genovese', 'Calabrese', 'Arrabiata', 'Herbal', 'Ricotta', 'Rosso', 'Verde') +CONSISTENCY_TYPES = ("Creamy", "Rustic") + + with open('web/templates/table.html', 'r') as f: TABLE_TEMPLATE = f.read() @@ -21,7 +25,7 @@ def generate_table_row(review: dict) -> str: review['rating_value']['price'], price_per_100g(review), taste_grams_per_price(review), - ", ".join(cat for cat in review['category'] if cat in ('Creamy', 'Rustic')) + ", ".join(cat for cat in review['category'] if cat in CONSISTENCY_TYPES) ) def make_link(name, url): @@ -31,7 +35,7 @@ def make_link(name, url): def get_type_from_categories(review: dict) -> str: cats = review['category'] - for name in ('Genovese', 'Calabrese', 'Ricotta', 'Tomato'): + for name in PESTO_TYPES: if name in cats: return name diff --git a/web/templates/table.html b/web/templates/table.html index 7d7cf47..5f51b79 100644 --- a/web/templates/table.html +++ b/web/templates/table.html @@ -29,7 +29,7 @@ Rating Taste Consistency - Ingredient + Ingredients Weight Price 100g Price