o
    ÌÄ.j~  ã                   @  sò  d Z ddlmZ ddlZddlZddlmZ ddlmZ ddlm	Z	m
Z
 ddlmZ dd	lmZ dd
lmZ ddlmZ e de¡ ddlmZ ddlmZmZmZmZmZmZmZmZm Z mZ ddl!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z) ddl*m"Z+ ddl*m#Z, ddl*m$Z- ddl*m%Z. ddl*m&Z/ ddl*m'Z0 ddl*m(Z1 ddl*m)Z2 ddl3m4Z4 ddl5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z;m<Z<m=Z=mZm>Z>m?Z? ddl@mAZAmBZBmCZCmDZDmEZEmFZF ddlGmHZHmIZImJZJmKZK ddlLmMZM ddlNmOZO e PeQ¡ Reƒ ¡ dZSdS )aú  
Niquests HTTP Library
~~~~~~~~~~~~~~~~~~~~~

Niquests is an HTTP library, written in Python, for human beings.
Basic GET usage:

   >>> import niquests
   >>> r = niquests.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 = niquests.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://niquests.readthedocs.io>.

:copyright: (c) 2017 by Kenneth Reitz.
:license: Apache 2.0, see LICENSE for more details.
é    )ÚannotationsN)ÚNullHandleré   )ÚHAS_LEGACY_URLLIB3)ÚRevocationConfigurationÚRevocationStrategy)ÚRetry)ÚTimeout)ÚServerSentEvent)ÚDependencyWarningÚignore)Úutils)
Ú
__author__Ú__author_email__Ú	__build__Ú__cake__Ú__copyright__Ú__description__Ú__license__Ú	__title__Ú__url__Ú__version__)ÚdeleteÚgetÚheadÚoptionsÚpatchÚpostÚputÚrequest)r   )r   )r   )r   )r   )r   )r   )r   )ÚAsyncSession)ÚConnectionErrorÚConnectTimeoutÚFileModeWarningÚ	HTTPErrorÚJSONDecodeErrorÚReadTimeoutÚRequestExceptionÚRequestsDependencyWarningr	   ÚTooManyRedirectsÚURLRequired)ÚAsyncLeakyBucketLimiterÚAsyncLifeCycleHookÚAsyncTokenBucketLimiterÚLeakyBucketLimiterÚLifeCycleHookÚTokenBucketLimiter)ÚAsyncResponseÚPreparedRequestÚRequestÚResponse)ÚSession)Úcodes)9r(   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   ÚadeleteÚagetÚaheadÚaoptionsÚapatchÚapostÚaputÚarequestr!   r"   r#   r$   r%   r&   r'   r	   r)   r*   r2   r3   r4   r5   r6   r    r1   ÚTimeoutConfigurationÚRetryConfigurationr   r,   r+   r-   r/   r.   r0   r   r   r
   )TÚ__doc__Ú
__future__r   ÚloggingÚwarningsr   Ú_compatr   Úextensions.revocationr   r   Úpackages.urllib3r   r@   r	   r?   Ú*packages.urllib3.contrib.webextensions.sser
   Úpackages.urllib3.exceptionsr   ÚsimplefilterÚ r   r   r   r   r   r   r   r   r   r   r   Úapir   r   r   r   r   r   r   r   Ú	async_apir7   r8   r9   r:   r;   r<   r=   r>   Úasync_sessionr    Ú
exceptionsr!   r"   r#   r$   r%   r&   r'   r(   r)   r*   Úhooksr+   r,   r-   r.   r/   r0   Úmodelsr1   r2   r3   r4   Úsessionsr5   Ústatus_codesr6   Ú	getLoggerÚ__name__Ú
addHandlerÚ__all__© rX   rX   úF/home/thesage/.local/lib/python3.10/site-packages/niquests/__init__.pyÚ<module>   s>   #0(4 