Giter VIP home page Giter VIP logo

macroscalculator's Introduction


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.

macroscalculator's People

Contributors

bexxmodd avatar g-hartmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.