LinuxCommandLibrary

pip-hash

Compute hash digests of package archives

TLDR

Calculate package hash

$ pip hash [package.whl]
copy
Calculate SHA256 hash
$ pip hash -a sha256 [package.tar.gz]
copy
Calculate multiple hashes
$ pip hash -a sha256 -a sha384 [package.whl]
copy

SYNOPSIS

pip hash [options] files...

DESCRIPTION

pip hash computes hash digests of package archives. Outputs hashes in a format suitable for requirements files with hash-checking mode. Supports SHA256, SHA384, and SHA512 algorithms.

PARAMETERS

-a, --algorithm algo

Hash algorithm (sha256, sha384, sha512).

SEE ALSO

pip(1), pip-download(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community