parent_id Source code in library_analyzer/utils/_names.py 5 6def parent_id(id_: str) -> str: return "/".join(id_.split("/")[:-1])