Package provenance and source origins¶
Compatibility façade for Python entrypoint APIs.
PackageOrigin
dataclass
¶
Installed distribution metadata associated with an entrypoint module.
top_level_package
class-attribute
instance-attribute
¶
distribution_candidates
class-attribute
instance-attribute
¶
to_dict
¶
Return portable distribution metadata, excluding lookup diagnostics.
read
classmethod
¶
Read installed distribution metadata without importing the module.
invalidate_cache
staticmethod
¶
Refresh the shared package index for future origin reads.