Expand description
Read metadata from wheels and source distributions.
This module reads all fields exhaustively. The fields are defined in the Core metadata specification.
Enums§
- Error
- The caller is responsible for attaching the path or url we failed to read.
Functions§
- find_
archive_ dist_ info - Find the
.dist-infodirectory in a zipped wheel. - find_
flat_ dist_ info - Find the
.dist-infodirectory in an unzipped wheel. - is_
metadata_ entry - Returns
trueif the file is aMETADATAfile in a.dist-infodirectory that matches the wheel filename. - read_
archive_ metadata - Given an archive, read the
METADATAfrom the.dist-infodirectory. - read_
dist_ info_ metadata - Read the wheel
METADATAmetadata from a.dist-infodirectory. - read_
flat_ wheel_ metadata - Read the
ResolutionMetadatafrom an unzipped wheel. - read_
metadata_ async_ seek - Read a wheel’s
METADATAfile from a zip file. - read_
metadata_ async_ stream - Like
read_metadata_async_seek, but doesn’t use seek.