food — a reasoning module

Dishes decided unsafe or allergen-bearing, and a recipe calculated, as a DKE Python module you compile into your own store. It is not food-safety or medical advice. You record minimum temperatures by kind of food, dishes by kind, core temperature and minutes in the danger zone, and items with the allergens they hold and the lines that put them in a dish; it concludes which dishes are unsafe, which have a kind with no standard recorded and which hold each of the nine major allergens, each with its proof and with the premise that failed. It calculates Fahrenheit to Celsius, scaling by servings, a baker's percentage, a volume to a mass by a density you supply and food energy, bit for bit as CPython does.

Licence: MIT. Current version: 1.0.3, released in rev 144.

Get it

The whole release, as one archive:

curl -O https://dke.langsyn.com/source/food/1.0.3/food-1.0.3.tar.gz

Its SHA-256: 8e41e0e83f27969a9a3cb43926273addbb03270f6ad0336c37f7098952007b0d.

Or browse version 1.0.3 file by file. /source/food/latest/ always redirects to the current version. A release's files never change. When the next release supersedes this one, this version stays served at its URL, marked superseded, so cite the version and the archive's digest to say exactly which bytes you read, and use latest for a link that follows each new release.

Current release