Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Nutritracker

Extensible command-line tool for nutrient analysis.

Requires:

  • Python 3.6.5 or later

  • Redis server

  • (Optional) Android 5.0+ phone, USB, adb, developer mode

Install PyPi release (from pip)

pip install nutri

(Note: use pip3 on Linux/macOS)

Update to latest

pip install -U nutri

Subscribe to the preview/beta channel

pip install nutri --pre

Unsubscribe (back to stable)

pip uninstall nutri
pip install nutri

Using the source-code directly

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

Downloading Food Data

Linux/macOS Script (curl)

cd ~
curl -L https://api.bitbucket.org/2.0/repositories/dasheenster/nutri-utils/downloads/nutri.zip -o nutri.zip
unzip -o nutri.zip
rm nutri.zip

Windows (web download)

Download nutri.zip:

https://bitbucket.org/dasheenster/nutri-utils/downloads/

Extract the .nutri folder to your home folder.

  • On Windows this is C:\Users\<your_name>

  • On macOS it’s /Users/<your_name>

  • On Linux it’s /home/<your_name>

These can also be downloaded from the Android app, or synced over USB cable.

You can also import your own flat file databases. The full database import process is explained with nutri db --help

Better directions for getting set up (on Windows) will (eventually) be posted on youtube.

Currently Supported Data

USDA Stock database

  • Standard flat file database, 8790 foods

Relative USDA Extensions

  • Flavonoid, Isoflavonoids, and Proanthocyanidins

Extra Fields

  • IF, ORAC, GI, Omega-3, and (anti-nutrients) oxalic acid, mercury, etc

Note: We are trying to start a collection of fields and make our models more general. Please upload and get in touch at gitter.im/nutritracker/nutri … (these can consist in magazine cutouts, NCBI tables, or other sources of nutrient data)

Not Supported Yet

Branded Foods Database

  • (LARGE 100MB+! PC ONLY)

Canadian Nutrient Files

  • Similar to USDAstock, except relational (not flat file)

Usage

Many features will require you to do the editing in notepad or your favorite text editor. Then you can use the analyze command to perform the analyses.

Run the nutri script to output usage.

Usage: nutri <command>

Commands

config                  change name, age, and vitamin targets

db                      import, edit and verify databases

field                   import, pair and manage fields

search                  search databases or recipes

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

sync                    sync android device

bugreport               upload database info, and version number

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

Metadata

Release files for nutratracker 0.0.0.dev17

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nutratracker 0.0.0.dev17
File Size Uploaded Provenance
nutratracker-0.0.0.dev17.tar.gz 5.4 kB Without provenance Details

Release files / nutratracker-0.0.0.dev17.tar.gz

Download URL nutratracker-0.0.0.dev17.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
479d8280703cac95c3459480f045ff9072d8664e37af549b40edadd1419e664e
BLAKE2b-256 checksum
How to use checksums
d4ee9f3cb677d73a01265ba02803202119be027f30f8cea836767c0a08586d7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Security for nutratracker 0.0.0.dev17

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page