runtime_typing is a python module to be used for the easy implementation of runtime type checks. Type constraints provided in terms of the typing module can be used to validate function parameters and return values during runtime. Functions are exposed to type validation by being decorated with the @typed decorator. It is also possible to decorate a classes, so that the class's methods are being type-checked.
runtime_typing is available in pypi. Install it using
pip install runtime_typing
Find documentation at readthedocs.io.