Charlie Marsh 4fcdb3c045 Copy over pep508-rs crate (#31)
This PR copies over the `pep440-rs` crate at commit
`82aa5d4dcbe676b121dc931b0afa09a82de8e3d7` with no modifications.

It won't pass CI, but modifications will intentionally be confined to
later PRs.
2023-10-06 20:12:19 -04:00
2023-10-06 20:12:19 -04:00
2023-10-06 20:59:17 +00:00
2023-10-06 20:59:17 +00:00
2023-10-06 20:31:03 +00:00
2023-10-05 12:45:38 -04:00
2023-10-05 12:45:38 -04:00
2023-10-06 20:31:03 +00:00
2023-10-06 01:03:07 -04:00

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

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
No description provided
Readme 187 MiB
Languages
Rust 97.4%
Python 2%
RenderScript 0.3%
Shell 0.1%