上海外贸soho网站建设,互动广告,成都网上注册公司流程,济南百搜科技本文由 大侠(AhcaoZhu)原创#xff0c;转载请声明。 链接: https://blog.csdn.net/Ahcao2008 一图看懂 aiohttp 模块#xff1a;基于 asyncio 的异步HTTP网络库, 资料整理笔记#xff08;大全#xff09; 摘要模块图类关系图模块全展开【aiohttp】统计常量模块1 aiohttp.hd…本文由 大侠(AhcaoZhu)原创转载请声明。 链接: https://blog.csdn.net/Ahcao2008 一图看懂 aiohttp 模块基于 asyncio 的异步HTTP网络库, 资料整理笔记大全 摘要模块图类关系图模块全展开【aiohttp】统计常量模块1 aiohttp.hdrs2 aiohttp.typedefs3 aiohttp.http_exceptions4 aiohttp.tcp_helpers5 aiohttp.base_protocol6 aiohttp.log7 aiohttp._helpers8 aiohttp.helpers9 aiohttp.abc10 aiohttp._http_writer11 aiohttp.http_writer12 aiohttp.streams13 aiohttp._http_parser14 aiohttp.http_parser15 aiohttp._websocket16 aiohttp.http_websocket17 aiohttp.http18 aiohttp.payload19 aiohttp.client_exceptions20 aiohttp.multipart21 aiohttp.formdata22 aiohttp.client_reqrep23 aiohttp.client_ws24 aiohttp.client_proto25 aiohttp.locks26 aiohttp.resolver27 aiohttp.connector28 aiohttp.cookiejar29 aiohttp._frozenlist30 aiohttp.frozenlist31 aiohttp.signals32 aiohttp.tracing33 aiohttp.client34 aiohttp.payload_streamer 函数35 request36 content_disposition_filename(params: Mapping[str, str], name: str filename) - Union[str, NoneType]37 parse_content_disposition(header: Union[str, NoneType]) - Tuple[Union[str, NoneType], Dict[str, str]]38 get_payload(data: Any, *args: Any, **kwargs: Any) - Payload 类39 aiohttp.connector.BaseConnectorpropertymethod5 close(self) - Awaitable[None]:6 connect() 40 aiohttp.client_exceptions.ClientConnectionError41 aiohttp.client_exceptions.ClientConnectorCertificateErrorproperty 42 aiohttp.client_exceptions.ClientConnectorErrorproperty 43 aiohttp.client_exceptions.ClientConnectorSSLError44 aiohttp.client_exceptions.ClientError45 aiohttp.client_exceptions.ClientHttpProxyError46 aiohttp.client_exceptions.ClientOSError47 aiohttp.client_exceptions.ClientPayloadError48 aiohttp.client_exceptions.ClientProxyConnectionError49 aiohttp.client_reqrep.ClientRequestdatapropertymethod13 close(self) - None:14 is_ssl(self) - bool:15 keep_alive(self) - bool:16 send()17 terminate(self) - None:18 update_auth(self, auth: Optional[BasicAuth]) - None:19 update_auto_headers(self, skip_auto_headers: Iterable[str]) - None:20 update_body_from_data(self, body: Any) - None:21 update_content_encoding(self, data: Any) - None:22 update_cookies(self, cookies: Optional[LooseCookies]) - None:23 update_expect_continue(self, expect: bool False) - None:24 update_headers(self, headers: Optional[LooseHeaders]) - None:25 update_host(self, url: URL) - None:26 update_proxy(27 update_transfer_encoding(self) - None:28 update_version(self, version: Union[http.HttpVersion, str]) - None:29 write_bytes() 50 aiohttp.client_reqrep.ClientResponsedatapropertymethod18 close(self) - None:19 get_encoding(self) - str:20 json()21 raise_for_status(self) - None:22 read()23 release(self) - Any:24 start()25 text()26 wait_for_close() 51 aiohttp.client_exceptions.ClientResponseErrorproperty 52 aiohttp.client.ClientSessiondatapropertymethod18 close(self) - None:19 delete(self, url: StrOrURL, **kwargs: Any) - _RequestContextManager:20 detach(self) - None:21 get(self, url: StrOrURL, *, allow_redirects: bool True, **kwargs: Any) - _RequestContextManager22 head(23 options(24 patch(25 post(26 put(27 request(28 ws_connect( 53 aiohttp.client_exceptions.ClientSSLError54 aiohttp.client.ClientTimeoutdata 55 aiohttp.client_ws.ClientWebSocketResponsepropertymethod6 close()7 exception(self) - Optional[BaseException]:8 get_extra_info(self, name: str, default: Any None) - Any:9 ping()10 pong()11 receive()12 receive_bytes()13 receive_json()14 receive_str()15 send_bytes()16 send_json()17 send_str() 56 aiohttp.client_exceptions.ContentTypeError57 aiohttp.client_reqrep.Fingerprintdatapropertymethod3 check(self, transport: asyncio.Transport) - None: 58 aiohttp.client_exceptions.InvalidURLproperty 59 aiohttp.connector.NamedPipeConnectorproperty 60 aiohttp.client_reqrep.RequestInfodatamethod5 real_url_default(self) - URL: 61 aiohttp.client_exceptions.ServerConnectionError62 aiohttp.client_exceptions.ServerDisconnectedError63 aiohttp.client_exceptions.ServerFingerprintMismatch64 aiohttp.client_exceptions.ServerTimeoutError65 aiohttp.connector.TCPConnectorpropertymethod3 clear_dns_cache(4 close(self) - Awaitable[None]: 66 aiohttp.client_exceptions.TooManyRedirects67 aiohttp.connector.UnixConnectorproperty 68 aiohttp.client_exceptions.WSServerHandshakeError69 aiohttp.cookiejar.CookieJardatamethod8 clear(self) - None:9 filter_cookies(10 load(self, file_path: PathLike) - None:11 save(self, file_path: PathLike) - None:12 update_cookies(self, cookies: LooseCookies, response_url: URL URL()) - None: 70 aiohttp.cookiejar.DummyCookieJarmethod1 clear(self) - None:2 filter_cookies(self, request_url: URL) - BaseCookie[str]:3 update_cookies(self, cookies: LooseCookies, response_url: URL URL()) - None: 71 aiohttp.formdata.FormDatapropertymethod2 add_field(3 add_fields(self, *fields: Any) - None: 72 aiohttp.helpers.BasicAuthmethod1 encode(self) - str:class method2 decode(cls, auth_header: str, encoding: str latin1) - BasicAuth:3 from_url(cls, url: URL, *, encoding: str latin1) - Optional[BasicAuth]: 73 aiohttp.helpers.ChainMapProxymethod1 get(self, key: str, default: Any None) - Any: 74 aiohttp.http_writer.HttpVersionproperty 75 aiohttp.http_websocket.WebSocketError76 WSCloseCodedata 77 aiohttp.http_websocket.WSMessagemethod1 json(self, *, loads: Callable[[Any], Any] json.loads) - Any: 78 WSMsgTypedata 79 aiohttp.multipart.BadContentDispositionHeader80 aiohttp.multipart.BadContentDispositionParam81 aiohttp.multipart.BodyPartReaderdatamethod4 at_eof(self) - bool:5 decode(self, data: bytes) - bytes:6 form()7 get_charset(self, default: str) - str:8 json()9 next()10 read()11 read_chunk()12 readline()13 release()14 text() 82 aiohttp.multipart.MultipartReaderdatamethod4 at_eof(self) - bool:5 fetch_next_part()6 next()7 release()class method8 from_response( 83 aiohttp.multipart.MultipartWriterpropertymethod3 append(self, obj: Any, headers: Optional[MultiMapping[str]] None) - Payload:4 append_form(5 append_json(6 append_payload(self, payload: Payload) - Payload:7 write() 84 aiohttp.payload.AsyncIterablePayloadmethod1 write() 85 aiohttp.payload.BufferedReaderPayloadproperty 86 aiohttp.payload.BytesIOPayloadproperty 87 aiohttp.payload.BytesPayloadmethod1 write() 88 aiohttp.payload.IOBasePayloadmethod1 write() 89 aiohttp.payload.JsonPayload90 aiohttp.payload.Payloadpropertymethod6 set_content_disposition( 摘要 全文介绍系统内置 aiohttp 模块、函数、类及类的方法和属性。 它通过代码抓取并经AI智能翻译和人工校对。 是一部不可多得的权威字典类工具书。它是系列集的一部分。后续陆续发布、敬请关注。【原创AhcaoZhu大侠】 模块图 aiohttpaiohttp.hdrsaiohttp.typedefsaiohttp.http_exceptionsaiohttp.tcp_helpersaiohttp.base_protocolaiohttp.logaiohttp._helpersaiohttp.helpers◆base64◆cgi◆netrc◆platform◆weakref◆async_timeout◆attraiohttp.abcaiohttp._http_writeraiohttp.http_writeraiohttp.streamsaiohttp._http_parseraiohttp.http_parseraiohttp._websocketaiohttp.http_websocketaiohttp.http◆httpaiohttp.payload◆mimetypesaiohttp.client_exceptions◆sslaiohttp.multipart◆uuidaiohttp.formdataaiohttp.client_reqrepaiohttp.client_wsaiohttp.client_protoaiohttp.locksaiohttp.resolveraiohttp.connectoraiohttp.cookiejaraiohttp._frozenlistaiohttp.frozenlistaiohttp.signalsaiohttp.tracingaiohttp.clientaiohttp.payload_streamer类关系图 ◆object◆BaseException◆Exception◆OSErroraiohttp.client_exceptions.ClientErroraiohttp.client_exceptions.ClientConnectionErroraiohttp.client_exceptions.ClientOSErroraiohttp.client_exceptions.ClientConnectorErroraiohttp.client_exceptions.ClientProxyConnectionErroraiohttp.client_exceptions.ClientSSLErroraiohttp.client_exceptions.ClientConnectorCertificateErroraiohttp.client_exceptions.ClientConnectorSSLErroraiohttp.client_exceptions.ServerConnectionErroraiohttp.client_exceptions.ServerDisconnectedErroraiohttp.client_exceptions.ServerFingerprintMismatchaiohttp.client_exceptions.ServerTimeoutErroraiohttp.client_exceptions.ClientPayloadErroraiohttp.client_exceptions.ClientResponseErroraiohttp.client_exceptions.ClientHttpProxyErroraiohttp.client_exceptions.ContentTypeErroraiohttp.client_exceptions.TooManyRedirectsaiohttp.client_exceptions.WSServerHandshakeErroraiohttp.client_exceptions.InvalidURL◆ssl.SSLErroraiohttp.client_exceptions.ClientError◆ssl.SSLCertVerificationErroraiohttp.client_exceptions.ClientError◆ValueErroraiohttp.client_exceptions.ClientError◆Warning◆RuntimeWarningaiohttp.multipart.BadContentDispositionHeaderaiohttp.multipart.BadContentDispositionParamaiohttp.client_exceptions.ClientErroraiohttp.http_exceptions.HttpProcessingErroraiohttp.http_exceptions.BadHttpMessageaiohttp.http_exceptions.BadStatusLineaiohttp.http_exceptions.HttpBadRequestaiohttp.http_exceptions.InvalidHeaderaiohttp.http_exceptions.InvalidURLErroraiohttp.http_exceptions.LineTooLongaiohttp.http_exceptions.PayloadEncodingErroraiohttp.http_exceptions.ContentEncodingErroraiohttp.http_exceptions.ContentLengthErroraiohttp.http_exceptions.TransferEncodingErroraiohttp.http_websocket.WSHandshakeErroraiohttp.http_websocket.WebSocketErroraiohttp.payload.LookupErroraiohttp.streams.EofStream◆concurrent.futures._base.Erroraiohttp.client_exceptions.ClientError◆abc.ABCaiohttp.abc.AbstractAccessLoggeraiohttp.abc.AbstractMatchInfoaiohttp.abc.AbstractResolveraiohttp.resolver.AsyncResolveraiohttp.resolver.ThreadedResolveraiohttp.abc.AbstractRouteraiohttp.abc.AbstractStreamWriteraiohttp.http_writer.StreamWriteraiohttp.abc.AbstractViewaiohttp.http_parser.HttpParseraiohttp.http_parser.HttpRequestParseraiohttp.http_parser.HttpResponseParseraiohttp.payload.Payloadaiohttp.multipart.BodyPartReaderPayloadaiohttp.multipart.MultipartWriteraiohttp.payload.AsyncIterablePayloadaiohttp.payload.StreamReaderPayloadaiohttp.payload.BytesPayloadaiohttp.payload.JsonPayloadaiohttp.payload.StringPayloadaiohttp.payload.StringIOPayloadaiohttp.payload.IOBasePayloadaiohttp.payload.BufferedReaderPayloadaiohttp.payload.BytesIOPayloadaiohttp.payload.TextIOPayloadaiohttp.payload_streamer.StreamWrapperPayloadaiohttp.payload_streamer.StreamPayload◆contextlib.AbstractContextManageraiohttp.helpers.BaseTimerContextaiohttp.helpers.TimerContextaiohttp.helpers.TimerNoopaiohttp._frozenlist.FrozenListaiohttp.signals.Signalaiohttp._helpers.reifyaiohttp._http_parser.HttpParseraiohttp._http_parser.HttpRequestParseraiohttp._http_parser.HttpResponseParseraiohttp._http_parser.RawRequestMessageaiohttp._http_parser.RawResponseMessageaiohttp.client.ClientSessionaiohttp.client.ClientTimeoutaiohttp.client._SessionRequestContextManageraiohttp.client_reqrep.ClientRequestaiohttp.client_reqrep.ConnectionKeyaiohttp.client_reqrep.ContentDispositionaiohttp.client_reqrep.Fingerprintaiohttp.client_reqrep.RequestInfoaiohttp.client_ws.ClientWebSocketResponseaiohttp.connector.BaseConnectoraiohttp.connector.NamedPipeConnectoraiohttp.connector.TCPConnectoraiohttp.connector.UnixConnectoraiohttp.connector.Connectionaiohttp.connector._DNSCacheTableaiohttp.connector._DeprecationWaiteraiohttp.connector._TransportPlaceholderaiohttp.formdata.FormDataaiohttp.helpers.HeadersMixinaiohttp.client_reqrep.ClientResponseaiohttp.helpers.MimeTypeaiohttp.helpers.ProxyInfoaiohttp.helpers.TimeoutHandleaiohttp.helpers.noopaiohttp.http_parser.DeflateBufferaiohttp.http_parser.HeadersParseraiohttp.http_parser.HttpPayloadParseraiohttp.http_websocket.WebSocketReaderaiohttp.http_websocket.WebSocketWriteraiohttp.locks.EventResultOrErroraiohttp.multipart.BodyPartReaderaiohttp.multipart.MultipartPayloadWriteraiohttp.multipart.MultipartReaderaiohttp.multipart.MultipartResponseWrapperaiohttp.payload.PayloadRegistryaiohttp.payload.payload_typeaiohttp.payload_streamer._stream_wrapperaiohttp.payload_streamer.streameraiohttp.streams.AsyncStreamReaderMixinaiohttp.streams.EmptyStreamReaderaiohttp.streams.StreamReaderaiohttp.streams.ChunkTupleAsyncStreamIteratoraiohttp.tracing.Traceaiohttp.tracing.TraceConfigaiohttp.tracing.TraceConnectionCreateEndParamsaiohttp.tracing.TraceConnectionCreateStartParamsaiohttp.tracing.TraceConnectionQueuedEndParamsaiohttp.tracing.TraceConnectionQueuedStartParamsaiohttp.tracing.TraceConnectionReuseconnParamsaiohttp.tracing.TraceDnsCacheHitParamsaiohttp.tracing.TraceDnsCacheMissParamsaiohttp.tracing.TraceDnsResolveHostEndParamsaiohttp.tracing.TraceDnsResolveHostStartParamsaiohttp.tracing.TraceRequestChunkSentParamsaiohttp.tracing.TraceRequestEndParamsaiohttp.tracing.TraceRequestExceptionParamsaiohttp.tracing.TraceRequestRedirectParamsaiohttp.tracing.TraceRequestStartParamsaiohttp.tracing.TraceResponseChunkReceivedParams◆async_timeout.timeoutaiohttp.helpers.CeilTimeout◆asyncio.protocols.BaseProtocol◆asyncio.protocols.Protocolaiohttp.base_protocol.BaseProtocolaiohttp.client_proto.ResponseHandler◆collections.abc.Container◆collections.abc.Iterable◆collections.abc.Sizedaiohttp.abc.AbstractCookieJaraiohttp.cookiejar.CookieJaraiohttp.cookiejar.DummyCookieJar◆collections.abc.Collection◆collections.abc.Mappingaiohttp.helpers.ChainMapProxy◆collections.abc.Reversible◆collections.abc.Sequence◆collections.abc.MutableSequenceaiohttp.frozenlist.FrozenList◆int◆IntEnumChunkStateParseStateWSCloseCodeWSMsgTypeWSParserState◆strOrder◆tupleaiohttp.helpers.BasicAuthaiohttp.helpers.BasicAuthaiohttp.http_parser.RawRequestMessageaiohttp.http_parser.RawResponseMessageaiohttp.http_websocket._WSMessageBaseaiohttp.http_websocket.WSMessageaiohttp.http_writer.HttpVersion◆typing.Genericaiohttp.helpers.reifyaiohttp.streams.AsyncStreamIteratoraiohttp.streams.DataQueueaiohttp.streams.FlowControlDataQueue◆collections.abc.Awaitable◆collections.abc.Coroutineaiohttp.client._BaseRequestContextManageraiohttp.client._RequestContextManageraiohttp.client._WSRequestContextManager◆typing_extensions.Protocolaiohttp.helpers._TSelf模块全展开
【aiohttp】 aiohttp, fullnameaiohttp, fileaiohttp_init_.py 统计
序号类别数量4str55tuple16list18dict29module3410class8111function413residual814system1215private516all136
常量
模块
1 aiohttp.hdrs hdrs, fullnameaiohttp.hdrs, fileaiohttp\hdrs.py HTTP报头常量。2 aiohttp.typedefs typedefs, fullnameaiohttp.typedefs, fileaiohttp\typedefs.py 3 aiohttp.http_exceptions http_exceptions, fullnameaiohttp.http_exceptions, fileaiohttp\http_exceptions.py 低级http相关异常。4 aiohttp.tcp_helpers tcp_helpers, fullnameaiohttp.tcp_helpers, fileaiohttp\tcp_helpers.py 帮助器方法来优化TCP连接5 aiohttp.base_protocol base_protocol, fullnameaiohttp.base_protocol, fileaiohttp\base_protocol.py 6 aiohttp.log log, fullnameaiohttp.log, fileaiohttp\log.py 7 aiohttp._helpers _helpers, fullnameaiohttp._helpers, fileaiohttp_helpers.cp37-win_amd64.pyd 8 aiohttp.helpers helpers, fullnameaiohttp.helpers, fileaiohttp\helpers.py 各种辅助函数9 aiohttp.abc abc, fullnameaiohttp.abc, fileaiohttp\abc.py 10 aiohttp._http_writer _http_writer, fullnameaiohttp._http_writer, fileaiohttp_http_writer.cp37-win_amd64.pyd 11 aiohttp.http_writer http_writer, fullnameaiohttp.http_writer, fileaiohttp\http_writer.py Http相关的解析器和协议。12 aiohttp.streams streams, fullnameaiohttp.streams, fileaiohttp\streams.py 13 aiohttp._http_parser _http_parser, fullnameaiohttp._http_parser, fileaiohttp_http_parser.cp37-win_amd64.pyd 14 aiohttp.http_parser http_parser, fullnameaiohttp.http_parser, fileaiohttp\http_parser.py 15 aiohttp._websocket _websocket, fullnameaiohttp._websocket, fileaiohttp_websocket.cp37-win_amd64.pyd 16 aiohttp.http_websocket http_websocket, fullnameaiohttp.http_websocket, fileaiohttp\http_websocket.py WebSocket协议版本13和8。17 aiohttp.http http, fullnameaiohttp.http, fileaiohttp\http.py 18 aiohttp.payload payload, fullnameaiohttp.payload, fileaiohttp\payload.py 19 aiohttp.client_exceptions client_exceptions, fullnameaiohttp.client_exceptions, fileaiohttp\client_exceptions.py HTTP相关错误。20 aiohttp.multipart multipart, fullnameaiohttp.multipart, fileaiohttp\multipart.py 21 aiohttp.formdata formdata, fullnameaiohttp.formdata, fileaiohttp\formdata.py 22 aiohttp.client_reqrep client_reqrep, fullnameaiohttp.client_reqrep, fileaiohttp\client_reqrep.py 23 aiohttp.client_ws client_ws, fullnameaiohttp.client_ws, fileaiohttp\client_ws.py asyncio的WebSocket客户端。24 aiohttp.client_proto client_proto, fullnameaiohttp.client_proto, fileaiohttp\client_proto.py 25 aiohttp.locks locks, fullnameaiohttp.locks, fileaiohttp\locks.py 26 aiohttp.resolver resolver, fullnameaiohttp.resolver, fileaiohttp\resolver.py 27 aiohttp.connector connector, fullnameaiohttp.connector, fileaiohttp\connector.py 28 aiohttp.cookiejar cookiejar, fullnameaiohttp.cookiejar, fileaiohttp\cookiejar.py 29 aiohttp._frozenlist _frozenlist, fullnameaiohttp._frozenlist, fileaiohttp_frozenlist.cp37-win_amd64.pyd 30 aiohttp.frozenlist frozenlist, fullnameaiohttp.frozenlist, fileaiohttp\frozenlist.py 31 aiohttp.signals signals, fullnameaiohttp.signals, fileaiohttp\signals.py 32 aiohttp.tracing tracing, fullnameaiohttp.tracing, fileaiohttp\tracing.py 33 aiohttp.client client, fullnameaiohttp.client, fileaiohttp\client.py asyncio的HTTP客户端。34 aiohttp.payload_streamer payload_streamer, fullnameaiohttp.payload_streamer, fileaiohttp\payload_streamer.py 作为数据提供者的协同程序的有效负载实现。作为一个简单的例子您可以从文件上传数据aiohttp.streamerasync def file_sender(writer, file_nameNone):with open(file_name, rb) as f:chunk f.read(2**16)while chunk:await writer.write(chunk)chunk f.read(2**16)
然后你可以象这样使用 file_sender:async with session.post(http://httpbin.org/post, datafile_sender(file_namehuge_file)) as resp:print(await resp.text())
注意: 协程必须接受writer作为第一个参数函数
35 request request(method: str, url: Union[str, yarl.URL], *, params: Union[Mapping[str, str], NoneType] None, data: Any None, json: Any None, headers: Union[Mapping[Union[str, multidict._multidict.istr], str], multidict._multidict.CIMultiDict, multidict._multidict.CIMultiDictProxy, NoneType] None, skip_auto_headers: Union[Iterable[str], NoneType] None, auth: Union[aiohttp.helpers.BasicAuth, NoneType] None, allow_redirects: bool True, max_redirects: int 10, compress: Union[str, NoneType] None, chunked: Union[bool, NoneType] None, expect100: bool False, raise_for_status: Union[bool, NoneType] None, read_until_eof: bool True, proxy: Union[str, yarl.URL, NoneType] None, proxy_auth: Union[aiohttp.helpers.BasicAuth, NoneType] None, timeout: Union[aiohttp.client.ClientTimeout, object] object object at 0x000001D0B1164FA0, cookies: Union[Mapping[str, Union[str, ForwardRef(‘BaseCookie[str]’), ForwardRef(‘Morsel[Any]’)]], Iterable[Tuple[str, Union[str, ForwardRef(‘BaseCookie[str]’), ForwardRef(‘Morsel[Any]’)]]], ForwardRef(‘BaseCookie[str]’), NoneType] None, version: aiohttp.http_writer.HttpVersion HttpVersion(major1, minor1), connector: Union[aiohttp.connector.BaseConnector, NoneType] None, read_bufsize: Union[int, NoneType] None, loop: Union[asyncio.events.AbstractEventLoop, NoneType] None) - aiohttp.client._SessionRequestContextManager request(method: str, url: Union[str, yarl.URL], *, params: Union[Mapping[str, str], NoneType] None, data: Any None, json: Any None, headers: Union[Mapping[Union[str, multidict._multidict.istr], str], multidict._multidict.CIMultiDict, multidict._multidict.CIMultiDictProxy, NoneType] None, skip_auto_headers: Union[Iterable[str], NoneType] None, auth: Union[aiohttp.helpers.BasicAuth, NoneType] None, allow_redirects: bool True, max_redirects: int 10, compress: Union[str, NoneType] None, chunked: Union[bool, NoneType] None, expect100: bool False, raise_for_status: Union[bool, NoneType] None, read_until_eof: bool True, proxy: Union[str, yarl.URL, NoneType] None, proxy_auth: Union[aiohttp.helpers.BasicAuth, NoneType] None, timeout: Union[aiohttp.client.ClientTimeout, object] object object at 0x000001D0B1164FA0, cookies: Union[Mapping[str, Union[str, ForwardRef(‘BaseCookie[str]’), ForwardRef(‘Morsel[Any]’)]], Iterable[Tuple[str, Union[str, ForwardRef(‘BaseCookie[str]’), ForwardRef(‘Morsel[Any]’)]]], ForwardRef(‘BaseCookie[str]’), NoneType] None, version: aiohttp.http_writer.HttpVersion HttpVersion(major1, minor1), connector: Union[aiohttp.connector.BaseConnector, NoneType] None, read_bufsize: Union[int, NoneType] None, loop: Union[asyncio.events.AbstractEventLoop, NoneType] None) - aiohttp.client._SessionRequestContextManager, moduleaiohttp.client, line:1179 at site-packages\aiohttp\client.py 构造并发送请求。返回响应对象。method- HTTP方法url - 请求urlparams 参数 - (可选)字典或查询字符串的字节发送新的请求data 数据——(可选)字典,字节,或类似文件的对象发送json ——(可选)任何json兼容的python对象headers头(可选)——(可选)随请求发送的HTTP头信息的字典cookies ——(可选)Dict对象发送请求auth——(可选)命名元组 BasicAuth代表 HTTP Basic Authauth - aiohttp.helpers.BasicAuthallow_redirects 允许重定向-(可选)如果设置为False则不允许重定向。version版本-请求HTTP版本。compress -如果请求必须使用deflate编码进行压缩则设置为True。chunked -为分块传输编码设置块大小。expect100 -期望从服务器得到100-continue响应。connector - 支持连接池的BaseConnector子类实例。read_until_eof -如果响应没有Content-Length报头则读取响应直到eof。loop -可选的事件循环。timeout -可选的ClientTimeout设置结构默认总超时为5分钟。用法: import aiohttp resp await aiohttp.request(GET, http://python.org/) respClientResponse(python.org/) [200] data await resp.read()36 content_disposition_filename(params: Mapping[str, str], name: str ‘filename’) - Union[str, NoneType] content_disposition_filename(params: Mapping[str, str], name: str ‘filename’) - Union[str, NoneType], moduleaiohttp.multipart, line:170 at site-packages\aiohttp\multipart.py 37 parse_content_disposition(header: Union[str, NoneType]) - Tuple[Union[str, NoneType], Dict[str, str]] parse_content_disposition(header: Union[str, NoneType]) - Tuple[Union[str, NoneType], Dict[str, str]], moduleaiohttp.multipart, line:71 at site-packages\aiohttp\multipart.py 38 get_payload(data: Any, *args: Any, **kwargs: Any) - ‘Payload’ get_payload(data: Any, *args: Any, **kwargs: Any) - ‘Payload’, moduleaiohttp.payload, line:72 at site-packages\aiohttp\payload.py 类
39 aiohttp.connector.BaseConnector BaseConnector, aiohttp.connector.BaseConnector, moduleaiohttp.connector, line:187 at site-packages\aiohttp\connector.py 基连接器类。keepalive_timeout - (可选)keep-alive超时。force_close - 设置为True强制关闭并在每个请求后(以及重定向之间)重新连接。limit -同时连接的总数。limit_per_host - 限制每台主机-同时连接到一台主机的数量。enable_cleanup_closed -启用清理已关闭的ssl传输。默认为关闭。loop -可选的事件循环。property 1 closedproperty object at 0x000001D0B1381138 kind:property type:property class:class ‘aiohttp.connector.BaseConnector’ 2 force_closeproperty object at 0x000001D0B137ED68 kind:property type:property class:class ‘aiohttp.connector.BaseConnector’ 3 limitproperty object at 0x000001D0B137EE08 kind:property type:property class:class ‘aiohttp.connector.BaseConnector’ 4 limit_per_hostproperty object at 0x000001D0B137EEA8 kind:property type:property class:class ‘aiohttp.connector.BaseConnector’ method 5 close(self) - Awaitable[None]: kindmethod classBaseConnector objtypefunction line:402 at …\lib\site-packages\aiohttp\connector.py 关闭所有打开的传输。6 connect() kindmethod classBaseConnector objtypefunction 从池中获取或创建新连接。40 aiohttp.client_exceptions.ClientConnectionError ClientConnectionError, aiohttp.client_exceptions.ClientConnectionError, moduleaiohttp.client_exceptions, line:144 at site-packages\aiohttp\client_exceptions.py 客户端套接字错误的基类。41 aiohttp.client_exceptions.ClientConnectorCertificateError ClientConnectorCertificateError, aiohttp.client_exceptions.ClientConnectorCertificateError, moduleaiohttp.client_exceptions, line:286 at site-packages\aiohttp\client_exceptions.py 响应证书错误。property 1 certificate_errorproperty object at 0x000001D0B12FC1D8 kind:property type:property class:class ‘aiohttp.client_exceptions.ClientConnectorCertificateError’ 2 hostproperty object at 0x000001D0B12FC278 kind:property type:property class:class ‘aiohttp.client_exceptions.ClientConnectorCertificateError’ 3 portproperty object at 0x000001D0B12FC318 kind:property type:property class:class ‘aiohttp.client_exceptions.ClientConnectorCertificateError’ 4 sslproperty object at 0x000001D0B12FC3B8 kind:property type:property class:class ‘aiohttp.client_exceptions.ClientConnectorCertificateError’ 42 aiohttp.client_exceptions.ClientConnectorError ClientConnectorError, aiohttp.client_exceptions.ClientConnectorError, moduleaiohttp.client_exceptions, line:152 at site-packages\aiohttp\client_exceptions.py 客户端连接器错误。如果无法建立与代理的连接则在:class:aiohttp.connector.TCPConnector中引发。property 1 hostproperty object at 0x000001D0B12F73B8 kind:property type:property class:class ‘aiohttp.client_exceptions.ClientConnectorError’ 2 os_errorproperty object at 0x000001D0B12F7318 kind:property type:property class:class ‘aiohttp.client_exceptions.ClientConnectorError’ 3 portproperty object at 0x000001D0B12F7458 kind:property type:property class:class ‘aiohttp.client_exceptions.ClientConnectorError’ 4 sslproperty object at 0x000001D0B12F7818 kind:property type:property class:class ‘aiohttp.client_exceptions.ClientConnectorError’ 43 aiohttp.client_exceptions.ClientConnectorSSLError ClientConnectorSSLError, aiohttp.client_exceptions.ClientConnectorSSLError, moduleaiohttp.client_exceptions, line:282 at site-packages\aiohttp\client_exceptions.py 响应ssl错误。44 aiohttp.client_exceptions.ClientError ClientError, aiohttp.client_exceptions.ClientError, moduleaiohttp.client_exceptions, line:44 at site-packages\aiohttp\client_exceptions.py 客户端连接错误的基类。45 aiohttp.client_exceptions.ClientHttpProxyError ClientHttpProxyError, aiohttp.client_exceptions.ClientHttpProxyError, moduleaiohttp.client_exceptions, line:131 at site-packages\aiohttp\client_exceptions.py HTTP代理错误。
如果代理在“CONNECT”请求上响应的状态不是“200 OK”则在:class:aiohttp.connector.TCPConnector中引发。46 aiohttp.client_exceptions.ClientOSError ClientOSError, aiohttp.client_exceptions.ClientOSError, moduleaiohttp.client_exceptions, line:148 at site-packages\aiohttp\client_exceptions.py OSError错误。47 aiohttp.client_exceptions.ClientPayloadError ClientPayloadError, aiohttp.client_exceptions.ClientPayloadError, moduleaiohttp.client_exceptions, line:233 at site-packages\aiohttp\client_exceptions.py 响应有效载荷错误。48 aiohttp.client_exceptions.ClientProxyConnectionError ClientProxyConnectionError, aiohttp.client_exceptions.ClientProxyConnectionError, moduleaiohttp.client_exceptions, line:190 at site-packages\aiohttp\client_exceptions.py 代理连接错误。如果无法建立与代理的连接则在:class:aiohttp.connector.TCPConnector中引发。49 aiohttp.client_reqrep.ClientRequest ClientRequest, aiohttp.client_reqrep.ClientRequest, moduleaiohttp.client_reqrep, line:220 at site-packages\aiohttp\client_reqrep.py data 1 ALL_METHODS{‘TRACE’, ‘GET’, ‘PATCH’, ‘HEAD’, ‘POST’, ‘DELETE’, ‘PUT’, ‘OPTIONS’} kind:data type:set class:class ‘aiohttp.client_reqrep.ClientRequest’ 2 DEFAULT_HEADERS{‘Accept’: ‘/’, ‘Accept-Encoding’: ‘gzip, deflate’} kind:data type:dict class:class ‘aiohttp.client_reqrep.ClientRequest’ 3 GET_METHODS{‘OPTIONS’, ‘GET’, ‘TRACE’, ‘HEAD’} kind:data type:set class:class ‘aiohttp.client_reqrep.ClientRequest’ 4 POST_METHODS{‘PUT’, ‘PATCH’, ‘POST’} kind:data type:set class:class ‘aiohttp.client_reqrep.ClientRequest’ 5 authNone kind:data type:NoneType class:class ‘aiohttp.client_reqrep.ClientRequest’ 6 bodyb’’ kind:data type:bytes class:class ‘aiohttp.client_reqrep.ClientRequest’ 7 responseNone kind:data type:NoneType class:class ‘aiohttp.client_reqrep.ClientRequest’ property 8 connection_keyproperty object at 0x000001D0B135CD18 kind:property type:property class:class ‘aiohttp.client_reqrep.ClientRequest’ 9 hostproperty object at 0x000001D0B135CD68 kind:property type:property class:class ‘aiohttp.client_reqrep.ClientRequest’ 10 portproperty object at 0x000001D0B135CDB8 kind:property type:property class:class ‘aiohttp.client_reqrep.ClientRequest’ 11 request_infoproperty object at 0x000001D0B135CE08 kind:property type:property class:class ‘aiohttp.client_reqrep.ClientRequest’ 12 sslproperty object at 0x000001D0B135CCC8 kind:property type:property class:class ‘aiohttp.client_reqrep.ClientRequest’ method 13 close(self) - None: kindmethod classClientRequest objtypefunction line:953 at …\lib\site-packages\aiohttp\client_reqrep.py 14 is_ssl(self) - bool: kindmethod classClientRequest objtypefunction line:321 at …\lib\site-packages\aiohttp\client_reqrep.py 15 keep_alive(self) - bool: kindmethod classClientRequest objtypefunction line:558 at …\lib\site-packages\aiohttp\client_reqrep.py 16 send() kindmethod classClientRequest objtypefunction 17 terminate(self) - None: kindmethod classClientRequest objtypefunction line:694 at …\lib\site-packages\aiohttp\client_reqrep.py 18 update_auth(self, auth: Optional[BasicAuth]) - None: kindmethod classClientRequest objtypefunction line:489 at …\lib\site-packages\aiohttp\client_reqrep.py 设置基本授权。19 update_auto_headers(self, skip_auto_headers: Iterable[str]) - None: kindmethod classClientRequest objtypefunction line:411 at …\lib\site-packages\aiohttp\client_reqrep.py 20 update_body_from_data(self, body: Any) - None: kindmethod classClientRequest objtypefunction line:501 at …\lib\site-packages\aiohttp\client_reqrep.py 21 update_content_encoding(self, data: Any) - None: kindmethod classClientRequest objtypefunction line:450 at …\lib\site-packages\aiohttp\client_reqrep.py 设置请求内容编码。22 update_cookies(self, cookies: Optional[LooseCookies]) - None: kindmethod classClientRequest objtypefunction line:425 at …\lib\site-packages\aiohttp\client_reqrep.py 更新请求cookie头。23 update_expect_continue(self, expect: bool False) - None: kindmethod classClientRequest objtypefunction line:535 at …\lib\site-packages\aiohttp\client_reqrep.py 24 update_headers(self, headers: Optional[LooseHeaders]) - None: kindmethod classClientRequest objtypefunction line:388 at …\lib\site-packages\aiohttp\client_reqrep.py 更新请求标头。25 update_host(self, url: URL) - None: kindmethod classClientRequest objtypefunction line:362 at …\lib\site-packages\aiohttp\client_reqrep.py 更新目标主机、端口和连接类型(ssl)。26 update_proxy( kindmethod classClientRequest objtypefunction line:544 at …\lib\site-packages\aiohttp\client_reqrep.py 27 update_transfer_encoding(self) - None: kindmethod classClientRequest objtypefunction line:467 at …\lib\site-packages\aiohttp\client_reqrep.py 分析传输编码头。28 update_version(self, version: Union[http.HttpVersion, str]) - None: kindmethod classClientRequest objtypefunction line:373 at …\lib\site-packages\aiohttp\client_reqrep.py 将请求版本转换为双元素元组。解析HTTP版本1.1 (1, 1)29 write_bytes() kindmethod classClientRequest objtypefunction 支持产生bytes对象的协程。50 aiohttp.client_reqrep.ClientResponse ClientResponse, aiohttp.client_reqrep.ClientResponse, moduleaiohttp.client_reqrep, line:705 at site-packages\aiohttp\client_reqrep.py data 1 contentNone kind:data type:NoneType class:class ‘aiohttp.client_reqrep.ClientResponse’ 2 content_dispositionaiohttp._helpers.reify object at 0x000001D0B135B188 kind:data type:reify class:class ‘aiohttp.client_reqrep.ClientResponse’ 3 headersaiohttp._helpers.reify object at 0x000001D0B1356F48 kind:data type:reify class:class ‘aiohttp.client_reqrep.ClientResponse’ 4 historyaiohttp._helpers.reify object at 0x000001D0B135B408 kind:data type:reify class:class ‘aiohttp.client_reqrep.ClientResponse’ 5 hostaiohttp._helpers.reify object at 0x000001D0B1356F08 kind:data type:reify class:class ‘aiohttp.client_reqrep.ClientResponse’ 6 linksaiohttp._helpers.reify object at 0x000001D0B135B488 kind:data type:reify class:class ‘aiohttp.client_reqrep.ClientResponse’ 7 raw_headersaiohttp._helpers.reify object at 0x000001D0B1356F88 kind:data type:reify class:class ‘aiohttp.client_reqrep.ClientResponse’ 8 real_urlaiohttp._helpers.reify object at 0x000001D0B1356EC8 kind:data type:reify class:class ‘aiohttp.client_reqrep.ClientResponse’ 9 reasonNone kind:data type:NoneType class:class ‘aiohttp.client_reqrep.ClientResponse’ 10 request_infoaiohttp._helpers.reify object at 0x000001D0B1356FC8 kind:data type:reify class:class ‘aiohttp.client_reqrep.ClientResponse’ 11 statusNone kind:data type:NoneType class:class ‘aiohttp.client_reqrep.ClientResponse’ 12 urlaiohttp._helpers.reify object at 0x000001D0B1356E48 kind:data type:reify class:class ‘aiohttp.client_reqrep.ClientResponse’ 13 url_objaiohttp._helpers.reify object at 0x000001D0B1356E88 kind:data type:reify class:class ‘aiohttp.client_reqrep.ClientResponse’ 14 versionNone kind:data type:NoneType class:class ‘aiohttp.client_reqrep.ClientResponse’ property 15 closedproperty object at 0x000001D0B135DBD8 kind:property type:property class:class ‘aiohttp.client_reqrep.ClientResponse’ 16 connectionproperty object at 0x000001D0B135D958 kind:property type:property class:class ‘aiohttp.client_reqrep.ClientResponse’ 17 okproperty object at 0x000001D0B135DD18 kind:property type:property class:class ‘aiohttp.client_reqrep.ClientResponse’ method 18 close(self) - None: kindmethod classClientResponse objtypefunction line:953 at …\lib\site-packages\aiohttp\client_reqrep.py 19 get_encoding(self) - str: kindmethod classClientResponse objtypefunction line:1045 at …\lib\site-packages\aiohttp\client_reqrep.py 20 json() kindmethod classClientResponse objtypefunction 读取和解码JSON响应。21 raise_for_status(self) - None: kindmethod classClientResponse objtypefunction line:995 at …\lib\site-packages\aiohttp\client_reqrep.py 22 read() kindmethod classClientResponse objtypefunction 读取响应负载。23 release(self) - Any: kindmethod classClientResponse objtypefunction line:968 at …\lib\site-packages\aiohttp\client_reqrep.py 24 start() kindmethod classClientResponse objtypefunction 启动响应处理。25 text() kindmethod classClientResponse objtypefunction 读取响应有效载荷并解码。26 wait_for_close() kindmethod classClientResponse objtypefunction 51 aiohttp.client_exceptions.ClientResponseError ClientResponseError, aiohttp.client_exceptions.ClientResponseError, moduleaiohttp.client_exceptions, line:48 at site-packages\aiohttp\client_exceptions.py 读取响应时连接错误。request_info: RequestInfo的实例property 1 codeproperty object at 0x000001D0B12F1C78 kind:property type:property class:class ‘aiohttp.client_exceptions.ClientResponseError’ 52 aiohttp.client.ClientSession ClientSession, aiohttp.client.ClientSession, moduleaiohttp.client, line:163 at site-packages\aiohttp\client.py 用于发出HTTP请求的一级接口。data 1 ATTRSfrozenset({‘_requote_redirect_url’, ‘_connector’, ‘_request_class’, ‘_version’, ‘_skip_auto_headers’, ‘_loop’, ‘_cookie_jar’, ‘_source_traceback’, ‘_json_serialize’, ‘_response_class’, ‘_auto_decompress’, ‘_raise_for_status’, ‘_connector_owner’, ‘_ws_response_class’, ‘_trace_configs’, ‘_default_auth’, ‘_read_bufsize’, ‘_trust_env’, ‘requote_redirect_url’, ‘_default_headers’, ‘_timeout’}) kind:data type:frozenset class:class ‘aiohttp.client.ClientSession’ property 2 authproperty object at 0x000001D0B1C09138 kind:property type:property class:class ‘aiohttp.client.ClientSession’ 3 auto_decompressproperty object at 0x000001D0B1C044A8 kind:property type:property class:class ‘aiohttp.client.ClientSession’ 4 closedproperty object at 0x000001D0B1BB7EA8 kind:property type:property class:class ‘aiohttp.client.ClientSession’ 5 connectorproperty object at 0x000001D0B1365B38 kind:property type:property class:class ‘aiohttp.client.ClientSession’ 6 connector_ownerproperty object at 0x000001D0B1BF8F98 kind:property type:property class:class ‘aiohttp.client.ClientSession’ 7 cookie_jarproperty object at 0x000001D0B134A688 kind:property type:property class:class ‘aiohttp.client.ClientSession’ 8 headersproperty object at 0x000001D0B1C09D18 kind:property type:property class:class ‘aiohttp.client.ClientSession’ 9 json_serializeproperty object at 0x000001D0B1C01868 kind:property type:property class:class ‘aiohttp.client.ClientSession’ 10 loopproperty object at 0x000001D0B1C12818 kind:property type:property class:class ‘aiohttp.client.ClientSession’ 11 raise_for_statusproperty object at 0x000001D0B1BE59A8 kind:property type:property class:class ‘aiohttp.client.ClientSession’ 12 requote_redirect_urlproperty object at 0x000001D0B1C127C8 kind:property type:property class:class ‘aiohttp.client.ClientSession’ 13 skip_auto_headersproperty object at 0x000001D0B1C09188 kind:property type:property class:class ‘aiohttp.client.ClientSession’ 14 timeoutproperty object at 0x000001D0B1C0E908 kind:property type:property class:class ‘aiohttp.client.ClientSession’ 15 trace_configsproperty object at 0x000001D0B1C045E8 kind:property type:property class:class ‘aiohttp.client.ClientSession’ 16 trust_envproperty object at 0x000001D0B1C04548 kind:property type:property class:class ‘aiohttp.client.ClientSession’ 17 versionproperty object at 0x000001D0B1C12868 kind:property type:property class:class ‘aiohttp.client.ClientSession’ method 18 close(self) - None: kindmethod classClientSession objtypefunction line:1106 at …\lib\site-packages\aiohttp\client.py 关闭底层连接器。释放所有已获得的资源。19 delete(self, url: StrOrURL, **kwargs: Any) - “_RequestContextManager”: kindmethod classClientSession objtypefunction line:943 at …\lib\site-packages\aiohttp\client.py 执行HTTP DELETE请求。20 detach(self) - None: kindmethod classClientSession objtypefunction line:1062 at …\lib\site-packages\aiohttp\client.py 从会话中分离连接器而不关闭前者。会话将切换到关闭状态。21 get(self, url: StrOrURL, *, allow_redirects: bool True, **kwargs: Any) - “_RequestContextManager” kindmethod classClientSession objtypefunction line:891 at …\lib\site-packages\aiohttp\client.py 执行HTTP GET请求。22 head( kindmethod classClientSession objtypefunction line:909 at …\lib\site-packages\aiohttp\client.py 执行HTTP HEAD请求。23 options( kindmethod classClientSession objtypefunction line:899 at …\lib\site-packages\aiohttp\client.py 执行HTTP OPTIONS请求。24 patch( kindmethod classClientSession objtypefunction line:935 at …\lib\site-packages\aiohttp\client.py 执行HTTP PATCH请求。25 post( kindmethod classClientSession objtypefunction line:919 at …\lib\site-packages\aiohttp\client.py 执行HTTP POST请求。26 put( kindmethod classClientSession objtypefunction line:927 at …\lib\site-packages\aiohttp\client.py 执行HTTP PUT请求。27 request( kindmethod classClientSession objtypefunction line:339 at …\lib\site-packages\aiohttp\client.py 执行HTTP请求。28 ws_connect( kindmethod classClientSession objtypefunction line:651 at …\lib\site-packages\aiohttp\client.py 启动websocket连接。53 aiohttp.client_exceptions.ClientSSLError ClientSSLError, aiohttp.client_exceptions.ClientSSLError, moduleaiohttp.client_exceptions, line:258 at site-packages\aiohttp\client_exceptions.py ssl.*Errors 基本错误。54 aiohttp.client.ClientTimeout ClientTimeout, aiohttp.client.ClientTimeout, moduleaiohttp.client, line:137 at site-packages\aiohttp\client.py data 1 connectmember ‘connect’ of ‘ClientTimeout’ objects kind:data type:member_descriptor class:class ‘aiohttp.client.ClientTimeout’ 2 sock_connectmember ‘sock_connect’ of ‘ClientTimeout’ objects kind:data type:member_descriptor class:class ‘aiohttp.client.ClientTimeout’ 3 sock_readmember ‘sock_read’ of ‘ClientTimeout’ objects kind:data type:member_descriptor class:class ‘aiohttp.client.ClientTimeout’ 4 totalmember ‘total’ of ‘ClientTimeout’ objects kind:data type:member_descriptor class:class ‘aiohttp.client.ClientTimeout’ 55 aiohttp.client_ws.ClientWebSocketResponse ClientWebSocketResponse, aiohttp.client_ws.ClientWebSocketResponse, moduleaiohttp.client_ws, line:28 at site-packages\aiohttp\client_ws.py property 1 client_notakeoverproperty object at 0x000001D0B1361F48 kind:property type:property class:class ‘aiohttp.client_ws.ClientWebSocketResponse’ 2 close_codeproperty object at 0x000001D0B1361D68 kind:property type:property class:class ‘aiohttp.client_ws.ClientWebSocketResponse’ 3 closedproperty object at 0x000001D0B1361CC8 kind:property type:property class:class ‘aiohttp.client_ws.ClientWebSocketResponse’ 4 compressproperty object at 0x000001D0B1361EA8 kind:property type:property class:class ‘aiohttp.client_ws.ClientWebSocketResponse’ 5 protocolproperty object at 0x000001D0B1361E08 kind:property type:property class:class ‘aiohttp.client_ws.ClientWebSocketResponse’ method 6 close() kindmethod classClientWebSocketResponse objtypefunction 7 exception(self) - Optional[BaseException]: kindmethod classClientWebSocketResponse objtypefunction line:138 at …\lib\site-packages\aiohttp\client_ws.py 8 get_extra_info(self, name: str, default: Any None) - Any: kindmethod classClientWebSocketResponse objtypefunction line:128 at …\lib\site-packages\aiohttp\client_ws.py 来自连接传输的额外信息9 ping() kindmethod classClientWebSocketResponse objtypefunction 10 pong() kindmethod classClientWebSocketResponse objtypefunction 11 receive() kindmethod classClientWebSocketResponse objtypefunction 12 receive_bytes() kindmethod classClientWebSocketResponse objtypefunction 13 receive_json() kindmethod classClientWebSocketResponse objtypefunction 14 receive_str() kindmethod classClientWebSocketResponse objtypefunction 15 send_bytes() kindmethod classClientWebSocketResponse objtypefunction 16 send_json() kindmethod classClientWebSocketResponse objtypefunction 17 send_str() kindmethod classClientWebSocketResponse objtypefunction 56 aiohttp.client_exceptions.ContentTypeError ContentTypeError, aiohttp.client_exceptions.ContentTypeError, moduleaiohttp.client_exceptions, line:123 at site-packages\aiohttp\client_exceptions.py 找到的内容类型无效。57 aiohttp.client_reqrep.Fingerprint Fingerprint, aiohttp.client_reqrep.Fingerprint, moduleaiohttp.client_reqrep, line:106 at site-packages\aiohttp\client_reqrep.py data 1 HASHFUNC_BY_DIGESTLEN{16: , 20: , 32: … kind:data type:dict class:class ‘aiohttp.client_reqrep.Fingerprint’ property 2 fingerprintproperty object at 0x000001D0B134DA98 kind:property type:property class:class ‘aiohttp.client_reqrep.Fingerprint’ method 3 check(self, transport: asyncio.Transport) - None: kindmethod classFingerprint objtypefunction line:129 at …\lib\site-packages\aiohttp\client_reqrep.py 58 aiohttp.client_exceptions.InvalidURL InvalidURL, aiohttp.client_exceptions.InvalidURL, moduleaiohttp.client_exceptions, line:237 at site-packages\aiohttp\client_exceptions.py 无效的URL。用于抓取的URL格式不正确例如不包含主机部分。property 1 urlproperty object at 0x000001D0B12F7E08 kind:property type:property class:class ‘aiohttp.client_exceptions.InvalidURL’ 59 aiohttp.connector.NamedPipeConnector NamedPipeConnector, aiohttp.connector.NamedPipeConnector, moduleaiohttp.connector, line:1202 at site-packages\aiohttp\connector.py 命名管接头。
仅由proactor事件循环支持。[参见:](https://docs.python.org/3.7/library/asyncio-eventloop.html)path - Windows命名管道路径。keepalive_timeout -(可选)keepalive超时。force_close-设置为True强制关闭并在每个请求后(以及重定向之间)重新连接。limit -同时连接的总数。limit_per_host - 限制每台主机-同时连接到一台主机的数量。loop -可选的事件循环。property 1 pathproperty object at 0x000001D0B1386868 kind:property type:property class:class ‘aiohttp.connector.NamedPipeConnector’ 60 aiohttp.client_reqrep.RequestInfo RequestInfo, aiohttp.client_reqrep.RequestInfo, moduleaiohttp.client_reqrep, line:95 at site-packages\aiohttp\client_reqrep.py data 1 headersmember ‘headers’ of ‘RequestInfo’ objects kind:data type:member_descriptor class:class ‘aiohttp.client_reqrep.RequestInfo’ 2 methodmember ‘method’ of ‘RequestInfo’ objects kind:data type:member_descriptor class:class ‘aiohttp.client_reqrep.RequestInfo’ 3 real_urlmember ‘real_url’ of ‘RequestInfo’ objects kind:data type:member_descriptor class:class ‘aiohttp.client_reqrep.RequestInfo’ 4 urlmember ‘url’ of ‘RequestInfo’ objects kind:data type:member_descriptor class:class ‘aiohttp.client_reqrep.RequestInfo’ method 5 real_url_default(self) - URL: kindmethod classRequestInfo objtypefunction line:102 at …\lib\site-packages\aiohttp\client_reqrep.py 61 aiohttp.client_exceptions.ServerConnectionError ServerConnectionError, aiohttp.client_exceptions.ServerConnectionError, moduleaiohttp.client_exceptions, line:198 at site-packages\aiohttp\client_exceptions.py 服务器连接错误。62 aiohttp.client_exceptions.ServerDisconnectedError ServerDisconnectedError, aiohttp.client_exceptions.ServerDisconnectedError, moduleaiohttp.client_exceptions, line:202 at site-packages\aiohttp\client_exceptions.py 服务器断开连接。63 aiohttp.client_exceptions.ServerFingerprintMismatch ServerFingerprintMismatch, aiohttp.client_exceptions.ServerFingerprintMismatch, moduleaiohttp.client_exceptions, line:217 at site-packages\aiohttp\client_exceptions.py SSL证书与期望的指纹不匹配。64 aiohttp.client_exceptions.ServerTimeoutError ServerTimeoutError, aiohttp.client_exceptions.ServerTimeoutError, moduleaiohttp.client_exceptions, line:213 at site-packages\aiohttp\client_exceptions.py 服务器超时错误。65 aiohttp.connector.TCPConnector TCPConnector, aiohttp.connector.TCPConnector, moduleaiohttp.connector, line:712 at site-packages\aiohttp\connector.py TCP连接。verify_ssl -设置为“True”检查ssl认证。fingerprint -传递DER格式的期望证书的二进制sha256摘要以验证服务器提供的证书是否匹配。[参见](https://en.wikipedia.org/wiki/Transport_Layer_Security#Certificate_pinning)resolver -启用DNS查找并使用此解析器use_dns_cache -使用内存缓存进行DNS查找。ttl_dns_cache -缓存dns条目的最大秒数永远为None。family - socket地址族local_addr -本地元组(主机端口)绑定socketkeepalive_timeout -(可选)keepalive超时。force_close -设置为True强制关闭并在每个请求后(以及重定向之间)重新连接。limit -同时连接的总数。limit_per_host - -同时连接到一台主机的数量。enable_cleanup_closed - 启用清理已关闭的ssl传输。默认为关闭。loop - 可选的事件循环。property 1 familyproperty object at 0x000001D0B1381D18 kind:property type:property class:class ‘aiohttp.connector.TCPConnector’ 2 use_dns_cacheproperty object at 0x000001D0B1381DB8 kind:property type:property class:class ‘aiohttp.connector.TCPConnector’ method 3 clear_dns_cache( kindmethod classTCPConnector objtypefunction line:795 at …\lib\site-packages\aiohttp\connector.py 删除指定的主机/端口或清除所有dns本地缓存。4 close(self) - Awaitable[None]: kindmethod classTCPConnector objtypefunction line:778 at …\lib\site-packages\aiohttp\connector.py 关闭所有正在进行的DNS调用。66 aiohttp.client_exceptions.TooManyRedirects TooManyRedirects, aiohttp.client_exceptions.TooManyRedirects, moduleaiohttp.client_exceptions, line:140 at site-packages\aiohttp\client_exceptions.py 客户被重定向太多次。67 aiohttp.connector.UnixConnector UnixConnector, aiohttp.connector.UnixConnector, moduleaiohttp.connector, line:1153 at site-packages\aiohttp\connector.py Unix套接字连接器。path - Unix套接字路径。keepalive_timeout -(可选)keepalive超时。force_close -设置为True强制关闭并在每个请求后(以及重定向之间)重新连接。limit -同时连接的总数。limit_per_host - 限制每台主机-同时连接到一台主机的数量。loop -可选的事件循环。property 1 pathproperty object at 0x000001D0B1386688 kind:property type:property class:class ‘aiohttp.connector.UnixConnector’ 68 aiohttp.client_exceptions.WSServerHandshakeError WSServerHandshakeError, aiohttp.client_exceptions.WSServerHandshakeError, moduleaiohttp.client_exceptions, line:127 at site-packages\aiohttp\client_exceptions.py Websocket服务器握手错误。69 aiohttp.cookiejar.CookieJar CookieJar, aiohttp.cookiejar.CookieJar, moduleaiohttp.cookiejar, line:34 at site-packages\aiohttp\cookiejar.py 遵循RFC 6265实现cookie存储。data 1 DATE_DAY_OF_MONTH_REre.compile(‘(\d{1,2})’) kind:data type:Pattern class:class ‘aiohttp.cookiejar.CookieJar’ 2 DATE_HMS_TIME_REre.compile(‘(\d{1,2})\d{1,2})\d{1,2})’) kind:data type:Pattern class:class ‘aiohttp.cookiejar.CookieJar’ 3 DATE_MONTH_REre.compile(‘(jan)|(feb)|(mar)|(apr)|(may)|(jun)|(jul)|(aug)|(sep)|(oct)|(nov)|(dec)’, re.IGNORECASE) kind:data type:Pattern class:class ‘aiohttp.cookiejar.CookieJar’ 4 DATE_TOKENS_REre.compile(‘[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]*(?P[\x00-\x08\x0A-\x1F\d:a-zA-Z\x7F-\xFF])’) kind:data type:Pattern class:class ‘aiohttp.cookiejar.CookieJar’ 5 DATE_YEAR_REre.compile(‘(\d{2,4})’) kind:data type:Pattern class:class ‘aiohttp.cookiejar.CookieJar’ 6 MAX_32BIT_TIME2038-01-19 03:14:07 kind:data type:datetime class:class ‘aiohttp.cookiejar.CookieJar’ 7 MAX_TIME9999-12-31 23:59:59.99999900:00 kind:data type:datetime class:class ‘aiohttp.cookiejar.CookieJar’ method 8 clear(self) - None: kindmethod classCookieJar objtypefunction line:90 at …\lib\site-packages\aiohttp\cookiejar.py 9 filter_cookies( kindmethod classCookieJar objtypefunction line:212 at …\lib\site-packages\aiohttp\cookiejar.py 返回按属性过滤的这个jar的cookie。10 load(self, file_path: PathLike) - None: kindmethod classCookieJar objtypefunction line:85 at …\lib\site-packages\aiohttp\cookiejar.py 11 save(self, file_path: PathLike) - None: kindmethod classCookieJar objtypefunction line:80 at …\lib\site-packages\aiohttp\cookiejar.py 12 update_cookies(self, cookies: LooseCookies, response_url: URL URL()) - None: kindmethod classCookieJar objtypefunction line:135 at …\lib\site-packages\aiohttp\cookiejar.py 更新cookies。70 aiohttp.cookiejar.DummyCookieJar DummyCookieJar, aiohttp.cookiejar.DummyCookieJar, moduleaiohttp.cookiejar, line:358 at site-packages\aiohttp\cookiejar.py 实现一个虚拟cookie存储。当不需要cookie处理时它可以与ClientSession一起使用。method 1 clear(self) - None: kindmethod classDummyCookieJar objtypefunction line:375 at …\lib\site-packages\aiohttp\cookiejar.py 2 filter_cookies(self, request_url: URL) - “BaseCookie[str]”: kindmethod classDummyCookieJar objtypefunction line:381 at …\lib\site-packages\aiohttp\cookiejar.py 3 update_cookies(self, cookies: LooseCookies, response_url: URL URL()) - None: kindmethod classDummyCookieJar objtypefunction line:378 at …\lib\site-packages\aiohttp\cookiejar.py 71 aiohttp.formdata.FormData FormData, aiohttp.formdata.FormData, moduleaiohttp.formdata, line:14 at site-packages\aiohttp\formdata.py 用于生成多部件/表单-数据和应用程序/x-www-form-urlencoded 主体的辅助类。property 1 is_multipartproperty object at 0x000001D0B1343D18 kind:property type:property class:class ‘aiohttp.formdata.FormData’ method 2 add_field( kindmethod classFormData objtypefunction line:41 at …\lib\site-packages\aiohttp\formdata.py 3 add_fields(self, *fields: Any) - None: kindmethod classFormData objtypefunction line:87 at …\lib\site-packages\aiohttp\formdata.py 72 aiohttp.helpers.BasicAuth BasicAuth, aiohttp.helpers.BasicAuth, moduleaiohttp.helpers, line:130 at site-packages\aiohttp\helpers.py Http基本身份验证助手。method 1 encode(self) - str: kindmethod classBasicAuth objtypefunction line:185 at …\lib\site-packages\aiohttp\helpers.py 编码凭证。class method 2 decode(cls, auth_header: str, encoding: str “latin1”) - “BasicAuth”: kindclass method classBasicAuth objtypeclassmethod line:148 at …\lib\site-packages\aiohttp\helpers.py 将一个函数转换为一个类方法。3 from_url(cls, url: URL, *, encoding: str “latin1”) - Optional[“BasicAuth”]: kindclass method classBasicAuth objtypeclassmethod line:177 at …\lib\site-packages\aiohttp\helpers.py 将一个函数转换为一个类方法。73 aiohttp.helpers.ChainMapProxy ChainMapProxy, aiohttp.helpers.ChainMapProxy, moduleaiohttp.helpers, line:738 at site-packages\aiohttp\helpers.py method 1 get(self, key: str, default: Any None) - Any: kindmethod classChainMapProxy objtypefunction line:758 at …\lib\site-packages\aiohttp\helpers.py 74 aiohttp.http_writer.HttpVersion HttpVersion, aiohttp.http_writer.HttpVersion, moduleaiohttp.http_writer, line:-1 at site-packages\aiohttp\http_writer.py HttpVersion(major, minor)property 1 majorproperty object at 0x000001D0B126D778 kind:property type:property class:class ‘aiohttp.http_writer.HttpVersion’ 2 minorproperty object at 0x000001D0B126D7C8 kind:property type:property class:class ‘aiohttp.http_writer.HttpVersion’ 75 aiohttp.http_websocket.WebSocketError WebSocketError, aiohttp.http_websocket.WebSocketError, moduleaiohttp.http_websocket, line:102 at site-packages\aiohttp\http_websocket.py WebSocket协议解析器错误。76 WSCloseCode WSCloseCode, WSCloseCode, moduleaiohttp.http_websocket, line:31 at site-packages\aiohttp\http_websocket.py 枚举。data 1 GOING_AWAY1001 kind:data type:WSCloseCode class:enum ‘WSCloseCode’ 2 INTERNAL_ERROR1011 kind:data type:WSCloseCode class:enum ‘WSCloseCode’ 3 INVALID_TEXT1007 kind:data type:WSCloseCode class:enum ‘WSCloseCode’ 4 MANDATORY_EXTENSION1010 kind:data type:WSCloseCode class:enum ‘WSCloseCode’ 5 MESSAGE_TOO_BIG1009 kind:data type:WSCloseCode class:enum ‘WSCloseCode’ 6 OK1000 kind:data type:WSCloseCode class:enum ‘WSCloseCode’ 7 POLICY_VIOLATION1008 kind:data type:WSCloseCode class:enum ‘WSCloseCode’ 8 PROTOCOL_ERROR1002 kind:data type:WSCloseCode class:enum ‘WSCloseCode’ 9 SERVICE_RESTART1012 kind:data type:WSCloseCode class:enum ‘WSCloseCode’ 10 TRY_AGAIN_LATER1013 kind:data type:WSCloseCode class:enum ‘WSCloseCode’ 11 UNSUPPORTED_DATA1003 kind:data type:WSCloseCode class:enum ‘WSCloseCode’ 77 aiohttp.http_websocket.WSMessage WSMessage, aiohttp.http_websocket.WSMessage, moduleaiohttp.http_websocket, line:89 at site-packages\aiohttp\http_websocket.py method 1 json(self, *, loads: Callable[[Any], Any] json.loads) - Any: kindmethod classWSMessage objtypefunction line:90 at …\lib\site-packages\aiohttp\http_websocket.py 返回解析后的JSON数据。versionadded:: 0.2278 WSMsgType WSMsgType, WSMsgType, moduleaiohttp.http_websocket, line:48 at site-packages\aiohttp\http_websocket.py 枚举。data 1 BINARY2 kind:data type:WSMsgType class:enum ‘WSMsgType’ 2 CLOSE8 kind:data type:WSMsgType class:enum ‘WSMsgType’ 3 CLOSED257 kind:data type:WSMsgType class:enum ‘WSMsgType’ 4 CLOSING256 kind:data type:WSMsgType class:enum ‘WSMsgType’ 5 CONTINUATION0 kind:data type:WSMsgType class:enum ‘WSMsgType’ 6 ERROR258 kind:data type:WSMsgType class:enum ‘WSMsgType’ 7 PING9 kind:data type:WSMsgType class:enum ‘WSMsgType’ 8 PONG10 kind:data type:WSMsgType class:enum ‘WSMsgType’ 9 TEXT1 kind:data type:WSMsgType class:enum ‘WSMsgType’ 79 aiohttp.multipart.BadContentDispositionHeader BadContentDispositionHeader, aiohttp.multipart.BadContentDispositionHeader, moduleaiohttp.multipart, line:63 at site-packages\aiohttp\multipart.py 80 aiohttp.multipart.BadContentDispositionParam BadContentDispositionParam, aiohttp.multipart.BadContentDispositionParam, moduleaiohttp.multipart, line:67 at site-packages\aiohttp\multipart.py 81 aiohttp.multipart.BodyPartReader BodyPartReader, aiohttp.multipart.BodyPartReader, moduleaiohttp.multipart, line:248 at site-packages\aiohttp\multipart.py 多部分阅读器单一的主体部分。data 1 chunk_size8192 kind:data type:int class:class ‘aiohttp.multipart.BodyPartReader’ 2 filenameaiohttp._helpers.reify object at 0x000001D0B133C808 kind:data type:reify class:class ‘aiohttp.multipart.BodyPartReader’ 3 nameaiohttp._helpers.reify object at 0x000001D0B133C788 kind:data type:reify class:class ‘aiohttp.multipart.BodyPartReader’ method 4 at_eof(self) - bool: kindmethod classBodyPartReader objtypefunction line:433 at …\lib\site-packages\aiohttp\multipart.py 如果到达边界返回True否则返回False。5 decode(self, data: bytes) - bytes: kindmethod classBodyPartReader objtypefunction line:437 at …\lib\site-packages\aiohttp\multipart.py 根据指定的Content-Encoding或Content-Transfer-Encoding头值对数据进行解码。6 form() kindmethod classBodyPartReader objtypefunction 类似于read()但假设主体部分包含编码URL表单数据。7 get_charset(self, default: str) - str: kindmethod classBodyPartReader objtypefunction line:473 at …\lib\site-packages\aiohttp\multipart.py 从内容类型报头或默认值返回字符集参数。8 json() kindmethod classBodyPartReader objtypefunction 类似于read()但假设主体部分包含JSON数据。9 next() kindmethod classBodyPartReader objtypefunction 10 read() kindmethod classBodyPartReader objtypefunction 读取主体部分数据。decode:对来自Content-Encoding报头的数据按编码方法进行解码。如果丢失数据则保持不变。11 read_chunk() kindmethod classBodyPartReader objtypefunction 读取指定大小的主体部分内容块。size: 块大小12 readline() kindmethod classBodyPartReader objtypefunction 逐行读取主体部位。13 release() kindmethod classBodyPartReader objtypefunction 与read()类似但将所有数据读取到void中。14 text() kindmethod classBodyPartReader objtypefunction 类似于read()但假设主体部分包含文本数据。82 aiohttp.multipart.MultipartReader MultipartReader, aiohttp.multipart.MultipartReader, moduleaiohttp.multipart, line:519 at site-packages\aiohttp\multipart.py 多部分体阅读器。data 1 multipart_reader_clsNone kind:data type:NoneType class:class ‘aiohttp.multipart.MultipartReader’ 2 part_reader_clsclass ‘aiohttp.multipart.BodyPartReader’ kind:data type:type class:class ‘aiohttp.multipart.MultipartReader’ 3 response_wrapper_clsclass ‘aiohttp.multipart.MultipartResponseWrapper’ kind:data type:type class:class ‘aiohttp.multipart.MultipartReader’ method 4 at_eof(self) - bool: kindmethod classMultipartReader objtypefunction line:568 at …\lib\site-packages\aiohttp\multipart.py 如果到达最终边界返回True否则返回False。5 fetch_next_part() kindmethod classMultipartReader objtypefunction 返回下一个主体部位读取器。6 next() kindmethod classMultipartReader objtypefunction 发出下一个多部分主体部分。7 release() kindmethod classMultipartReader objtypefunction 读取所有主体部位直到最后的边界。class method 8 from_response( kindclass method classMultipartReader objtypeclassmethod line:555 at …\lib\site-packages\aiohttp\multipart.py 将一个函数转换为一个类方法。83 aiohttp.multipart.MultipartWriter MultipartWriter, aiohttp.multipart.MultipartWriter, moduleaiohttp.multipart, line:708 at site-packages\aiohttp\multipart.py 多部分主体写作。property 1 boundaryproperty object at 0x000001D0B13431D8 kind:property type:property class:class ‘aiohttp.multipart.MultipartWriter’ 2 sizeproperty object at 0x000001D0B13433B8 kind:property type:property class:class ‘aiohttp.multipart.MultipartWriter’ method 3 append(self, obj: Any, headers: Optional[MultiMapping[str]] None) - Payload: kindmethod classMultipartWriter objtypefunction line:787 at …\lib\site-packages\aiohttp\multipart.py 4 append_form( kindmethod classMultipartWriter objtypefunction line:843 at …\lib\site-packages\aiohttp\multipart.py 帮助附加表单未编码部分。5 append_json( kindmethod classMultipartWriter objtypefunction line:834 at …\lib\site-packages\aiohttp\multipart.py 帮助器附加JSON部分。6 append_payload(self, payload: Payload) - Payload: kindmethod classMultipartWriter objtypefunction line:802 at …\lib\site-packages\aiohttp\multipart.py 在多部分写入器中添加一个新的主体部分。7 write() kindmethod classMultipartWriter objtypefunction 写主体。84 aiohttp.payload.AsyncIterablePayload AsyncIterablePayload, aiohttp.payload.AsyncIterablePayload, moduleaiohttp.payload, line:401 at site-packages\aiohttp\payload.py method 1 write() kindmethod classAsyncIterablePayload objtypefunction 85 aiohttp.payload.BufferedReaderPayload BufferedReaderPayload, aiohttp.payload.BufferedReaderPayload, moduleaiohttp.payload, line:358 at site-packages\aiohttp\payload.py property 1 sizeproperty object at 0x000001D0B12EAE58 kind:property type:property class:class ‘aiohttp.payload.BufferedReaderPayload’ 86 aiohttp.payload.BytesIOPayload BytesIOPayload, aiohttp.payload.BytesIOPayload, moduleaiohttp.payload, line:349 at site-packages\aiohttp\payload.py property 1 sizeproperty object at 0x000001D0B12EAD18 kind:property type:property class:class ‘aiohttp.payload.BytesIOPayload’ 87 aiohttp.payload.BytesPayload BytesPayload, aiohttp.payload.BytesPayload, moduleaiohttp.payload, line:208 at site-packages\aiohttp\payload.py method 1 write() kindmethod classBytesPayload objtypefunction 88 aiohttp.payload.IOBasePayload IOBasePayload, aiohttp.payload.IOBasePayload, moduleaiohttp.payload, line:278 at site-packages\aiohttp\payload.py method 1 write() kindmethod classIOBasePayload objtypefunction 89 aiohttp.payload.JsonPayload JsonPayload, aiohttp.payload.JsonPayload, moduleaiohttp.payload, line:369 at site-packages\aiohttp\payload.py 90 aiohttp.payload.Payload Payload, aiohttp.payload.Payload, moduleaiohttp.payload, line:92 at site-packages\aiohttp\payload.py property 1 content_typeproperty object at 0x000001D0B12EA0E8 kind:property type:property class:class ‘aiohttp.payload.Payload’ 2 encodingproperty object at 0x000001D0B12EA048 kind:property type:property class:class ‘aiohttp.payload.Payload’ 3 filenameproperty object at 0x000001D0B12E7E08 kind:property type:property class:class ‘aiohttp.payload.Payload’ 4 headersproperty object at 0x000001D0B12E7EA8 kind:property type:property class:class ‘aiohttp.payload.Payload’ 5 sizeproperty object at 0x000001D0B12E7D68 kind:property type:property class:class ‘aiohttp.payload.Payload’ method 6 set_content_disposition( kindmethod classPayload objtypefunction line:192 at …\lib\site-packages\aiohttp\payload.py 设置Content-Disposition标头。
d#### 7 write()kindmethod classPayload objtypefunction 写有效载荷。 writer是一个AbstractStreamWriter实例:
### 91 aiohttp.payload.StringIOPayloadStringIOPayload, aiohttp.payload.StringIOPayload, moduleaiohttp.payload, line:273 at site-packages\aiohttp\payload.py
### 92 aiohttp.payload.StringPayloadStringPayload, aiohttp.payload.StringPayload, moduleaiohttp.payload, line:242 at site-packages\aiohttp\payload.py
### 93 aiohttp.payload.TextIOPayloadTextIOPayload, aiohttp.payload.TextIOPayload, moduleaiohttp.payload, line:302 at site-packages\aiohttp\payload.py
#### property1 sizeproperty object at 0x000001D0B12EAAE8 kind:property type:property class:class aiohttp.payload.TextIOPayload
#### method#### 2 write()kindmethod classTextIOPayload objtypefunction
### 94 aiohttp.payload.payload_typepayload_type, aiohttp.payload.payload_type, moduleaiohttp.payload, line:82 at site-packages\aiohttp\payload.py
### 95 aiohttp.payload_streamer.streamerstreamer, aiohttp.payload_streamer.streamer, moduleaiohttp.payload_streamer, line:49 at site-packages\aiohttp\payload_streamer.py
### 96 aiohttp.resolver.AsyncResolverAsyncResolver, aiohttp.resolver.AsyncResolver, moduleaiohttp.resolver, line:68 at site-packages\aiohttp\resolver.py使用’ aiodns 包进行异步DNS查找
#### method#### 1 close()kindmethod classAsyncResolver objtypefunction #### 2 resolve()kindmethod classAsyncResolver objtypefunction
### 97 aiohttp.resolver.ThreadedResolverThreadedResolver, aiohttp.resolver.ThreadedResolver, moduleaiohttp.resolver, line:20 at site-packages\aiohttp\resolver.py对同步getaddrinfo()调用使用Executor默认为concurrent.futures.ThreadPoolExecutor。
#### method#### 1 close()kindmethod classThreadedResolver objtypefunction #### 2 resolve()kindmethod classThreadedResolver objtypefunction
### 98 aiohttp.resolver.ThreadedResolverThreadedResolver, aiohttp.resolver.ThreadedResolver, moduleaiohttp.resolver, line:20 at site-packages\aiohttp\resolver.py对同步getaddrinfo()调用使用Executor默认为concurrent.futures.ThreadPoolExecutor。
#### method#### 1 close()kindmethod classThreadedResolver objtypefunction #### 2 resolve()kindmethod classThreadedResolver objtypefunction
### 99 aiohttp.signals.SignalSignal, aiohttp.signals.Signal, moduleaiohttp.signals, line:6 at site-packages\aiohttp\signals.py基于协程的信号实现。 要将回调函数连接到信号可以使用任意列表方法。 使用send()协程触发信号该协程接受命名参数。
#### method#### 1 send()kindmethod classSignal objtypefunction 向所有注册的接收方发送数据。
### 100 aiohttp.streams.DataQueueDataQueue, aiohttp.streams.DataQueue, moduleaiohttp.streams, line:550 at site-packages\aiohttp\streams.pyDataQueue是一个具有一个读取器的通用阻塞队列。
#### method#### 1 at_eof(self) - bool:kindmethod classDataQueue objtypefunction line:567 at ...\lib\site-packages\aiohttp\streams.py#### 2 exception(self) - Optional[BaseException]:kindmethod classDataQueue objtypefunction line:570 at ...\lib\site-packages\aiohttp\streams.py#### 3 feed_data(self, data: _T, size: int 0) - None:kindmethod classDataQueue objtypefunction line:582 at ...\lib\site-packages\aiohttp\streams.py#### 4 feed_eof(self) - None:kindmethod classDataQueue objtypefunction line:591 at ...\lib\site-packages\aiohttp\streams.py#### 5 is_eof(self) - bool:kindmethod classDataQueue objtypefunction line:564 at ...\lib\site-packages\aiohttp\streams.py#### 6 read()kindmethod classDataQueue objtypefunction #### 7 set_exception(self, exc: BaseException) - None:kindmethod classDataQueue objtypefunction line:573 at ...\lib\site-packages\aiohttp\streams.py
### 101 aiohttp.streams.EofStreamEofStream, aiohttp.streams.EofStream, moduleaiohttp.streams, line:26 at site-packages\aiohttp\streams.py流指示。
### 102 aiohttp.streams.FlowControlDataQueueFlowControlDataQueue, aiohttp.streams.FlowControlDataQueue, moduleaiohttp.streams, line:623 at site-packages\aiohttp\streams.pyFlowControlDataQueue恢复并暂停底层流。 它是解析数据的目的地。
#### method#### 1 feed_data(self, data: _T, size: int 0) - None:kindmethod classFlowControlDataQueue objtypefunction line:636 at ...\lib\site-packages\aiohttp\streams.py#### 2 read()kindmethod classFlowControlDataQueue objtypefunction
### 103 aiohttp.streams.StreamReaderStreamReader, aiohttp.streams.StreamReader, moduleaiohttp.streams, line:90 at site-packages\aiohttp\streams.pyasyncio.StreamReader的增强。 支持按行、块或可用的异步迭代: async for line in reader: … async for chunk in reader.iter_chunked(1024): … async for slice in reader.iter_any(): …
#### data1 total_bytes0 kind:data type:int class:class aiohttp.streams.StreamReader
#### method#### 2 at_eof(self) - bool:kindmethod classStreamReader objtypefunction line:200 at ...\lib\site-packages\aiohttp\streams.py如果缓冲区为空并且调用了’feed_eof’则返回True。 #### 3 begin_http_chunk_receiving(self) - None:kindmethod classStreamReader objtypefunction line:253 at ...\lib\site-packages\aiohttp\streams.py#### 4 end_http_chunk_receiving(self) - None:kindmethod classStreamReader objtypefunction line:261 at ...\lib\site-packages\aiohttp\streams.py#### 5 exception(self) - Optional[BaseException]:kindmethod classStreamReader objtypefunction line:149 at ...\lib\site-packages\aiohttp\streams.py#### 6 feed_data(self, data: bytes, size: int 0) - None:kindmethod classStreamReader objtypefunction line:235 at ...\lib\site-packages\aiohttp\streams.py#### 7 feed_eof(self) - None:kindmethod classStreamReader objtypefunction line:175 at ...\lib\site-packages\aiohttp\streams.py#### 8 get_read_buffer_limits(self) - Tuple[int, int]:kindmethod classStreamReader objtypefunction line:146 at ...\lib\site-packages\aiohttp\streams.py#### 9 is_eof(self) - bool:kindmethod classStreamReader objtypefunction line:196 at ...\lib\site-packages\aiohttp\streams.py如果调用’feed_eof’返回True。 #### 10 on_eof(self, callback: Callable[[], None]) - None:kindmethod classStreamReader objtypefunction line:166 at ...\lib\site-packages\aiohttp\streams.py#### 11 read()kindmethod classStreamReader objtypefunction #### 12 read_nowait(self, n: int -1) - bytes:kindmethod classStreamReader objtypefunction line:443 at ...\lib\site-packages\aiohttp\streams.py#### 13 readany()kindmethod classStreamReader objtypefunction #### 14 readchunk()kindmethod classStreamReader objtypefunction 返回一个元组(data, end_of_http_chunk)。 当使用分块传输编码时http块的结束是一个布尔值表示数据的结束是否对应于http块的结束否则始终为False。 #### 15 readexactly()kindmethod classStreamReader objtypefunction #### 16 readline()kindmethod classStreamReader objtypefunction #### 17 set_exception(self, exc: BaseException) - None:kindmethod classStreamReader objtypefunction line:152 at ...\lib\site-packages\aiohttp\streams.py#### 18 unread_data(self, data: bytes) - None:kindmethod classStreamReader objtypefunction line:215 at ...\lib\site-packages\aiohttp\streams.py回滚从流中读取一些数据并将其插入缓冲区头。 #### 19 wait_eof()kindmethod classStreamReader objtypefunction
### 104 aiohttp.tracing.TraceConfigTraceConfig, aiohttp.tracing.TraceConfig, moduleaiohttp.tracing, line:48 at site-packages\aiohttp\tracing.py第一类用于跟踪通过ClientSession对象发起的请求。
#### property1 on_connection_create_endproperty object at 0x000001D0B1BBBB88 kind:property type:property class:class aiohttp.tracing.TraceConfig 2 on_connection_create_startproperty object at 0x000001D0B1BBBAE8 kind:property type:property class:class aiohttp.tracing.TraceConfig 3 on_connection_queued_endproperty object at 0x000001D0B1BBBA48 kind:property type:property class:class aiohttp.tracing.TraceConfig 4 on_connection_queued_startproperty object at 0x000001D0B1BBB9A8 kind:property type:property class:class aiohttp.tracing.TraceConfig 5 on_connection_reuseconnproperty object at 0x000001D0B1BBBC28 kind:property type:property class:class aiohttp.tracing.TraceConfig 6 on_dns_cache_hitproperty object at 0x000001D0B1BBBE08 kind:property type:property class:class aiohttp.tracing.TraceConfig 7 on_dns_cache_missproperty object at 0x000001D0B1BBBEA8 kind:property type:property class:class aiohttp.tracing.TraceConfig 8 on_dns_resolvehost_endproperty object at 0x000001D0B1BBBD68 kind:property type:property class:class aiohttp.tracing.TraceConfig 9 on_dns_resolvehost_startproperty object at 0x000001D0B1BBBCC8 kind:property type:property class:class aiohttp.tracing.TraceConfig 10 on_request_chunk_sentproperty object at 0x000001D0B1BC16D8 kind:property type:property class:class aiohttp.tracing.TraceConfig 11 on_request_endproperty object at 0x000001D0B1BC8A98 kind:property type:property class:class aiohttp.tracing.TraceConfig 12 on_request_exceptionproperty object at 0x000001D0B1BBB868 kind:property type:property class:class aiohttp.tracing.TraceConfig 13 on_request_redirectproperty object at 0x000001D0B1BBB908 kind:property type:property class:class aiohttp.tracing.TraceConfig 14 on_request_startproperty object at 0x000001D0B1BC1638 kind:property type:property class:class aiohttp.tracing.TraceConfig 15 on_response_chunk_receivedproperty object at 0x000001D0B1BC8A48 kind:property type:property class:class aiohttp.tracing.TraceConfig
#### method#### 16 freeze(self) - None:kindmethod classTraceConfig objtypefunction line:109 at ...\lib\site-packages\aiohttp\tracing.py#### 17 trace_config_ctx(kindmethod classTraceConfig objtypefunction line:103 at ...\lib\site-packages\aiohttp\tracing.py返回一个新的 trace_config_ctx 实例
### 105 aiohttp.tracing.TraceConnectionCreateEndParamsTraceConnectionCreateEndParams, aiohttp.tracing.TraceConnectionCreateEndParams, moduleaiohttp.tracing, line:282 at site-packages\aiohttp\tracing.py由 on_connection_create_end 信号发送的参数
### 106 aiohttp.tracing.TraceConnectionCreateStartParamsTraceConnectionCreateStartParams, aiohttp.tracing.TraceConnectionCreateStartParams, moduleaiohttp.tracing, line:277 at site-packages\aiohttp\tracing.py由 on_connection_create_start 信号发送的参数
### 107 aiohttp.tracing.TraceConnectionQueuedEndParamsTraceConnectionQueuedEndParams, aiohttp.tracing.TraceConnectionQueuedEndParams, moduleaiohttp.tracing, line:272 at site-packages\aiohttp\tracing.py由 on_connection_queued_end 信号发送的参数
### 108 aiohttp.tracing.TraceConnectionQueuedStartParamsTraceConnectionQueuedStartParams, aiohttp.tracing.TraceConnectionQueuedStartParams, moduleaiohttp.tracing, line:267 at site-packages\aiohttp\tracing.py由 on_connection_queued_start 信号发送的参数
### 109 aiohttp.tracing.TraceConnectionReuseconnParamsTraceConnectionReuseconnParams, aiohttp.tracing.TraceConnectionReuseconnParams, moduleaiohttp.tracing, line:287 at site-packages\aiohttp\tracing.py由on_connection_reuseconn 信号发送的参数
### 110 aiohttp.tracing.TraceDnsCacheHitParamsTraceDnsCacheHitParams, aiohttp.tracing.TraceDnsCacheHitParams, moduleaiohttp.tracing, line:306 at site-packages\aiohttp\tracing.py由 on_dns_cache_hit 信号发送的参数
#### data1 hostmember host of TraceDnsCacheHitParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceDnsCacheHitParams
### 111 aiohttp.tracing.TraceDnsCacheMissParamsTraceDnsCacheMissParams, aiohttp.tracing.TraceDnsCacheMissParams, moduleaiohttp.tracing, line:313 at site-packages\aiohttp\tracing.py由 on_dns_cache_miss 信号发送的参数
#### data1 hostmember host of TraceDnsCacheMissParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceDnsCacheMissParams
### 112 aiohttp.tracing.TraceDnsResolveHostEndParamsTraceDnsResolveHostEndParams, aiohttp.tracing.TraceDnsResolveHostEndParams, moduleaiohttp.tracing, line:299 at site-packages\aiohttp\tracing.py由 on_dns_resolvehost_end 信号发送的参数
#### data1 hostmember host of TraceDnsResolveHostEndParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceDnsResolveHostEndParams
### 113 aiohttp.tracing.TraceDnsResolveHostStartParamsTraceDnsResolveHostStartParams, aiohttp.tracing.TraceDnsResolveHostStartParams, moduleaiohttp.tracing, line:292 at site-packages\aiohttp\tracing.py由 on_dns_resolvehost_start 信号发送的参数
#### data1 hostmember host of TraceDnsResolveHostStartParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceDnsResolveHostStartParams
### 114 aiohttp.tracing.TraceRequestChunkSentParamsTraceRequestChunkSentParams, aiohttp.tracing.TraceRequestChunkSentParams, moduleaiohttp.tracing, line:219 at site-packages\aiohttp\tracing.py由 on_request_chunk_sent 信号发送的参数
#### data1 chunkmember chunk of TraceRequestChunkSentParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceRequestChunkSentParams 2 methodmember method of TraceRequestChunkSentParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceRequestChunkSentParams 3 urlmember url of TraceRequestChunkSentParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceRequestChunkSentParams
### 115 aiohttp.tracing.TraceRequestEndParamsTraceRequestEndParams, aiohttp.tracing.TraceRequestEndParams, moduleaiohttp.tracing, line:237 at site-packages\aiohttp\tracing.py由 on_request_end 信号发送的参数
#### data1 headersmember headers of TraceRequestEndParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceRequestEndParams 2 methodmember method of TraceRequestEndParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceRequestEndParams 3 responsemember response of TraceRequestEndParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceRequestEndParams 4 urlmember url of TraceRequestEndParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceRequestEndParams
### 116 aiohttp.tracing.TraceRequestExceptionParamsTraceRequestExceptionParams, aiohttp.tracing.TraceRequestExceptionParams, moduleaiohttp.tracing, line:247 at site-packages\aiohttp\tracing.py由 on_request_exception 信号发送的参数
#### data1 exceptionmember exception of TraceRequestExceptionParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceRequestExceptionParams 2 headersmember headers of TraceRequestExceptionParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceRequestExceptionParams 3 methodmember method of TraceRequestExceptionParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceRequestExceptionParams 4 urlmember url of TraceRequestExceptionParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceRequestExceptionParams
### 117 aiohttp.tracing.TraceRequestRedirectParamsTraceRequestRedirectParams, aiohttp.tracing.TraceRequestRedirectParams, moduleaiohttp.tracing, line:257 at site-packages\aiohttp\tracing.py由 on_request_redirect 信号发送的参数
#### data1 headersmember headers of TraceRequestRedirectParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceRequestRedirectParams 2 methodmember method of TraceRequestRedirectParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceRequestRedirectParams 3 responsemember response of TraceRequestRedirectParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceRequestRedirectParams 4 urlmember url of TraceRequestRedirectParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceRequestRedirectParams
### 118 aiohttp.tracing.TraceRequestStartParamsTraceRequestStartParams, aiohttp.tracing.TraceRequestStartParams, moduleaiohttp.tracing, line:210 at site-packages\aiohttp\tracing.py由 on_request_start 信号发送的参数
#### data1 headersmember headers of TraceRequestStartParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceRequestStartParams 2 methodmember method of TraceRequestStartParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceRequestStartParams 3 urlmember url of TraceRequestStartParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceRequestStartParams
### 119 aiohttp.tracing.TraceResponseChunkReceivedParamsTraceResponseChunkReceivedParams, aiohttp.tracing.TraceResponseChunkReceivedParams, moduleaiohttp.tracing, line:228 at site-packages\aiohttp\tracing.py由 on_response_chunk_received 信号发送的参数
#### data1 chunkmember chunk of TraceResponseChunkReceivedParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceResponseChunkReceivedParams 2 methodmember method of TraceResponseChunkReceivedParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceResponseChunkReceivedParams 3 urlmember url of TraceResponseChunkReceivedParams objects kind:data type:member_descriptor class:class aiohttp.tracing.TraceResponseChunkReceivedParams
## 私有或局部120 _helpers module aiohttp._helpers from ...\\lib\\site-packages\\aiohttp\\_helpers.cp37-win_amd64.pyd121 _http_writer module aiohttp._http_writer from ...\\lib\\site-packages\\aiohttp\\_http_writer.cp37-win_amd64.pyd122 _http_parser module aiohttp._http_parser from ...\\lib\\site-packages\\aiohttp\\_http_parser.cp37-win_amd64.pyd123 _websocket module aiohttp._websocket from ...\\lib\\site-packages\\aiohttp\\_websocket.cp37-win_amd64.pyd124 _frozenlist module aiohttp._frozenlist from ...\\lib\\site-packages\\aiohttp\\_frozenlist.cp37-win_amd64.pyd
## 剩余125 __doc__ 126 __loader__ _frozen_importlib_external.SourceFileLoader object at 0x000001D0AE095208127 __spec__ ModuleSpec(nameaiohttp, loader_frozen_importlib_external.SourceFileLoader object at 0x000001D0AE095208, origin...\\lib\\site-packages\\aiohttp\\__init__.py, submodule_search_locations[...\\lib\\site-packages\\aiohttp])128 Tuple typing.Tuple129 HttpVersion10 HttpVersion(major1, minor0)130 HttpVersion11 HttpVersion(major1, minor1)131 PAYLOAD_REGISTRY aiohttp.payload.PayloadRegistry object at 0x000001D0B12E9648132 EMPTY_PAYLOAD aiohttp.streams.EmptyStreamReader object at 0x000001D0B127B2C8
## 【aiohttp.hdrs】hdrs, fullnameaiohttp.hdrs, fileaiohttp\hdrs.py
## 【aiohttp.typedefs】typedefs, fullnameaiohttp.typedefs, fileaiohttp\typedefs.py
## 【aiohttp.http_exceptions】http_exceptions, fullnameaiohttp.http_exceptions, fileaiohttp\http_exceptions.py
## 【aiohttp.tcp_helpers】tcp_helpers, fullnameaiohttp.tcp_helpers, fileaiohttp\tcp_helpers.py
## 【aiohttp.base_protocol】base_protocol, fullnameaiohttp.base_protocol, fileaiohttp\base_protocol.py
## 【aiohttp.log】log, fullnameaiohttp.log, fileaiohttp\log.py
## 【aiohttp._helpers】_helpers, fullnameaiohttp._helpers, fileaiohttp\_helpers.cp37-win_amd64.pyd
## 【aiohttp.helpers】helpers, fullnameaiohttp.helpers, fileaiohttp\helpers.py
## 【aiohttp.abc】abc, fullnameaiohttp.abc, fileaiohttp\abc.py
## 【aiohttp._http_writer】_http_writer, fullnameaiohttp._http_writer, fileaiohttp\_http_writer.cp37-win_amd64.pyd
## 【aiohttp.http_writer】http_writer, fullnameaiohttp.http_writer, fileaiohttp\http_writer.py
## 【aiohttp.streams】streams, fullnameaiohttp.streams, fileaiohttp\streams.py
## 【aiohttp._http_parser】_http_parser, fullnameaiohttp._http_parser, fileaiohttp\_http_parser.cp37-win_amd64.pyd
## 【aiohttp.http_parser】http_parser, fullnameaiohttp.http_parser, fileaiohttp\http_parser.py
## 【aiohttp._websocket】_websocket, fullnameaiohttp._websocket, fileaiohttp\_websocket.cp37-win_amd64.pyd
## 【aiohttp.http_websocket】http_websocket, fullnameaiohttp.http_websocket, fileaiohttp\http_websocket.py
## 【aiohttp.http】http, fullnameaiohttp.http, fileaiohttp\http.py
## 【aiohttp.payload】payload, fullnameaiohttp.payload, fileaiohttp\payload.py
## 【aiohttp.client_exceptions】client_exceptions, fullnameaiohttp.client_exceptions, fileaiohttp\client_exceptions.py
## 【aiohttp.multipart】multipart, fullnameaiohttp.multipart, fileaiohttp\multipart.py
## 【aiohttp.formdata】formdata, fullnameaiohttp.formdata, fileaiohttp\formdata.py
## 【aiohttp.client_reqrep】client_reqrep, fullnameaiohttp.client_reqrep, fileaiohttp\client_reqrep.py
## 【aiohttp.client_ws】client_ws, fullnameaiohttp.client_ws, fileaiohttp\client_ws.py
## 【aiohttp.client_proto】client_proto, fullnameaiohttp.client_proto, fileaiohttp\client_proto.py
## 【aiohttp.locks】locks, fullnameaiohttp.locks, fileaiohttp\locks.py
## 【aiohttp.resolver】resolver, fullnameaiohttp.resolver, fileaiohttp\resolver.py
## 【aiohttp.connector】connector, fullnameaiohttp.connector, fileaiohttp\connector.py
## 【aiohttp.cookiejar】cookiejar, fullnameaiohttp.cookiejar, fileaiohttp\cookiejar.py
## 【aiohttp._frozenlist】_frozenlist, fullnameaiohttp._frozenlist, fileaiohttp\_frozenlist.cp37-win_amd64.pyd
## 【aiohttp.frozenlist】frozenlist, fullnameaiohttp.frozenlist, fileaiohttp\frozenlist.py
## 【aiohttp.signals】signals, fullnameaiohttp.signals, fileaiohttp\signals.py
## 【aiohttp.tracing】tracing, fullnameaiohttp.tracing, fileaiohttp\tracing.py
## 【aiohttp.client】client, fullnameaiohttp.client, fileaiohttp\client.py
## 【aiohttp.payload_streamer】payload_streamer, fullnameaiohttp.payload_streamer, fileaiohttp\payload_streamer.py
## 【json】json, fullnamejson, filejson\__init__.py
## 【os】os, fullnameos, fileos.py
## 【pathlib】pathlib, fullnamepathlib, filepathlib.py
## 【sys】sys, fullnamesys, file
## 【asyncio】asyncio, fullnameasyncio, fileasyncio\__init__.py
## 【socket】socket, fullnamesocket, filesocket.py
## 【logging】logging, fullnamelogging, filelogging\__init__.py
## 【builtins】builtins, fullnamebuiltins, file
## 【base64】base64, fullnamebase64, filebase64.py
## 【binascii】binascii, fullnamebinascii, file
## 【cgi】cgi, fullnamecgi, filecgi.py
## 【datetime】datetime, fullnamedatetime, filedatetime.py
## 【functools】functools, fullnamefunctools, filefunctools.py
## 【inspect】inspect, fullnameinspect, fileinspect.py
## 【netrc】netrc, fullnamenetrc, filenetrc.py
## 【platform】platform, fullnameplatform, fileplatform.py
## 【re】re, fullnamere, filere.py
## 【time】time, fullnametime, file
## 【warnings】warnings, fullnamewarnings, filewarnings.py
## 【weakref】weakref, fullnameweakref, fileweakref.py
## 【async_timeout】async_timeout, fullnameasync_timeout, fileasync_timeout\__init__.py
## 【attr】attr, fullnameattr, fileattr\__init__.py
## 【collections】collections, fullnamecollections, filecollections\__init__.py
## 【zlib】zlib, fullnamezlib, file
## 【abc】abc, fullnameabc, fileabc.py
## 【string】string, fullnamestring, filestring.py
## 【random】random, fullnamerandom, filerandom.py
## 【http】http, fullnamehttp, filehttp\__init__.py
## 【enum】enum, fullnameenum, fileenum.py
## 【io】io, fullnameio, fileio.py
## 【mimetypes】mimetypes, fullnamemimetypes, filemimetypes.py
## 【ssl】ssl, fullnamessl, filessl.py
## 【uuid】uuid, fullnameuuid, fileuuid.py
## 【codecs】codecs, fullnamecodecs, filecodecs.py
## 【traceback】traceback, fullnametraceback, filetraceback.py
## 【chardet】chardet, fullnamechardet, filechardet\__init__.py
## 【pickle】pickle, fullnamepickle, filepickle.py
## 【hashlib】hashlib, fullnamehashlib, filehashlib.py
## 【types】types, fullnametypes, filetypes.py