Skip to content

Reachip/cssw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cohen Spread Sheet Wrapper

🇫🇷

"Wrapper" du tableau Excel du Docteur Jean-Michel Cohen référencent les différentes quantités de nutriments que contient un aliment classés par famille d'aliments.

🇬🇧

A wrapper to use the spread sheet of Dr. Jean-Michel Cohen concerning nutrition nutriments quantity per food family.

Example 🇬🇧 | Exemple 🇫🇷

from cssw import CohenSpreadSheet
from cssw import CohenSpreadSheetFoodFamily
from cssw import CohenSpreadSheetNutriment

spread_sheet = CohenSpreadSheet()

CALORIES = CohenSpreadSheetNutriment.CALORIES
RED_MEAT = CohenSpreadSheetFoodFamily.REDMEAT

calories_into_red_meat = spread_sheet.get_nutriment_by_food_family(CALORIES, RED_MEAT)
print(calories_into_red_meat)

Installation

python setup.py bdist_egg
easy_install dist/Cohen_Spread_Sheet_Wrapper-0.1-py3.7.egg

python -c "import cssw"

Releases

No releases published

Packages

No packages published

Languages