Skip to main content

A Python module for computing calorie requirements for individuals based on their needs and objectives

Project description

Table of Contents

  1. Nutripy
    1. Installation
    2. Usage
      1. Activity
      2. Goal

Nutripy

file:https://travis-ci.org/yafeunteun/nutripy.svg?branch=master img img

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 exercice
  • lightly_active: exercice/sports 1-3 times/week
  • moderately_active: exercice/sports 3-5 times/week
  • very_active: exercice/sports 6-7 times/week
  • extra_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 week
  • loss_500: lose 0.5 kg per week
  • maintain: maintain your weight
  • gain_500: gain 0.5 kg per week
  • gain_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)

Uploaded Source

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

Hashes for nutripy-0.3.tar.gz
Algorithm Hash digest
SHA256 908c6df067a5c226ffbe1dc23f9885ab5197a50538b473c0f279c19e77bbdd70
MD5 27de41537354ed9afea09ae4cdd0af85
BLAKE2b-256 72f3d9fd40e4a3c445a821d3985e4774aaca30ab8f9e4dd33c646235c8490248

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page