403Webshell
Server IP : 74.208.236.16  /  Your IP : 216.73.216.220
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : u102440577 ( 7172810)
PHP Version : 8.4.26
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/lib/python3/dist-packages/setuptools/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/lib/python3/dist-packages/setuptools/__pycache__/_normalization.cpython-313.pyc
�

�h����SrSSKrSSKJr SSKr\R
"S\R5r\R
"S\R5r\R
"S\R5r	\R
"S\R5r
S\S	\4S
jrS\S	\4Sjr
S
\S	\4SjrS
\S	\4SjrS\S	\4SjrS\S	\4SjrS\S	\4SjrS\S	\4SjrS\S	\4SjrS\S	\4SjrSSKJr g!\a \(d\rggf=f)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]+)*)�name�returnc�d�[R"SSU5nUR5(deU$)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  �;/usr/lib/python3/dist-packages/setuptools/_normalization.py�safe_identifierr
s0���6�6�-��d�+�D���������K��	componentc�.�[RSU5$)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�versionc�<�URSS5n[[RR	U55$![RR
aA [RSU5n[[RR	U55s$f=f)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)�replace�str�	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��[U5$![RRa� UR	SS5n[
R
U5nU(aUSnU[U5SnOSnUn[RSU5RS5nSU3RS5n[USU35s$f=f)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+)rrrrr�_PEP440_FALLBACK�search�len�_NON_ALPHANUMERICr	�strip)rr�matchr�rest�	safe_rest�locals       r�best_effort_versionr+Ds���"
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�

�B-B=�<B=�extrac�h�[RSU5RS5R5$)z�Normalize extra name according to PEP 685
>>> safe_extra("_FrIeNdLy-._.-bArD")
'friendly-bard'
>>> safe_extra("FrIeNdLy-._.-bArD__._-")
'friendly-bard'
r)r%r	r&�lower)r,s r�
safe_extrar/es+��� � ��e�,�2�2�3�7�=�=�?�?r�valuec�D�URSS5RS5$)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)rr&�r0s r�filename_componentr3os ���=�=��c�"�(�(��-�-rc�&�URSS5$)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)rr2s r�filename_component_brokenr5xs���=�=��c�"�"rc��[R"SS[U55R5R	SS5$)zBLike ``safe_name`` but can be used as filename component for wheelz[-_.]+rr)rr	rr.rr2s r�
safer_namer7�s1��
	���y�#�y��/�0�	���	���c�	�rc�*�[[U55$)zLLike ``best_effort_version`` but can be used as filename component for wheel)r3r+r2s r�safer_best_effort_versionr9�s���1�%�8�9�9r�
expressionc��[S5e)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)r:s r�(_missing_canonicalize_license_expressionr=�s���	��r)�canonicalize_license_expression)�__doc__r�typingrr�compile�I�_VALID_NAMErr%r"rr
rrr+r/r3r5r7r9r=�packaging.licensesr>� _canonicalize_license_expressionr<�rr�<module>rGs[���

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

Youez - 2016 - github.com/yon3zu
LinuXploit