mirror of
https://github.com/astral-sh/uv
synced 2026-01-21 05:20:09 -05:00
c8477991a96da2a2ee5aa4c8e5d1dc3ffd0f6886
This PR modifies the PEP 440 and PEP 508 crates to pass CI, primarily by fixing all lint violations. We're also now using these crates in the workspace via `path`. (Previously, we were still fetching them from Cargo.)
puffin
An experimental Python package manager.
Usage
To resolve a requirements.in file:
cargo run -p puffin-cli -- compile requirements.in
To install from a resolved requirements.txt file:
cargo run -p puffin-cli -- sync requirements.txt
Benchmarks
To compare a warm run of puffin to pip:
hyperfine --runs 10 --warmup 3 \
"./target/release/puffin-cli sync requirements.txt" \
"pip install -r requirements.txt"
To compare a cold run of puffin to pip:
hyperfine --runs 10 --warmup 3 \
"./target/release/puffin-cli sync requirements.txt --no-cache" \
"pip install -r requirements.txt --ignore-installed --no-cache-dir"
License
Puffin is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Puffin by you, as defined in the Apache-2.0 license, shall be dually licensed as above, without any additional terms or conditions.
Description
Languages
Rust
97.4%
Python
2%
RenderScript
0.3%
Shell
0.1%