PIP-HASH(1)

πŸ“¦
version 25.1.1 Β· 2 versions
, in epel 9

πŸ’… 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 of sha256, 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 🌈

πŸ’œ AUTHOR πŸ’œ

pip developers β€” the collective, the icons, the ones who did that πŸ‘‘


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