The zope.dottedname module provides one function, resolve that
resolves strings containing dotted names into the appropriate
python object.

WWW: https://pypi.python.org/pypi/zope.dottedname/