-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnutrient_dictionary.py
41 lines (39 loc) · 2.12 KB
/
nutrient_dictionary.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
nutrients = {"Fat": "Tłuszcz",
"Saturated": "Nasycone Kwasy Tłuszczowe",
"Trans": "Tłuszcze Trans",
"Monounsaturated": "Jedno-nienasycone KT",
"Polyunsaturated": "Wielo-nienasycone KT",
"Carbs": "Węglowodany",
"Fiber": "Błonnik",
"Sugars": "Cukry",
"Protein": "Białko",
"Cholesterol": "Cholesterol",
"Sodium": "Sód",
"Calcium": "Wapń",
"Magnesium": "Magnez",
"Potassium": "Potas",
"Iron": "Żelazo",
"Zinc": "Cynk",
"Phosphorus": "Fosfor",
"Vitamin A": "Witamina A",
"Vitamin C": "Witamina C",
"Thiamin (B1)": "Tiamina (Witamina B1)",
"Riboflavin (B2)": "Ryboflawina (Witamina B2)",
"Niacin (B3)": "Niacyna (Witamina B3)",
"Vitamin B6": "Witamina B6",
"Folate equivalent (total)": "Kwas Foliowy",
"Folate (food)": None,
"Folic acid": None,
"Vitamin B12": "Witamina B12",
"Vitamin D": "Witamina D",
"Vitamin E": "Witamina E",
"Vitamin K": "Witamina A",
"Water": "Woda"}
default_nutrients = ['Tłuszcz', 'Nasycone Kwasy Tłuszczowe', "Tłuszcze Trans", 'Jedno-nienasycone KT', 'Wielo-nienasycone KT', 'Węglowodany', 'Błonnik', 'Cukry', 'Białko']
# TODO Make a loop to get the nutrient units as a dict and store them here
units = {'Fat': 'g', 'Saturated': 'g', 'Trans': 'g', 'Monounsaturated': 'g', 'Polyunsaturated': 'g', 'Carbs': 'g',
'Fiber': 'g', 'Sugars': 'g', 'Protein': 'g', 'Cholesterol': 'mg', 'Sodium': 'mg', 'Calcium': 'mg',
'Magnesium': 'mg', 'Potassium': 'mg', 'Iron': 'mg', 'Zinc': 'mg', 'Phosphorus': 'mg', 'Vitamin A': 'µg',
'Vitamin C': 'mg', 'Thiamin (B1)': 'mg', 'Riboflavin (B2)': 'mg', 'Niacin (B3)': 'mg', 'Vitamin B6': 'mg',
'Folate equivalent (total)': 'µg', 'Folate (food)': 'µg', 'Folic acid': 'µg', 'Vitamin B12': 'µg',
'Vitamin D': 'µg', 'Vitamin E': 'mg', 'Vitamin K': 'µg', 'Water': 'g'}