| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/pip/_internal/index/__pycache__/ |
Upload File : |
�
�/�c� � �� � d dl Z d dlZd dlZd dlZd dlmZmZmZmZ d dl m
Z
d dlmZ d dl
mZmZ d dlmZ e j e� � Zee
Zee Zeegee
f Zeegef Z G d� d� � Zd ed
efd�Z G d� d
e� � Z G d� de� � Z G d� de� � Z G d� de� � Z dededededed
eee ee f fd�Z!dS )� N)�Callable�Iterable�Optional�Tuple)�InstallationCandidate)�Link)�path_to_url�url_to_path)�is_urlc �N � e Zd Zedee fd�� � Zdefd�Zde fd�Z
dS )�
LinkSource�returnc � � t � � �)z,Returns the underlying link, if there's one.��NotImplementedError��selfs �=/usr/lib/python3/dist-packages/pip/_internal/index/sources.py�linkzLinkSource.link s � � "�#�#�#� c � � t � � �)z9Candidates found by parsing an archive listing HTML file.r r s r �page_candidateszLinkSource.page_candidates � � �!�#�#�#r c � � t � � �)z,Links found by specifying archives directly.r r s r �
file_linkszLinkSource.file_links r r N)�__name__�
__module__�__qualname__�propertyr r r �FoundCandidatesr �
FoundLinksr � r r r
r
ss � � � � � �
�$�h�t�n� $� $� $� �X�$�$�� $� $� $� $�$�J� $� $� $� $� $� $r r
�file_urlr c �B � t j | d�� � d dk S )NF)�strictr z text/html)� mimetypes�
guess_type)r# s r �
_is_html_filer( # s"