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.
Release files for annotation-validation 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| annotation_validation-0.1.1.tar.gz | 9.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| annotation_validation-0.1.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size:14.2 kB
Release files / annotation_validation-0.1.1.tar.gz
| Download URL | annotation_validation-0.1.1.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8003630b978ff42943fc859e1a578e24291b4a5ffc93ad12111aecf734038fd6
|
|
BLAKE2b-256 checksum How to use checksums |
2855ce694f71480194b6c63eafa1b29f8de9c833612ee7f41dc52c7d2051cc68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.3 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.5
|
Release files / annotation_validation-0.1.1-py2.py3-none-any.whl
| Download URL | annotation_validation-0.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
88e746c22aea3a469af934310b44c635a0d6d990ee58cc2cbb17b4b592052512
|
|
BLAKE2b-256 checksum How to use checksums |
7ae6c215e7a53701ff2d9e4470aa40fb981853fef0ff0539571b88d5af4ee0a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.3 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.5
|