The zope.dottedname module provides one function, resolve that resolves strings containing dotted names into the appropriate python object. WWW: https://pypi.org/project/zope.dottedname/