MacrosCalculator
MacrosCalculator copied to clipboard
Compute various Body indexes and calculate your macros for a daily diet to achieve fitness goals
If you are into fitness/Bodybuilding probably you are familiar with what Macros are. If no, it's three main components that make your diet: Proteins, Carbs, Fats. Having a well balanced diet based on the macros distribution is a key to achieving your fitness health goals.
How it Works
Input the personal physics characteristics, like weight, height, age, amount of exercise, and the app will calculate your LBM, TDEE and the Macros share for your daily calorie intake with the number of calories needed to achieve the selected goal. This can be a great guide to aide your fitness goal. If you are not sure about your body fat percentage now app can also approximate your it. Simply enter personal information and click the Calculate button and voalá.
Installation
Currently, the app can be only run through the shell.
- Copy the repo to your local machine by first opening shell/bash/cmd terminal on your computer and typing
$ git clone https://github.com/bexxmodd/MacrosCalculator.git
- Go into the cloned folder.
$ cd MacrosCalculator
- Install dependencies
$ pip install requirements.txt
- Make sure all the tests pass
python3 test/diet_test.py
python3 test/person_test.py
python3 test/ui_test.py
- Run the main.py file.
$ python3 main.py
After that macrosCalculator window should pop up where you can perform your diet calculation.
File Structure
MacrosCalculator/
├── test/
│ ├── diet_test.py
│ ├── person_test.py
│ └── ui_test.py
├── LICENSE
├── MacroEstimator.py
├── main.py
├── README.md
├── requirement.txt
└── user_interface.ui
Dependencies
Project is using two Python packages:
Release History
v1.0- New version with PyQT GUI and Body fat % apporximation tool
v0.5- First functional beta version.
Contributors
Meta
Follow me on social media:
Repo is distributed under the MIT license. See LICENSE.txt for more information.


