Skip to main content

Annotation Validation ensures type checking for function annotations.

Project description

Annotation Validation Documentation Status Updates

Annotation Validation ensures type checking for function annotations.


  • 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


This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Inspiration is from this blog post.


0.1.1 (2019-02-05)

  • Adding caching to getfullargspec and get_type_hints.

0.1.0 (2019-02-04)

  • First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for annotation-validation, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size annotation_validation-0.1.1-py2.py3-none-any.whl (4.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size annotation_validation-0.1.1.tar.gz (9.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page