MOON
Server: Apache
System: Linux server30c.hostingraja.org 3.10.0-962.3.2.lve1.5.63.el7.x86_64 #1 SMP Fri Oct 8 12:03:35 UTC 2021 x86_64
User: jibhires (1887)
PHP: 8.1.30
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open, allow_url_fopen, symlink, escapeshellcmd, pcntl_exec
Upload Files
File: //opt/alt/python35/lib/python3.5/site-packages/pip/_internal/commands/hash.pyc
�
+�Rec@@s�ddlmZddlZddlZddlZddlmZddlmZm	Z	ddl
mZmZddl
mZmZddlmZer�ddlmZdd	lmZneje�Zd
efd��YZd�ZdS(
i(tabsolute_importN(tCommand(tERRORtSUCCESS(t
FAVORITE_HASHt
STRONG_HASHES(tread_chunkstwrite_output(tMYPY_CHECK_RUNNING(tValues(tListtHashCommandcB@s,eZdZdZeZd�Zd�ZRS(s�
    Compute a hash of a local package archive.

    These can be used with --hash in a requirements file to do repeatable
    installs.
    s%prog [options] <file> ...cC@s]|jjdddddtdddtd	d
jdjt���|jjd|j�dS(
Ns-as--algorithmtdestt	algorithmtchoicestactiontstoretdefaultthelps$The hash algorithm to use: one of {}s, i(tcmd_optst
add_optionRRtformattjointparsertinsert_option_group(tself((sL/opt/alt/python35/lib/python3.5/site-packages/pip/_internal/commands/hash.pytadd_optionss		cC@sW|s|jjtj�tS|j}x*|D]"}td||t||��q-WtS(Ns%s:
--hash=%s:%s(	Rtprint_usagetsyststderrRR
Rt
_hash_of_fileR(RtoptionstargsR
tpath((sL/opt/alt/python35/lib/python3.5/site-packages/pip/_internal/commands/hash.pytrun+s	
(t__name__t
__module__t__doc__tusagetTruetignore_require_venvRR"(((sL/opt/alt/python35/lib/python3.5/site-packages/pip/_internal/commands/hash.pyRs
	cC@sUt|d��:}tj|�}x!t|�D]}|j|�q.WWdQX|j�S(s!Return the hash digest of a file.trbN(topenthashlibtnewRtupdatet	hexdigest(R!R
tarchivethashtchunk((sL/opt/alt/python35/lib/python3.5/site-packages/pip/_internal/commands/hash.pyR8s
(t
__future__RR+tloggingRtpip._internal.cli.base_commandRtpip._internal.cli.status_codesRRtpip._internal.utils.hashesRRtpip._internal.utils.miscRRtpip._internal.utils.typingRtoptparseR	ttypingR
t	getLoggerR#tloggerRR(((sL/opt/alt/python35/lib/python3.5/site-packages/pip/_internal/commands/hash.pyt<module>s$