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
/
hc_python
/
lib
/
python3.12
/
site-packages
/
pip
/
_internal
/
index
/
__pycache__
[ HOME ]
Exec
Submit
collector.cpython-312.pyc
� p�/i9? � � � d Z ddlmZ ddlZddlZddlZddlZddlZddl Z ddl Z ddlZddl ZddlmZmZmZ ddlmZ ddlmZ ddlmZ ddlmZmZmZ dd lmZ dd lmZ ddl m!Z!m"Z" ddl#m$Z$ dd l%m&Z& ddl'm(Z( ddl)m*Z* ddl+m,Z, ddl-m.Z. ddl/m0Z0 ddl1m2Z2 ddl3m4Z4m5Z5m6Z6 e jn e8� Z9ee:e:f Z;d2d�Z< G d� de=� Z>d3d�Z? G d� de=� Z@d4d�ZAd5d�ZBd6d�ZC G d� d � ZD G d!� d"e� ZEd7d#�ZFeFd8d%�� ZG ed&�'� G d(� d$� � ZH G d)� d*e� ZI d9 d:d+�ZJ d; d<d,�ZKd=d-�ZL G d.� d/e� ZM G d0� d1� ZNy)>zO The main purpose of this module is to expose LinkCollector.collect_sources(). � )�annotationsN)�Iterable�MutableMapping�Sequence)� dataclass)� HTMLParser)�Values)�Callable� NamedTuple�Protocol)�requests)�Response)� RetryError�SSLError)�NetworkConnectionError)�Link)�SearchScope)� PipSession)�raise_for_status)�is_archive_file��redact_auth_from_url)�vcs� )�CandidatesFromPage� LinkSource�build_sourcec � � t j D ]6 }| j � j |� s�#| t |� dv s�4|c S y)zgLook for VCS schemes in the URL. Returns the matched VCS scheme, or None if there's no match. z+:N)r �schemes�lower� startswith�len)�url�schemes �L/opt/hc_python/lib/python3.12/site-packages/pip/_internal/index/collector.py�_match_vcs_schemer&