Skip to main content

Home and office nutrient tracking software

Project description

https://api.travis-ci.com/gamesguru/nutra.svg?branch=master https://pepy.tech/badge/nutri/month https://img.shields.io/pypi/pyversions/nutra.svg

Extensible command-line tools for nutrient analysis.

Requires:

  • Python 3.6.5 or later

  • Package manager (pip3)

  • Internet connection

See database: https://github.com/gamesguru/ntdb

See server: https://github.com/gamesguru/nutra-server

Install PyPi release (from pip)

pip install nutra

(Note: use pip3 on Linux/macOS)

Update to latest

pip install -U nutra

Subscribe to the preview/beta channel

pip install nutra --pre

Unsubscribe (back to stable)

pip uninstall nutra
pip install nutra

Using the source-code directly

git clone git@github.com:gamesguru/nutra.git
cd nutra
./nutra -h

Currently Supported Data

USDA Stock database

  • Standard reference database (SR28) [7794 foods]

Relative USDA Extensions

  • Flavonoid, Isoflavonoids, and Proanthocyanidins [1352 foods]

Advanced Features

Features such as adding to a food log and creating recipes require logging in.

First use the register command to create an account, then login.

Usage

Requires internet connection to remote server.

Run the nutra script to output usage.

Usage: nutra <command>

Commands

config                  change name, age, and vitamin targets

search                  search database by food name

analyze | anl           critique a date (range), meal, recipe, or food

remote                  login, logout, register, and online functions

--help | -h             show help for a given command

config                  change name, age, and vitamin targets

Project details


Release history Release notifications | RSS feed

This version

0.0.4

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nutra-0.0.4.tar.gz (9.1 kB view details)

Uploaded Source

File details

Details for the file nutra-0.0.4.tar.gz.

File metadata

  • Download URL: nutra-0.0.4.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.9

File hashes

Hashes for nutra-0.0.4.tar.gz
Algorithm Hash digest
SHA256 3655babd08550df00cd8177af7c30bf79643da218948551752d9d66352dd4a47
MD5 d9a13582bfc0c27b36d35f5049f75713
BLAKE2b-256 111bd180fa5c1fe06b32326927a7602b67ad9ddd94d5f3ddfe1c341da297773c

See more details on using hashes here.

Supported by

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