Open-Source Wikis

/

uv

/

Crates

/

uv-metadata

astral-sh/uv

uv-metadata

crates/uv-metadata/ reads core-metadata files from wheels and sdists.

Purpose

A wheel's dist-info/METADATA and an sdist's PKG-INFO are both Core Metadata files. uv needs to read them in many places — at install time, during publish, when populating cache entries, when answering uv pip show. This crate is the parser.

Key abstractions

  • read_metadata_async_seek — async, seeking reader for metadata embedded in a .whl.
  • Helpers for reading PKG-INFO from sdists.

See also

Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.

uv-metadata – uv wiki | Factory