PIP-HASH(1)
π PIP-HASH(1) π
okay so bestie, this one's from the pip manual and it's genuinely so useful, hear me out π
β¨ NAME β¨
pip-hash β literally just the description of the pip hash command, that's it, that's the whole vibe π
πΈ DESCRIPTION πΈ
So pip hash computes a hash of a local package archive. That's the whole thing. It takes your archive and gives you a hash of it, slay β¨
And why do you care? Because these hashes can be used with --hash in a requirements file to do repeatable installs. Which is giving security, giving "my install is the same every single time", giving main character energy fr fr π
π¦ USAGE π¦
python -m pip hash [options] <file> ...
notice the <file> ... bestie β that's plural-able, you can hand it more than one file π
π OPTIONS π
-a,--algorithm <algorithm>β the hash algorithm to use. it's one ofsha256,sha384,sha512. that's the whole list, no cap π§- (environment variable:
PIP_ALGORITHM) β so you can set it in the env instead of typing the flag, iykyk π
- (environment variable:
π AUTHOR π
pip developers β the collective, the icons, the ones who did that π
β COPYRIGHT β
The pip developers β yes, same people, they own it, periodt π«Ά
okay that's the whole page, no hidden lore, everything's above πΈ and just so you have the receipts: this is version 25.1, dated Jun 26, 2025, from the pip manual set. go hash something, bestie ππ¦
π¦ where this page comes from
- epel 9: python3.13-pip 25.1.1-1.el9 Β· MIT AND Python-2.0.1 AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MPL-2.0 AND (Apache-2.0 OR BSD-2-Clause)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms