Skip to content

Commit

Permalink
Merge pull request #115 from isitvegan/update-e-numbers
Browse files Browse the repository at this point in the history
Re-Import E Numbers, Migrate Script to uv
  • Loading branch information
bash authored Nov 26, 2024
2 parents 1921ffe + f258666 commit f6ce116
Show file tree
Hide file tree
Showing 5 changed files with 175 additions and 368 deletions.
3 changes: 3 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import-e-numbers:
(cd scripts/import_e_numbers && uv run import_e_numbers.py)
cp scripts/import_e_numbers/e_numbers.toml items/imported/
85 changes: 47 additions & 38 deletions items/imported/e_numbers.toml
Original file line number Diff line number Diff line change
Expand Up @@ -414,13 +414,13 @@ vegan_alternatives = []
name = "Calcium carbonate, Chalk"
alternative_names = [
"Aragonite",
"calcite",
"chalk",
"lime",
"limestone",
"marble",
"oystershell",
"pearl"
"Calcite",
"Chalk",
"Lime",
"Limestone",
"Marble",
"Oystershell",
"Pearl"
]
e_number = "E170"
state = "vegan"
Expand Down Expand Up @@ -897,7 +897,6 @@ name = "Biphenyl, diphenyl"
alternative_names = [
"Biphenyl",
"Phenylbenzene",
"Dibenzene",
"Xenene"
]
e_number = "E230"
Expand Down Expand Up @@ -989,8 +988,6 @@ vegan_alternatives = []
[[items]]
name = "Formic acid"
alternative_names = [
"Isocarbonous acid",
"Carbonous acid",
"Formylic acid",
"Methylic acid",
"Hydrogencarboxylic acid",
Expand Down Expand Up @@ -1139,7 +1136,8 @@ name = "Acetic acid"
alternative_names = [
"Vinegar (when dilute)",
"Hydrogen acetate",
"Methanecarboxylic acid"
"Methanecarboxylic acid",
"Ethylic acid]"
]
e_number = "E260"
state = "vegan"
Expand Down Expand Up @@ -1617,12 +1615,20 @@ vegan_alternatives = []

[[items]]
name = "Butylated hydroxyanisole"
alternative_names = []
alternative_names = [
"2-tert-Butyl-4-hydroxyanisole and 3-tert-butyl-4-hydroxyanisole (mixture)",
"BOA",
"BHA",
"tert-Butyl-4-hydroxyanisole",
"(1,1-Dimethylethyl)-4-methoxyphenol",
"tert-Butyl-4-methoxyphenol",
"Antioxyne B"
]
e_number = "E320"
state = "vegan"
description = ""
sources = [
{ type = "url", value = "https://en.wikipedia.org/wiki/E320" },
{ type = "url", value = "https://en.wikipedia.org/wiki/Butylated_hydroxyanisole" },
{ type = "url", value = "https://elated.co.za/which-e-numbers-are-vegan/" }
]
vegan_alternatives = []
Expand All @@ -1637,6 +1643,7 @@ alternative_names = [
"BHT",
"AO-29",
"Avox BHT",
"Antioxidant 264",
"Additin RC 7110",
"Dibutylated hydroxytoluene",
"4-Methyl-2,6-di-tert-butyl phenol",
Expand Down Expand Up @@ -1923,7 +1930,9 @@ vegan_alternatives = []
[[items]]
name = "Sodium adipate"
alternative_names = [
"Disodium adipate"
"Disodium adipate",
"Adipic acid",
"sodium salt"
]
e_number = "E356"
state = "vegan"
Expand Down Expand Up @@ -2609,9 +2618,10 @@ vegan_alternatives = []
[[items]]
name = "Ammonium carbonates"
alternative_names = [
"baker's ammonia",
"sal volatile",
"salt of hartshorn"
"Baker's ammonia",
"Sal volatile",
"Salt of hartshorn",
"Spirit of Urine"
]
e_number = "E503"
state = "vegan"
Expand Down Expand Up @@ -2948,7 +2958,7 @@ vegan_alternatives = []
name = "Magnesium hydroxide"
alternative_names = [
"Magnesium dihydroxide",
"Milk of Magnesia"
"Milk of magnesia"
]
e_number = "E528"
state = "vegan"
Expand Down Expand Up @@ -3903,9 +3913,12 @@ vegan_alternatives = []
name = "Nitrous oxide"
alternative_names = [
"Laughing gas",
"galaxy gas",
"sweet air",
"nitrous",
"nos",
"nang",
"nitrus",
"protoxide of nitrogen",
"hyponitrous oxide",
"dinitrogen oxide",
Expand Down Expand Up @@ -4044,7 +4057,7 @@ vegan_alternatives = []
name = "Saccharin and its sodium, potassium and calcium salts"
alternative_names = [
"ortho-benzoic sulfimide",
"ortho sulphobenzamide"
"ortho sulphobenzimide"
]
e_number = "E954"
state = "vegan"
Expand Down Expand Up @@ -4149,18 +4162,6 @@ sources = [
]
vegan_alternatives = []

[[items]]
name = "Lysozyme"
alternative_names = []
e_number = "E1105"
state = "itDepends"
description = ""
sources = [
{ type = "url", value = "https://en.wikipedia.org/wiki/E1105" },
{ type = "url", value = "https://elated.co.za/which-e-numbers-are-vegan/" }
]
vegan_alternatives = []

[[items]]
name = "Polydextrose"
alternative_names = []
Expand All @@ -4177,12 +4178,10 @@ vegan_alternatives = []
name = "Polyvinylpyrrolidone"
alternative_names = [
"PVP",
"Povidone",
"PVPP",
"Crospovidone",
"Polyvidone",
"PNVP",
"Kollidon",
"povidone",
"polyvidone",
"kollidon",
"Poly-N-vinylpyrrolidine"
]
e_number = "E1201"
Expand Down Expand Up @@ -4807,8 +4806,6 @@ vegan_alternatives = []
[[items]]
name = "Glycerol"
alternative_names = [
"Glycerin",
"Glycerine",
"1,2,3-Trioxypropane",
"1,2,3-Trihydroxypropane",
"1,2,3-Propanetriol"
Expand Down Expand Up @@ -5361,3 +5358,15 @@ sources = [
{ type = "url", value = "https://elated.co.za/which-e-numbers-are-vegan/" }
]
vegan_alternatives = []

[[items]]
name = "Lysozyme"
alternative_names = []
e_number = "E1105"
state = "itDepends"
description = ""
sources = [
{ type = "url", value = "https://en.wikipedia.org/wiki/E1105" },
{ type = "url", value = "https://elated.co.za/which-e-numbers-are-vegan/" }
]
vegan_alternatives = []
Loading

0 comments on commit f6ce116

Please sign in to comment.