PIP-HASH(1)
π pip-hash π
okay bestie so this is the pip-hash page from the pip manual, and no cap it's a short one but it's so useful. sit with me for a sec π«Ά
β¨ NAME β¨
pip-hash β the whole entire description of the pip hash command, that's literally it, that's the vibe π
πΈ DESCRIPTION πΈ
so what does it do?? it computes a hash of a local package archive. that's the whole thing. it's giving very focused, very main character, very one-job-and-she-does-it-well β¨
and why do you care, you ask? because these hashes can be used with --hash in a requirements file to do repeatable installs. fr fr. lock it in once, install it the same way forever. that's the dream π
π¦ USAGE π¦
python -m pip hash [options] <file> ...
yeah you just point it at one or more <file>s and it does its lil hash thing. iconic behaviour honestly π
π OPTIONS π
-a,--algorithm<algorithm>β this is the one picking which hash algorithm to use, and it's gotta be one ofsha256,sha384, orsha512. that's the whole list, bestie, don't try to sneak anything else in there π
π heads up: there's an environment variable for this one! PIP_ALGORITHM β set it and it'll vibe along with you.
π Author π
pip developers β the whole squad, we love them, we thank them π
π Copyright π
The pip developers β yes the same people, yes they own it, periodt β¨
and that's the page!! slay ππ this lil cutie is from pip version 26.0, dated Aug 26, 2026 β go forth and hash responsibly, bestie, ily π«Άππ§
π¦ where this page comes from
- fedora 44: python3-pip 26.0.1-3.fc44 Β· 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 on : a language model's rewrite of the original, under its terms