Use the wheel unpack command to extract the contents of a .whl file. Unlike a standard unzip command, wheel unpack validates the integrity of the files by checking that their hashes and sizes match the entries in the wheel's RECORD file. If a mismatch is detected, the command will exit with an error (exit code 1) and raise a wheel.install.BadWheelFile exception.
To unpack a wheel into a specific directory, use the -d or --dest option.
# Unpack a wheel into the current directory
wheel unpack someproject-1.5.0-py2-py3-none.whl
# Unpack a wheel into a specific destination directory
wheel unpack someproject-1.5.0-py2-py3-none.whl -d /path/to/destination