. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 162.0.212.4 / Your IP :
216.73.216.221 [
Web Server : LiteSpeed System : Linux premium146.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 User : alshnoli ( 2431) PHP Version : 8.3.28 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python36/lib/python3.6/site-packages/pip/_internal/cli/__pycache__/ |
Upload File : |
3
�Re� � @ s� d dl mZmZ d dlZd dlZd dlZd dlZd dlZd dlm Z m
Z
d dlmZ d dl
mZ d dlmZ er�d dlmZmZ eje�ZG dd � d e�ZG d
d� de�ZG dd
� d
e�ZG dd� de�Zejdd� �Zejdd� �ZdS )� )�absolute_import�divisionN)�HIDE_CURSOR�SHOW_CURSOR)�WINDOWS)�get_indentation)�MYPY_CHECK_RUNNING)�Iterator�IOc @ s e Zd Zdd� Zdd� ZdS )�SpinnerInterfacec C s
t � �d S )N)�NotImplementedError)�self� r ��/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/cli/spinners.py�spin s zSpinnerInterface.spinc C s
t � �d S )N)r )r
�final_statusr r r �finish s zSpinnerInterface.finishN)�__name__�
__module__�__qualname__r r r r r r r s r c @ s. e Zd Zddd�Zdd� Zdd � Zd
d� ZdS )
�InteractiveSpinnerN�-\|/� �?c C s\ || _ |d krtj}|| _t|�| _d| _tj|�| _ | jj
dt� | j d � d| _d S )NF� z ... r )
�_message�sys�stdout�_file�RateLimiter�
_rate_limiter� _finished� itertools�cycle�_spin_cycle�writer �_width)r
�message�file�
spin_chars�min_update_interval_secondsr r r �__init__ s
zInteractiveSpinner.__init__c C s^ | j st�d| j }| jj|d| j | � | jj|� t|�| _| jj� | jj� d S )N�r ) r �AssertionErrorr% r r$ �len�flushr �reset)r
�status�backupr r r �_write0 s
zInteractiveSpinner._writec C s, | j r
d S | jj� sd S | jt| j�� d S )N)r r �readyr2 �nextr# )r
r r r r = s
zInteractiveSpinner.spinc C s4 | j r
d S | j|� | jjd� | jj� d| _ d S )N�
T)r r2 r r$ r. )r
r r r r r E s
zInteractiveSpinner.finish)Nr r )r r r r* r2 r r r r r r r s
r c @ s. e Zd Zddd�Zdd� Zdd� Zdd � Zd
S )�NonInteractiveSpinner�<