Skip to content

Naty89/BodyInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BodyInfo

This is a code that tells you what your body percentage is using the US Navy Formula or the BMI Formula, it also tells you what category you are in. It also tells the how many pounds you need to loose to go down a category and it tells you how much you need to lose to get a six pack Another thing is it tells you how much you need to workout and for how long you need to work out for. It will also tell you what kind of diet you should and it would show links that lead you to some recipes.

Installation

You can clone this repository by using this command line

$ git clone https://github.com/Naty89/BodyInfo

Install the requirements

$ pip3 install -r requirements.txt

Usage

to use this code you can just go to the place your put it and put in this command line to see what to do

$ python main.py --help

and this would be the result:

Usage: main.py [OPTIONS]

  This is a class that tells you what your body percentage is and what
  category you are in. It also tells the how many pounds you need to loose
  to go down a category and it tells you how much you need to lose to get a
  six pack Another thing is it tells you how much you need to workout and
  for how long you need to work out for It will also tell you what kind of
  diet you should and it would show links that lead you to some recipes

Options:
  -w, --weight INTEGER  the amount of pounds you weigh.
  -h, --height FLOAT    your height in inches
  -g, --gender TEXT     your gender
  -a, --age INTEGER     age
  -n, --neck FLOAT      circumference of your neck in inches
  --waist FLOAT         your waist circumference in inches
  --hip FLOAT           the circumference of your hip in inches, if you are a
                        male then it would be the same as your waist

  -m, --method TEXT     the method that you want to run, here are the method
                        that you can run: US_Navy_Method, BMI_Method,
                        Body_Fat_Category, Pounds_To_Lose

  --help                Show this message and exit.

Example

Here is an example showing how to use this code:

$ python main.py --weight 152 --height 70.5 --gender 'male' --age 25 --neck 19.5 --waist 37.5 --hip 37.5 --method US_Navy_Method

the result would be:

15.3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages