The python-typeutils library principally provides a typechecker decorator that allows for a Q&D, and extensible way of checking whether the arguments to a Python functiois are the right type. While this flies in the face of all the talk of dynamic typing in Python, it can come in quite handy when wrapping C functions. And it gets rid of the requirement of having to write asserts *if* you do need type checking.I WHAT DOES python-typeutils PRODUCE ------------------------------------------------------------------------------- 1. The python files in /usr/lib/python2.6/site-packages (by default) 2. Doxygenated documentation in /usr/share/docs/python-typeutils (refman.pdf)
siddhuwarrier/python-typeutils
A simple utility library that allows for type checking in Python
PythonGPL-3.0