Get names and types of a Python module's attributes:
https://jugad2.blogspot.com/2016/10/get-names-and-types-of-p...
and the same recipe on ActiveState Code (from where you can download the Python code for the recipe):
https://code.activestate.com/recipes/580705-get-names-and-ty...