Last updated:
0 purchases
annotationvalidation 0.1.1
Annotation Validation
Annotation Validation ensures type checking for function annotations.
Free software: MIT license
Documentation: https://annotation-validation.readthedocs.io.
Features
Validates input to match data types of annotations of function arguments
Validates output to match data type of annotation of return argument
Used as a decorator!
Possible Improvements
Validation of ranges of input
Throw warnings instead of errors
Logging
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
Inspiration is from this blog post.
History
0.1.1 (2019-02-05)
Adding caching to getfullargspec and get_type_hints.
0.1.0 (2019-02-04)
First release on PyPI.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.