Annotation Validation ensures type checking for function annotations.
Project description
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.0 (2019-02-04)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for annotation_validation-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 355af815a45a4064ebc7c4220ae4b119e169e00c41efed143afe49af11478cd8 |
|
MD5 | 5979b9987d23786e40b69b0f002dcd0e |
|
BLAKE2b-256 | 4eab59338fc85412873af193dc1606daaafa8740910e8a1fa6970b01bb3e03d1 |
Close
Hashes for annotation_validation-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04864914957803b7ba7bc5d755b680de4b1e163f08d00e2ef35fb04010b39963 |
|
MD5 | 5c9c5c99e9b81a9b67f9aa5816d2dc67 |
|
BLAKE2b-256 | c635a0913cfcc4fbbe7b92da45dae97dbddb891cda2a266315ab5bb4ccb1e357 |