Crate uv_metadata

Crate uv_metadata 

Source
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-info directory in a zipped wheel.
find_flat_dist_info
Find the .dist-info directory in an unzipped wheel.
is_metadata_entry
Returns true if the file is a METADATA file in a .dist-info directory that matches the wheel filename.
read_archive_metadata
Given an archive, read the METADATA from the .dist-info directory.
read_dist_info_metadata
Read the wheel METADATA metadata from a .dist-info directory.
read_flat_wheel_metadata
Read the ResolutionMetadata from an unzipped wheel.
read_metadata_async_seek
Read a wheel’s METADATA file from a zip file.
read_metadata_async_stream
Like read_metadata_async_seek, but doesn’t use seek.