69 items
NAME ↑ SIZE MODIFIED PERMS ACTIONS
.. / Parent Directory
__init__.cpython-39.opt-1.pyc — 475 B
2026-04-27 17:40 · rw-r--r--
475 B 2026-04-27 17:40 rw-r--r--
__init__.cpython-39.opt-2.pyc — 366 B
2026-04-27 17:40 · rw-r--r--
366 B 2026-04-27 17:40 rw-r--r--
__init__.cpython-39.pyc — 475 B
2026-04-27 17:40 · rw-r--r--
475 B 2026-04-27 17:40 rw-r--r--
bdist.cpython-39.opt-1.pyc — 3.52 KB
2026-04-27 17:40 · rw-r--r--
3.52 KB 2026-04-27 17:40 rw-r--r--
bdist.cpython-39.opt-2.pyc — 3.33 KB
2026-04-27 17:40 · rw-r--r--
3.33 KB 2026-04-27 17:40 rw-r--r--
bdist.cpython-39.pyc — 3.52 KB
2026-04-27 17:40 · rw-r--r--
3.52 KB 2026-04-27 17:40 rw-r--r--
bdist_dumb.cpython-39.opt-1.pyc — 3.5 KB
2026-04-27 17:40 · rw-r--r--
3.5 KB 2026-04-27 17:40 rw-r--r--
bdist_dumb.cpython-39.opt-2.pyc — 3.31 KB
2026-04-27 17:40 · rw-r--r--
3.31 KB 2026-04-27 17:40 rw-r--r--
bdist_dumb.cpython-39.pyc — 3.5 KB
2026-04-27 17:40 · rw-r--r--
3.5 KB 2026-04-27 17:40 rw-r--r--
bdist_msi.cpython-39.opt-1.pyc — 19.24 KB
2026-04-27 17:40 · rw-r--r--
19.24 KB 2026-04-27 17:40 rw-r--r--
bdist_msi.cpython-39.opt-2.pyc — 17.74 KB
2026-04-27 17:40 · rw-r--r--
17.74 KB 2026-04-27 17:40 rw-r--r--
bdist_msi.cpython-39.pyc — 19.31 KB
2026-04-27 17:40 · rw-r--r--
19.31 KB 2026-04-27 17:40 rw-r--r--
bdist_rpm.cpython-39.opt-1.pyc — 11.89 KB
2026-04-27 17:40 · rw-r--r--
11.89 KB 2026-04-27 17:40 rw-r--r--
bdist_rpm.cpython-39.opt-2.pyc — 11.58 KB
2026-04-27 17:40 · rw-r--r--
11.58 KB 2026-04-27 17:40 rw-r--r--
bdist_rpm.cpython-39.pyc — 11.94 KB
2026-04-27 17:40 · rw-r--r--
11.94 KB 2026-04-27 17:40 rw-r--r--
bdist_wininst.cpython-39.opt-1.pyc — 8.3 KB
2026-04-27 17:40 · rw-r--r--
8.3 KB 2026-04-27 17:40 rw-r--r--
bdist_wininst.cpython-39.opt-2.pyc — 8.16 KB
2026-04-27 17:40 · rw-r--r--
8.16 KB 2026-04-27 17:40 rw-r--r--
bdist_wininst.cpython-39.pyc — 8.34 KB
2026-04-27 17:40 · rw-r--r--
8.34 KB 2026-04-27 17:40 rw-r--r--
build.cpython-39.opt-1.pyc — 3.79 KB
2026-04-27 17:40 · rw-r--r--
3.79 KB 2026-04-27 17:40 rw-r--r--
build.cpython-39.opt-2.pyc — 3.71 KB
2026-04-27 17:40 · rw-r--r--
3.71 KB 2026-04-27 17:40 rw-r--r--
build.cpython-39.pyc — 3.79 KB
2026-04-27 17:40 · rw-r--r--
3.79 KB 2026-04-27 17:40 rw-r--r--
build_clib.cpython-39.opt-1.pyc — 4.69 KB
2026-04-27 17:40 · rw-r--r--
4.69 KB 2026-04-27 17:40 rw-r--r--
build_clib.cpython-39.opt-2.pyc — 4.15 KB
2026-04-27 17:40 · rw-r--r--
4.15 KB 2026-04-27 17:40 rw-r--r--
build_clib.cpython-39.pyc — 4.69 KB
2026-04-27 17:40 · rw-r--r--
4.69 KB 2026-04-27 17:40 rw-r--r--
build_ext.cpython-39.opt-1.pyc — 15.81 KB
2026-04-27 17:40 · rw-r--r--
15.81 KB 2026-04-27 17:40 rw-r--r--
build_ext.cpython-39.opt-2.pyc — 13.9 KB
2026-04-27 17:40 · rw-r--r--
13.9 KB 2026-04-27 17:40 rw-r--r--
build_ext.cpython-39.pyc — 15.81 KB
2026-04-27 17:40 · rw-r--r--
15.81 KB 2026-04-27 17:40 rw-r--r--
build_py.cpython-39.opt-1.pyc — 10.14 KB
2026-04-27 17:40 · rw-r--r--
10.14 KB 2026-04-27 17:40 rw-r--r--
build_py.cpython-39.opt-2.pyc — 8.96 KB
2026-04-27 17:40 · rw-r--r--
8.96 KB 2026-04-27 17:40 rw-r--r--
build_py.cpython-39.pyc — 10.19 KB
2026-04-27 17:40 · rw-r--r--
10.19 KB 2026-04-27 17:40 rw-r--r--
build_scripts.cpython-39.opt-1.pyc — 4.23 KB
2026-04-27 17:40 · rw-r--r--
4.23 KB 2026-04-27 17:40 rw-r--r--
build_scripts.cpython-39.opt-2.pyc — 3.84 KB
2026-04-27 17:40 · rw-r--r--
3.84 KB 2026-04-27 17:40 rw-r--r--
build_scripts.cpython-39.pyc — 4.23 KB
2026-04-27 17:40 · rw-r--r--
4.23 KB 2026-04-27 17:40 rw-r--r--
check.cpython-39.opt-1.pyc — 4.79 KB
2026-04-27 17:40 · rw-r--r--
4.79 KB 2026-04-27 17:40 rw-r--r--
check.cpython-39.opt-2.pyc — 4.18 KB
2026-04-27 17:40 · rw-r--r--
4.18 KB 2026-04-27 17:40 rw-r--r--
check.cpython-39.pyc — 4.79 KB
2026-04-27 17:40 · rw-r--r--
4.79 KB 2026-04-27 17:40 rw-r--r--
clean.cpython-39.opt-1.pyc — 2.03 KB
2026-04-27 17:40 · rw-r--r--
2.03 KB 2026-04-27 17:40 rw-r--r--
clean.cpython-39.opt-2.pyc — 1.95 KB
2026-04-27 17:40 · rw-r--r--
1.95 KB 2026-04-27 17:40 rw-r--r--
clean.cpython-39.pyc — 2.03 KB
2026-04-27 17:40 · rw-r--r--
2.03 KB 2026-04-27 17:40 rw-r--r--
config.cpython-39.opt-1.pyc — 9.97 KB
2026-04-27 17:40 · rw-r--r--
9.97 KB 2026-04-27 17:40 rw-r--r--
config.cpython-39.opt-2.pyc — 6.71 KB
2026-04-27 17:40 · rw-r--r--
6.71 KB 2026-04-27 17:40 rw-r--r--
config.cpython-39.pyc — 9.97 KB
2026-04-27 17:40 · rw-r--r--
9.97 KB 2026-04-27 17:40 rw-r--r--
install.cpython-39.opt-1.pyc — 13.31 KB
2026-04-27 17:40 · rw-r--r--
13.31 KB 2026-04-27 17:40 rw-r--r--
install.cpython-39.opt-2.pyc — 12.28 KB
2026-04-27 17:40 · rw-r--r--
12.28 KB 2026-04-27 17:40 rw-r--r--
install.cpython-39.pyc — 13.31 KB
2026-04-27 17:40 · rw-r--r--
13.31 KB 2026-04-27 17:40 rw-r--r--
install_data.cpython-39.opt-1.pyc — 2.23 KB
2026-04-27 17:40 · rw-r--r--
2.23 KB 2026-04-27 17:40 rw-r--r--
install_data.cpython-39.opt-2.pyc — 2.09 KB
2026-04-27 17:40 · rw-r--r--
2.09 KB 2026-04-27 17:40 rw-r--r--
install_data.cpython-39.pyc — 2.23 KB
2026-04-27 17:40 · rw-r--r--
2.23 KB 2026-04-27 17:40 rw-r--r--
install_egg_info.cpython-39.opt-1.pyc — 2.95 KB
2026-04-27 17:40 · rw-r--r--
2.95 KB 2026-04-27 17:40 rw-r--r--
install_egg_info.cpython-39.opt-2.pyc — 2.29 KB
2026-04-27 17:40 · rw-r--r--
2.29 KB 2026-04-27 17:40 rw-r--r--
install_egg_info.cpython-39.pyc — 2.95 KB
2026-04-27 17:40 · rw-r--r--
2.95 KB 2026-04-27 17:40 rw-r--r--
install_headers.cpython-39.opt-1.pyc — 1.67 KB
2026-04-27 17:40 · rw-r--r--
1.67 KB 2026-04-27 17:40 rw-r--r--
install_headers.cpython-39.opt-2.pyc — 1.51 KB
2026-04-27 17:40 · rw-r--r--
1.51 KB 2026-04-27 17:40 rw-r--r--
install_headers.cpython-39.pyc — 1.67 KB
2026-04-27 17:40 · rw-r--r--
1.67 KB 2026-04-27 17:40 rw-r--r--
install_lib.cpython-39.opt-1.pyc — 4.96 KB
2026-04-27 17:40 · rw-r--r--
4.96 KB 2026-04-27 17:40 rw-r--r--
install_lib.cpython-39.opt-2.pyc — 4.4 KB
2026-04-27 17:40 · rw-r--r--
4.4 KB 2026-04-27 17:40 rw-r--r--
install_lib.cpython-39.pyc — 4.96 KB
2026-04-27 17:40 · rw-r--r--
4.96 KB 2026-04-27 17:40 rw-r--r--
install_scripts.cpython-39.opt-1.pyc — 2.08 KB
2026-04-27 17:40 · rw-r--r--
2.08 KB 2026-04-27 17:40 rw-r--r--
install_scripts.cpython-39.opt-2.pyc — 1.95 KB
2026-04-27 17:40 · rw-r--r--
1.95 KB 2026-04-27 17:40 rw-r--r--
install_scripts.cpython-39.pyc — 2.08 KB
2026-04-27 17:40 · rw-r--r--
2.08 KB 2026-04-27 17:40 rw-r--r--
register.cpython-39.opt-1.pyc — 8.25 KB
2026-04-27 17:40 · rw-r--r--
8.25 KB 2026-04-27 17:40 rw-r--r--
register.cpython-39.opt-2.pyc — 7.02 KB
2026-04-27 17:40 · rw-r--r--
7.02 KB 2026-04-27 17:40 rw-r--r--
register.cpython-39.pyc — 8.25 KB
2026-04-27 17:40 · rw-r--r--
8.25 KB 2026-04-27 17:40 rw-r--r--
sdist.cpython-39.opt-1.pyc — 14.14 KB
2026-04-27 17:40 · rw-r--r--
14.14 KB 2026-04-27 17:40 rw-r--r--
sdist.cpython-39.opt-2.pyc — 10.86 KB
2026-04-27 17:40 · rw-r--r--
10.86 KB 2026-04-27 17:40 rw-r--r--
sdist.cpython-39.pyc — 14.14 KB
2026-04-27 17:40 · rw-r--r--
14.14 KB 2026-04-27 17:40 rw-r--r--
upload.cpython-39.opt-1.pyc — 5.11 KB
2026-04-27 17:40 · rw-r--r--
5.11 KB 2026-04-27 17:40 rw-r--r--
upload.cpython-39.opt-2.pyc — 4.98 KB
2026-04-27 17:40 · rw-r--r--
4.98 KB 2026-04-27 17:40 rw-r--r--
upload.cpython-39.pyc — 5.11 KB
2026-04-27 17:40 · rw-r--r--
5.11 KB 2026-04-27 17:40 rw-r--r--
ONLINE
__pycache__
69 items
18:43:10
TERMINAL FM
Edit
Preview
Download
Rename
Copy
Chmod
Delete
a i-@sddZddlZddlZddlZddlZddlmZddlm Z ddl Tddl m Z Gddde Z dS) zhdistutils.command.register Implements the Distutils 'register' command (register with the repository). N)warn) PyPIRCCommand)*)logc@seZdZdZejddgZejgdZdddfgZdd Zd d Z d d Z ddZ ddZ ddZ ddZddZddZdddZdS)registerz7register the distribution with the Python package index)list-classifiersNz list the valid Trove classifiers)strictNzBWill stop the registering if the meta-data are not fully compliant)verifyrrcheckcCsdS)NTselfr r 2/usr/lib64/python3.9/distutils/command/register.pyzregister.cCst|d|_d|_dS)Nr)rinitialize_optionslist_classifiersrr r r rrs zregister.initialize_optionscCs*t|d|jfdd}||jjd<dS)Nr)r)rrestructuredtextr )rfinalize_optionsr distributionZcommand_options)r Z check_optionsr r rr$s  zregister.finalize_optionscCsT|||D]}||q|jr8|n|jrH|n|dS)N) r _set_configZget_sub_commandsZ run_commanddry_runverify_metadatar classifiers send_metadata)r Zcmd_namer r rrun+s    z register.runcCs8tdt|jd}||j|_d|_|dS)zDeprecated API.zddistutils.command.register.check_metadata is deprecated, use the check command insteadr rN)rPendingDeprecationWarningrZget_command_objZensure_finalizedrrr)r r r r rcheck_metadata:s zregister.check_metadatacCsz|}|ikr@|d|_|d|_|d|_|d|_d|_n6|jd|jfvr^td|j|jdkrp|j|_d|_d S) z: Reads the configuration file and set attributes. usernamepassword repositoryrealmTZpypiz%s not found in .pypircFN)Z _read_pypircrr r!r" has_configZDEFAULT_REPOSITORY ValueError)r Zconfigr r rrDs     zregister._set_configcCs*|jd}tj|}t||dS)z8 Fetch the list of classifiers from the server. z?:action=list_classifiersN)r!urllibrequesturlopenrinfo_read_pypi_response)r urlresponser r rrUs  zregister.classifierscCs&||d\}}td||dS)zF Send the metadata to the package index server to be checked. r Server response (%s): %sN)post_to_serverbuild_post_datarr()r coderesultr r rr\szregister.verify_metadatac Cs|jrd}|j}|j}n d}d}}d}||vrd|dtjt}|sRd}q,||vr,tdq,|dkrl|s|td}qn|st d}q|t j }t j |jd }||j|||||d |\}}|d ||ftj|d kr|jr||j_nf|d tj|d|tjd}|dvrNtd}|s*d}q*|dkr|||nl|dkrddi} d| d<| d<| d<d| d<| dstd| d<q| d| dkr0| dst d| d<q| dst d| d<q| d| dkrd| d<d| d<tdq| dsJtd| d<q0|| \}}|d krrtd ||ntdtd nP|d!krdd"i} d| d<| dstd#| d<q|| \}}td ||dS)$a_ Send the metadata to the package index server. Well, do the following: 1. figure who the user is, and then 2. send the data as a Basic auth'ed POST. First we try to read the username/password from $HOME/.pypirc, which is a ConfigParser-formatted file with a section [distutils] containing username and password entries (both in clear text). Eg: [distutils] index-servers = pypi [pypi] username: fred password: sekrit Otherwise, to figure who the user is, we offer the user three choices: 1. use existing login, 2. register as a new user, or 3. set the password to a random string and email the user. 1xz1 2 3 4zWe need to know who you are, so please choose either: 1. use your existing login, 2. register as a new user, 3. have the server generate a new password for you (and email it to you), or 4. quit Your selection [default 1]: z&Please choose one of the four options!z Username: z Password: rsubmitr,zAI can store your PyPI login so future submissions will be faster.z (the login will be stored in %s)XZynzSave your login (y/N)?ny2:actionusernamer ZemailNZconfirmz Confirm: z!Password and confirm don't match!z EMail: z"You will receive an email shortly.z7Follow the instructions in it to complete registration.3Zpassword_resetzYour email address: )r#rr splitannouncerINFOinputprintgetpassr%r&ZHTTPPasswordMgrparseurlparser!Z add_passwordr"r-r.rZ _get_rc_filelowerZ _store_pypircr() r choicerr choicesauthhostr/r0datar r rrcs                   zregister.send_metadatacCs|jj}|d|||||||| | | | | |||d}|ds|ds|drd|d<|S)Nz1.0)r:metadata_versionr<versionZsummaryZ home_pageZauthorZ author_emaillicense descriptionkeywordsplatformrZ download_urlprovidesrequires obsoletesrRrSrTz1.1rL)rmetadataget_nameZ get_versionZget_descriptionZget_urlZ get_contactZget_contact_emailZ get_licenceZget_long_descriptionZ get_keywordsZ get_platformsZget_classifiersZget_download_urlZ get_providesZ get_requiresZ get_obsoletes)r actionmetarKr r rr.s,zregister.build_post_dataNc Csd|vr$|d|d|jftjd}d|}|d}t}|D]~\}}t|tgtdfvrn|g}|D]R}t|}| || d|| d| ||rr|d d krr| d qrqH| || d | d }d |tt |d} t j|j|| } t jt jj|d} d}z| | } Wn|t jjy} z*|jrb| j}| j| jf} WYd} ~ nTd} ~ 0t jjy} zdt| f} WYd} ~ n d} ~ 00|jr|| }d} |jrd d|df}||tj| S)zC Post a query to the server, and return a string response. r<zRegistering %s to %sz3--------------GHSKFJDLGDS7543FJKLFHRE75642756743254z --z--r z* Content-Disposition: form-data; name="%s"z   zutf-8z/multipart/form-data; boundary=%s; charset=utf-8)z Content-typezContent-length)Z password_mgrr3Ni)r5ZOKzK---------------------------------------------------------------------------)r?r!rr@ioStringIOitemstypestrwritegetvalueencodelenr%r&ZRequestZ build_openerZHTTPBasicAuthHandleropenerror HTTPErrorZ show_responsefpreadr/msgURLErrorr)join)r rKrIboundaryZ sep_boundaryZ end_boundarybodykeyvalueZheadersZreqopenerr0erjr r rr-s^          " zregister.post_to_server)N)__name__ __module__ __qualname__rOrZ user_optionsZboolean_optionsZ sub_commandsrrrrrrrrr.r-r r r rrs" zr)__doc__rCr\ urllib.parser%Zurllib.requestwarningsrZdistutils.corerZdistutils.errorsZ distutilsrrr r r rs