Typical is a library devoted to runtime analysis, inference,validation, and enforcement of Python types,PEP 484 Type Hints, and custom user-defined data-types.
WTForms is a flexible forms validation and rendering library for Python web development. It can work with whatever web framework and template engine you choose.