Skip to content

milosz-k/Eating-Calculator-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eating Calculator App

License: MIT

About

The Eating Calculator allows user to control his day of eating. After setting daily intake goal of proteins, carbohydrates and fats, user can add his meals to control himself. User can check his day of eating, remaining nutritional values or eaten products at any time of the day. The app has also an innovative function which lets user to type any number of products and then the app optimizes amount of each given product to reach the user's daily nutritional goal.

How to start?

  1. Download the repository
  2. Run pip install -r requirements.txt
  3. (Linux only) Run sudo apt-get install python3-tk
  4. Run TheEatingCalculator.exe file or cd src/ and run python main.py.

Disclaimer

App uses API to find products. I'm aware that it is using my personal tokens. In this case these tokens are free, so I decided to give open acces to .env file to make checking this application's working nature easier. I encourage you to modify the .env file with your own tokens. Acces to these tokens is free and available by this site: https://developer.nutritionix.com/signup.

Usage example

Set daily goal

alt text

Add new meal

alt text

Show eaten energy content

alt text

Calculate remaining nutrients by meal containing following products

alt text

Result of calculation

alt text

Eaten products containing calculated meal

alt text

Daily nutrients intake containing calculated meal

alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published