uv/crates/uv-client
Charlie Marsh 5d53040465
Stream zip archive when fetching non-range-request metadata (#1792)
## Summary

If a registry doesn't support range requests, then today, we download
the entire wheel to disk and then read the metadata from the downloaded
archive. This PR instead modifies the registry client to stream the
zipfile and stop as soon as it's seen the metadata, which should be more
efficient.

Closes https://github.com/astral-sh/uv/issues/1596.

## Test Plan

Made this the _only_ path for downloading metadata; verified that the
test suite passed.
2024-02-20 22:12:21 -05:00
..
src Stream zip archive when fetching non-range-request metadata (#1792) 2024-02-20 22:12:21 -05:00
tests Rename to `uv` (#1302) 2024-02-15 11:19:46 -06:00
Cargo.toml Control pip timeout duration via environment variable (#1694) 2024-02-19 22:37:56 -06:00
README.md Rename to `uv` (#1302) 2024-02-15 11:19:46 -06:00

README.md

pypi-client

A general-use client for interacting with PyPI.

Loosely modeled after Orogene's oro-client.