The zope.traversing package provides adapteres for resolving object paths by traversing an object hierarchy. WWW: http://pypi.python.org/pypi/zope.traversing