Home and office nutrient tracking software
Project description
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
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file nutratracker-0.0.0.dev17.tar.gz
.
File metadata
- Download URL: nutratracker-0.0.0.dev17.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 479d8280703cac95c3459480f045ff9072d8664e37af549b40edadd1419e664e |
|
MD5 | af9d41fcf15609cfeece336fdff07fa5 |
|
BLAKE2b-256 | d4ee9f3cb677d73a01265ba02803202119be027f30f8cea836767c0a08586d7a |