Nutra

Latest version: v0.2.7

Safety actively analyzes 675368 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.2.8

0.2.7

Changed
~~~~~~~

- Tweaked dependency versions to work with most older stuff (wip still testing)
- ``n`` vs. ``nutra`` different strategies to work on both Windows/Unix
- Install Levenshtein speedup with ``pip install --pre nutra[extras]``

Fixed
~~~~~

- Added backs scripts to fix ``argcomplete`` in different edge cases
- A couple spots where unsorted dictionaries were causing bugs on older python
- Enhanced some developer experience things (Makefile, GitHub CI/workflows)

Removed
~~~~~~~

- PyPI builds exclude ``tests/`` and unneeded ``requirements-*.txt files``

0.2.6

Added
~~~~~

- Recipes are stored in a ``csv`` format now with ``uuid`` instead of ``int``,
and they can be viewed in a convenient ``tree`` output
(**NOTE:** recipes is still a WIP).
- Calculate functions for body fat, BMR, 1-rep max, & lean body limits.
- Example recipe ``csv`` files.
- ``unittest`` compatibility, not sure this will stay.
May revert to ``pytest``.
- Dedicated test file for ``calculate.py`` service.

Changed
~~~~~~~

- Use a ``CliConfig`` class for storing ``DEBUG`` and ``PAGING`` flags.
- Requirements versions for ``colorama`` and ``python3.4``.
- Removed ``F401`` warnings, e.g. importing services into ``__init__``.
- General refactor of ``argparse`` stuff, but still not complete.
- Start to split apart some of the original ``test_cli`` functions.
- Enable more verbose ``mypy`` flags.

Fixed
~~~~~

- Faulty algebra in the ``orm_brzycki`` equation.
- Missing rep ranges for ``dos_remedios`` equation.

0.2.5

Added
~~~~~

- Automated CI/CD integration tests for ``Windows`` platform and multiple
Python versions.
- Enhanced linting, type checking, and true Python 3.4 compliance.

Changed
~~~~~~~

- Specify version **range** for package dependencies, test old Linux / Python.
- Clean up SQL drivers and Python functions. Use non-plural tables.

0.2.4

Fixed
~~~~~

- Error when doing a pip install: ``NTSQLITE_DESTINATION`` is not defined.

0.2.3

Added
~~~~~

- ``[WIP]`` Download cache & checksum verification.
- ``[DEVELOPMENT]`` Added ``Makefile`` with easy commands for ``init``,
``lint``, ``test``, etc.
- ``n`` as a shorthand script for ``nutra``.

Changed
~~~~~~~

- Rename to ``CHANGELOG.rst`` (from markdown ``*.md``).

Fixed
~~~~~

- Separate installer logic ``scripts`` & ``entry_points`` for Windows vs. Unix.

Removed
~~~~~~~

- Some tables, e.g. ``biometric``. See ``nt-sqlite`` submodule for details.
This is still a work in progress to newer tables.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.