__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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.217.25: ~ $
U

�Qab��@s�dZddlmZddlmZddlmZddlZddlZddl	Z	ddl
Z
ddlZddlZddl
Z
ddlmZddlmZmZddlmZd	d
lmZdd�ZGd
d�de�ZdS)zpupload_docs

Implements a Distutils 'upload_docs' subcommand (upload documentation to
PyPI's pythonhosted.org).
�)�standard_b64encode)�log)�DistutilsOptionErrorN)�six)�http_client�urllib)�iter_entry_points�)�uploadcCstjr
dnd}|�d|�S)N�surrogateescape�strictzutf-8)r�PY3�encode)�s�errors�r�B/usr/lib/python3.8/site-packages/setuptools/command/upload_docs.py�_encodesrc@s�eZdZdZdZdddejfddgZejZdd	�Zd
efgZ	dd�Z
d
d�Zdd�Zdd�Z
edd��Zedd��Zdd�ZdS)�upload_docszhttps://pypi.python.org/pypi/zUpload documentation to PyPIzrepository=�rzurl of repository [default: %s])z
show-responseNz&display full response text from server)zupload-dir=Nzdirectory to uploadcCs"|jdkrtdd�D]}dSdS)Nzdistutils.commands�build_sphinxT)�
upload_dirr)�selfZeprrr�
has_sphinx/s
zupload_docs.has_sphinxrcCst�|�d|_d|_dS)N)r
�initialize_optionsr�
target_dir)rrrrr6s
zupload_docs.initialize_optionscCs�t�|�|jdkrN|��r0|�d�}|j|_q`|�d�}tj�	|j
d�|_n|�d�|j|_d|jkrtt
�d�|�d|j�dS)Nr�buildZdocsrzpypi.python.orgz3Upload_docs command is deprecated. Use RTD instead.zUsing upload directory %s)r
�finalize_optionsrrZget_finalized_commandZbuilder_target_dirr�os�path�joinZ
build_baseZensure_dirname�
repositoryr�warn�announce)rrrrrrr;s







zupload_docs.finalize_optionscCs�t�|d�}z�|�|j�t�|j�D]x\}}}||jkrP|sPd}t||j��|D]H}tj�	||�}|t
|j�d��tjj�}	tj�	|	|�}
|�
||
�qTq&W5|��XdS)N�wz'no files found in upload directory '%s')�zipfileZZipFile�closeZmkpathrr�walkrrr �len�lstrip�sep�write)r�filename�zip_file�root�dirs�filesZtmpl�nameZfull�relative�destrrr�create_zipfileKszupload_docs.create_zipfilec	Csh|��D]}|�|�qt��}|jj��}tj�	|d|�}z|�|�|�
|�W5t
�|�XdS)Nz%s.zip)Zget_sub_commandsZrun_command�tempfileZmkdtemp�distribution�metadata�get_namerrr �shutilZrmtreer4�upload_file)rZcmd_nameZtmp_dirr1r-rrr�run[s
zupload_docs.runccs�|\}}d|}t|t�s |g}|D]f}t|t�rL|d|d7}|d}nt|�}|Vt|�VdV|V|r$|dd�dkr$dVq$dS)	Nz*
Content-Disposition: form-data; name="%s"z; filename="%s"rr	s

����
�
)�
isinstance�list�tupler)�item�sep_boundary�key�values�title�valuerrr�_build_partis



zupload_docs._build_partcCsnd}d|}|d}|df}tj|j|d�}t||���}tj�|�}t�||�}	d|�d�}
d�	|	�|
fS)	z=
        Build up the MIME payload for the POST data
        s3--------------GHSKFJDLGDS7543FJKLFHRE75642756743254s
--s--r>)rCz multipart/form-data; boundary=%s�ascii�)
�	functools�partialrH�map�items�	itertools�chain�
from_iterable�decoder )�cls�data�boundaryrCZend_boundaryZ	end_itemsZbuilderZpart_groups�partsZ
body_items�content_typerrr�_build_multipart}s�zupload_docs._build_multipartc
Cs:t|d��}|��}W5QRX|jj}d|��tj�|�|fd�}t|j	d|j
�}t|�}tj
rn|�d�}d|}|�|�\}}	d|j}
|�|
tj�tj�|j�\}}}
}}}|dkr�t�|�}n |d	kr�t�|�}ntd
|��d}zZ|��|�d|
�|	}|�d
|�|�dtt|���|�d|�|� �|�!|�Wn>t"j#k
�r�}z|�t|�tj$�WY�dSd}~XYnX|�%�}|j&dk�r�d|j&|j'f}
|�|
tj�nb|j&dk�r|�(d�}|dk�r�d|��}d|}
|�|
tj�nd|j&|j'f}
|�|
tj$�|j)�r6t*d|��d�dS)N�rbZ
doc_upload)z:actionr1�content�:rIzBasic zSubmitting documentation to %sZhttpZhttpszunsupported schema �ZPOSTzContent-typezContent-lengthZ
Authorization��zServer response (%s): %si-ZLocationzhttps://pythonhosted.org/%s/zUpload successful. Visit %szUpload failed (%s): %szK---------------------------------------------------------------------------)+�open�readr6r7r8rr�basenamerZusernameZpasswordrrr
rRrXr!r#r�INFOr�parseZurlparserZHTTPConnectionZHTTPSConnection�AssertionErrorZconnectZ
putrequestZ	putheader�strr(Z
endheaders�send�socket�errorZERRORZgetresponseZstatus�reasonZ	getheaderZ
show_response�print)rr,�frZ�metarTZcredentialsZauthZbodyZct�msgZschemaZnetlocZurlZparamsZqueryZ	fragmentsZconnrW�er�locationrrrr:�sb�

�

zupload_docs.upload_fileN)�__name__�
__module__�__qualname__ZDEFAULT_REPOSITORY�descriptionr
Zuser_optionsZboolean_optionsrZsub_commandsrrr4r;�staticmethodrH�classmethodrXr:rrrrrs(��


r)�__doc__�base64rZ	distutilsrZdistutils.errorsrrrfr%r5r9rOrKZsetuptools.externrZsetuptools.extern.six.movesrrZ
pkg_resourcesrr
rrrrrr�<module>s 

Filemanager

Name Type Size Permission Actions
__init__.cpython-38.opt-1.pyc File 738 B 0644
__init__.cpython-38.pyc File 738 B 0644
alias.cpython-38.opt-1.pyc File 2.34 KB 0644
alias.cpython-38.pyc File 2.34 KB 0644
bdist_egg.cpython-38.opt-1.pyc File 13.85 KB 0644
bdist_egg.cpython-38.pyc File 13.85 KB 0644
bdist_rpm.cpython-38.opt-1.pyc File 1.74 KB 0644
bdist_rpm.cpython-38.pyc File 1.74 KB 0644
bdist_wininst.cpython-38.opt-1.pyc File 954 B 0644
bdist_wininst.cpython-38.pyc File 954 B 0644
build_clib.cpython-38.opt-1.pyc File 2.38 KB 0644
build_clib.cpython-38.pyc File 2.38 KB 0644
build_ext.cpython-38.opt-1.pyc File 9.63 KB 0644
build_ext.cpython-38.pyc File 9.66 KB 0644
build_py.cpython-38.opt-1.pyc File 8.44 KB 0644
build_py.cpython-38.pyc File 8.44 KB 0644
develop.cpython-38.opt-1.pyc File 6.35 KB 0644
develop.cpython-38.pyc File 6.35 KB 0644
dist_info.cpython-38.opt-1.pyc File 1.33 KB 0644
dist_info.cpython-38.pyc File 1.33 KB 0644
easy_install.cpython-38.opt-1.pyc File 63.78 KB 0644
easy_install.cpython-38.pyc File 63.82 KB 0644
egg_info.cpython-38.opt-1.pyc File 21.25 KB 0644
egg_info.cpython-38.pyc File 21.25 KB 0644
install.cpython-38.opt-1.pyc File 3.9 KB 0644
install.cpython-38.pyc File 3.9 KB 0644
install_egg_info.cpython-38.opt-1.pyc File 2.35 KB 0644
install_egg_info.cpython-38.pyc File 2.35 KB 0644
install_lib.cpython-38.opt-1.pyc File 3.99 KB 0644
install_lib.cpython-38.pyc File 4.03 KB 0644
install_scripts.cpython-38.opt-1.pyc File 2.22 KB 0644
install_scripts.cpython-38.pyc File 2.22 KB 0644
py36compat.cpython-38.opt-1.pyc File 4.5 KB 0644
py36compat.cpython-38.pyc File 4.5 KB 0644
register.cpython-38.opt-1.pyc File 755 B 0644
register.cpython-38.pyc File 755 B 0644
rotate.cpython-38.opt-1.pyc File 2.46 KB 0644
rotate.cpython-38.pyc File 2.46 KB 0644
saveopts.cpython-38.opt-1.pyc File 889 B 0644
saveopts.cpython-38.pyc File 889 B 0644
sdist.cpython-38.opt-1.pyc File 6.65 KB 0644
sdist.cpython-38.pyc File 6.65 KB 0644
setopt.cpython-38.opt-1.pyc File 4.43 KB 0644
setopt.cpython-38.pyc File 4.43 KB 0644
test.cpython-38.opt-1.pyc File 8.28 KB 0644
test.cpython-38.pyc File 8.28 KB 0644
upload.cpython-38.opt-1.pyc File 5.08 KB 0644
upload.cpython-38.pyc File 5.08 KB 0644
upload_docs.cpython-38.opt-1.pyc File 5.98 KB 0644
upload_docs.cpython-38.pyc File 6 KB 0644