Staging: this is not the live site, pydocs.org.
An abstract Python distribution package.
Custom providers may derive from this class and define
the abstract methods to provide a concrete implementation
for their environment. Some providers may opt to override
the default implementation of some properties to bypass
the file-reading mechanism. Members of Distribution a at Return a Distribution for the indicated metadata path. d discover Return an iterable of Distribution objects for all packages. f files Files in this distribution. from_name Return the Distribution for the given package name. l locate_file Given a path to a file in this distribution, return a SimplePath to it. m metadata Return the parsed metadata for this Distribution. n name Return the 'Name' metadata for the distribution package. o origin For editable packages, an origin property may present PEP 610 metadata (for non-editable packages, origin is None): r read_text Attempt to load metadata file given by the name. requires Generated requirements specified for this Distribution v version Return the 'Version' metadata for the distribution package.
Python docs © Python Software Foundation · Examples CC0 ·
Source on GitHub · Not affiliated with the PSF