a Æ*Na+ã @sddZddlZddlZddlmZzddlmZWneyFdZYn0zddl mZ WneyndZ Yn0dd„Z dd „Z ze eje eƒWn.e efyÀe d  eje e¡e¡Yn0z^z ddlZWneyædZYn0eed d ƒ�sdd lmZe ¡ddlmZe eƒWne�y4Yn0ddlmZe de¡ddlmZmZmZmZddlmZmZm 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-m.Z.m/Z/m0Z0m1Z1m2Z2m3Z3ddl4m5Z5m6Z6ddl7m8Z8ddlm9Z9m:Z:m;Z;mZ>m?Z?m@Z@mAZAddlBZBddlBmCZCeB DeE¡ FeCƒ¡ejde?dd�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 . :copyright: (c) 2017 by Kenneth Reitz. :license: Apache 2.0, see LICENSE for more details. éNé)ÚRequestsDependencyWarning)Ú __version__cCs>| d¡}|dgksJ‚t|ƒdkr.| d¡|\}}}t|ƒt|ƒt|ƒ}}}|dks`J‚|dkslJ‚|dksxJ‚|rÒ| d¡dd…\}}}t|ƒt|ƒt|ƒ}}}d |||fkrÊd ksÐnJ‚nh|�r2| d¡dd…\}}}t|ƒt|ƒt|ƒ}}}d |||fk�r*d k�s:nJ‚ntd ƒ‚dS)NÚ.ÚdevéÚ0rééé)r rr)érr)rrr)r rrz7You need either charset_normalizer or chardet installed)ÚsplitÚlenÚappendÚintÚ Exception)Úurllib3_versionÚchardet_versionÚcharset_normalizer_versionÚmajorÚminorÚpatch©rúl/private/var/folders/js/6pj4vh5d4zd0k6bxv74qrbhr0000gr/T/pip-target-22xwyzbs/lib/python/requests/__init__.pyÚcheck_compatibility9s$       "&rcCsTzttt| d¡ƒƒ}Wnty,YdS0|gd¢krPd |¡}t |t¡dS)Nr)rr éz4Old version of cryptography ({}) may cause slowdown.) ÚlistÚmaprr Ú ValueErrorÚformatÚwarningsÚwarnr)Úcryptography_versionÚwarningrrrÚ_check_cryptographyWs   r$zWurllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported version!Ú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)GÚ__doc__Úurllib3r Ú exceptionsrZcharset_normalizerrrÚ ImportErrorÚchardetrrr$ÚAssertionErrorrr!rÚsslÚgetattrZurllib3.contribr&Úinject_into_urllib3Z cryptographyr"Zurllib3.exceptionsr'Ú simplefilterr)r*r+r,r-r.r/r0r1Úr2r3Úmodelsr4r5r6Úapir7r8r9r:rr;r<r=Úsessionsr>r?Ú status_codesr@rArBrCrDrErFrGrHrIÚloggingrJÚ getLoggerÚ__name__Ú addHandlerrrrrÚsb#      ÿþ           ( ,