Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Attributes | List of all members
pip._internal.metadata.importlib._dists.WheelDistribution Class Reference
Inheritance diagram for pip._internal.metadata.importlib._dists.WheelDistribution:
Inheritance graph
[legend]
Collaboration diagram for pip._internal.metadata.importlib._dists.WheelDistribution:
Collaboration graph
[legend]

Public Member Functions

None __init__ (self, Mapping[pathlib.PurePosixPath, bytes] files, pathlib.PurePosixPath info_location)
 
"WheelDistribution" from_zipfile (cls, zipfile.ZipFile zf, str name, str location)
 
Iterator[pathlib.PurePosixPath] iterdir (self, InfoPath path)
 
Optional[str] read_text (self, str filename)
 

Public Attributes

 info_location
 

Protected Attributes

 _files
 

Detailed Description

An ``importlib.metadata.Distribution`` read from a wheel.

Although ``importlib.metadata.PathDistribution`` accepts ``zipfile.Path``,
its implementation is too "lazy" for pip's needs (we can't keep the ZipFile
handle open for the entire lifetime of the distribution object).

This implementation eagerly reads the entire metadata directory into the
memory instead, and operates from that.

The documentation for this class was generated from the following file: