@scrypted/arlo 0.11.24 → 0.11.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/plugin.zip +0 -0
- package/package.json +9 -1
- package/venv/bin/Activate.ps1 +247 -0
- package/venv/bin/activate +69 -0
- package/venv/bin/activate.csh +26 -0
- package/venv/bin/activate.fish +69 -0
- package/venv/bin/normalizer +8 -0
- package/venv/bin/pip +8 -0
- package/venv/bin/pip3 +8 -0
- package/venv/bin/pip3.10 +8 -0
- package/venv/lib/python3.10/site-packages/_cffi_backend.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/_distutils_hack/__init__.py +132 -0
- package/venv/lib/python3.10/site-packages/_distutils_hack/override.py +1 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/__init__.py +13 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/_staggered.py +202 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/impl.py +210 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/types.py +12 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/utils.py +97 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/LICENSE +279 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/METADATA +123 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/RECORD +16 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/aiohttp/.hash/_cparser.pxd.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/.hash/_find_header.pxd.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/.hash/_http_parser.pyx.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/.hash/_http_writer.pyx.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/.hash/hdrs.py.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/__init__.py +264 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_cparser.pxd +158 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_find_header.pxd +2 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_headers.pxi +83 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_http_parser.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_http_parser.pyx +837 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_http_writer.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_http_writer.pyx +162 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/.hash/mask.pxd.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/.hash/mask.pyx.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/.hash/reader_c.pxd.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/__init__.py +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/helpers.py +147 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/mask.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/mask.pxd +3 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/mask.pyx +48 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/models.py +84 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader.py +31 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader_c.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader_c.pxd +102 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader_c.py +468 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader_py.py +468 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/writer.py +177 -0
- package/venv/lib/python3.10/site-packages/aiohttp/abc.py +253 -0
- package/venv/lib/python3.10/site-packages/aiohttp/base_protocol.py +100 -0
- package/venv/lib/python3.10/site-packages/aiohttp/client.py +1550 -0
- package/venv/lib/python3.10/site-packages/aiohttp/client_exceptions.py +421 -0
- package/venv/lib/python3.10/site-packages/aiohttp/client_proto.py +307 -0
- package/venv/lib/python3.10/site-packages/aiohttp/client_reqrep.py +1315 -0
- package/venv/lib/python3.10/site-packages/aiohttp/client_ws.py +426 -0
- package/venv/lib/python3.10/site-packages/aiohttp/compression_utils.py +173 -0
- package/venv/lib/python3.10/site-packages/aiohttp/connector.py +1652 -0
- package/venv/lib/python3.10/site-packages/aiohttp/cookiejar.py +495 -0
- package/venv/lib/python3.10/site-packages/aiohttp/formdata.py +182 -0
- package/venv/lib/python3.10/site-packages/aiohttp/hdrs.py +121 -0
- package/venv/lib/python3.10/site-packages/aiohttp/helpers.py +944 -0
- package/venv/lib/python3.10/site-packages/aiohttp/http.py +72 -0
- package/venv/lib/python3.10/site-packages/aiohttp/http_exceptions.py +112 -0
- package/venv/lib/python3.10/site-packages/aiohttp/http_parser.py +1046 -0
- package/venv/lib/python3.10/site-packages/aiohttp/http_websocket.py +36 -0
- package/venv/lib/python3.10/site-packages/aiohttp/http_writer.py +249 -0
- package/venv/lib/python3.10/site-packages/aiohttp/log.py +8 -0
- package/venv/lib/python3.10/site-packages/aiohttp/multipart.py +1071 -0
- package/venv/lib/python3.10/site-packages/aiohttp/payload.py +519 -0
- package/venv/lib/python3.10/site-packages/aiohttp/payload_streamer.py +78 -0
- package/venv/lib/python3.10/site-packages/aiohttp/py.typed +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/pytest_plugin.py +436 -0
- package/venv/lib/python3.10/site-packages/aiohttp/resolver.py +187 -0
- package/venv/lib/python3.10/site-packages/aiohttp/streams.py +727 -0
- package/venv/lib/python3.10/site-packages/aiohttp/tcp_helpers.py +37 -0
- package/venv/lib/python3.10/site-packages/aiohttp/test_utils.py +770 -0
- package/venv/lib/python3.10/site-packages/aiohttp/tracing.py +470 -0
- package/venv/lib/python3.10/site-packages/aiohttp/typedefs.py +69 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web.py +605 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_app.py +620 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_exceptions.py +452 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_fileresponse.py +418 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_log.py +216 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_middlewares.py +121 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_protocol.py +750 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_request.py +916 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_response.py +840 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_routedef.py +214 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_runner.py +399 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_server.py +84 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_urldispatcher.py +1301 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_ws.py +622 -0
- package/venv/lib/python3.10/site-packages/aiohttp/worker.py +252 -0
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/LICENSE.txt +13 -0
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/METADATA +250 -0
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/RECORD +132 -0
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/aiosignal/__init__.py +36 -0
- package/venv/lib/python3.10/site-packages/aiosignal/__init__.pyi +12 -0
- package/venv/lib/python3.10/site-packages/aiosignal/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/LICENSE +201 -0
- package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/METADATA +123 -0
- package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/RECORD +10 -0
- package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/async_timeout/__init__.py +276 -0
- package/venv/lib/python3.10/site-packages/async_timeout/py.typed +1 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/LICENSE +13 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/METADATA +163 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/RECORD +11 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/WHEEL +5 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/zip-safe +1 -0
- package/venv/lib/python3.10/site-packages/attr/__init__.py +104 -0
- package/venv/lib/python3.10/site-packages/attr/__init__.pyi +389 -0
- package/venv/lib/python3.10/site-packages/attr/_cmp.py +160 -0
- package/venv/lib/python3.10/site-packages/attr/_cmp.pyi +13 -0
- package/venv/lib/python3.10/site-packages/attr/_compat.py +94 -0
- package/venv/lib/python3.10/site-packages/attr/_config.py +31 -0
- package/venv/lib/python3.10/site-packages/attr/_funcs.py +468 -0
- package/venv/lib/python3.10/site-packages/attr/_make.py +3055 -0
- package/venv/lib/python3.10/site-packages/attr/_next_gen.py +623 -0
- package/venv/lib/python3.10/site-packages/attr/_typing_compat.pyi +15 -0
- package/venv/lib/python3.10/site-packages/attr/_version_info.py +86 -0
- package/venv/lib/python3.10/site-packages/attr/_version_info.pyi +9 -0
- package/venv/lib/python3.10/site-packages/attr/converters.py +162 -0
- package/venv/lib/python3.10/site-packages/attr/converters.pyi +19 -0
- package/venv/lib/python3.10/site-packages/attr/exceptions.py +95 -0
- package/venv/lib/python3.10/site-packages/attr/exceptions.pyi +17 -0
- package/venv/lib/python3.10/site-packages/attr/filters.py +72 -0
- package/venv/lib/python3.10/site-packages/attr/filters.pyi +6 -0
- package/venv/lib/python3.10/site-packages/attr/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/attr/setters.py +79 -0
- package/venv/lib/python3.10/site-packages/attr/setters.pyi +20 -0
- package/venv/lib/python3.10/site-packages/attr/validators.py +710 -0
- package/venv/lib/python3.10/site-packages/attr/validators.pyi +86 -0
- package/venv/lib/python3.10/site-packages/attrs/__init__.py +69 -0
- package/venv/lib/python3.10/site-packages/attrs/__init__.pyi +263 -0
- package/venv/lib/python3.10/site-packages/attrs/converters.py +3 -0
- package/venv/lib/python3.10/site-packages/attrs/exceptions.py +3 -0
- package/venv/lib/python3.10/site-packages/attrs/filters.py +3 -0
- package/venv/lib/python3.10/site-packages/attrs/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/attrs/setters.py +3 -0
- package/venv/lib/python3.10/site-packages/attrs/validators.py +3 -0
- package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/METADATA +232 -0
- package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/RECORD +55 -0
- package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/licenses/LICENSE +21 -0
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/METADATA +123 -0
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/RECORD +90 -0
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/licenses/AUTHORS +49 -0
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/licenses/LICENSE +31 -0
- package/venv/lib/python3.10/site-packages/bs4/__init__.py +1170 -0
- package/venv/lib/python3.10/site-packages/bs4/_deprecation.py +80 -0
- package/venv/lib/python3.10/site-packages/bs4/_typing.py +196 -0
- package/venv/lib/python3.10/site-packages/bs4/_warnings.py +98 -0
- package/venv/lib/python3.10/site-packages/bs4/builder/__init__.py +848 -0
- package/venv/lib/python3.10/site-packages/bs4/builder/_html5lib.py +594 -0
- package/venv/lib/python3.10/site-packages/bs4/builder/_htmlparser.py +474 -0
- package/venv/lib/python3.10/site-packages/bs4/builder/_lxml.py +490 -0
- package/venv/lib/python3.10/site-packages/bs4/css.py +338 -0
- package/venv/lib/python3.10/site-packages/bs4/dammit.py +1408 -0
- package/venv/lib/python3.10/site-packages/bs4/diagnose.py +268 -0
- package/venv/lib/python3.10/site-packages/bs4/element.py +2886 -0
- package/venv/lib/python3.10/site-packages/bs4/exceptions.py +28 -0
- package/venv/lib/python3.10/site-packages/bs4/filter.py +755 -0
- package/venv/lib/python3.10/site-packages/bs4/formatter.py +276 -0
- package/venv/lib/python3.10/site-packages/bs4/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/__init__.py +1305 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4670634698080256.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4818336571064320.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4999465949331456.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5000587759190016.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5167584867909632.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5270998950477824.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5375146639360000.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5492400320282624.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5703933063462912.testcase +2 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5843991618256896.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5984173902397440.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6124268085182464.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6241471367348224.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6306874195312640.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6450958476902400.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6600557255327744.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/crash-0d306a50c8ed8bcd0785b67000fcd5dea1d33f08.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/crash-ffbdfa8a2b26f13537b68d3794b0478a4090ee4a.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_builder.py +28 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_builder_registry.py +139 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_css.py +536 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_dammit.py +433 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_element.py +138 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_filter.py +674 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_formatter.py +170 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_fuzz.py +181 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_html5lib.py +264 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_htmlparser.py +161 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_lxml.py +196 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_navigablestring.py +144 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_pageelement.py +437 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_soup.py +602 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_tag.py +241 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_tree.py +1452 -0
- package/venv/lib/python3.10/site-packages/cachetools/__init__.py +859 -0
- package/venv/lib/python3.10/site-packages/cachetools/func.py +121 -0
- package/venv/lib/python3.10/site-packages/cachetools/keys.py +62 -0
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/LICENSE +20 -0
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/METADATA +151 -0
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/RECORD +13 -0
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/WHEEL +5 -0
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/certifi/__init__.py +4 -0
- package/venv/lib/python3.10/site-packages/certifi/__main__.py +12 -0
- package/venv/lib/python3.10/site-packages/certifi/cacert.pem +4897 -0
- package/venv/lib/python3.10/site-packages/certifi/core.py +114 -0
- package/venv/lib/python3.10/site-packages/certifi/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/LICENSE +20 -0
- package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/METADATA +77 -0
- package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/RECORD +14 -0
- package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/WHEEL +5 -0
- package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/cffi/__init__.py +14 -0
- package/venv/lib/python3.10/site-packages/cffi/_cffi_errors.h +149 -0
- package/venv/lib/python3.10/site-packages/cffi/_cffi_include.h +389 -0
- package/venv/lib/python3.10/site-packages/cffi/_embedding.h +550 -0
- package/venv/lib/python3.10/site-packages/cffi/_imp_emulation.py +83 -0
- package/venv/lib/python3.10/site-packages/cffi/_shimmed_dist_utils.py +45 -0
- package/venv/lib/python3.10/site-packages/cffi/api.py +967 -0
- package/venv/lib/python3.10/site-packages/cffi/backend_ctypes.py +1121 -0
- package/venv/lib/python3.10/site-packages/cffi/cffi_opcode.py +187 -0
- package/venv/lib/python3.10/site-packages/cffi/commontypes.py +82 -0
- package/venv/lib/python3.10/site-packages/cffi/cparser.py +1015 -0
- package/venv/lib/python3.10/site-packages/cffi/error.py +31 -0
- package/venv/lib/python3.10/site-packages/cffi/ffiplatform.py +113 -0
- package/venv/lib/python3.10/site-packages/cffi/lock.py +30 -0
- package/venv/lib/python3.10/site-packages/cffi/model.py +618 -0
- package/venv/lib/python3.10/site-packages/cffi/parse_c_type.h +181 -0
- package/venv/lib/python3.10/site-packages/cffi/pkgconfig.py +121 -0
- package/venv/lib/python3.10/site-packages/cffi/recompiler.py +1598 -0
- package/venv/lib/python3.10/site-packages/cffi/setuptools_ext.py +216 -0
- package/venv/lib/python3.10/site-packages/cffi/vengine_cpy.py +1084 -0
- package/venv/lib/python3.10/site-packages/cffi/vengine_gen.py +679 -0
- package/venv/lib/python3.10/site-packages/cffi/verifier.py +306 -0
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/LICENSE +26 -0
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/METADATA +40 -0
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/RECORD +48 -0
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/entry_points.txt +2 -0
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/top_level.txt +2 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/__init__.py +48 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/__main__.py +6 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/api.py +668 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/cd.py +395 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/cli/__init__.py +8 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/cli/__main__.py +321 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/constant.py +1998 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/legacy.py +66 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/md.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/md.py +630 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/md__mypyc.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/models.py +360 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/utils.py +408 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/version.py +8 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/LICENSE +21 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/METADATA +721 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/RECORD +35 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/entry_points.txt +2 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/__init__.py +407 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/2captcha.py +258 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/9kw.py +214 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/__init__.py +47 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/anticaptcha.py +199 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/capmonster.py +199 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/capsolver.py +188 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/deathbycaptcha.py +276 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/cloudflare.py +490 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/exceptions.py +111 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/help.py +72 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/__init__.py +56 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/chakracore.py +103 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/encapsulated.py +62 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/js2py.py +44 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/jsunfuck.py +97 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/native.py +233 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/nodejs.py +49 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/v8.py +33 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/user_agent/__init__.py +124 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/user_agent/browsers.json +7913 -0
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/LICENSE +22 -0
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/METADATA +674 -0
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/RECORD +48 -0
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/__init__.py +37 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/__version__.py +8 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/_asyncio_selector.py +344 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/_wrapper.abi3.so +0 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/aio.py +257 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/const.py +581 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/curl.py +548 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/py.typed +1 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/__init__.py +146 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/cookies.py +355 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/errors.py +7 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/exceptions.py +219 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/headers.py +348 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/impersonate.py +360 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/models.py +292 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/session.py +1021 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/utils.py +663 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/websockets.py +711 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/utils.py +13 -0
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/LICENSE +21 -0
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/METADATA +333 -0
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/RECORD +43 -0
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/distutils-precedence.pth +1 -0
- package/venv/lib/python3.10/site-packages/frozenlist/__init__.py +98 -0
- package/venv/lib/python3.10/site-packages/frozenlist/__init__.pyi +47 -0
- package/venv/lib/python3.10/site-packages/frozenlist/_frozenlist.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/frozenlist/_frozenlist.pyx +123 -0
- package/venv/lib/python3.10/site-packages/frozenlist/py.typed +1 -0
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/LICENSE +201 -0
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/METADATA +477 -0
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/RECORD +12 -0
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/WHEEL +8 -0
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/idna/__init__.py +45 -0
- package/venv/lib/python3.10/site-packages/idna/codec.py +122 -0
- package/venv/lib/python3.10/site-packages/idna/compat.py +15 -0
- package/venv/lib/python3.10/site-packages/idna/core.py +437 -0
- package/venv/lib/python3.10/site-packages/idna/idnadata.py +4243 -0
- package/venv/lib/python3.10/site-packages/idna/intranges.py +57 -0
- package/venv/lib/python3.10/site-packages/idna/package_data.py +1 -0
- package/venv/lib/python3.10/site-packages/idna/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/idna/uts46data.py +8681 -0
- package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/LICENSE.md +31 -0
- package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/METADATA +250 -0
- package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/RECORD +22 -0
- package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/multidict/__init__.py +48 -0
- package/venv/lib/python3.10/site-packages/multidict/__init__.pyi +152 -0
- package/venv/lib/python3.10/site-packages/multidict/_abc.py +48 -0
- package/venv/lib/python3.10/site-packages/multidict/_compat.py +14 -0
- package/venv/lib/python3.10/site-packages/multidict/_multidict.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/multidict/_multidict_base.py +152 -0
- package/venv/lib/python3.10/site-packages/multidict/_multidict_py.py +527 -0
- package/venv/lib/python3.10/site-packages/multidict/py.typed +1 -0
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/LICENSE +13 -0
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/METADATA +140 -0
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/RECORD +19 -0
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/paho/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/__init__.py +5 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/client.py +5004 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/enums.py +113 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/matcher.py +78 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/packettypes.py +43 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/properties.py +421 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/publish.py +306 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/reasoncodes.py +223 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/subscribe.py +281 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/subscribeoptions.py +113 -0
- package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/METADATA +635 -0
- package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/RECORD +29 -0
- package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/licenses/LICENSE.txt +3 -0
- package/venv/lib/python3.10/site-packages/pip/__init__.py +13 -0
- package/venv/lib/python3.10/site-packages/pip/__main__.py +31 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/__init__.py +19 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/build_env.py +296 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cache.py +264 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/__init__.py +4 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/autocompletion.py +171 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/base_command.py +220 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/cmdoptions.py +1018 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/command_context.py +27 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/main.py +70 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/main_parser.py +87 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/parser.py +292 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/progress_bars.py +321 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/req_command.py +506 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/spinners.py +157 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/status_codes.py +6 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/__init__.py +127 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/cache.py +223 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/check.py +53 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/completion.py +96 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/configuration.py +266 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/debug.py +202 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/download.py +140 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/freeze.py +97 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/hash.py +59 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/help.py +41 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/index.py +139 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/install.py +771 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/list.py +363 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/search.py +174 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/show.py +178 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/uninstall.py +105 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/wheel.py +178 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/configuration.py +366 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/distributions/__init__.py +21 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/distributions/base.py +36 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/distributions/installed.py +20 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/distributions/sdist.py +127 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/distributions/wheel.py +31 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/exceptions.py +658 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/index/__init__.py +2 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/index/collector.py +648 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/index/package_finder.py +1004 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/index/sources.py +224 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/locations/__init__.py +520 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/locations/_distutils.py +169 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/locations/_sysconfig.py +219 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/locations/base.py +52 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/main.py +12 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/metadata/__init__.py +62 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/metadata/base.py +546 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/metadata/pkg_resources.py +256 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/__init__.py +2 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/candidate.py +34 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/direct_url.py +220 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/format_control.py +80 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/index.py +28 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/link.py +288 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/scheme.py +31 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/search_scope.py +129 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/selection_prefs.py +51 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/target_python.py +110 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/wheel.py +89 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/__init__.py +2 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/auth.py +323 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/cache.py +69 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/download.py +185 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/lazy_wheel.py +210 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/session.py +454 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/utils.py +96 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/xmlrpc.py +60 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/metadata.py +39 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/metadata_editable.py +41 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/metadata_legacy.py +74 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/wheel.py +37 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/wheel_editable.py +46 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/wheel_legacy.py +102 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/check.py +149 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/freeze.py +254 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/__init__.py +2 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/editable_legacy.py +47 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/legacy.py +120 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/wheel.py +738 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/prepare.py +642 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/pyproject.py +168 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/req/__init__.py +94 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/req/constructors.py +490 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/req/req_file.py +536 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/req/req_install.py +858 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/req/req_set.py +189 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/req/req_tracker.py +124 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/req/req_uninstall.py +633 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/base.py +20 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/legacy/resolver.py +467 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/base.py +141 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py +547 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py +739 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +155 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/provider.py +248 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/reporter.py +68 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/requirements.py +166 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py +292 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/self_outdated_check.py +189 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/_log.py +38 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/appdirs.py +52 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/compat.py +63 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/compatibility_tags.py +165 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/datetime.py +11 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/deprecation.py +120 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/direct_url_helpers.py +87 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/distutils_args.py +42 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/egg_link.py +75 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/encoding.py +36 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/entrypoints.py +27 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/filesystem.py +182 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/filetypes.py +27 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/glibc.py +88 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/hashes.py +144 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/inject_securetransport.py +35 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/logging.py +343 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/misc.py +653 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/models.py +39 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/packaging.py +57 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/setuptools_build.py +195 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/subprocess.py +260 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/temp_dir.py +246 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/unpacking.py +258 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/urls.py +62 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/virtualenv.py +104 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/wheel.py +136 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/__init__.py +15 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/bazaar.py +101 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/git.py +526 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/mercurial.py +163 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/subversion.py +324 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/versioncontrol.py +705 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/wheel_builder.py +377 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/__init__.py +111 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/__init__.py +18 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/_cmd.py +61 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/adapter.py +137 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/cache.py +43 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +6 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +150 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +37 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/compat.py +32 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/controller.py +415 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/filewrapper.py +111 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/heuristics.py +139 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/serialize.py +186 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/wrapper.py +33 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/__init__.py +3 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/__main__.py +12 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/cacert.pem +4362 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/core.py +76 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/__init__.py +83 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/big5freq.py +386 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/big5prober.py +47 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/chardistribution.py +233 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/charsetgroupprober.py +107 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/charsetprober.py +145 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/cli/__init__.py +1 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/cli/chardetect.py +84 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/codingstatemachine.py +88 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/compat.py +36 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/cp949prober.py +49 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/enums.py +76 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/escprober.py +101 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/escsm.py +246 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/eucjpprober.py +92 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euckrfreq.py +195 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euckrprober.py +47 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euctwfreq.py +387 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euctwprober.py +46 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/gb2312freq.py +283 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/gb2312prober.py +46 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/hebrewprober.py +292 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/jisfreq.py +325 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/jpcntx.py +233 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langbulgarianmodel.py +4650 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langgreekmodel.py +4398 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langhebrewmodel.py +4383 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langhungarianmodel.py +4650 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langrussianmodel.py +5718 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langthaimodel.py +4383 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langturkishmodel.py +4383 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/latin1prober.py +145 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/mbcharsetprober.py +91 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/mbcsgroupprober.py +54 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/mbcssm.py +572 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/metadata/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/metadata/languages.py +310 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/sbcharsetprober.py +145 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/sbcsgroupprober.py +83 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/sjisprober.py +92 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/universaldetector.py +286 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/utf8prober.py +82 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/version.py +9 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/__init__.py +6 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/ansi.py +102 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/ansitowin32.py +258 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/initialise.py +80 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/win32.py +152 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/winterm.py +169 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/__init__.py +23 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/compat.py +1116 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/database.py +1345 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/index.py +509 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/locators.py +1300 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/manifest.py +393 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/markers.py +152 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/metadata.py +1058 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/resources.py +358 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/scripts.py +429 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/util.py +1932 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/version.py +739 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/wheel.py +1053 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distro.py +1386 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/__init__.py +35 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_ihatexml.py +289 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_inputstream.py +918 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_tokenizer.py +1735 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/__init__.py +5 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/_base.py +40 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/py.py +67 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_utils.py +159 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/constants.py +2946 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/alphabeticalattributes.py +29 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/base.py +12 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/inject_meta_charset.py +73 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/lint.py +93 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/optionaltags.py +207 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/sanitizer.py +916 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/whitespace.py +38 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/html5parser.py +2795 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/serializer.py +409 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treeadapters/__init__.py +30 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treeadapters/genshi.py +54 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treeadapters/sax.py +50 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/__init__.py +88 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/base.py +417 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/dom.py +239 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/etree.py +343 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/etree_lxml.py +392 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/__init__.py +154 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/base.py +252 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/dom.py +43 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/etree.py +131 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.py +215 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/genshi.py +69 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/__init__.py +44 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/codec.py +112 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/compat.py +13 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/core.py +397 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/idnadata.py +2137 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/intranges.py +54 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/package_data.py +2 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/uts46data.py +8512 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/__init__.py +54 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/_version.py +1 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/exceptions.py +48 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/ext.py +193 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/fallback.py +1012 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/__about__.py +26 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/__init__.py +25 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_manylinux.py +301 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_musllinux.py +136 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_structures.py +61 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/markers.py +304 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/requirements.py +146 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/specifiers.py +802 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/tags.py +487 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/utils.py +136 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/version.py +504 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/__init__.py +6 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/build.py +127 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/check.py +207 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/colorlog.py +115 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/compat.py +51 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/dirtools.py +44 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/envbuild.py +171 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/__init__.py +17 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py +363 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/meta.py +92 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/wrappers.py +375 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py +3296 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pkg_resources/py31compat.py +23 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/__init__.py +331 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/__main__.py +46 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/android.py +119 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/api.py +156 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/macos.py +64 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/unix.py +181 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/version.py +4 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/windows.py +182 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/progress/__init__.py +189 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/progress/bar.py +93 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/progress/colors.py +79 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/progress/counter.py +47 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/progress/spinner.py +45 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/__init__.py +83 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/__main__.py +17 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/cmdline.py +663 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/console.py +70 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/filter.py +71 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/filters/__init__.py +937 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatter.py +94 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/__init__.py +153 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/_mapping.py +84 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/bbcode.py +108 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/groff.py +168 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/html.py +983 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/img.py +641 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/irc.py +179 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/latex.py +511 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/other.py +161 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/pangomarkup.py +83 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/rtf.py +146 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/svg.py +188 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/terminal.py +127 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/terminal256.py +338 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexer.py +879 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexers/__init__.py +341 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexers/_mapping.py +580 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexers/python.py +1188 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/modeline.py +43 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/plugin.py +69 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/regexopt.py +91 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/scanner.py +104 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/sphinxext.py +155 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/style.py +197 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/styles/__init__.py +93 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/token.py +212 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/unistring.py +153 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/util.py +308 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/__init__.py +328 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/actions.py +207 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/common.py +424 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/core.py +5789 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/diagram/__init__.py +593 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/exceptions.py +267 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/helpers.py +1069 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/results.py +760 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/testing.py +331 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/unicode.py +332 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/util.py +235 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/__init__.py +154 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/__version__.py +14 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/_internal_utils.py +42 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/adapters.py +538 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/api.py +159 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/auth.py +305 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/certs.py +18 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/compat.py +77 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/cookies.py +549 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/exceptions.py +133 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/help.py +132 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/hooks.py +34 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/models.py +973 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/packages.py +16 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/sessions.py +771 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/status_codes.py +123 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/structures.py +105 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/utils.py +1060 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/__init__.py +26 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/compat/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py +6 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/providers.py +133 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/reporters.py +43 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py +482 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/structs.py +165 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/__init__.py +172 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/__main__.py +280 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_cell_widths.py +451 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_emoji_codes.py +3610 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_emoji_replace.py +32 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_extension.py +10 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_inspect.py +210 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_log_render.py +94 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_loop.py +43 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_lru_cache.py +34 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_palettes.py +309 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_pick.py +17 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_ratio.py +160 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_spinners.py +848 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_stack.py +16 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_timer.py +19 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_windows.py +72 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_wrap.py +55 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/abc.py +33 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/align.py +312 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/ansi.py +228 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/bar.py +94 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/box.py +483 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/cells.py +147 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/color.py +581 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/color_triplet.py +38 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/columns.py +187 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/console.py +2211 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/constrain.py +37 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/containers.py +167 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/control.py +175 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/default_styles.py +183 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/diagnose.py +6 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/emoji.py +96 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/errors.py +34 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/file_proxy.py +54 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/filesize.py +89 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/highlighter.py +147 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/json.py +140 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/jupyter.py +92 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/layout.py +444 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/live.py +365 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/live_render.py +113 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/logging.py +268 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/markup.py +244 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/measure.py +149 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/padding.py +141 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/pager.py +34 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/palette.py +100 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/panel.py +250 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/pretty.py +903 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/progress.py +1036 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/progress_bar.py +216 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/prompt.py +376 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/protocol.py +42 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/region.py +10 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/repr.py +151 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/rule.py +115 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/scope.py +86 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/screen.py +54 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/segment.py +720 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/spinner.py +134 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/status.py +132 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/style.py +785 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/styled.py +42 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/syntax.py +735 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/table.py +968 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/tabulate.py +51 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/terminal_theme.py +55 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/text.py +1282 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/theme.py +112 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/themes.py +5 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/traceback.py +678 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/tree.py +249 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/six.py +998 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/__init__.py +517 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/_asyncio.py +92 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/_utils.py +68 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/after.py +46 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/before.py +41 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/before_sleep.py +58 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/nap.py +43 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/retry.py +213 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/stop.py +96 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/tornadoweb.py +59 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/wait.py +191 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tomli/__init__.py +6 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tomli/_parser.py +703 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tomli/_re.py +83 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/typing_extensions.py +2296 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/__init__.py +85 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/_collections.py +355 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/_version.py +2 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/connection.py +569 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/connectionpool.py +1113 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py +36 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +519 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +397 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/appengine.py +314 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +130 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +511 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +922 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/socks.py +216 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/exceptions.py +323 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/fields.py +274 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/filepost.py +98 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/packages/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +51 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/packages/six.py +1077 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/poolmanager.py +539 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/request.py +170 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py +821 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/__init__.py +49 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/connection.py +149 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/proxy.py +57 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/queue.py +22 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/request.py +143 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/response.py +107 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/retry.py +622 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/ssl_.py +495 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py +161 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/ssltransport.py +221 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/timeout.py +268 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/url.py +432 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/wait.py +153 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/vendor.txt +25 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/__init__.py +342 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/labels.py +231 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/mklabels.py +59 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/tests.py +153 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/x_user_defined.py +325 -0
- package/venv/lib/python3.10/site-packages/pip/py.typed +4 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/LICENSE.txt +20 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/METADATA +92 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/RECORD +1037 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/WHEEL +5 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/entry_points.txt +5 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/__init__.py +3303 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/appdirs.py +608 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__about__.py +26 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__init__.py +25 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/_manylinux.py +301 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/_musllinux.py +136 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/_structures.py +67 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/markers.py +304 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/requirements.py +146 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/specifiers.py +828 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/tags.py +484 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/utils.py +136 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/version.py +504 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/pyparsing.py +5742 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/extern/__init__.py +73 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/tests/data/my-test-package-source/setup.py +6 -0
- package/venv/lib/python3.10/site-packages/propcache/__init__.py +32 -0
- package/venv/lib/python3.10/site-packages/propcache/_helpers.py +39 -0
- package/venv/lib/python3.10/site-packages/propcache/_helpers_c.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/propcache/_helpers_c.pyx +84 -0
- package/venv/lib/python3.10/site-packages/propcache/_helpers_py.py +56 -0
- package/venv/lib/python3.10/site-packages/propcache/api.py +8 -0
- package/venv/lib/python3.10/site-packages/propcache/py.typed +1 -0
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/LICENSE +202 -0
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/METADATA +275 -0
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/NOTICE +13 -0
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/RECORD +18 -0
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/pycparser/__init__.py +93 -0
- package/venv/lib/python3.10/site-packages/pycparser/_ast_gen.py +336 -0
- package/venv/lib/python3.10/site-packages/pycparser/_build_tables.py +40 -0
- package/venv/lib/python3.10/site-packages/pycparser/_c_ast.cfg +195 -0
- package/venv/lib/python3.10/site-packages/pycparser/ast_transforms.py +164 -0
- package/venv/lib/python3.10/site-packages/pycparser/c_ast.py +1125 -0
- package/venv/lib/python3.10/site-packages/pycparser/c_generator.py +502 -0
- package/venv/lib/python3.10/site-packages/pycparser/c_lexer.py +555 -0
- package/venv/lib/python3.10/site-packages/pycparser/c_parser.py +1950 -0
- package/venv/lib/python3.10/site-packages/pycparser/lextab.py +10 -0
- package/venv/lib/python3.10/site-packages/pycparser/ply/__init__.py +5 -0
- package/venv/lib/python3.10/site-packages/pycparser/ply/cpp.py +905 -0
- package/venv/lib/python3.10/site-packages/pycparser/ply/ctokens.py +133 -0
- package/venv/lib/python3.10/site-packages/pycparser/ply/lex.py +1099 -0
- package/venv/lib/python3.10/site-packages/pycparser/ply/yacc.py +3494 -0
- package/venv/lib/python3.10/site-packages/pycparser/ply/ygen.py +74 -0
- package/venv/lib/python3.10/site-packages/pycparser/plyparser.py +133 -0
- package/venv/lib/python3.10/site-packages/pycparser/yacctab.py +369 -0
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/LICENSE +27 -0
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/METADATA +28 -0
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/RECORD +41 -0
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/WHEEL +5 -0
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/pyparsing/__init__.py +326 -0
- package/venv/lib/python3.10/site-packages/pyparsing/actions.py +219 -0
- package/venv/lib/python3.10/site-packages/pyparsing/common.py +434 -0
- package/venv/lib/python3.10/site-packages/pyparsing/core.py +6226 -0
- package/venv/lib/python3.10/site-packages/pyparsing/diagram/__init__.py +744 -0
- package/venv/lib/python3.10/site-packages/pyparsing/exceptions.py +314 -0
- package/venv/lib/python3.10/site-packages/pyparsing/helpers.py +1102 -0
- package/venv/lib/python3.10/site-packages/pyparsing/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/pyparsing/results.py +816 -0
- package/venv/lib/python3.10/site-packages/pyparsing/testing.py +362 -0
- package/venv/lib/python3.10/site-packages/pyparsing/unicode.py +356 -0
- package/venv/lib/python3.10/site-packages/pyparsing/util.py +398 -0
- package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/LICENSE +18 -0
- package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/METADATA +124 -0
- package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/RECORD +28 -0
- package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/requests/__init__.py +184 -0
- package/venv/lib/python3.10/site-packages/requests/__version__.py +14 -0
- package/venv/lib/python3.10/site-packages/requests/_internal_utils.py +50 -0
- package/venv/lib/python3.10/site-packages/requests/adapters.py +719 -0
- package/venv/lib/python3.10/site-packages/requests/api.py +157 -0
- package/venv/lib/python3.10/site-packages/requests/auth.py +314 -0
- package/venv/lib/python3.10/site-packages/requests/certs.py +17 -0
- package/venv/lib/python3.10/site-packages/requests/compat.py +94 -0
- package/venv/lib/python3.10/site-packages/requests/cookies.py +561 -0
- package/venv/lib/python3.10/site-packages/requests/exceptions.py +151 -0
- package/venv/lib/python3.10/site-packages/requests/help.py +134 -0
- package/venv/lib/python3.10/site-packages/requests/hooks.py +33 -0
- package/venv/lib/python3.10/site-packages/requests/models.py +1037 -0
- package/venv/lib/python3.10/site-packages/requests/packages.py +23 -0
- package/venv/lib/python3.10/site-packages/requests/sessions.py +831 -0
- package/venv/lib/python3.10/site-packages/requests/status_codes.py +128 -0
- package/venv/lib/python3.10/site-packages/requests/structures.py +99 -0
- package/venv/lib/python3.10/site-packages/requests/utils.py +1096 -0
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/LICENSE +175 -0
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/METADATA +119 -0
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/RECORD +43 -0
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/WHEEL +5 -0
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/__init__.py +34 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/_compat.py +302 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/__init__.py +15 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/appengine.py +206 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/fingerprint.py +48 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/host_header_ssl.py +43 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/socket_options.py +129 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/source.py +67 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/ssl.py +66 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/x509.py +196 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/_digest_auth_compat.py +29 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/guess.py +146 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/handler.py +142 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/http_proxy_digest.py +103 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/cookies/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/cookies/forgetful.py +7 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/downloadutils/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/downloadutils/stream.py +176 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/downloadutils/tee.py +123 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/exceptions.py +25 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/multipart/__init__.py +31 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/multipart/decoder.py +156 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/multipart/encoder.py +655 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/sessions.py +89 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/streaming_iterator.py +116 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/threaded/__init__.py +97 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/threaded/pool.py +211 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/threaded/thread.py +53 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/deprecated.py +91 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/dump.py +198 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/formdata.py +108 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/user_agent.py +143 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/AUTHORS.rst +57 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/LICENSE +13 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/METADATA +521 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/RECORD +75 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/__init__.py +1 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/_scrypted_arlo_go.cpython-310-x86_64-linux-gnu.h +555 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/_scrypted_arlo_go.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/build.py +344 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/go.py +2215 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go.c +6019 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go.go +3612 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go.py +1910 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go_go.h +555 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/METADATA +11 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/RECORD +19 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/WHEEL +8 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/setuptools/__init__.py +242 -0
- package/venv/lib/python3.10/site-packages/setuptools/_deprecation_warning.py +7 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/__init__.py +24 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/_msvccompiler.py +561 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/archive_util.py +256 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/bcppcompiler.py +393 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/ccompiler.py +1123 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/cmd.py +403 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/__init__.py +31 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist.py +143 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_dumb.py +123 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_msi.py +749 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_rpm.py +579 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_wininst.py +377 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build.py +157 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_clib.py +209 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py +755 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_py.py +392 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_scripts.py +152 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/check.py +148 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/clean.py +76 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/config.py +344 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install.py +721 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_data.py +79 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_egg_info.py +84 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_headers.py +47 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_lib.py +217 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_scripts.py +60 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/py37compat.py +30 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/register.py +304 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py +494 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/upload.py +214 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/config.py +130 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/core.py +249 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/cygwinccompiler.py +425 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/debug.py +5 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/dep_util.py +92 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/dir_util.py +210 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/dist.py +1257 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/errors.py +97 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/extension.py +240 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/fancy_getopt.py +457 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/file_util.py +238 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/filelist.py +355 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/log.py +77 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/msvc9compiler.py +788 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/msvccompiler.py +643 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/py35compat.py +19 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/py38compat.py +7 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/spawn.py +106 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/sysconfig.py +601 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/text_file.py +286 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/unixccompiler.py +325 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/util.py +548 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/version.py +363 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/versionpredicate.py +169 -0
- package/venv/lib/python3.10/site-packages/setuptools/_imp.py +82 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/more_itertools/__init__.py +4 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/more_itertools/more.py +3825 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/more_itertools/recipes.py +620 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/ordered_set.py +488 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/__about__.py +26 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/__init__.py +25 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/_manylinux.py +301 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/_musllinux.py +136 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/_structures.py +67 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/markers.py +304 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/requirements.py +146 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/specifiers.py +828 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/tags.py +484 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/utils.py +136 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/version.py +504 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/pyparsing.py +5742 -0
- package/venv/lib/python3.10/site-packages/setuptools/archive_util.py +205 -0
- package/venv/lib/python3.10/site-packages/setuptools/build_meta.py +290 -0
- package/venv/lib/python3.10/site-packages/setuptools/cli-32.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/cli-64.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/cli-arm64.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/cli.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/__init__.py +8 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/alias.py +78 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/bdist_egg.py +456 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/bdist_rpm.py +40 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/build_clib.py +101 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/build_ext.py +328 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/build_py.py +242 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/develop.py +193 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/dist_info.py +36 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/easy_install.py +2354 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/egg_info.py +755 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/install.py +132 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/install_egg_info.py +82 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/install_lib.py +148 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/install_scripts.py +69 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/launcher manifest.xml +15 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/py36compat.py +134 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/register.py +18 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/rotate.py +64 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/saveopts.py +22 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/sdist.py +196 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/setopt.py +149 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/test.py +252 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/upload.py +17 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/upload_docs.py +202 -0
- package/venv/lib/python3.10/site-packages/setuptools/config.py +751 -0
- package/venv/lib/python3.10/site-packages/setuptools/dep_util.py +25 -0
- package/venv/lib/python3.10/site-packages/setuptools/depends.py +176 -0
- package/venv/lib/python3.10/site-packages/setuptools/dist.py +1156 -0
- package/venv/lib/python3.10/site-packages/setuptools/errors.py +40 -0
- package/venv/lib/python3.10/site-packages/setuptools/extension.py +55 -0
- package/venv/lib/python3.10/site-packages/setuptools/extern/__init__.py +73 -0
- package/venv/lib/python3.10/site-packages/setuptools/glob.py +167 -0
- package/venv/lib/python3.10/site-packages/setuptools/gui-32.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/gui-64.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/gui-arm64.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/gui.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/installer.py +104 -0
- package/venv/lib/python3.10/site-packages/setuptools/launch.py +36 -0
- package/venv/lib/python3.10/site-packages/setuptools/monkey.py +177 -0
- package/venv/lib/python3.10/site-packages/setuptools/msvc.py +1805 -0
- package/venv/lib/python3.10/site-packages/setuptools/namespaces.py +107 -0
- package/venv/lib/python3.10/site-packages/setuptools/package_index.py +1150 -0
- package/venv/lib/python3.10/site-packages/setuptools/py34compat.py +13 -0
- package/venv/lib/python3.10/site-packages/setuptools/sandbox.py +530 -0
- package/venv/lib/python3.10/site-packages/setuptools/script (dev).tmpl +6 -0
- package/venv/lib/python3.10/site-packages/setuptools/script.tmpl +3 -0
- package/venv/lib/python3.10/site-packages/setuptools/unicode_utils.py +42 -0
- package/venv/lib/python3.10/site-packages/setuptools/version.py +6 -0
- package/venv/lib/python3.10/site-packages/setuptools/wheel.py +213 -0
- package/venv/lib/python3.10/site-packages/setuptools/windows_support.py +29 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/LICENSE +19 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/METADATA +125 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/RECORD +298 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/WHEEL +5 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/entry_points.txt +56 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/top_level.txt +4 -0
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/LICENSE +18 -0
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/METADATA +43 -0
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/RECORD +8 -0
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/six.py +1003 -0
- package/venv/lib/python3.10/site-packages/soupsieve/__init__.py +168 -0
- package/venv/lib/python3.10/site-packages/soupsieve/__meta__.py +197 -0
- package/venv/lib/python3.10/site-packages/soupsieve/css_match.py +1582 -0
- package/venv/lib/python3.10/site-packages/soupsieve/css_parser.py +1289 -0
- package/venv/lib/python3.10/site-packages/soupsieve/css_types.py +407 -0
- package/venv/lib/python3.10/site-packages/soupsieve/pretty.py +139 -0
- package/venv/lib/python3.10/site-packages/soupsieve/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/soupsieve/util.py +117 -0
- package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/METADATA +114 -0
- package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/RECORD +20 -0
- package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/licenses/LICENSE.md +21 -0
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/PKG-INFO +98 -0
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/SOURCES.txt +12 -0
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/dependency_links.txt +1 -0
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/installed-files.txt +7 -0
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/requires.txt +2 -0
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/sseclient.py +165 -0
- package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/LICENSE +279 -0
- package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/METADATA +67 -0
- package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/RECORD +7 -0
- package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/typing_extensions.py +3641 -0
- package/venv/lib/python3.10/site-packages/urllib3/__init__.py +211 -0
- package/venv/lib/python3.10/site-packages/urllib3/_base_connection.py +165 -0
- package/venv/lib/python3.10/site-packages/urllib3/_collections.py +479 -0
- package/venv/lib/python3.10/site-packages/urllib3/_request_methods.py +278 -0
- package/venv/lib/python3.10/site-packages/urllib3/_version.py +16 -0
- package/venv/lib/python3.10/site-packages/urllib3/connection.py +1044 -0
- package/venv/lib/python3.10/site-packages/urllib3/connectionpool.py +1178 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/__init__.py +16 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/connection.py +255 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/emscripten_fetch_worker.js +110 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/fetch.py +708 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/request.py +22 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/response.py +285 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/pyopenssl.py +554 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/socks.py +228 -0
- package/venv/lib/python3.10/site-packages/urllib3/exceptions.py +327 -0
- package/venv/lib/python3.10/site-packages/urllib3/fields.py +341 -0
- package/venv/lib/python3.10/site-packages/urllib3/filepost.py +89 -0
- package/venv/lib/python3.10/site-packages/urllib3/http2/__init__.py +53 -0
- package/venv/lib/python3.10/site-packages/urllib3/http2/connection.py +356 -0
- package/venv/lib/python3.10/site-packages/urllib3/http2/probe.py +87 -0
- package/venv/lib/python3.10/site-packages/urllib3/poolmanager.py +637 -0
- package/venv/lib/python3.10/site-packages/urllib3/py.typed +2 -0
- package/venv/lib/python3.10/site-packages/urllib3/response.py +1278 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/__init__.py +42 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/connection.py +137 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/proxy.py +43 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/request.py +258 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/response.py +101 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/retry.py +533 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/ssl_.py +504 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/ssl_match_hostname.py +159 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/ssltransport.py +271 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/timeout.py +275 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/url.py +469 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/util.py +42 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/wait.py +124 -0
- package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/METADATA +154 -0
- package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/RECORD +80 -0
- package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/licenses/LICENSE.txt +21 -0
- package/venv/lib/python3.10/site-packages/yarl/__init__.py +14 -0
- package/venv/lib/python3.10/site-packages/yarl/_parse.py +189 -0
- package/venv/lib/python3.10/site-packages/yarl/_path.py +41 -0
- package/venv/lib/python3.10/site-packages/yarl/_query.py +118 -0
- package/venv/lib/python3.10/site-packages/yarl/_quoters.py +32 -0
- package/venv/lib/python3.10/site-packages/yarl/_quoting.py +18 -0
- package/venv/lib/python3.10/site-packages/yarl/_quoting_c.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/yarl/_quoting_c.pyi +16 -0
- package/venv/lib/python3.10/site-packages/yarl/_quoting_c.pyx +423 -0
- package/venv/lib/python3.10/site-packages/yarl/_quoting_py.py +197 -0
- package/venv/lib/python3.10/site-packages/yarl/_url.py +1584 -0
- package/venv/lib/python3.10/site-packages/yarl/py.typed +1 -0
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/LICENSE +202 -0
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/METADATA +2279 -0
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/NOTICE +13 -0
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/RECORD +27 -0
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/top_level.txt +1 -0
- package/venv/pyvenv.cfg +3 -0
|
@@ -0,0 +1,1550 @@
|
|
|
1
|
+
"""HTTP Client for asyncio."""
|
|
2
|
+
|
|
3
|
+
import asyncio
|
|
4
|
+
import base64
|
|
5
|
+
import hashlib
|
|
6
|
+
import json
|
|
7
|
+
import os
|
|
8
|
+
import sys
|
|
9
|
+
import traceback
|
|
10
|
+
import warnings
|
|
11
|
+
from contextlib import suppress
|
|
12
|
+
from types import TracebackType
|
|
13
|
+
from typing import (
|
|
14
|
+
TYPE_CHECKING,
|
|
15
|
+
Any,
|
|
16
|
+
Awaitable,
|
|
17
|
+
Callable,
|
|
18
|
+
Coroutine,
|
|
19
|
+
Final,
|
|
20
|
+
FrozenSet,
|
|
21
|
+
Generator,
|
|
22
|
+
Generic,
|
|
23
|
+
Iterable,
|
|
24
|
+
List,
|
|
25
|
+
Mapping,
|
|
26
|
+
Optional,
|
|
27
|
+
Set,
|
|
28
|
+
Tuple,
|
|
29
|
+
Type,
|
|
30
|
+
TypedDict,
|
|
31
|
+
TypeVar,
|
|
32
|
+
Union,
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
import attr
|
|
36
|
+
from multidict import CIMultiDict, MultiDict, MultiDictProxy, istr
|
|
37
|
+
from yarl import URL
|
|
38
|
+
|
|
39
|
+
from . import hdrs, http, payload
|
|
40
|
+
from ._websocket.reader import WebSocketDataQueue
|
|
41
|
+
from .abc import AbstractCookieJar
|
|
42
|
+
from .client_exceptions import (
|
|
43
|
+
ClientConnectionError,
|
|
44
|
+
ClientConnectionResetError,
|
|
45
|
+
ClientConnectorCertificateError,
|
|
46
|
+
ClientConnectorDNSError,
|
|
47
|
+
ClientConnectorError,
|
|
48
|
+
ClientConnectorSSLError,
|
|
49
|
+
ClientError,
|
|
50
|
+
ClientHttpProxyError,
|
|
51
|
+
ClientOSError,
|
|
52
|
+
ClientPayloadError,
|
|
53
|
+
ClientProxyConnectionError,
|
|
54
|
+
ClientResponseError,
|
|
55
|
+
ClientSSLError,
|
|
56
|
+
ConnectionTimeoutError,
|
|
57
|
+
ContentTypeError,
|
|
58
|
+
InvalidURL,
|
|
59
|
+
InvalidUrlClientError,
|
|
60
|
+
InvalidUrlRedirectClientError,
|
|
61
|
+
NonHttpUrlClientError,
|
|
62
|
+
NonHttpUrlRedirectClientError,
|
|
63
|
+
RedirectClientError,
|
|
64
|
+
ServerConnectionError,
|
|
65
|
+
ServerDisconnectedError,
|
|
66
|
+
ServerFingerprintMismatch,
|
|
67
|
+
ServerTimeoutError,
|
|
68
|
+
SocketTimeoutError,
|
|
69
|
+
TooManyRedirects,
|
|
70
|
+
WSMessageTypeError,
|
|
71
|
+
WSServerHandshakeError,
|
|
72
|
+
)
|
|
73
|
+
from .client_reqrep import (
|
|
74
|
+
ClientRequest as ClientRequest,
|
|
75
|
+
ClientResponse as ClientResponse,
|
|
76
|
+
Fingerprint as Fingerprint,
|
|
77
|
+
RequestInfo as RequestInfo,
|
|
78
|
+
_merge_ssl_params,
|
|
79
|
+
)
|
|
80
|
+
from .client_ws import (
|
|
81
|
+
DEFAULT_WS_CLIENT_TIMEOUT,
|
|
82
|
+
ClientWebSocketResponse as ClientWebSocketResponse,
|
|
83
|
+
ClientWSTimeout as ClientWSTimeout,
|
|
84
|
+
)
|
|
85
|
+
from .connector import (
|
|
86
|
+
HTTP_AND_EMPTY_SCHEMA_SET,
|
|
87
|
+
BaseConnector as BaseConnector,
|
|
88
|
+
NamedPipeConnector as NamedPipeConnector,
|
|
89
|
+
TCPConnector as TCPConnector,
|
|
90
|
+
UnixConnector as UnixConnector,
|
|
91
|
+
)
|
|
92
|
+
from .cookiejar import CookieJar
|
|
93
|
+
from .helpers import (
|
|
94
|
+
_SENTINEL,
|
|
95
|
+
DEBUG,
|
|
96
|
+
EMPTY_BODY_METHODS,
|
|
97
|
+
BasicAuth,
|
|
98
|
+
TimeoutHandle,
|
|
99
|
+
get_env_proxy_for_url,
|
|
100
|
+
sentinel,
|
|
101
|
+
strip_auth_from_url,
|
|
102
|
+
)
|
|
103
|
+
from .http import WS_KEY, HttpVersion, WebSocketReader, WebSocketWriter
|
|
104
|
+
from .http_websocket import WSHandshakeError, ws_ext_gen, ws_ext_parse
|
|
105
|
+
from .tracing import Trace, TraceConfig
|
|
106
|
+
from .typedefs import JSONEncoder, LooseCookies, LooseHeaders, Query, StrOrURL
|
|
107
|
+
|
|
108
|
+
__all__ = (
|
|
109
|
+
# client_exceptions
|
|
110
|
+
"ClientConnectionError",
|
|
111
|
+
"ClientConnectionResetError",
|
|
112
|
+
"ClientConnectorCertificateError",
|
|
113
|
+
"ClientConnectorDNSError",
|
|
114
|
+
"ClientConnectorError",
|
|
115
|
+
"ClientConnectorSSLError",
|
|
116
|
+
"ClientError",
|
|
117
|
+
"ClientHttpProxyError",
|
|
118
|
+
"ClientOSError",
|
|
119
|
+
"ClientPayloadError",
|
|
120
|
+
"ClientProxyConnectionError",
|
|
121
|
+
"ClientResponseError",
|
|
122
|
+
"ClientSSLError",
|
|
123
|
+
"ConnectionTimeoutError",
|
|
124
|
+
"ContentTypeError",
|
|
125
|
+
"InvalidURL",
|
|
126
|
+
"InvalidUrlClientError",
|
|
127
|
+
"RedirectClientError",
|
|
128
|
+
"NonHttpUrlClientError",
|
|
129
|
+
"InvalidUrlRedirectClientError",
|
|
130
|
+
"NonHttpUrlRedirectClientError",
|
|
131
|
+
"ServerConnectionError",
|
|
132
|
+
"ServerDisconnectedError",
|
|
133
|
+
"ServerFingerprintMismatch",
|
|
134
|
+
"ServerTimeoutError",
|
|
135
|
+
"SocketTimeoutError",
|
|
136
|
+
"TooManyRedirects",
|
|
137
|
+
"WSServerHandshakeError",
|
|
138
|
+
# client_reqrep
|
|
139
|
+
"ClientRequest",
|
|
140
|
+
"ClientResponse",
|
|
141
|
+
"Fingerprint",
|
|
142
|
+
"RequestInfo",
|
|
143
|
+
# connector
|
|
144
|
+
"BaseConnector",
|
|
145
|
+
"TCPConnector",
|
|
146
|
+
"UnixConnector",
|
|
147
|
+
"NamedPipeConnector",
|
|
148
|
+
# client_ws
|
|
149
|
+
"ClientWebSocketResponse",
|
|
150
|
+
# client
|
|
151
|
+
"ClientSession",
|
|
152
|
+
"ClientTimeout",
|
|
153
|
+
"ClientWSTimeout",
|
|
154
|
+
"request",
|
|
155
|
+
"WSMessageTypeError",
|
|
156
|
+
)
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
if TYPE_CHECKING:
|
|
160
|
+
from ssl import SSLContext
|
|
161
|
+
else:
|
|
162
|
+
SSLContext = None
|
|
163
|
+
|
|
164
|
+
if sys.version_info >= (3, 11) and TYPE_CHECKING:
|
|
165
|
+
from typing import Unpack
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
class _RequestOptions(TypedDict, total=False):
|
|
169
|
+
params: Query
|
|
170
|
+
data: Any
|
|
171
|
+
json: Any
|
|
172
|
+
cookies: Union[LooseCookies, None]
|
|
173
|
+
headers: Union[LooseHeaders, None]
|
|
174
|
+
skip_auto_headers: Union[Iterable[str], None]
|
|
175
|
+
auth: Union[BasicAuth, None]
|
|
176
|
+
allow_redirects: bool
|
|
177
|
+
max_redirects: int
|
|
178
|
+
compress: Union[str, bool, None]
|
|
179
|
+
chunked: Union[bool, None]
|
|
180
|
+
expect100: bool
|
|
181
|
+
raise_for_status: Union[None, bool, Callable[[ClientResponse], Awaitable[None]]]
|
|
182
|
+
read_until_eof: bool
|
|
183
|
+
proxy: Union[StrOrURL, None]
|
|
184
|
+
proxy_auth: Union[BasicAuth, None]
|
|
185
|
+
timeout: "Union[ClientTimeout, _SENTINEL, None]"
|
|
186
|
+
ssl: Union[SSLContext, bool, Fingerprint]
|
|
187
|
+
server_hostname: Union[str, None]
|
|
188
|
+
proxy_headers: Union[LooseHeaders, None]
|
|
189
|
+
trace_request_ctx: Union[Mapping[str, Any], None]
|
|
190
|
+
read_bufsize: Union[int, None]
|
|
191
|
+
auto_decompress: Union[bool, None]
|
|
192
|
+
max_line_size: Union[int, None]
|
|
193
|
+
max_field_size: Union[int, None]
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
@attr.s(auto_attribs=True, frozen=True, slots=True)
|
|
197
|
+
class ClientTimeout:
|
|
198
|
+
total: Optional[float] = None
|
|
199
|
+
connect: Optional[float] = None
|
|
200
|
+
sock_read: Optional[float] = None
|
|
201
|
+
sock_connect: Optional[float] = None
|
|
202
|
+
ceil_threshold: float = 5
|
|
203
|
+
|
|
204
|
+
# pool_queue_timeout: Optional[float] = None
|
|
205
|
+
# dns_resolution_timeout: Optional[float] = None
|
|
206
|
+
# socket_connect_timeout: Optional[float] = None
|
|
207
|
+
# connection_acquiring_timeout: Optional[float] = None
|
|
208
|
+
# new_connection_timeout: Optional[float] = None
|
|
209
|
+
# http_header_timeout: Optional[float] = None
|
|
210
|
+
# response_body_timeout: Optional[float] = None
|
|
211
|
+
|
|
212
|
+
# to create a timeout specific for a single request, either
|
|
213
|
+
# - create a completely new one to overwrite the default
|
|
214
|
+
# - or use http://www.attrs.org/en/stable/api.html#attr.evolve
|
|
215
|
+
# to overwrite the defaults
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
# 5 Minute default read timeout
|
|
219
|
+
DEFAULT_TIMEOUT: Final[ClientTimeout] = ClientTimeout(total=5 * 60, sock_connect=30)
|
|
220
|
+
|
|
221
|
+
# https://www.rfc-editor.org/rfc/rfc9110#section-9.2.2
|
|
222
|
+
IDEMPOTENT_METHODS = frozenset({"GET", "HEAD", "OPTIONS", "TRACE", "PUT", "DELETE"})
|
|
223
|
+
|
|
224
|
+
_RetType = TypeVar("_RetType", ClientResponse, ClientWebSocketResponse)
|
|
225
|
+
_CharsetResolver = Callable[[ClientResponse, bytes], str]
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
class ClientSession:
|
|
229
|
+
"""First-class interface for making HTTP requests."""
|
|
230
|
+
|
|
231
|
+
ATTRS = frozenset(
|
|
232
|
+
[
|
|
233
|
+
"_base_url",
|
|
234
|
+
"_base_url_origin",
|
|
235
|
+
"_source_traceback",
|
|
236
|
+
"_connector",
|
|
237
|
+
"_loop",
|
|
238
|
+
"_cookie_jar",
|
|
239
|
+
"_connector_owner",
|
|
240
|
+
"_default_auth",
|
|
241
|
+
"_version",
|
|
242
|
+
"_json_serialize",
|
|
243
|
+
"_requote_redirect_url",
|
|
244
|
+
"_timeout",
|
|
245
|
+
"_raise_for_status",
|
|
246
|
+
"_auto_decompress",
|
|
247
|
+
"_trust_env",
|
|
248
|
+
"_default_headers",
|
|
249
|
+
"_skip_auto_headers",
|
|
250
|
+
"_request_class",
|
|
251
|
+
"_response_class",
|
|
252
|
+
"_ws_response_class",
|
|
253
|
+
"_trace_configs",
|
|
254
|
+
"_read_bufsize",
|
|
255
|
+
"_max_line_size",
|
|
256
|
+
"_max_field_size",
|
|
257
|
+
"_resolve_charset",
|
|
258
|
+
"_default_proxy",
|
|
259
|
+
"_default_proxy_auth",
|
|
260
|
+
"_retry_connection",
|
|
261
|
+
"requote_redirect_url",
|
|
262
|
+
]
|
|
263
|
+
)
|
|
264
|
+
|
|
265
|
+
_source_traceback: Optional[traceback.StackSummary] = None
|
|
266
|
+
_connector: Optional[BaseConnector] = None
|
|
267
|
+
|
|
268
|
+
def __init__(
|
|
269
|
+
self,
|
|
270
|
+
base_url: Optional[StrOrURL] = None,
|
|
271
|
+
*,
|
|
272
|
+
connector: Optional[BaseConnector] = None,
|
|
273
|
+
loop: Optional[asyncio.AbstractEventLoop] = None,
|
|
274
|
+
cookies: Optional[LooseCookies] = None,
|
|
275
|
+
headers: Optional[LooseHeaders] = None,
|
|
276
|
+
proxy: Optional[StrOrURL] = None,
|
|
277
|
+
proxy_auth: Optional[BasicAuth] = None,
|
|
278
|
+
skip_auto_headers: Optional[Iterable[str]] = None,
|
|
279
|
+
auth: Optional[BasicAuth] = None,
|
|
280
|
+
json_serialize: JSONEncoder = json.dumps,
|
|
281
|
+
request_class: Type[ClientRequest] = ClientRequest,
|
|
282
|
+
response_class: Type[ClientResponse] = ClientResponse,
|
|
283
|
+
ws_response_class: Type[ClientWebSocketResponse] = ClientWebSocketResponse,
|
|
284
|
+
version: HttpVersion = http.HttpVersion11,
|
|
285
|
+
cookie_jar: Optional[AbstractCookieJar] = None,
|
|
286
|
+
connector_owner: bool = True,
|
|
287
|
+
raise_for_status: Union[
|
|
288
|
+
bool, Callable[[ClientResponse], Awaitable[None]]
|
|
289
|
+
] = False,
|
|
290
|
+
read_timeout: Union[float, _SENTINEL] = sentinel,
|
|
291
|
+
conn_timeout: Optional[float] = None,
|
|
292
|
+
timeout: Union[object, ClientTimeout] = sentinel,
|
|
293
|
+
auto_decompress: bool = True,
|
|
294
|
+
trust_env: bool = False,
|
|
295
|
+
requote_redirect_url: bool = True,
|
|
296
|
+
trace_configs: Optional[List[TraceConfig]] = None,
|
|
297
|
+
read_bufsize: int = 2**16,
|
|
298
|
+
max_line_size: int = 8190,
|
|
299
|
+
max_field_size: int = 8190,
|
|
300
|
+
fallback_charset_resolver: _CharsetResolver = lambda r, b: "utf-8",
|
|
301
|
+
) -> None:
|
|
302
|
+
# We initialise _connector to None immediately, as it's referenced in __del__()
|
|
303
|
+
# and could cause issues if an exception occurs during initialisation.
|
|
304
|
+
self._connector: Optional[BaseConnector] = None
|
|
305
|
+
|
|
306
|
+
if loop is None:
|
|
307
|
+
if connector is not None:
|
|
308
|
+
loop = connector._loop
|
|
309
|
+
|
|
310
|
+
loop = loop or asyncio.get_running_loop()
|
|
311
|
+
|
|
312
|
+
if base_url is None or isinstance(base_url, URL):
|
|
313
|
+
self._base_url: Optional[URL] = base_url
|
|
314
|
+
self._base_url_origin = None if base_url is None else base_url.origin()
|
|
315
|
+
else:
|
|
316
|
+
self._base_url = URL(base_url)
|
|
317
|
+
self._base_url_origin = self._base_url.origin()
|
|
318
|
+
assert self._base_url.absolute, "Only absolute URLs are supported"
|
|
319
|
+
if self._base_url is not None and not self._base_url.path.endswith("/"):
|
|
320
|
+
raise ValueError("base_url must have a trailing '/'")
|
|
321
|
+
|
|
322
|
+
if timeout is sentinel or timeout is None:
|
|
323
|
+
self._timeout = DEFAULT_TIMEOUT
|
|
324
|
+
if read_timeout is not sentinel:
|
|
325
|
+
warnings.warn(
|
|
326
|
+
"read_timeout is deprecated, use timeout argument instead",
|
|
327
|
+
DeprecationWarning,
|
|
328
|
+
stacklevel=2,
|
|
329
|
+
)
|
|
330
|
+
self._timeout = attr.evolve(self._timeout, total=read_timeout)
|
|
331
|
+
if conn_timeout is not None:
|
|
332
|
+
self._timeout = attr.evolve(self._timeout, connect=conn_timeout)
|
|
333
|
+
warnings.warn(
|
|
334
|
+
"conn_timeout is deprecated, use timeout argument instead",
|
|
335
|
+
DeprecationWarning,
|
|
336
|
+
stacklevel=2,
|
|
337
|
+
)
|
|
338
|
+
else:
|
|
339
|
+
if not isinstance(timeout, ClientTimeout):
|
|
340
|
+
raise ValueError(
|
|
341
|
+
f"timeout parameter cannot be of {type(timeout)} type, "
|
|
342
|
+
"please use 'timeout=ClientTimeout(...)'",
|
|
343
|
+
)
|
|
344
|
+
self._timeout = timeout
|
|
345
|
+
if read_timeout is not sentinel:
|
|
346
|
+
raise ValueError(
|
|
347
|
+
"read_timeout and timeout parameters "
|
|
348
|
+
"conflict, please setup "
|
|
349
|
+
"timeout.read"
|
|
350
|
+
)
|
|
351
|
+
if conn_timeout is not None:
|
|
352
|
+
raise ValueError(
|
|
353
|
+
"conn_timeout and timeout parameters "
|
|
354
|
+
"conflict, please setup "
|
|
355
|
+
"timeout.connect"
|
|
356
|
+
)
|
|
357
|
+
|
|
358
|
+
if connector is None:
|
|
359
|
+
connector = TCPConnector(loop=loop)
|
|
360
|
+
|
|
361
|
+
if connector._loop is not loop:
|
|
362
|
+
raise RuntimeError("Session and connector has to use same event loop")
|
|
363
|
+
|
|
364
|
+
self._loop = loop
|
|
365
|
+
|
|
366
|
+
if loop.get_debug():
|
|
367
|
+
self._source_traceback = traceback.extract_stack(sys._getframe(1))
|
|
368
|
+
|
|
369
|
+
if cookie_jar is None:
|
|
370
|
+
cookie_jar = CookieJar(loop=loop)
|
|
371
|
+
self._cookie_jar = cookie_jar
|
|
372
|
+
|
|
373
|
+
if cookies:
|
|
374
|
+
self._cookie_jar.update_cookies(cookies)
|
|
375
|
+
|
|
376
|
+
self._connector = connector
|
|
377
|
+
self._connector_owner = connector_owner
|
|
378
|
+
self._default_auth = auth
|
|
379
|
+
self._version = version
|
|
380
|
+
self._json_serialize = json_serialize
|
|
381
|
+
self._raise_for_status = raise_for_status
|
|
382
|
+
self._auto_decompress = auto_decompress
|
|
383
|
+
self._trust_env = trust_env
|
|
384
|
+
self._requote_redirect_url = requote_redirect_url
|
|
385
|
+
self._read_bufsize = read_bufsize
|
|
386
|
+
self._max_line_size = max_line_size
|
|
387
|
+
self._max_field_size = max_field_size
|
|
388
|
+
|
|
389
|
+
# Convert to list of tuples
|
|
390
|
+
if headers:
|
|
391
|
+
real_headers: CIMultiDict[str] = CIMultiDict(headers)
|
|
392
|
+
else:
|
|
393
|
+
real_headers = CIMultiDict()
|
|
394
|
+
self._default_headers: CIMultiDict[str] = real_headers
|
|
395
|
+
if skip_auto_headers is not None:
|
|
396
|
+
self._skip_auto_headers = frozenset(istr(i) for i in skip_auto_headers)
|
|
397
|
+
else:
|
|
398
|
+
self._skip_auto_headers = frozenset()
|
|
399
|
+
|
|
400
|
+
self._request_class = request_class
|
|
401
|
+
self._response_class = response_class
|
|
402
|
+
self._ws_response_class = ws_response_class
|
|
403
|
+
|
|
404
|
+
self._trace_configs = trace_configs or []
|
|
405
|
+
for trace_config in self._trace_configs:
|
|
406
|
+
trace_config.freeze()
|
|
407
|
+
|
|
408
|
+
self._resolve_charset = fallback_charset_resolver
|
|
409
|
+
|
|
410
|
+
self._default_proxy = proxy
|
|
411
|
+
self._default_proxy_auth = proxy_auth
|
|
412
|
+
self._retry_connection: bool = True
|
|
413
|
+
|
|
414
|
+
def __init_subclass__(cls: Type["ClientSession"]) -> None:
|
|
415
|
+
warnings.warn(
|
|
416
|
+
"Inheritance class {} from ClientSession "
|
|
417
|
+
"is discouraged".format(cls.__name__),
|
|
418
|
+
DeprecationWarning,
|
|
419
|
+
stacklevel=2,
|
|
420
|
+
)
|
|
421
|
+
|
|
422
|
+
if DEBUG:
|
|
423
|
+
|
|
424
|
+
def __setattr__(self, name: str, val: Any) -> None:
|
|
425
|
+
if name not in self.ATTRS:
|
|
426
|
+
warnings.warn(
|
|
427
|
+
"Setting custom ClientSession.{} attribute "
|
|
428
|
+
"is discouraged".format(name),
|
|
429
|
+
DeprecationWarning,
|
|
430
|
+
stacklevel=2,
|
|
431
|
+
)
|
|
432
|
+
super().__setattr__(name, val)
|
|
433
|
+
|
|
434
|
+
def __del__(self, _warnings: Any = warnings) -> None:
|
|
435
|
+
if not self.closed:
|
|
436
|
+
kwargs = {"source": self}
|
|
437
|
+
_warnings.warn(
|
|
438
|
+
f"Unclosed client session {self!r}", ResourceWarning, **kwargs
|
|
439
|
+
)
|
|
440
|
+
context = {"client_session": self, "message": "Unclosed client session"}
|
|
441
|
+
if self._source_traceback is not None:
|
|
442
|
+
context["source_traceback"] = self._source_traceback
|
|
443
|
+
self._loop.call_exception_handler(context)
|
|
444
|
+
|
|
445
|
+
if sys.version_info >= (3, 11) and TYPE_CHECKING:
|
|
446
|
+
|
|
447
|
+
def request(
|
|
448
|
+
self,
|
|
449
|
+
method: str,
|
|
450
|
+
url: StrOrURL,
|
|
451
|
+
**kwargs: Unpack[_RequestOptions],
|
|
452
|
+
) -> "_RequestContextManager": ...
|
|
453
|
+
|
|
454
|
+
else:
|
|
455
|
+
|
|
456
|
+
def request(
|
|
457
|
+
self, method: str, url: StrOrURL, **kwargs: Any
|
|
458
|
+
) -> "_RequestContextManager":
|
|
459
|
+
"""Perform HTTP request."""
|
|
460
|
+
return _RequestContextManager(self._request(method, url, **kwargs))
|
|
461
|
+
|
|
462
|
+
def _build_url(self, str_or_url: StrOrURL) -> URL:
|
|
463
|
+
url = URL(str_or_url)
|
|
464
|
+
if self._base_url is None:
|
|
465
|
+
return url
|
|
466
|
+
else:
|
|
467
|
+
assert not url.absolute
|
|
468
|
+
return self._base_url.join(url)
|
|
469
|
+
|
|
470
|
+
async def _request(
|
|
471
|
+
self,
|
|
472
|
+
method: str,
|
|
473
|
+
str_or_url: StrOrURL,
|
|
474
|
+
*,
|
|
475
|
+
params: Query = None,
|
|
476
|
+
data: Any = None,
|
|
477
|
+
json: Any = None,
|
|
478
|
+
cookies: Optional[LooseCookies] = None,
|
|
479
|
+
headers: Optional[LooseHeaders] = None,
|
|
480
|
+
skip_auto_headers: Optional[Iterable[str]] = None,
|
|
481
|
+
auth: Optional[BasicAuth] = None,
|
|
482
|
+
allow_redirects: bool = True,
|
|
483
|
+
max_redirects: int = 10,
|
|
484
|
+
compress: Union[str, bool, None] = None,
|
|
485
|
+
chunked: Optional[bool] = None,
|
|
486
|
+
expect100: bool = False,
|
|
487
|
+
raise_for_status: Union[
|
|
488
|
+
None, bool, Callable[[ClientResponse], Awaitable[None]]
|
|
489
|
+
] = None,
|
|
490
|
+
read_until_eof: bool = True,
|
|
491
|
+
proxy: Optional[StrOrURL] = None,
|
|
492
|
+
proxy_auth: Optional[BasicAuth] = None,
|
|
493
|
+
timeout: Union[ClientTimeout, _SENTINEL] = sentinel,
|
|
494
|
+
verify_ssl: Optional[bool] = None,
|
|
495
|
+
fingerprint: Optional[bytes] = None,
|
|
496
|
+
ssl_context: Optional[SSLContext] = None,
|
|
497
|
+
ssl: Union[SSLContext, bool, Fingerprint] = True,
|
|
498
|
+
server_hostname: Optional[str] = None,
|
|
499
|
+
proxy_headers: Optional[LooseHeaders] = None,
|
|
500
|
+
trace_request_ctx: Optional[Mapping[str, Any]] = None,
|
|
501
|
+
read_bufsize: Optional[int] = None,
|
|
502
|
+
auto_decompress: Optional[bool] = None,
|
|
503
|
+
max_line_size: Optional[int] = None,
|
|
504
|
+
max_field_size: Optional[int] = None,
|
|
505
|
+
) -> ClientResponse:
|
|
506
|
+
|
|
507
|
+
# NOTE: timeout clamps existing connect and read timeouts. We cannot
|
|
508
|
+
# set the default to None because we need to detect if the user wants
|
|
509
|
+
# to use the existing timeouts by setting timeout to None.
|
|
510
|
+
|
|
511
|
+
if self.closed:
|
|
512
|
+
raise RuntimeError("Session is closed")
|
|
513
|
+
|
|
514
|
+
ssl = _merge_ssl_params(ssl, verify_ssl, ssl_context, fingerprint)
|
|
515
|
+
|
|
516
|
+
if data is not None and json is not None:
|
|
517
|
+
raise ValueError(
|
|
518
|
+
"data and json parameters can not be used at the same time"
|
|
519
|
+
)
|
|
520
|
+
elif json is not None:
|
|
521
|
+
data = payload.JsonPayload(json, dumps=self._json_serialize)
|
|
522
|
+
|
|
523
|
+
if not isinstance(chunked, bool) and chunked is not None:
|
|
524
|
+
warnings.warn("Chunk size is deprecated #1615", DeprecationWarning)
|
|
525
|
+
|
|
526
|
+
redirects = 0
|
|
527
|
+
history: List[ClientResponse] = []
|
|
528
|
+
version = self._version
|
|
529
|
+
params = params or {}
|
|
530
|
+
|
|
531
|
+
# Merge with default headers and transform to CIMultiDict
|
|
532
|
+
headers = self._prepare_headers(headers)
|
|
533
|
+
|
|
534
|
+
try:
|
|
535
|
+
url = self._build_url(str_or_url)
|
|
536
|
+
except ValueError as e:
|
|
537
|
+
raise InvalidUrlClientError(str_or_url) from e
|
|
538
|
+
|
|
539
|
+
assert self._connector is not None
|
|
540
|
+
if url.scheme not in self._connector.allowed_protocol_schema_set:
|
|
541
|
+
raise NonHttpUrlClientError(url)
|
|
542
|
+
|
|
543
|
+
skip_headers: Optional[Iterable[istr]]
|
|
544
|
+
if skip_auto_headers is not None:
|
|
545
|
+
skip_headers = {
|
|
546
|
+
istr(i) for i in skip_auto_headers
|
|
547
|
+
} | self._skip_auto_headers
|
|
548
|
+
elif self._skip_auto_headers:
|
|
549
|
+
skip_headers = self._skip_auto_headers
|
|
550
|
+
else:
|
|
551
|
+
skip_headers = None
|
|
552
|
+
|
|
553
|
+
if proxy is None:
|
|
554
|
+
proxy = self._default_proxy
|
|
555
|
+
if proxy_auth is None:
|
|
556
|
+
proxy_auth = self._default_proxy_auth
|
|
557
|
+
|
|
558
|
+
if proxy is None:
|
|
559
|
+
proxy_headers = None
|
|
560
|
+
else:
|
|
561
|
+
proxy_headers = self._prepare_headers(proxy_headers)
|
|
562
|
+
try:
|
|
563
|
+
proxy = URL(proxy)
|
|
564
|
+
except ValueError as e:
|
|
565
|
+
raise InvalidURL(proxy) from e
|
|
566
|
+
|
|
567
|
+
if timeout is sentinel:
|
|
568
|
+
real_timeout: ClientTimeout = self._timeout
|
|
569
|
+
else:
|
|
570
|
+
if not isinstance(timeout, ClientTimeout):
|
|
571
|
+
real_timeout = ClientTimeout(total=timeout)
|
|
572
|
+
else:
|
|
573
|
+
real_timeout = timeout
|
|
574
|
+
# timeout is cumulative for all request operations
|
|
575
|
+
# (request, redirects, responses, data consuming)
|
|
576
|
+
tm = TimeoutHandle(
|
|
577
|
+
self._loop, real_timeout.total, ceil_threshold=real_timeout.ceil_threshold
|
|
578
|
+
)
|
|
579
|
+
handle = tm.start()
|
|
580
|
+
|
|
581
|
+
if read_bufsize is None:
|
|
582
|
+
read_bufsize = self._read_bufsize
|
|
583
|
+
|
|
584
|
+
if auto_decompress is None:
|
|
585
|
+
auto_decompress = self._auto_decompress
|
|
586
|
+
|
|
587
|
+
if max_line_size is None:
|
|
588
|
+
max_line_size = self._max_line_size
|
|
589
|
+
|
|
590
|
+
if max_field_size is None:
|
|
591
|
+
max_field_size = self._max_field_size
|
|
592
|
+
|
|
593
|
+
traces = [
|
|
594
|
+
Trace(
|
|
595
|
+
self,
|
|
596
|
+
trace_config,
|
|
597
|
+
trace_config.trace_config_ctx(trace_request_ctx=trace_request_ctx),
|
|
598
|
+
)
|
|
599
|
+
for trace_config in self._trace_configs
|
|
600
|
+
]
|
|
601
|
+
|
|
602
|
+
for trace in traces:
|
|
603
|
+
await trace.send_request_start(method, url.update_query(params), headers)
|
|
604
|
+
|
|
605
|
+
timer = tm.timer()
|
|
606
|
+
try:
|
|
607
|
+
with timer:
|
|
608
|
+
# https://www.rfc-editor.org/rfc/rfc9112.html#name-retrying-requests
|
|
609
|
+
retry_persistent_connection = (
|
|
610
|
+
self._retry_connection and method in IDEMPOTENT_METHODS
|
|
611
|
+
)
|
|
612
|
+
while True:
|
|
613
|
+
url, auth_from_url = strip_auth_from_url(url)
|
|
614
|
+
if not url.raw_host:
|
|
615
|
+
# NOTE: Bail early, otherwise, causes `InvalidURL` through
|
|
616
|
+
# NOTE: `self._request_class()` below.
|
|
617
|
+
err_exc_cls = (
|
|
618
|
+
InvalidUrlRedirectClientError
|
|
619
|
+
if redirects
|
|
620
|
+
else InvalidUrlClientError
|
|
621
|
+
)
|
|
622
|
+
raise err_exc_cls(url)
|
|
623
|
+
# If `auth` was passed for an already authenticated URL,
|
|
624
|
+
# disallow only if this is the initial URL; this is to avoid issues
|
|
625
|
+
# with sketchy redirects that are not the caller's responsibility
|
|
626
|
+
if not history and (auth and auth_from_url):
|
|
627
|
+
raise ValueError(
|
|
628
|
+
"Cannot combine AUTH argument with "
|
|
629
|
+
"credentials encoded in URL"
|
|
630
|
+
)
|
|
631
|
+
|
|
632
|
+
# Override the auth with the one from the URL only if we
|
|
633
|
+
# have no auth, or if we got an auth from a redirect URL
|
|
634
|
+
if auth is None or (history and auth_from_url is not None):
|
|
635
|
+
auth = auth_from_url
|
|
636
|
+
|
|
637
|
+
if (
|
|
638
|
+
auth is None
|
|
639
|
+
and self._default_auth
|
|
640
|
+
and (
|
|
641
|
+
not self._base_url or self._base_url_origin == url.origin()
|
|
642
|
+
)
|
|
643
|
+
):
|
|
644
|
+
auth = self._default_auth
|
|
645
|
+
# It would be confusing if we support explicit
|
|
646
|
+
# Authorization header with auth argument
|
|
647
|
+
if (
|
|
648
|
+
headers is not None
|
|
649
|
+
and auth is not None
|
|
650
|
+
and hdrs.AUTHORIZATION in headers
|
|
651
|
+
):
|
|
652
|
+
raise ValueError(
|
|
653
|
+
"Cannot combine AUTHORIZATION header "
|
|
654
|
+
"with AUTH argument or credentials "
|
|
655
|
+
"encoded in URL"
|
|
656
|
+
)
|
|
657
|
+
|
|
658
|
+
all_cookies = self._cookie_jar.filter_cookies(url)
|
|
659
|
+
|
|
660
|
+
if cookies is not None:
|
|
661
|
+
tmp_cookie_jar = CookieJar(
|
|
662
|
+
quote_cookie=self._cookie_jar.quote_cookie
|
|
663
|
+
)
|
|
664
|
+
tmp_cookie_jar.update_cookies(cookies)
|
|
665
|
+
req_cookies = tmp_cookie_jar.filter_cookies(url)
|
|
666
|
+
if req_cookies:
|
|
667
|
+
all_cookies.load(req_cookies)
|
|
668
|
+
|
|
669
|
+
if proxy is not None:
|
|
670
|
+
proxy = URL(proxy)
|
|
671
|
+
elif self._trust_env:
|
|
672
|
+
with suppress(LookupError):
|
|
673
|
+
proxy, proxy_auth = get_env_proxy_for_url(url)
|
|
674
|
+
|
|
675
|
+
req = self._request_class(
|
|
676
|
+
method,
|
|
677
|
+
url,
|
|
678
|
+
params=params,
|
|
679
|
+
headers=headers,
|
|
680
|
+
skip_auto_headers=skip_headers,
|
|
681
|
+
data=data,
|
|
682
|
+
cookies=all_cookies,
|
|
683
|
+
auth=auth,
|
|
684
|
+
version=version,
|
|
685
|
+
compress=compress,
|
|
686
|
+
chunked=chunked,
|
|
687
|
+
expect100=expect100,
|
|
688
|
+
loop=self._loop,
|
|
689
|
+
response_class=self._response_class,
|
|
690
|
+
proxy=proxy,
|
|
691
|
+
proxy_auth=proxy_auth,
|
|
692
|
+
timer=timer,
|
|
693
|
+
session=self,
|
|
694
|
+
ssl=ssl if ssl is not None else True,
|
|
695
|
+
server_hostname=server_hostname,
|
|
696
|
+
proxy_headers=proxy_headers,
|
|
697
|
+
traces=traces,
|
|
698
|
+
trust_env=self.trust_env,
|
|
699
|
+
)
|
|
700
|
+
|
|
701
|
+
# connection timeout
|
|
702
|
+
try:
|
|
703
|
+
conn = await self._connector.connect(
|
|
704
|
+
req, traces=traces, timeout=real_timeout
|
|
705
|
+
)
|
|
706
|
+
except asyncio.TimeoutError as exc:
|
|
707
|
+
raise ConnectionTimeoutError(
|
|
708
|
+
f"Connection timeout to host {url}"
|
|
709
|
+
) from exc
|
|
710
|
+
|
|
711
|
+
assert conn.transport is not None
|
|
712
|
+
|
|
713
|
+
assert conn.protocol is not None
|
|
714
|
+
conn.protocol.set_response_params(
|
|
715
|
+
timer=timer,
|
|
716
|
+
skip_payload=method in EMPTY_BODY_METHODS,
|
|
717
|
+
read_until_eof=read_until_eof,
|
|
718
|
+
auto_decompress=auto_decompress,
|
|
719
|
+
read_timeout=real_timeout.sock_read,
|
|
720
|
+
read_bufsize=read_bufsize,
|
|
721
|
+
timeout_ceil_threshold=self._connector._timeout_ceil_threshold,
|
|
722
|
+
max_line_size=max_line_size,
|
|
723
|
+
max_field_size=max_field_size,
|
|
724
|
+
)
|
|
725
|
+
|
|
726
|
+
try:
|
|
727
|
+
try:
|
|
728
|
+
resp = await req.send(conn)
|
|
729
|
+
try:
|
|
730
|
+
await resp.start(conn)
|
|
731
|
+
except BaseException:
|
|
732
|
+
resp.close()
|
|
733
|
+
raise
|
|
734
|
+
except BaseException:
|
|
735
|
+
conn.close()
|
|
736
|
+
raise
|
|
737
|
+
except (ClientOSError, ServerDisconnectedError):
|
|
738
|
+
if retry_persistent_connection:
|
|
739
|
+
retry_persistent_connection = False
|
|
740
|
+
continue
|
|
741
|
+
raise
|
|
742
|
+
except ClientError:
|
|
743
|
+
raise
|
|
744
|
+
except OSError as exc:
|
|
745
|
+
if exc.errno is None and isinstance(exc, asyncio.TimeoutError):
|
|
746
|
+
raise
|
|
747
|
+
raise ClientOSError(*exc.args) from exc
|
|
748
|
+
|
|
749
|
+
if cookies := resp._cookies:
|
|
750
|
+
self._cookie_jar.update_cookies(cookies, resp.url)
|
|
751
|
+
|
|
752
|
+
# redirects
|
|
753
|
+
if resp.status in (301, 302, 303, 307, 308) and allow_redirects:
|
|
754
|
+
|
|
755
|
+
for trace in traces:
|
|
756
|
+
await trace.send_request_redirect(
|
|
757
|
+
method, url.update_query(params), headers, resp
|
|
758
|
+
)
|
|
759
|
+
|
|
760
|
+
redirects += 1
|
|
761
|
+
history.append(resp)
|
|
762
|
+
if max_redirects and redirects >= max_redirects:
|
|
763
|
+
resp.close()
|
|
764
|
+
raise TooManyRedirects(
|
|
765
|
+
history[0].request_info, tuple(history)
|
|
766
|
+
)
|
|
767
|
+
|
|
768
|
+
# For 301 and 302, mimic IE, now changed in RFC
|
|
769
|
+
# https://github.com/kennethreitz/requests/pull/269
|
|
770
|
+
if (resp.status == 303 and resp.method != hdrs.METH_HEAD) or (
|
|
771
|
+
resp.status in (301, 302) and resp.method == hdrs.METH_POST
|
|
772
|
+
):
|
|
773
|
+
method = hdrs.METH_GET
|
|
774
|
+
data = None
|
|
775
|
+
if headers.get(hdrs.CONTENT_LENGTH):
|
|
776
|
+
headers.pop(hdrs.CONTENT_LENGTH)
|
|
777
|
+
|
|
778
|
+
r_url = resp.headers.get(hdrs.LOCATION) or resp.headers.get(
|
|
779
|
+
hdrs.URI
|
|
780
|
+
)
|
|
781
|
+
if r_url is None:
|
|
782
|
+
# see github.com/aio-libs/aiohttp/issues/2022
|
|
783
|
+
break
|
|
784
|
+
else:
|
|
785
|
+
# reading from correct redirection
|
|
786
|
+
# response is forbidden
|
|
787
|
+
resp.release()
|
|
788
|
+
|
|
789
|
+
try:
|
|
790
|
+
parsed_redirect_url = URL(
|
|
791
|
+
r_url, encoded=not self._requote_redirect_url
|
|
792
|
+
)
|
|
793
|
+
except ValueError as e:
|
|
794
|
+
raise InvalidUrlRedirectClientError(
|
|
795
|
+
r_url,
|
|
796
|
+
"Server attempted redirecting to a location that does not look like a URL",
|
|
797
|
+
) from e
|
|
798
|
+
|
|
799
|
+
scheme = parsed_redirect_url.scheme
|
|
800
|
+
if scheme not in HTTP_AND_EMPTY_SCHEMA_SET:
|
|
801
|
+
resp.close()
|
|
802
|
+
raise NonHttpUrlRedirectClientError(r_url)
|
|
803
|
+
elif not scheme:
|
|
804
|
+
parsed_redirect_url = url.join(parsed_redirect_url)
|
|
805
|
+
|
|
806
|
+
try:
|
|
807
|
+
redirect_origin = parsed_redirect_url.origin()
|
|
808
|
+
except ValueError as origin_val_err:
|
|
809
|
+
raise InvalidUrlRedirectClientError(
|
|
810
|
+
parsed_redirect_url,
|
|
811
|
+
"Invalid redirect URL origin",
|
|
812
|
+
) from origin_val_err
|
|
813
|
+
|
|
814
|
+
if url.origin() != redirect_origin:
|
|
815
|
+
auth = None
|
|
816
|
+
headers.pop(hdrs.AUTHORIZATION, None)
|
|
817
|
+
|
|
818
|
+
url = parsed_redirect_url
|
|
819
|
+
params = {}
|
|
820
|
+
resp.release()
|
|
821
|
+
continue
|
|
822
|
+
|
|
823
|
+
break
|
|
824
|
+
|
|
825
|
+
# check response status
|
|
826
|
+
if raise_for_status is None:
|
|
827
|
+
raise_for_status = self._raise_for_status
|
|
828
|
+
|
|
829
|
+
if raise_for_status is None:
|
|
830
|
+
pass
|
|
831
|
+
elif callable(raise_for_status):
|
|
832
|
+
await raise_for_status(resp)
|
|
833
|
+
elif raise_for_status:
|
|
834
|
+
resp.raise_for_status()
|
|
835
|
+
|
|
836
|
+
# register connection
|
|
837
|
+
if handle is not None:
|
|
838
|
+
if resp.connection is not None:
|
|
839
|
+
resp.connection.add_callback(handle.cancel)
|
|
840
|
+
else:
|
|
841
|
+
handle.cancel()
|
|
842
|
+
|
|
843
|
+
resp._history = tuple(history)
|
|
844
|
+
|
|
845
|
+
for trace in traces:
|
|
846
|
+
await trace.send_request_end(
|
|
847
|
+
method, url.update_query(params), headers, resp
|
|
848
|
+
)
|
|
849
|
+
return resp
|
|
850
|
+
|
|
851
|
+
except BaseException as e:
|
|
852
|
+
# cleanup timer
|
|
853
|
+
tm.close()
|
|
854
|
+
if handle:
|
|
855
|
+
handle.cancel()
|
|
856
|
+
handle = None
|
|
857
|
+
|
|
858
|
+
for trace in traces:
|
|
859
|
+
await trace.send_request_exception(
|
|
860
|
+
method, url.update_query(params), headers, e
|
|
861
|
+
)
|
|
862
|
+
raise
|
|
863
|
+
|
|
864
|
+
def ws_connect(
|
|
865
|
+
self,
|
|
866
|
+
url: StrOrURL,
|
|
867
|
+
*,
|
|
868
|
+
method: str = hdrs.METH_GET,
|
|
869
|
+
protocols: Iterable[str] = (),
|
|
870
|
+
timeout: Union[ClientWSTimeout, _SENTINEL] = sentinel,
|
|
871
|
+
receive_timeout: Optional[float] = None,
|
|
872
|
+
autoclose: bool = True,
|
|
873
|
+
autoping: bool = True,
|
|
874
|
+
heartbeat: Optional[float] = None,
|
|
875
|
+
auth: Optional[BasicAuth] = None,
|
|
876
|
+
origin: Optional[str] = None,
|
|
877
|
+
params: Query = None,
|
|
878
|
+
headers: Optional[LooseHeaders] = None,
|
|
879
|
+
proxy: Optional[StrOrURL] = None,
|
|
880
|
+
proxy_auth: Optional[BasicAuth] = None,
|
|
881
|
+
ssl: Union[SSLContext, bool, Fingerprint] = True,
|
|
882
|
+
verify_ssl: Optional[bool] = None,
|
|
883
|
+
fingerprint: Optional[bytes] = None,
|
|
884
|
+
ssl_context: Optional[SSLContext] = None,
|
|
885
|
+
server_hostname: Optional[str] = None,
|
|
886
|
+
proxy_headers: Optional[LooseHeaders] = None,
|
|
887
|
+
compress: int = 0,
|
|
888
|
+
max_msg_size: int = 4 * 1024 * 1024,
|
|
889
|
+
) -> "_WSRequestContextManager":
|
|
890
|
+
"""Initiate websocket connection."""
|
|
891
|
+
return _WSRequestContextManager(
|
|
892
|
+
self._ws_connect(
|
|
893
|
+
url,
|
|
894
|
+
method=method,
|
|
895
|
+
protocols=protocols,
|
|
896
|
+
timeout=timeout,
|
|
897
|
+
receive_timeout=receive_timeout,
|
|
898
|
+
autoclose=autoclose,
|
|
899
|
+
autoping=autoping,
|
|
900
|
+
heartbeat=heartbeat,
|
|
901
|
+
auth=auth,
|
|
902
|
+
origin=origin,
|
|
903
|
+
params=params,
|
|
904
|
+
headers=headers,
|
|
905
|
+
proxy=proxy,
|
|
906
|
+
proxy_auth=proxy_auth,
|
|
907
|
+
ssl=ssl,
|
|
908
|
+
verify_ssl=verify_ssl,
|
|
909
|
+
fingerprint=fingerprint,
|
|
910
|
+
ssl_context=ssl_context,
|
|
911
|
+
server_hostname=server_hostname,
|
|
912
|
+
proxy_headers=proxy_headers,
|
|
913
|
+
compress=compress,
|
|
914
|
+
max_msg_size=max_msg_size,
|
|
915
|
+
)
|
|
916
|
+
)
|
|
917
|
+
|
|
918
|
+
async def _ws_connect(
|
|
919
|
+
self,
|
|
920
|
+
url: StrOrURL,
|
|
921
|
+
*,
|
|
922
|
+
method: str = hdrs.METH_GET,
|
|
923
|
+
protocols: Iterable[str] = (),
|
|
924
|
+
timeout: Union[ClientWSTimeout, _SENTINEL] = sentinel,
|
|
925
|
+
receive_timeout: Optional[float] = None,
|
|
926
|
+
autoclose: bool = True,
|
|
927
|
+
autoping: bool = True,
|
|
928
|
+
heartbeat: Optional[float] = None,
|
|
929
|
+
auth: Optional[BasicAuth] = None,
|
|
930
|
+
origin: Optional[str] = None,
|
|
931
|
+
params: Query = None,
|
|
932
|
+
headers: Optional[LooseHeaders] = None,
|
|
933
|
+
proxy: Optional[StrOrURL] = None,
|
|
934
|
+
proxy_auth: Optional[BasicAuth] = None,
|
|
935
|
+
ssl: Union[SSLContext, bool, Fingerprint] = True,
|
|
936
|
+
verify_ssl: Optional[bool] = None,
|
|
937
|
+
fingerprint: Optional[bytes] = None,
|
|
938
|
+
ssl_context: Optional[SSLContext] = None,
|
|
939
|
+
server_hostname: Optional[str] = None,
|
|
940
|
+
proxy_headers: Optional[LooseHeaders] = None,
|
|
941
|
+
compress: int = 0,
|
|
942
|
+
max_msg_size: int = 4 * 1024 * 1024,
|
|
943
|
+
) -> ClientWebSocketResponse:
|
|
944
|
+
if timeout is not sentinel:
|
|
945
|
+
if isinstance(timeout, ClientWSTimeout):
|
|
946
|
+
ws_timeout = timeout
|
|
947
|
+
else:
|
|
948
|
+
warnings.warn(
|
|
949
|
+
"parameter 'timeout' of type 'float' "
|
|
950
|
+
"is deprecated, please use "
|
|
951
|
+
"'timeout=ClientWSTimeout(ws_close=...)'",
|
|
952
|
+
DeprecationWarning,
|
|
953
|
+
stacklevel=2,
|
|
954
|
+
)
|
|
955
|
+
ws_timeout = ClientWSTimeout(ws_close=timeout)
|
|
956
|
+
else:
|
|
957
|
+
ws_timeout = DEFAULT_WS_CLIENT_TIMEOUT
|
|
958
|
+
if receive_timeout is not None:
|
|
959
|
+
warnings.warn(
|
|
960
|
+
"float parameter 'receive_timeout' "
|
|
961
|
+
"is deprecated, please use parameter "
|
|
962
|
+
"'timeout=ClientWSTimeout(ws_receive=...)'",
|
|
963
|
+
DeprecationWarning,
|
|
964
|
+
stacklevel=2,
|
|
965
|
+
)
|
|
966
|
+
ws_timeout = attr.evolve(ws_timeout, ws_receive=receive_timeout)
|
|
967
|
+
|
|
968
|
+
if headers is None:
|
|
969
|
+
real_headers: CIMultiDict[str] = CIMultiDict()
|
|
970
|
+
else:
|
|
971
|
+
real_headers = CIMultiDict(headers)
|
|
972
|
+
|
|
973
|
+
default_headers = {
|
|
974
|
+
hdrs.UPGRADE: "websocket",
|
|
975
|
+
hdrs.CONNECTION: "Upgrade",
|
|
976
|
+
hdrs.SEC_WEBSOCKET_VERSION: "13",
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
for key, value in default_headers.items():
|
|
980
|
+
real_headers.setdefault(key, value)
|
|
981
|
+
|
|
982
|
+
sec_key = base64.b64encode(os.urandom(16))
|
|
983
|
+
real_headers[hdrs.SEC_WEBSOCKET_KEY] = sec_key.decode()
|
|
984
|
+
|
|
985
|
+
if protocols:
|
|
986
|
+
real_headers[hdrs.SEC_WEBSOCKET_PROTOCOL] = ",".join(protocols)
|
|
987
|
+
if origin is not None:
|
|
988
|
+
real_headers[hdrs.ORIGIN] = origin
|
|
989
|
+
if compress:
|
|
990
|
+
extstr = ws_ext_gen(compress=compress)
|
|
991
|
+
real_headers[hdrs.SEC_WEBSOCKET_EXTENSIONS] = extstr
|
|
992
|
+
|
|
993
|
+
# For the sake of backward compatibility, if user passes in None, convert it to True
|
|
994
|
+
if ssl is None:
|
|
995
|
+
warnings.warn(
|
|
996
|
+
"ssl=None is deprecated, please use ssl=True",
|
|
997
|
+
DeprecationWarning,
|
|
998
|
+
stacklevel=2,
|
|
999
|
+
)
|
|
1000
|
+
ssl = True
|
|
1001
|
+
ssl = _merge_ssl_params(ssl, verify_ssl, ssl_context, fingerprint)
|
|
1002
|
+
|
|
1003
|
+
# send request
|
|
1004
|
+
resp = await self.request(
|
|
1005
|
+
method,
|
|
1006
|
+
url,
|
|
1007
|
+
params=params,
|
|
1008
|
+
headers=real_headers,
|
|
1009
|
+
read_until_eof=False,
|
|
1010
|
+
auth=auth,
|
|
1011
|
+
proxy=proxy,
|
|
1012
|
+
proxy_auth=proxy_auth,
|
|
1013
|
+
ssl=ssl,
|
|
1014
|
+
server_hostname=server_hostname,
|
|
1015
|
+
proxy_headers=proxy_headers,
|
|
1016
|
+
)
|
|
1017
|
+
|
|
1018
|
+
try:
|
|
1019
|
+
# check handshake
|
|
1020
|
+
if resp.status != 101:
|
|
1021
|
+
raise WSServerHandshakeError(
|
|
1022
|
+
resp.request_info,
|
|
1023
|
+
resp.history,
|
|
1024
|
+
message="Invalid response status",
|
|
1025
|
+
status=resp.status,
|
|
1026
|
+
headers=resp.headers,
|
|
1027
|
+
)
|
|
1028
|
+
|
|
1029
|
+
if resp.headers.get(hdrs.UPGRADE, "").lower() != "websocket":
|
|
1030
|
+
raise WSServerHandshakeError(
|
|
1031
|
+
resp.request_info,
|
|
1032
|
+
resp.history,
|
|
1033
|
+
message="Invalid upgrade header",
|
|
1034
|
+
status=resp.status,
|
|
1035
|
+
headers=resp.headers,
|
|
1036
|
+
)
|
|
1037
|
+
|
|
1038
|
+
if resp.headers.get(hdrs.CONNECTION, "").lower() != "upgrade":
|
|
1039
|
+
raise WSServerHandshakeError(
|
|
1040
|
+
resp.request_info,
|
|
1041
|
+
resp.history,
|
|
1042
|
+
message="Invalid connection header",
|
|
1043
|
+
status=resp.status,
|
|
1044
|
+
headers=resp.headers,
|
|
1045
|
+
)
|
|
1046
|
+
|
|
1047
|
+
# key calculation
|
|
1048
|
+
r_key = resp.headers.get(hdrs.SEC_WEBSOCKET_ACCEPT, "")
|
|
1049
|
+
match = base64.b64encode(hashlib.sha1(sec_key + WS_KEY).digest()).decode()
|
|
1050
|
+
if r_key != match:
|
|
1051
|
+
raise WSServerHandshakeError(
|
|
1052
|
+
resp.request_info,
|
|
1053
|
+
resp.history,
|
|
1054
|
+
message="Invalid challenge response",
|
|
1055
|
+
status=resp.status,
|
|
1056
|
+
headers=resp.headers,
|
|
1057
|
+
)
|
|
1058
|
+
|
|
1059
|
+
# websocket protocol
|
|
1060
|
+
protocol = None
|
|
1061
|
+
if protocols and hdrs.SEC_WEBSOCKET_PROTOCOL in resp.headers:
|
|
1062
|
+
resp_protocols = [
|
|
1063
|
+
proto.strip()
|
|
1064
|
+
for proto in resp.headers[hdrs.SEC_WEBSOCKET_PROTOCOL].split(",")
|
|
1065
|
+
]
|
|
1066
|
+
|
|
1067
|
+
for proto in resp_protocols:
|
|
1068
|
+
if proto in protocols:
|
|
1069
|
+
protocol = proto
|
|
1070
|
+
break
|
|
1071
|
+
|
|
1072
|
+
# websocket compress
|
|
1073
|
+
notakeover = False
|
|
1074
|
+
if compress:
|
|
1075
|
+
compress_hdrs = resp.headers.get(hdrs.SEC_WEBSOCKET_EXTENSIONS)
|
|
1076
|
+
if compress_hdrs:
|
|
1077
|
+
try:
|
|
1078
|
+
compress, notakeover = ws_ext_parse(compress_hdrs)
|
|
1079
|
+
except WSHandshakeError as exc:
|
|
1080
|
+
raise WSServerHandshakeError(
|
|
1081
|
+
resp.request_info,
|
|
1082
|
+
resp.history,
|
|
1083
|
+
message=exc.args[0],
|
|
1084
|
+
status=resp.status,
|
|
1085
|
+
headers=resp.headers,
|
|
1086
|
+
) from exc
|
|
1087
|
+
else:
|
|
1088
|
+
compress = 0
|
|
1089
|
+
notakeover = False
|
|
1090
|
+
|
|
1091
|
+
conn = resp.connection
|
|
1092
|
+
assert conn is not None
|
|
1093
|
+
conn_proto = conn.protocol
|
|
1094
|
+
assert conn_proto is not None
|
|
1095
|
+
|
|
1096
|
+
# For WS connection the read_timeout must be either receive_timeout or greater
|
|
1097
|
+
# None == no timeout, i.e. infinite timeout, so None is the max timeout possible
|
|
1098
|
+
if ws_timeout.ws_receive is None:
|
|
1099
|
+
# Reset regardless
|
|
1100
|
+
conn_proto.read_timeout = None
|
|
1101
|
+
elif conn_proto.read_timeout is not None:
|
|
1102
|
+
conn_proto.read_timeout = max(
|
|
1103
|
+
ws_timeout.ws_receive, conn_proto.read_timeout
|
|
1104
|
+
)
|
|
1105
|
+
|
|
1106
|
+
transport = conn.transport
|
|
1107
|
+
assert transport is not None
|
|
1108
|
+
reader = WebSocketDataQueue(conn_proto, 2**16, loop=self._loop)
|
|
1109
|
+
conn_proto.set_parser(WebSocketReader(reader, max_msg_size), reader)
|
|
1110
|
+
writer = WebSocketWriter(
|
|
1111
|
+
conn_proto,
|
|
1112
|
+
transport,
|
|
1113
|
+
use_mask=True,
|
|
1114
|
+
compress=compress,
|
|
1115
|
+
notakeover=notakeover,
|
|
1116
|
+
)
|
|
1117
|
+
except BaseException:
|
|
1118
|
+
resp.close()
|
|
1119
|
+
raise
|
|
1120
|
+
else:
|
|
1121
|
+
return self._ws_response_class(
|
|
1122
|
+
reader,
|
|
1123
|
+
writer,
|
|
1124
|
+
protocol,
|
|
1125
|
+
resp,
|
|
1126
|
+
ws_timeout,
|
|
1127
|
+
autoclose,
|
|
1128
|
+
autoping,
|
|
1129
|
+
self._loop,
|
|
1130
|
+
heartbeat=heartbeat,
|
|
1131
|
+
compress=compress,
|
|
1132
|
+
client_notakeover=notakeover,
|
|
1133
|
+
)
|
|
1134
|
+
|
|
1135
|
+
def _prepare_headers(self, headers: Optional[LooseHeaders]) -> "CIMultiDict[str]":
|
|
1136
|
+
"""Add default headers and transform it to CIMultiDict"""
|
|
1137
|
+
# Convert headers to MultiDict
|
|
1138
|
+
result = CIMultiDict(self._default_headers)
|
|
1139
|
+
if headers:
|
|
1140
|
+
if not isinstance(headers, (MultiDictProxy, MultiDict)):
|
|
1141
|
+
headers = CIMultiDict(headers)
|
|
1142
|
+
added_names: Set[str] = set()
|
|
1143
|
+
for key, value in headers.items():
|
|
1144
|
+
if key in added_names:
|
|
1145
|
+
result.add(key, value)
|
|
1146
|
+
else:
|
|
1147
|
+
result[key] = value
|
|
1148
|
+
added_names.add(key)
|
|
1149
|
+
return result
|
|
1150
|
+
|
|
1151
|
+
if sys.version_info >= (3, 11) and TYPE_CHECKING:
|
|
1152
|
+
|
|
1153
|
+
def get(
|
|
1154
|
+
self,
|
|
1155
|
+
url: StrOrURL,
|
|
1156
|
+
**kwargs: Unpack[_RequestOptions],
|
|
1157
|
+
) -> "_RequestContextManager": ...
|
|
1158
|
+
|
|
1159
|
+
def options(
|
|
1160
|
+
self,
|
|
1161
|
+
url: StrOrURL,
|
|
1162
|
+
**kwargs: Unpack[_RequestOptions],
|
|
1163
|
+
) -> "_RequestContextManager": ...
|
|
1164
|
+
|
|
1165
|
+
def head(
|
|
1166
|
+
self,
|
|
1167
|
+
url: StrOrURL,
|
|
1168
|
+
**kwargs: Unpack[_RequestOptions],
|
|
1169
|
+
) -> "_RequestContextManager": ...
|
|
1170
|
+
|
|
1171
|
+
def post(
|
|
1172
|
+
self,
|
|
1173
|
+
url: StrOrURL,
|
|
1174
|
+
**kwargs: Unpack[_RequestOptions],
|
|
1175
|
+
) -> "_RequestContextManager": ...
|
|
1176
|
+
|
|
1177
|
+
def put(
|
|
1178
|
+
self,
|
|
1179
|
+
url: StrOrURL,
|
|
1180
|
+
**kwargs: Unpack[_RequestOptions],
|
|
1181
|
+
) -> "_RequestContextManager": ...
|
|
1182
|
+
|
|
1183
|
+
def patch(
|
|
1184
|
+
self,
|
|
1185
|
+
url: StrOrURL,
|
|
1186
|
+
**kwargs: Unpack[_RequestOptions],
|
|
1187
|
+
) -> "_RequestContextManager": ...
|
|
1188
|
+
|
|
1189
|
+
def delete(
|
|
1190
|
+
self,
|
|
1191
|
+
url: StrOrURL,
|
|
1192
|
+
**kwargs: Unpack[_RequestOptions],
|
|
1193
|
+
) -> "_RequestContextManager": ...
|
|
1194
|
+
|
|
1195
|
+
else:
|
|
1196
|
+
|
|
1197
|
+
def get(
|
|
1198
|
+
self, url: StrOrURL, *, allow_redirects: bool = True, **kwargs: Any
|
|
1199
|
+
) -> "_RequestContextManager":
|
|
1200
|
+
"""Perform HTTP GET request."""
|
|
1201
|
+
return _RequestContextManager(
|
|
1202
|
+
self._request(
|
|
1203
|
+
hdrs.METH_GET, url, allow_redirects=allow_redirects, **kwargs
|
|
1204
|
+
)
|
|
1205
|
+
)
|
|
1206
|
+
|
|
1207
|
+
def options(
|
|
1208
|
+
self, url: StrOrURL, *, allow_redirects: bool = True, **kwargs: Any
|
|
1209
|
+
) -> "_RequestContextManager":
|
|
1210
|
+
"""Perform HTTP OPTIONS request."""
|
|
1211
|
+
return _RequestContextManager(
|
|
1212
|
+
self._request(
|
|
1213
|
+
hdrs.METH_OPTIONS, url, allow_redirects=allow_redirects, **kwargs
|
|
1214
|
+
)
|
|
1215
|
+
)
|
|
1216
|
+
|
|
1217
|
+
def head(
|
|
1218
|
+
self, url: StrOrURL, *, allow_redirects: bool = False, **kwargs: Any
|
|
1219
|
+
) -> "_RequestContextManager":
|
|
1220
|
+
"""Perform HTTP HEAD request."""
|
|
1221
|
+
return _RequestContextManager(
|
|
1222
|
+
self._request(
|
|
1223
|
+
hdrs.METH_HEAD, url, allow_redirects=allow_redirects, **kwargs
|
|
1224
|
+
)
|
|
1225
|
+
)
|
|
1226
|
+
|
|
1227
|
+
def post(
|
|
1228
|
+
self, url: StrOrURL, *, data: Any = None, **kwargs: Any
|
|
1229
|
+
) -> "_RequestContextManager":
|
|
1230
|
+
"""Perform HTTP POST request."""
|
|
1231
|
+
return _RequestContextManager(
|
|
1232
|
+
self._request(hdrs.METH_POST, url, data=data, **kwargs)
|
|
1233
|
+
)
|
|
1234
|
+
|
|
1235
|
+
def put(
|
|
1236
|
+
self, url: StrOrURL, *, data: Any = None, **kwargs: Any
|
|
1237
|
+
) -> "_RequestContextManager":
|
|
1238
|
+
"""Perform HTTP PUT request."""
|
|
1239
|
+
return _RequestContextManager(
|
|
1240
|
+
self._request(hdrs.METH_PUT, url, data=data, **kwargs)
|
|
1241
|
+
)
|
|
1242
|
+
|
|
1243
|
+
def patch(
|
|
1244
|
+
self, url: StrOrURL, *, data: Any = None, **kwargs: Any
|
|
1245
|
+
) -> "_RequestContextManager":
|
|
1246
|
+
"""Perform HTTP PATCH request."""
|
|
1247
|
+
return _RequestContextManager(
|
|
1248
|
+
self._request(hdrs.METH_PATCH, url, data=data, **kwargs)
|
|
1249
|
+
)
|
|
1250
|
+
|
|
1251
|
+
def delete(self, url: StrOrURL, **kwargs: Any) -> "_RequestContextManager":
|
|
1252
|
+
"""Perform HTTP DELETE request."""
|
|
1253
|
+
return _RequestContextManager(
|
|
1254
|
+
self._request(hdrs.METH_DELETE, url, **kwargs)
|
|
1255
|
+
)
|
|
1256
|
+
|
|
1257
|
+
async def close(self) -> None:
|
|
1258
|
+
"""Close underlying connector.
|
|
1259
|
+
|
|
1260
|
+
Release all acquired resources.
|
|
1261
|
+
"""
|
|
1262
|
+
if not self.closed:
|
|
1263
|
+
if self._connector is not None and self._connector_owner:
|
|
1264
|
+
await self._connector.close()
|
|
1265
|
+
self._connector = None
|
|
1266
|
+
|
|
1267
|
+
@property
|
|
1268
|
+
def closed(self) -> bool:
|
|
1269
|
+
"""Is client session closed.
|
|
1270
|
+
|
|
1271
|
+
A readonly property.
|
|
1272
|
+
"""
|
|
1273
|
+
return self._connector is None or self._connector.closed
|
|
1274
|
+
|
|
1275
|
+
@property
|
|
1276
|
+
def connector(self) -> Optional[BaseConnector]:
|
|
1277
|
+
"""Connector instance used for the session."""
|
|
1278
|
+
return self._connector
|
|
1279
|
+
|
|
1280
|
+
@property
|
|
1281
|
+
def cookie_jar(self) -> AbstractCookieJar:
|
|
1282
|
+
"""The session cookies."""
|
|
1283
|
+
return self._cookie_jar
|
|
1284
|
+
|
|
1285
|
+
@property
|
|
1286
|
+
def version(self) -> Tuple[int, int]:
|
|
1287
|
+
"""The session HTTP protocol version."""
|
|
1288
|
+
return self._version
|
|
1289
|
+
|
|
1290
|
+
@property
|
|
1291
|
+
def requote_redirect_url(self) -> bool:
|
|
1292
|
+
"""Do URL requoting on redirection handling."""
|
|
1293
|
+
return self._requote_redirect_url
|
|
1294
|
+
|
|
1295
|
+
@requote_redirect_url.setter
|
|
1296
|
+
def requote_redirect_url(self, val: bool) -> None:
|
|
1297
|
+
"""Do URL requoting on redirection handling."""
|
|
1298
|
+
warnings.warn(
|
|
1299
|
+
"session.requote_redirect_url modification is deprecated #2778",
|
|
1300
|
+
DeprecationWarning,
|
|
1301
|
+
stacklevel=2,
|
|
1302
|
+
)
|
|
1303
|
+
self._requote_redirect_url = val
|
|
1304
|
+
|
|
1305
|
+
@property
|
|
1306
|
+
def loop(self) -> asyncio.AbstractEventLoop:
|
|
1307
|
+
"""Session's loop."""
|
|
1308
|
+
warnings.warn(
|
|
1309
|
+
"client.loop property is deprecated", DeprecationWarning, stacklevel=2
|
|
1310
|
+
)
|
|
1311
|
+
return self._loop
|
|
1312
|
+
|
|
1313
|
+
@property
|
|
1314
|
+
def timeout(self) -> ClientTimeout:
|
|
1315
|
+
"""Timeout for the session."""
|
|
1316
|
+
return self._timeout
|
|
1317
|
+
|
|
1318
|
+
@property
|
|
1319
|
+
def headers(self) -> "CIMultiDict[str]":
|
|
1320
|
+
"""The default headers of the client session."""
|
|
1321
|
+
return self._default_headers
|
|
1322
|
+
|
|
1323
|
+
@property
|
|
1324
|
+
def skip_auto_headers(self) -> FrozenSet[istr]:
|
|
1325
|
+
"""Headers for which autogeneration should be skipped"""
|
|
1326
|
+
return self._skip_auto_headers
|
|
1327
|
+
|
|
1328
|
+
@property
|
|
1329
|
+
def auth(self) -> Optional[BasicAuth]:
|
|
1330
|
+
"""An object that represents HTTP Basic Authorization"""
|
|
1331
|
+
return self._default_auth
|
|
1332
|
+
|
|
1333
|
+
@property
|
|
1334
|
+
def json_serialize(self) -> JSONEncoder:
|
|
1335
|
+
"""Json serializer callable"""
|
|
1336
|
+
return self._json_serialize
|
|
1337
|
+
|
|
1338
|
+
@property
|
|
1339
|
+
def connector_owner(self) -> bool:
|
|
1340
|
+
"""Should connector be closed on session closing"""
|
|
1341
|
+
return self._connector_owner
|
|
1342
|
+
|
|
1343
|
+
@property
|
|
1344
|
+
def raise_for_status(
|
|
1345
|
+
self,
|
|
1346
|
+
) -> Union[bool, Callable[[ClientResponse], Awaitable[None]]]:
|
|
1347
|
+
"""Should `ClientResponse.raise_for_status()` be called for each response."""
|
|
1348
|
+
return self._raise_for_status
|
|
1349
|
+
|
|
1350
|
+
@property
|
|
1351
|
+
def auto_decompress(self) -> bool:
|
|
1352
|
+
"""Should the body response be automatically decompressed."""
|
|
1353
|
+
return self._auto_decompress
|
|
1354
|
+
|
|
1355
|
+
@property
|
|
1356
|
+
def trust_env(self) -> bool:
|
|
1357
|
+
"""
|
|
1358
|
+
Should proxies information from environment or netrc be trusted.
|
|
1359
|
+
|
|
1360
|
+
Information is from HTTP_PROXY / HTTPS_PROXY environment variables
|
|
1361
|
+
or ~/.netrc file if present.
|
|
1362
|
+
"""
|
|
1363
|
+
return self._trust_env
|
|
1364
|
+
|
|
1365
|
+
@property
|
|
1366
|
+
def trace_configs(self) -> List[TraceConfig]:
|
|
1367
|
+
"""A list of TraceConfig instances used for client tracing"""
|
|
1368
|
+
return self._trace_configs
|
|
1369
|
+
|
|
1370
|
+
def detach(self) -> None:
|
|
1371
|
+
"""Detach connector from session without closing the former.
|
|
1372
|
+
|
|
1373
|
+
Session is switched to closed state anyway.
|
|
1374
|
+
"""
|
|
1375
|
+
self._connector = None
|
|
1376
|
+
|
|
1377
|
+
def __enter__(self) -> None:
|
|
1378
|
+
raise TypeError("Use async with instead")
|
|
1379
|
+
|
|
1380
|
+
def __exit__(
|
|
1381
|
+
self,
|
|
1382
|
+
exc_type: Optional[Type[BaseException]],
|
|
1383
|
+
exc_val: Optional[BaseException],
|
|
1384
|
+
exc_tb: Optional[TracebackType],
|
|
1385
|
+
) -> None:
|
|
1386
|
+
# __exit__ should exist in pair with __enter__ but never executed
|
|
1387
|
+
pass # pragma: no cover
|
|
1388
|
+
|
|
1389
|
+
async def __aenter__(self) -> "ClientSession":
|
|
1390
|
+
return self
|
|
1391
|
+
|
|
1392
|
+
async def __aexit__(
|
|
1393
|
+
self,
|
|
1394
|
+
exc_type: Optional[Type[BaseException]],
|
|
1395
|
+
exc_val: Optional[BaseException],
|
|
1396
|
+
exc_tb: Optional[TracebackType],
|
|
1397
|
+
) -> None:
|
|
1398
|
+
await self.close()
|
|
1399
|
+
|
|
1400
|
+
|
|
1401
|
+
class _BaseRequestContextManager(Coroutine[Any, Any, _RetType], Generic[_RetType]):
|
|
1402
|
+
|
|
1403
|
+
__slots__ = ("_coro", "_resp")
|
|
1404
|
+
|
|
1405
|
+
def __init__(self, coro: Coroutine["asyncio.Future[Any]", None, _RetType]) -> None:
|
|
1406
|
+
self._coro: Coroutine["asyncio.Future[Any]", None, _RetType] = coro
|
|
1407
|
+
|
|
1408
|
+
def send(self, arg: None) -> "asyncio.Future[Any]":
|
|
1409
|
+
return self._coro.send(arg)
|
|
1410
|
+
|
|
1411
|
+
def throw(self, *args: Any, **kwargs: Any) -> "asyncio.Future[Any]":
|
|
1412
|
+
return self._coro.throw(*args, **kwargs)
|
|
1413
|
+
|
|
1414
|
+
def close(self) -> None:
|
|
1415
|
+
return self._coro.close()
|
|
1416
|
+
|
|
1417
|
+
def __await__(self) -> Generator[Any, None, _RetType]:
|
|
1418
|
+
ret = self._coro.__await__()
|
|
1419
|
+
return ret
|
|
1420
|
+
|
|
1421
|
+
def __iter__(self) -> Generator[Any, None, _RetType]:
|
|
1422
|
+
return self.__await__()
|
|
1423
|
+
|
|
1424
|
+
async def __aenter__(self) -> _RetType:
|
|
1425
|
+
self._resp: _RetType = await self._coro
|
|
1426
|
+
return await self._resp.__aenter__()
|
|
1427
|
+
|
|
1428
|
+
async def __aexit__(
|
|
1429
|
+
self,
|
|
1430
|
+
exc_type: Optional[Type[BaseException]],
|
|
1431
|
+
exc: Optional[BaseException],
|
|
1432
|
+
tb: Optional[TracebackType],
|
|
1433
|
+
) -> None:
|
|
1434
|
+
await self._resp.__aexit__(exc_type, exc, tb)
|
|
1435
|
+
|
|
1436
|
+
|
|
1437
|
+
_RequestContextManager = _BaseRequestContextManager[ClientResponse]
|
|
1438
|
+
_WSRequestContextManager = _BaseRequestContextManager[ClientWebSocketResponse]
|
|
1439
|
+
|
|
1440
|
+
|
|
1441
|
+
class _SessionRequestContextManager:
|
|
1442
|
+
|
|
1443
|
+
__slots__ = ("_coro", "_resp", "_session")
|
|
1444
|
+
|
|
1445
|
+
def __init__(
|
|
1446
|
+
self,
|
|
1447
|
+
coro: Coroutine["asyncio.Future[Any]", None, ClientResponse],
|
|
1448
|
+
session: ClientSession,
|
|
1449
|
+
) -> None:
|
|
1450
|
+
self._coro = coro
|
|
1451
|
+
self._resp: Optional[ClientResponse] = None
|
|
1452
|
+
self._session = session
|
|
1453
|
+
|
|
1454
|
+
async def __aenter__(self) -> ClientResponse:
|
|
1455
|
+
try:
|
|
1456
|
+
self._resp = await self._coro
|
|
1457
|
+
except BaseException:
|
|
1458
|
+
await self._session.close()
|
|
1459
|
+
raise
|
|
1460
|
+
else:
|
|
1461
|
+
return self._resp
|
|
1462
|
+
|
|
1463
|
+
async def __aexit__(
|
|
1464
|
+
self,
|
|
1465
|
+
exc_type: Optional[Type[BaseException]],
|
|
1466
|
+
exc: Optional[BaseException],
|
|
1467
|
+
tb: Optional[TracebackType],
|
|
1468
|
+
) -> None:
|
|
1469
|
+
assert self._resp is not None
|
|
1470
|
+
self._resp.close()
|
|
1471
|
+
await self._session.close()
|
|
1472
|
+
|
|
1473
|
+
|
|
1474
|
+
if sys.version_info >= (3, 11) and TYPE_CHECKING:
|
|
1475
|
+
|
|
1476
|
+
def request(
|
|
1477
|
+
method: str,
|
|
1478
|
+
url: StrOrURL,
|
|
1479
|
+
*,
|
|
1480
|
+
version: HttpVersion = http.HttpVersion11,
|
|
1481
|
+
connector: Optional[BaseConnector] = None,
|
|
1482
|
+
loop: Optional[asyncio.AbstractEventLoop] = None,
|
|
1483
|
+
**kwargs: Unpack[_RequestOptions],
|
|
1484
|
+
) -> _SessionRequestContextManager: ...
|
|
1485
|
+
|
|
1486
|
+
else:
|
|
1487
|
+
|
|
1488
|
+
def request(
|
|
1489
|
+
method: str,
|
|
1490
|
+
url: StrOrURL,
|
|
1491
|
+
*,
|
|
1492
|
+
version: HttpVersion = http.HttpVersion11,
|
|
1493
|
+
connector: Optional[BaseConnector] = None,
|
|
1494
|
+
loop: Optional[asyncio.AbstractEventLoop] = None,
|
|
1495
|
+
**kwargs: Any,
|
|
1496
|
+
) -> _SessionRequestContextManager:
|
|
1497
|
+
"""Constructs and sends a request.
|
|
1498
|
+
|
|
1499
|
+
Returns response object.
|
|
1500
|
+
method - HTTP method
|
|
1501
|
+
url - request url
|
|
1502
|
+
params - (optional) Dictionary or bytes to be sent in the query
|
|
1503
|
+
string of the new request
|
|
1504
|
+
data - (optional) Dictionary, bytes, or file-like object to
|
|
1505
|
+
send in the body of the request
|
|
1506
|
+
json - (optional) Any json compatible python object
|
|
1507
|
+
headers - (optional) Dictionary of HTTP Headers to send with
|
|
1508
|
+
the request
|
|
1509
|
+
cookies - (optional) Dict object to send with the request
|
|
1510
|
+
auth - (optional) BasicAuth named tuple represent HTTP Basic Auth
|
|
1511
|
+
auth - aiohttp.helpers.BasicAuth
|
|
1512
|
+
allow_redirects - (optional) If set to False, do not follow
|
|
1513
|
+
redirects
|
|
1514
|
+
version - Request HTTP version.
|
|
1515
|
+
compress - Set to True if request has to be compressed
|
|
1516
|
+
with deflate encoding.
|
|
1517
|
+
chunked - Set to chunk size for chunked transfer encoding.
|
|
1518
|
+
expect100 - Expect 100-continue response from server.
|
|
1519
|
+
connector - BaseConnector sub-class instance to support
|
|
1520
|
+
connection pooling.
|
|
1521
|
+
read_until_eof - Read response until eof if response
|
|
1522
|
+
does not have Content-Length header.
|
|
1523
|
+
loop - Optional event loop.
|
|
1524
|
+
timeout - Optional ClientTimeout settings structure, 5min
|
|
1525
|
+
total timeout by default.
|
|
1526
|
+
Usage::
|
|
1527
|
+
>>> import aiohttp
|
|
1528
|
+
>>> async with aiohttp.request('GET', 'http://python.org/') as resp:
|
|
1529
|
+
... print(resp)
|
|
1530
|
+
... data = await resp.read()
|
|
1531
|
+
<ClientResponse(https://www.python.org/) [200 OK]>
|
|
1532
|
+
"""
|
|
1533
|
+
connector_owner = False
|
|
1534
|
+
if connector is None:
|
|
1535
|
+
connector_owner = True
|
|
1536
|
+
connector = TCPConnector(loop=loop, force_close=True)
|
|
1537
|
+
|
|
1538
|
+
session = ClientSession(
|
|
1539
|
+
loop=loop,
|
|
1540
|
+
cookies=kwargs.pop("cookies", None),
|
|
1541
|
+
version=version,
|
|
1542
|
+
timeout=kwargs.pop("timeout", sentinel),
|
|
1543
|
+
connector=connector,
|
|
1544
|
+
connector_owner=connector_owner,
|
|
1545
|
+
)
|
|
1546
|
+
|
|
1547
|
+
return _SessionRequestContextManager(
|
|
1548
|
+
session._request(method, url, **kwargs),
|
|
1549
|
+
session,
|
|
1550
|
+
)
|