python-valid8
python-valid8 copied to clipboard
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 Validati...
That will be more compliant with IDE autocomplete features.
Just in case ? Not sure this is actually needed
it can be simply to add the base list to a field and make sure that the list is used "as is" by the `_and_`. Or easier: to make the...
...for example to validate that the sum of two function arguments is positive. As of today it is not clear how we should allow users to define such a validator...
See https://github.com/samuelcolvin/pydantic/blob/master/setup.py#L46
A failure raiser currently consists in - some validation callable - a failure type (default `Failure`) - an optional overridden help message Besides we have composition operators (and, or, etc.)...
That would be very useful when used inside `with validation()` context manager.