Skip to content

bexxmodd/MacrosCalculator

Repository files navigation


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á.

entry

Installation

Currently, the app can be only run through the shell.

  1. 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
  1. Go into the cloned folder.
$ cd MacrosCalculator
  1. Install dependencies
$ pip install requirements.txt
  1. Make sure all the tests pass
python3 test/diet_test.py
python3 test/person_test.py
python3 test/ui_test.py
  1. 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:

 PyQT5

 webbrowser


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:

Bexx Modd GitHub Bexx Modd Twitter Bexx Modd LinkedIn


Repo is distributed under the MIT license. See LICENSE.txt for more information.

About

Compute various Body indexes and calculate your macros for a daily diet to achieve fitness goals

Resources

License

Stars

Watchers

Forks

Packages

No packages published