관리-도구
편집 파일: __init__.cpython-311.pyc
� �Re� � �b � d Z ddlmZ ddlZddlmZ dZ ddlmZ n # e $ r dZ Y nw xY wd� Zd� Z eej e e� � n8# e ef$ r. ej d � ej e e� � e� � Y nw xY w dd lmZ es e d� � � ddlZn # e $ r dZY nw xY w eedd � � s&ddlmZ ej � � ddlmZ ee� � n# e $ r Y nw xY wddlmZ ej de� � ddlmZmZmZmZ ddlm Z m!Z!m"Z"m#Z# ddlm$Z$m%Z% ddl&m'Z' ddl&m(Z( ddl)m*Z*m+Z+m,Z, ddl-m.Z.m/Z/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5 ddl6m7Z7m8Z8 ddl9m:Z: ddlm;Z;m<Z<m=Z=m>Z>m?Z?m@Z@mAZAmBZBmCZC ddlDZDddlDmEZE eDjF eG� � �H eE� � � � ej deAd�� � dS )a� Requests HTTP Library ~~~~~~~~~~~~~~~~~~~~~ Requests is an HTTP library, written in Python, for human beings. Basic GET usage: >>> import requests >>> r = requests.get('https://www.python.org') >>> r.status_code 200 >>> b'Python is a programming language' in r.content True ... or POST: >>> payload = dict(key1='value1', key2='value2') >>> r = requests.post('https://httpbin.org/post', data=payload) >>> print(r.text) { ... "form": { "key1": "value1", "key2": "value2" }, ... } The other HTTP methods are supported - see `requests.api`. Full documentation is at <https://requests.readthedocs.io>. :copyright: (c) 2017 by Kenneth Reitz. :license: Apache 2.0, see LICENSE for more details. � )�urllib3N� )�RequestsDependencyWarning)�__version__c �� � | � d� � } | dgk sJ �t | � � dk r| � d� � | \ }}}t |� � t |� � t |� � }}}|dk sJ �|dk sJ �|dk sJ �|r_ |j d� � d d� \ }}}t |� � t |� � t |� � }}}d |||fcxk rd k sn J �d S |rd|� d� � d d� \ }}}t |� � t |� � t |� � }}}d|||fcxk rdk sn J �d S t d � � �)N�.�dev� �0r � � � )r r r )� r r )r r r )r r r z7You need either charset_normalizer or chardet installed)�split�len�append�int� Exception)�urllib3_version�chardet_version�charset_normalizer_version�major�minor�patchs ��/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-3.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_vendor/requests/__init__.py�check_compatibilityr 6 s� � �%�+�+�C�0�0�O��u�g�%�%�%�%� �?���q� � ����s�#�#�#� *��E�5�%��e�*�*�c�%�j�j�#�e�*�*�%�5�E��A�:�:�:�:��B�;�;�;�;��B�;�;�;�;� � S�3�o�3�C�8�8��!��<���u�e�!�%�j�j�#�e�*�*�c�%�j�j�e�u���U�E�5�1�=�=�=�=�I�=�=�=�=�=�=�=�=� #� S�8�>�>�s�C�C�B�Q�B�G���u�e�!�%�j�j�#�e�*�*�c�%�j�j�e�u���U�E�5�1�=�=�=�=�I�=�=�=�=�=�=�=�=��Q�R�R�R� c � � t t t | j d� � � � � � } n# t $ r Y d S w xY w| g d�k r1d� | � � }t j |t � � d S d S )Nr )r r � z4Old version of cryptography ({}) may cause slowdown.) �list�mapr r � ValueError�format�warnings�warnr )�cryptography_version�warnings r �_check_cryptographyr( T s� � ��#�C��-G�-A�-G��-L�-L�$M�$M�N�N����� � � �������� �i�i�i�'�'�H�O�O�Pd�e�e��� �g�8�9�9�9�9�9� (�'s �03 � A� AzWurllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported version!)�WINDOWSz3pip internals: don't import cryptography on Windows�HAS_SNIF)� pyopenssl)�DependencyWarning�ignore)� __title__�__description__�__url__r )� __build__� __author__�__author_email__�__license__)� __copyright__�__cake__)�utils)�packages)�Request�Response�PreparedRequest)�request�get�head�postr �put�delete�options)�session�Session)�codes) �RequestException�Timeout�URLRequired�TooManyRedirects� HTTPError�ConnectionError�FileModeWarning�ConnectTimeout�ReadTimeout)�NullHandler�defaultT)r )I�__doc__�pip._vendorr r$ � exceptionsr r �pip._vendor.chardetr r �ImportErrorr r( �AssertionErrorr"