A Python module for computing calorie requirements for individuals based on their needs and objectives
Project description
Table of Contents
Nutripy
file:https://travis-ci.org/yafeunteun/nutripy.svg?branch=master
Installation
pip install nutripy
Usage
from nutripy import Nutripy
nut = Nutripy()
age = 25
weight = 60
height = 180
gender = "male"
activity = "sedentary"
goal = "loss_1000"
daily_needs = nut.get_daily_needs(age, weight, height, gender, activity, goal)
Activity
The parameter activity can take several values described in this section.
sedentary
: little or no exercicelightly_active
: exercice/sports 1-3 times/weekmoderately_active
: exercice/sports 3-5 times/weekvery_active
: exercice/sports 6-7 times/weekextra_active
: very hard exercice/sports or physical job
Goal
The parameter goal can take several values described in this section.
loss_1000
: lose 1 kg per weekloss_500
: lose 0.5 kg per weekmaintain
: maintain your weightgain_500
: gain 0.5 kg per weekgain_1000
: gain 1 kg per week
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nutripy-0.3.tar.gz
(2.9 kB
view details)
File details
Details for the file nutripy-0.3.tar.gz
.
File metadata
- Download URL: nutripy-0.3.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 908c6df067a5c226ffbe1dc23f9885ab5197a50538b473c0f279c19e77bbdd70 |
|
MD5 | 27de41537354ed9afea09ae4cdd0af85 |
|
BLAKE2b-256 | 72f3d9fd40e4a3c445a821d3985e4774aaca30ab8f9e4dd33c646235c8490248 |