Build the ParsedFile for one Python source file: module unit, type
identifiers, and the declaration walk. analyzer/python/adapter.rs’s
LanguageAdapter::parse_file is the only caller.
The directory file’s path-derived Python module name is relative to: the
analyzer’s stand-in for the sys.path entry an absolute import of that
module would be resolved against.
The module-name components file’s path yields when it is named from the
project root, which is the longest name the workspace can give it:
dependency/core/lib/common/__init__.py is
["dependency", "core", "lib", "common"].