All notable changes to this project will be documented in this file.
The format is based on Keep a Change Log, and this project adheres to Semantic Versioning.
- Tweaked dependency versions to work with most older stuff (wip still testing)
nvs.nutradifferent strategies to work on both Windows/Unix- Install Levenshtein speedup with
pip install --pre nutra[extras]
- Added backs scripts to fix
argcompletein different edge cases - A couple spots where unsorted dictionaries were causing bugs on older python
- Enhanced some developer experience things (Makefile, GitHub CI/workflows)
- PyPI builds exclude
tests/and unneededrequirements-*.txt files
- Recipes are stored in a
csvformat now withuuidinstead ofint, and they can be viewed in a convenienttreeoutput (NOTE: recipes is still a WIP). - Calculate functions for body fat, BMR, 1-rep max, & lean body limits.
- Example recipe
csvfiles. unittestcompatibility, not sure this will stay. May revert topytest.- Dedicated test file for
calculate.pyservice.
- Use a
CliConfigclass for storingDEBUGandPAGINGflags. - Requirements versions for
coloramaandpython3.4. - Removed
F401warnings, e.g. importing services into__init__. - General refactor of
argparsestuff, but still not complete. - Start to split apart some of the original
test_clifunctions. - Enable more verbose
mypyflags.
- Faulty algebra in the
orm_brzyckiequation. - Missing rep ranges for
dos_remediosequation.
- Automated CI/CD integration tests for
Windowsplatform and multiple Python versions. - Enhanced linting, type checking, and true Python 3.4 compliance.
- Specify version range for package dependencies, test old Linux / Python.
- Clean up SQL drivers and Python functions. Use non-plural tables.
- Error when doing a pip install:
NTSQLITE_DESTINATIONis not defined.
[WIP]Download cache & checksum verification.[DEVELOPMENT]AddedMakefilewith easy commands forinit,lint,test, etc.nas a shorthand script fornutra.
- Rename to
CHANGELOG.rst(from markdown*.md).
- Separate installer logic
scripts&entry_pointsfor Windows vs. Unix.
- Some tables, e.g.
biometric. Seent-sqlitesubmodule for details. This is still a work in progress to newer tables.
- Limit search & sort results to top
nresults (e.g. top 10 or top 100) - Enhanced terminal sizing (buffer termination).
PydocPAGINGflag via--no-pagercommand line argument (withset_flags()method).- Check for appropriate
ntsqlitedatabase version. [DEVELOPMENT]Specialfile_or_dir_pathandfile_pathcustom type validators forargparse.[DEVELOPMENT]Added special requirements files for (test,lint,optional: Levenshtein, andwin_xp-test[Python 3.4]).[DEVELOPMENT]AddedCHANGELOG.mdfile.
- Print
exit_codein DEBUG mode (--debug flag/argument). - Moved
subparsersmodule inntclient.argparserto__init__. - Moved tests out of
ntclient/and intotests/folder.
- Python 3.4 support (Windows XP and Ubuntu 16.04).
- Debug flag (
--debug | -d) for all commands.
- Overall structure with main file and
argparsemethods. - Use soft pip requirements
~=instead of==. DEFAULTandOVERcolors.
guidcolumns fromntsqlitesubmodule.
- SQLite support for
usdaandntschemas (removed API calls to remote server). - Preliminary support for
recipeandbiosub-commands. - On-boarding process with
initsub-command. - Support for
argcompleteonbash(Linux/macOS). - Tests in the form of a sole
test_cli.pyfile.
- Support for analysis of "day"
CSVfiles.