Yet another validation lib ;). Provides tools for general-purpose variable validation, function inputs/outputs validation as well as class fields validation. All entry points raise consistent ValidationError including all contextual details, with dynamic inheritance of ValueError/TypeError as appropriate.
Repo smarie/python-valid8, read from GitHub 1 d ago. smarie has not joined Take My Repo.
Fixed issue: custom help messages in ValidationError using several variables were not rendering to string correctly and instead were displaying Error while formatting the help message. Fixes #58
See documentation page for details.
setup.py. In particular removed dependency to six for setup. Fixes #57See documentation page for details.
Package was made PEP561 compatible. Fixed #55
Improved type hints for decorators so that they do not make the decorated item loose its type hints. Fixed #56
Removed usage of @with_signature in favour of stub file in the entry_points_annotations.py. Fixed #50
See documentation page for details.
Improved getfullargspec so as to cover more builtins in python 3.
See documentation page for details.
Numpy True can be used (again) as a success condition in validation functions. Fixed #53
See documentation page for details.
Added pyproject.toml.
See documentation page for details.