__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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:

aptanhua@216.73.216.79: ~ $
a

XC?h��@s�dZddlZddlZddlZddlmZddlmZddlm	Z	m
Z
ddlmZddl
mZmZddlmZdd	lmZdd
lmZeedd�eedd�eed
d�d�ZGdd�de�ZdS)zm
distutils.command.upload

Implements the Distutils 'upload' subcommand (upload package to a package
index).
�N)�standard_b64encode)�	HTTPError)�urlopen�Request)�urlparse)�DistutilsError�DistutilsOptionError)�
PyPIRCCommand)�spawn)�logZmd5Zsha256Zblake2b)Z
md5_digestZ
sha256_digestZblake2_256_digestc@sJeZdZdZejddgZejdgZdd�Zdd�Zd	d
�Z	dd�Z
d
S)�uploadzupload binary package to PyPI)�sign�szsign files to upload using gpg)z	identity=�izGPG identity used to sign filesr
cCs,t�|�d|_d|_d|_d|_d|_dS)N�rF)r	�initialize_options�username�password�
show_responser
�identity)�self�r�=/opt/alt/python39/lib64/python3.9/distutils/command/upload.pyr*s
zupload.initialize_optionscCsrt�|�|jr|jstd��|��}|ikrV|d|_|d|_|d|_|d|_	|jsn|j
jrn|j
j|_dS)Nz.Must use --sign for --identity to have meaningrr�
repository�realm)r	�finalize_optionsrr
rZ_read_pypircrrrr�distribution)rZconfigrrrr2s
�



zupload.finalize_optionscCs:|jjsd}t|��|jjD]\}}}|�|||�qdS)NzHMust create and upload files in one command (e.g. setup.py sdist upload))rZ
dist_filesr�upload_file)r�msg�command�	pyversion�filenamerrr�runDs
z
upload.runc"Cs
t|j�\}}}}}}	|s"|s"|	r0td|j��|dvrDtd|��|jr|ddd|g}
|jrnd|jg|
dd�<t|
|jd	�t|d
�}z|��}W|�	�n
|�	�0|j
j}
dd|
��|
�
�tj�|�|f||d
|
��|
��|
��|
��|
��|
��|
��|
��|
��|
��|
��|
��|
��d�}d|d<t��D]B\}}|du�rL�q6z||�� �||<Wnt!�ytYn0�q6|j�r�t|dd
��,}tj�|�d|��f|d<Wd�n1�s�0Y|j"d|j#�$d�}dt%|��&d�}d}d|�$d�}|d}t'�(�}|��D]�\}}d|}t)|t*��sB|g}|D]j}t+|�t,u�rr|d|d7}|d}nt-|��$d�}|�.|�|�.|�$d��|�.d�|�.|��qF�q |�.|�|�/�}d||jf}|�0|t1j2�d |t-t3|��|d!�}t4|j||d"�}zt5|�}|�6�}|j7}Wnjt8�yX} z| j9}| j7}WYd} ~ nBd} ~ 0t:�y�} z |�0t-| �t1j;��WYd} ~ n
d} ~ 00|d#k�r�|�0d$||ft1j2�|j<�r|�=|�}!d%�>d&|!d&f�}|�0|t1j2�n"d'||f}|�0|t1j;�t?|��dS)(NzIncompatible url %s)ZhttpZhttpszunsupported schema Zgpgz
--detach-signz-az--local-user�)�dry_run�rbZfile_upload�1z1.0)z:actionZprotocol_version�name�version�contentZfiletyper Zmetadata_versionZsummaryZ	home_pageZauthorZauthor_email�license�description�keywords�platformZclassifiersZdownload_urlZprovidesZrequiresZ	obsoletesrZcommentz.ascZ
gpg_signature�:�asciizBasic z3--------------GHSKFJDLGDS7543FJKLFHRE75642756743254s
--s--
z+
Content-Disposition: form-data; name="%s"z; filename="%s"r�zutf-8s

zSubmitting %s to %sz multipart/form-data; boundary=%s)zContent-typezContent-lengthZ
Authorization)�data�headers��zServer response (%s): %s�
zK---------------------------------------------------------------------------zUpload failed (%s): %s)@rr�AssertionErrorr
rr
r$�open�read�closer�metadataZget_nameZget_version�os�path�basenameZget_descriptionZget_urlZget_contactZget_contact_emailZget_licenceZget_long_descriptionZget_keywordsZ
get_platformsZget_classifiersZget_download_urlZget_providesZget_requiresZ
get_obsoletes�_FILE_CONTENT_DIGESTS�itemsZ	hexdigest�
ValueErrorrr�encoder�decode�io�BytesIO�
isinstance�list�type�tuple�str�write�getvalueZannouncer�INFO�lenrrZgetcoderr�code�OSErrorZERRORrZ_read_pypi_response�joinr)"rrr r!ZschemaZnetlocZurl�paramsZqueryZ	fragmentsZgpg_args�fr)�metar1Zdigest_nameZdigest_consZ	user_passZauth�boundaryZsep_boundaryZend_boundary�body�key�value�titlerr2Zrequest�resultZstatus�reason�e�textrrrrLs���

� 

�(




��

�
zupload.upload_fileN)�__name__�
__module__�__qualname__r+r	Zuser_optionsZboolean_optionsrrr"rrrrrrs�r)�__doc__r:rBZhashlib�base64rZurllib.errorrZurllib.requestrrZurllib.parserZdistutils.errorsrrZdistutils.corer	Zdistutils.spawnr
Z	distutilsr�getattrr=rrrrr�<module>s 


�

Filemanager

Name Type Size Permission Actions
__init__.cpython-39.opt-1.pyc File 488 B 0644
__init__.cpython-39.opt-2.pyc File 379 B 0644
__init__.cpython-39.pyc File 488 B 0644
bdist.cpython-39.opt-1.pyc File 3.53 KB 0644
bdist.cpython-39.opt-2.pyc File 3.34 KB 0644
bdist.cpython-39.pyc File 3.53 KB 0644
bdist_dumb.cpython-39.opt-1.pyc File 3.52 KB 0644
bdist_dumb.cpython-39.opt-2.pyc File 3.32 KB 0644
bdist_dumb.cpython-39.pyc File 3.52 KB 0644
bdist_msi.cpython-39.opt-1.pyc File 19.25 KB 0644
bdist_msi.cpython-39.opt-2.pyc File 17.75 KB 0644
bdist_msi.cpython-39.pyc File 19.32 KB 0644
bdist_rpm.cpython-39.opt-1.pyc File 11.9 KB 0644
bdist_rpm.cpython-39.opt-2.pyc File 11.59 KB 0644
bdist_rpm.cpython-39.pyc File 11.95 KB 0644
bdist_wininst.cpython-39.opt-1.pyc File 8.31 KB 0644
bdist_wininst.cpython-39.opt-2.pyc File 8.17 KB 0644
bdist_wininst.cpython-39.pyc File 8.36 KB 0644
build.cpython-39.opt-1.pyc File 3.8 KB 0644
build.cpython-39.opt-2.pyc File 3.72 KB 0644
build.cpython-39.pyc File 3.8 KB 0644
build_clib.cpython-39.opt-1.pyc File 4.7 KB 0644
build_clib.cpython-39.opt-2.pyc File 4.16 KB 0644
build_clib.cpython-39.pyc File 4.7 KB 0644
build_ext.cpython-39.opt-1.pyc File 15.82 KB 0644
build_ext.cpython-39.opt-2.pyc File 13.91 KB 0644
build_ext.cpython-39.pyc File 15.82 KB 0644
build_py.cpython-39.opt-1.pyc File 10.15 KB 0644
build_py.cpython-39.opt-2.pyc File 8.97 KB 0644
build_py.cpython-39.pyc File 10.2 KB 0644
build_scripts.cpython-39.opt-1.pyc File 4.24 KB 0644
build_scripts.cpython-39.opt-2.pyc File 3.86 KB 0644
build_scripts.cpython-39.pyc File 4.24 KB 0644
check.cpython-39.opt-1.pyc File 4.81 KB 0644
check.cpython-39.opt-2.pyc File 4.19 KB 0644
check.cpython-39.pyc File 4.81 KB 0644
clean.cpython-39.opt-1.pyc File 2.05 KB 0644
clean.cpython-39.opt-2.pyc File 1.96 KB 0644
clean.cpython-39.pyc File 2.05 KB 0644
config.cpython-39.opt-1.pyc File 9.99 KB 0644
config.cpython-39.opt-2.pyc File 6.73 KB 0644
config.cpython-39.pyc File 9.99 KB 0644
install.cpython-39.opt-1.pyc File 13.24 KB 0644
install.cpython-39.opt-2.pyc File 12.21 KB 0644
install.cpython-39.pyc File 13.24 KB 0644
install_data.cpython-39.opt-1.pyc File 2.24 KB 0644
install_data.cpython-39.opt-2.pyc File 2.1 KB 0644
install_data.cpython-39.pyc File 2.24 KB 0644
install_egg_info.cpython-39.opt-1.pyc File 2.96 KB 0644
install_egg_info.cpython-39.opt-2.pyc File 2.3 KB 0644
install_egg_info.cpython-39.pyc File 2.96 KB 0644
install_headers.cpython-39.opt-1.pyc File 1.68 KB 0644
install_headers.cpython-39.opt-2.pyc File 1.52 KB 0644
install_headers.cpython-39.pyc File 1.68 KB 0644
install_lib.cpython-39.opt-1.pyc File 4.98 KB 0644
install_lib.cpython-39.opt-2.pyc File 4.41 KB 0644
install_lib.cpython-39.pyc File 4.98 KB 0644
install_scripts.cpython-39.opt-1.pyc File 2.1 KB 0644
install_scripts.cpython-39.opt-2.pyc File 1.96 KB 0644
install_scripts.cpython-39.pyc File 2.1 KB 0644
register.cpython-39.opt-1.pyc File 8.27 KB 0644
register.cpython-39.opt-2.pyc File 7.03 KB 0644
register.cpython-39.pyc File 8.27 KB 0644
sdist.cpython-39.opt-1.pyc File 14.15 KB 0644
sdist.cpython-39.opt-2.pyc File 10.87 KB 0644
sdist.cpython-39.pyc File 14.15 KB 0644
upload.cpython-39.opt-1.pyc File 5.12 KB 0644
upload.cpython-39.opt-2.pyc File 5 KB 0644
upload.cpython-39.pyc File 5.12 KB 0644