Uname : Linux premium36.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
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
imunify360
/
venv
/
lib64
/
python3.11
/
site-packages
/
pip
/
_internal
/
network
/
__pycache__
[ HOME ]
Exec
Submit
File Name : lazy_wheel.cpython-311.pyc
� 4�gh� � � � d Z ddgZddlmZmZ ddlmZ ddlmZ ddl m Z mZmZm Z mZmZ ddlmZmZ dd lmZ dd lmZmZ ddlmZmZmZ ddlmZ dd lmZm Z m!Z! G d� de"� � Z#de$de$dedefd�Z% G d� d� � Z&dS )zLazy ZIP over HTTP�HTTPRangeRequestUnsupported�dist_from_wheel_url� )�bisect_left�bisect_right)�contextmanager)�NamedTemporaryFile)�Any�Dict� Generator�List�Optional�Tuple)� BadZipFile�ZipFile)�canonicalize_name)�CONTENT_CHUNK_SIZE�Response)�BaseDistribution�MemoryWheel�get_wheel_distribution)� PipSession)�HEADERS�raise_for_status�response_chunksc � � e Zd ZdS )r N)�__name__� __module__�__qualname__� � ��/builddir/build/BUILD/imunify360-venv-2.6.0/opt/imunify360/venv/lib/python3.11/site-packages/pip/_internal/network/lazy_wheel.pyr r s � � � � � ��Dr �name�url�session�returnc � � t ||� � 5 }t |j |� � }t |t | � � � � cddd� � S # 1 swxY w Y dS )a Return a distribution object from the given wheel URL. This uses HTTP range requests to only fetch the portion of the wheel containing metadata, just enough for the object to be constructed. If such requests are not supported, HTTPRangeRequestUnsupported is raised. N)�LazyZipOverHTTPr r"