@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,1278 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
import collections
|
|
4
|
+
import io
|
|
5
|
+
import json as _json
|
|
6
|
+
import logging
|
|
7
|
+
import re
|
|
8
|
+
import socket
|
|
9
|
+
import sys
|
|
10
|
+
import typing
|
|
11
|
+
import warnings
|
|
12
|
+
import zlib
|
|
13
|
+
from contextlib import contextmanager
|
|
14
|
+
from http.client import HTTPMessage as _HttplibHTTPMessage
|
|
15
|
+
from http.client import HTTPResponse as _HttplibHTTPResponse
|
|
16
|
+
from socket import timeout as SocketTimeout
|
|
17
|
+
|
|
18
|
+
if typing.TYPE_CHECKING:
|
|
19
|
+
from ._base_connection import BaseHTTPConnection
|
|
20
|
+
|
|
21
|
+
try:
|
|
22
|
+
try:
|
|
23
|
+
import brotlicffi as brotli # type: ignore[import-not-found]
|
|
24
|
+
except ImportError:
|
|
25
|
+
import brotli # type: ignore[import-not-found]
|
|
26
|
+
except ImportError:
|
|
27
|
+
brotli = None
|
|
28
|
+
|
|
29
|
+
try:
|
|
30
|
+
import zstandard as zstd
|
|
31
|
+
except (AttributeError, ImportError, ValueError): # Defensive:
|
|
32
|
+
HAS_ZSTD = False
|
|
33
|
+
else:
|
|
34
|
+
# The package 'zstandard' added the 'eof' property starting
|
|
35
|
+
# in v0.18.0 which we require to ensure a complete and
|
|
36
|
+
# valid zstd stream was fed into the ZstdDecoder.
|
|
37
|
+
# See: https://github.com/urllib3/urllib3/pull/2624
|
|
38
|
+
_zstd_version = tuple(
|
|
39
|
+
map(int, re.search(r"^([0-9]+)\.([0-9]+)", zstd.__version__).groups()) # type: ignore[union-attr]
|
|
40
|
+
)
|
|
41
|
+
if _zstd_version < (0, 18): # Defensive:
|
|
42
|
+
HAS_ZSTD = False
|
|
43
|
+
else:
|
|
44
|
+
HAS_ZSTD = True
|
|
45
|
+
|
|
46
|
+
from . import util
|
|
47
|
+
from ._base_connection import _TYPE_BODY
|
|
48
|
+
from ._collections import HTTPHeaderDict
|
|
49
|
+
from .connection import BaseSSLError, HTTPConnection, HTTPException
|
|
50
|
+
from .exceptions import (
|
|
51
|
+
BodyNotHttplibCompatible,
|
|
52
|
+
DecodeError,
|
|
53
|
+
HTTPError,
|
|
54
|
+
IncompleteRead,
|
|
55
|
+
InvalidChunkLength,
|
|
56
|
+
InvalidHeader,
|
|
57
|
+
ProtocolError,
|
|
58
|
+
ReadTimeoutError,
|
|
59
|
+
ResponseNotChunked,
|
|
60
|
+
SSLError,
|
|
61
|
+
)
|
|
62
|
+
from .util.response import is_fp_closed, is_response_to_head
|
|
63
|
+
from .util.retry import Retry
|
|
64
|
+
|
|
65
|
+
if typing.TYPE_CHECKING:
|
|
66
|
+
from .connectionpool import HTTPConnectionPool
|
|
67
|
+
|
|
68
|
+
log = logging.getLogger(__name__)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
class ContentDecoder:
|
|
72
|
+
def decompress(self, data: bytes) -> bytes:
|
|
73
|
+
raise NotImplementedError()
|
|
74
|
+
|
|
75
|
+
def flush(self) -> bytes:
|
|
76
|
+
raise NotImplementedError()
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
class DeflateDecoder(ContentDecoder):
|
|
80
|
+
def __init__(self) -> None:
|
|
81
|
+
self._first_try = True
|
|
82
|
+
self._data = b""
|
|
83
|
+
self._obj = zlib.decompressobj()
|
|
84
|
+
|
|
85
|
+
def decompress(self, data: bytes) -> bytes:
|
|
86
|
+
if not data:
|
|
87
|
+
return data
|
|
88
|
+
|
|
89
|
+
if not self._first_try:
|
|
90
|
+
return self._obj.decompress(data)
|
|
91
|
+
|
|
92
|
+
self._data += data
|
|
93
|
+
try:
|
|
94
|
+
decompressed = self._obj.decompress(data)
|
|
95
|
+
if decompressed:
|
|
96
|
+
self._first_try = False
|
|
97
|
+
self._data = None # type: ignore[assignment]
|
|
98
|
+
return decompressed
|
|
99
|
+
except zlib.error:
|
|
100
|
+
self._first_try = False
|
|
101
|
+
self._obj = zlib.decompressobj(-zlib.MAX_WBITS)
|
|
102
|
+
try:
|
|
103
|
+
return self.decompress(self._data)
|
|
104
|
+
finally:
|
|
105
|
+
self._data = None # type: ignore[assignment]
|
|
106
|
+
|
|
107
|
+
def flush(self) -> bytes:
|
|
108
|
+
return self._obj.flush()
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
class GzipDecoderState:
|
|
112
|
+
FIRST_MEMBER = 0
|
|
113
|
+
OTHER_MEMBERS = 1
|
|
114
|
+
SWALLOW_DATA = 2
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
class GzipDecoder(ContentDecoder):
|
|
118
|
+
def __init__(self) -> None:
|
|
119
|
+
self._obj = zlib.decompressobj(16 + zlib.MAX_WBITS)
|
|
120
|
+
self._state = GzipDecoderState.FIRST_MEMBER
|
|
121
|
+
|
|
122
|
+
def decompress(self, data: bytes) -> bytes:
|
|
123
|
+
ret = bytearray()
|
|
124
|
+
if self._state == GzipDecoderState.SWALLOW_DATA or not data:
|
|
125
|
+
return bytes(ret)
|
|
126
|
+
while True:
|
|
127
|
+
try:
|
|
128
|
+
ret += self._obj.decompress(data)
|
|
129
|
+
except zlib.error:
|
|
130
|
+
previous_state = self._state
|
|
131
|
+
# Ignore data after the first error
|
|
132
|
+
self._state = GzipDecoderState.SWALLOW_DATA
|
|
133
|
+
if previous_state == GzipDecoderState.OTHER_MEMBERS:
|
|
134
|
+
# Allow trailing garbage acceptable in other gzip clients
|
|
135
|
+
return bytes(ret)
|
|
136
|
+
raise
|
|
137
|
+
data = self._obj.unused_data
|
|
138
|
+
if not data:
|
|
139
|
+
return bytes(ret)
|
|
140
|
+
self._state = GzipDecoderState.OTHER_MEMBERS
|
|
141
|
+
self._obj = zlib.decompressobj(16 + zlib.MAX_WBITS)
|
|
142
|
+
|
|
143
|
+
def flush(self) -> bytes:
|
|
144
|
+
return self._obj.flush()
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
if brotli is not None:
|
|
148
|
+
|
|
149
|
+
class BrotliDecoder(ContentDecoder):
|
|
150
|
+
# Supports both 'brotlipy' and 'Brotli' packages
|
|
151
|
+
# since they share an import name. The top branches
|
|
152
|
+
# are for 'brotlipy' and bottom branches for 'Brotli'
|
|
153
|
+
def __init__(self) -> None:
|
|
154
|
+
self._obj = brotli.Decompressor()
|
|
155
|
+
if hasattr(self._obj, "decompress"):
|
|
156
|
+
setattr(self, "decompress", self._obj.decompress)
|
|
157
|
+
else:
|
|
158
|
+
setattr(self, "decompress", self._obj.process)
|
|
159
|
+
|
|
160
|
+
def flush(self) -> bytes:
|
|
161
|
+
if hasattr(self._obj, "flush"):
|
|
162
|
+
return self._obj.flush() # type: ignore[no-any-return]
|
|
163
|
+
return b""
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
if HAS_ZSTD:
|
|
167
|
+
|
|
168
|
+
class ZstdDecoder(ContentDecoder):
|
|
169
|
+
def __init__(self) -> None:
|
|
170
|
+
self._obj = zstd.ZstdDecompressor().decompressobj()
|
|
171
|
+
|
|
172
|
+
def decompress(self, data: bytes) -> bytes:
|
|
173
|
+
if not data:
|
|
174
|
+
return b""
|
|
175
|
+
data_parts = [self._obj.decompress(data)]
|
|
176
|
+
while self._obj.eof and self._obj.unused_data:
|
|
177
|
+
unused_data = self._obj.unused_data
|
|
178
|
+
self._obj = zstd.ZstdDecompressor().decompressobj()
|
|
179
|
+
data_parts.append(self._obj.decompress(unused_data))
|
|
180
|
+
return b"".join(data_parts)
|
|
181
|
+
|
|
182
|
+
def flush(self) -> bytes:
|
|
183
|
+
ret = self._obj.flush() # note: this is a no-op
|
|
184
|
+
if not self._obj.eof:
|
|
185
|
+
raise DecodeError("Zstandard data is incomplete")
|
|
186
|
+
return ret
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
class MultiDecoder(ContentDecoder):
|
|
190
|
+
"""
|
|
191
|
+
From RFC7231:
|
|
192
|
+
If one or more encodings have been applied to a representation, the
|
|
193
|
+
sender that applied the encodings MUST generate a Content-Encoding
|
|
194
|
+
header field that lists the content codings in the order in which
|
|
195
|
+
they were applied.
|
|
196
|
+
"""
|
|
197
|
+
|
|
198
|
+
def __init__(self, modes: str) -> None:
|
|
199
|
+
self._decoders = [_get_decoder(m.strip()) for m in modes.split(",")]
|
|
200
|
+
|
|
201
|
+
def flush(self) -> bytes:
|
|
202
|
+
return self._decoders[0].flush()
|
|
203
|
+
|
|
204
|
+
def decompress(self, data: bytes) -> bytes:
|
|
205
|
+
for d in reversed(self._decoders):
|
|
206
|
+
data = d.decompress(data)
|
|
207
|
+
return data
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
def _get_decoder(mode: str) -> ContentDecoder:
|
|
211
|
+
if "," in mode:
|
|
212
|
+
return MultiDecoder(mode)
|
|
213
|
+
|
|
214
|
+
# According to RFC 9110 section 8.4.1.3, recipients should
|
|
215
|
+
# consider x-gzip equivalent to gzip
|
|
216
|
+
if mode in ("gzip", "x-gzip"):
|
|
217
|
+
return GzipDecoder()
|
|
218
|
+
|
|
219
|
+
if brotli is not None and mode == "br":
|
|
220
|
+
return BrotliDecoder()
|
|
221
|
+
|
|
222
|
+
if HAS_ZSTD and mode == "zstd":
|
|
223
|
+
return ZstdDecoder()
|
|
224
|
+
|
|
225
|
+
return DeflateDecoder()
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
class BytesQueueBuffer:
|
|
229
|
+
"""Memory-efficient bytes buffer
|
|
230
|
+
|
|
231
|
+
To return decoded data in read() and still follow the BufferedIOBase API, we need a
|
|
232
|
+
buffer to always return the correct amount of bytes.
|
|
233
|
+
|
|
234
|
+
This buffer should be filled using calls to put()
|
|
235
|
+
|
|
236
|
+
Our maximum memory usage is determined by the sum of the size of:
|
|
237
|
+
|
|
238
|
+
* self.buffer, which contains the full data
|
|
239
|
+
* the largest chunk that we will copy in get()
|
|
240
|
+
|
|
241
|
+
The worst case scenario is a single chunk, in which case we'll make a full copy of
|
|
242
|
+
the data inside get().
|
|
243
|
+
"""
|
|
244
|
+
|
|
245
|
+
def __init__(self) -> None:
|
|
246
|
+
self.buffer: typing.Deque[bytes] = collections.deque()
|
|
247
|
+
self._size: int = 0
|
|
248
|
+
|
|
249
|
+
def __len__(self) -> int:
|
|
250
|
+
return self._size
|
|
251
|
+
|
|
252
|
+
def put(self, data: bytes) -> None:
|
|
253
|
+
self.buffer.append(data)
|
|
254
|
+
self._size += len(data)
|
|
255
|
+
|
|
256
|
+
def get(self, n: int) -> bytes:
|
|
257
|
+
if n == 0:
|
|
258
|
+
return b""
|
|
259
|
+
elif not self.buffer:
|
|
260
|
+
raise RuntimeError("buffer is empty")
|
|
261
|
+
elif n < 0:
|
|
262
|
+
raise ValueError("n should be > 0")
|
|
263
|
+
|
|
264
|
+
fetched = 0
|
|
265
|
+
ret = io.BytesIO()
|
|
266
|
+
while fetched < n:
|
|
267
|
+
remaining = n - fetched
|
|
268
|
+
chunk = self.buffer.popleft()
|
|
269
|
+
chunk_length = len(chunk)
|
|
270
|
+
if remaining < chunk_length:
|
|
271
|
+
left_chunk, right_chunk = chunk[:remaining], chunk[remaining:]
|
|
272
|
+
ret.write(left_chunk)
|
|
273
|
+
self.buffer.appendleft(right_chunk)
|
|
274
|
+
self._size -= remaining
|
|
275
|
+
break
|
|
276
|
+
else:
|
|
277
|
+
ret.write(chunk)
|
|
278
|
+
self._size -= chunk_length
|
|
279
|
+
fetched += chunk_length
|
|
280
|
+
|
|
281
|
+
if not self.buffer:
|
|
282
|
+
break
|
|
283
|
+
|
|
284
|
+
return ret.getvalue()
|
|
285
|
+
|
|
286
|
+
def get_all(self) -> bytes:
|
|
287
|
+
buffer = self.buffer
|
|
288
|
+
if not buffer:
|
|
289
|
+
assert self._size == 0
|
|
290
|
+
return b""
|
|
291
|
+
if len(buffer) == 1:
|
|
292
|
+
result = buffer.pop()
|
|
293
|
+
else:
|
|
294
|
+
ret = io.BytesIO()
|
|
295
|
+
ret.writelines(buffer.popleft() for _ in range(len(buffer)))
|
|
296
|
+
result = ret.getvalue()
|
|
297
|
+
self._size = 0
|
|
298
|
+
return result
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
class BaseHTTPResponse(io.IOBase):
|
|
302
|
+
CONTENT_DECODERS = ["gzip", "x-gzip", "deflate"]
|
|
303
|
+
if brotli is not None:
|
|
304
|
+
CONTENT_DECODERS += ["br"]
|
|
305
|
+
if HAS_ZSTD:
|
|
306
|
+
CONTENT_DECODERS += ["zstd"]
|
|
307
|
+
REDIRECT_STATUSES = [301, 302, 303, 307, 308]
|
|
308
|
+
|
|
309
|
+
DECODER_ERROR_CLASSES: tuple[type[Exception], ...] = (IOError, zlib.error)
|
|
310
|
+
if brotli is not None:
|
|
311
|
+
DECODER_ERROR_CLASSES += (brotli.error,)
|
|
312
|
+
|
|
313
|
+
if HAS_ZSTD:
|
|
314
|
+
DECODER_ERROR_CLASSES += (zstd.ZstdError,)
|
|
315
|
+
|
|
316
|
+
def __init__(
|
|
317
|
+
self,
|
|
318
|
+
*,
|
|
319
|
+
headers: typing.Mapping[str, str] | typing.Mapping[bytes, bytes] | None = None,
|
|
320
|
+
status: int,
|
|
321
|
+
version: int,
|
|
322
|
+
version_string: str,
|
|
323
|
+
reason: str | None,
|
|
324
|
+
decode_content: bool,
|
|
325
|
+
request_url: str | None,
|
|
326
|
+
retries: Retry | None = None,
|
|
327
|
+
) -> None:
|
|
328
|
+
if isinstance(headers, HTTPHeaderDict):
|
|
329
|
+
self.headers = headers
|
|
330
|
+
else:
|
|
331
|
+
self.headers = HTTPHeaderDict(headers) # type: ignore[arg-type]
|
|
332
|
+
self.status = status
|
|
333
|
+
self.version = version
|
|
334
|
+
self.version_string = version_string
|
|
335
|
+
self.reason = reason
|
|
336
|
+
self.decode_content = decode_content
|
|
337
|
+
self._has_decoded_content = False
|
|
338
|
+
self._request_url: str | None = request_url
|
|
339
|
+
self.retries = retries
|
|
340
|
+
|
|
341
|
+
self.chunked = False
|
|
342
|
+
tr_enc = self.headers.get("transfer-encoding", "").lower()
|
|
343
|
+
# Don't incur the penalty of creating a list and then discarding it
|
|
344
|
+
encodings = (enc.strip() for enc in tr_enc.split(","))
|
|
345
|
+
if "chunked" in encodings:
|
|
346
|
+
self.chunked = True
|
|
347
|
+
|
|
348
|
+
self._decoder: ContentDecoder | None = None
|
|
349
|
+
self.length_remaining: int | None
|
|
350
|
+
|
|
351
|
+
def get_redirect_location(self) -> str | None | typing.Literal[False]:
|
|
352
|
+
"""
|
|
353
|
+
Should we redirect and where to?
|
|
354
|
+
|
|
355
|
+
:returns: Truthy redirect location string if we got a redirect status
|
|
356
|
+
code and valid location. ``None`` if redirect status and no
|
|
357
|
+
location. ``False`` if not a redirect status code.
|
|
358
|
+
"""
|
|
359
|
+
if self.status in self.REDIRECT_STATUSES:
|
|
360
|
+
return self.headers.get("location")
|
|
361
|
+
return False
|
|
362
|
+
|
|
363
|
+
@property
|
|
364
|
+
def data(self) -> bytes:
|
|
365
|
+
raise NotImplementedError()
|
|
366
|
+
|
|
367
|
+
def json(self) -> typing.Any:
|
|
368
|
+
"""
|
|
369
|
+
Deserializes the body of the HTTP response as a Python object.
|
|
370
|
+
|
|
371
|
+
The body of the HTTP response must be encoded using UTF-8, as per
|
|
372
|
+
`RFC 8529 Section 8.1 <https://www.rfc-editor.org/rfc/rfc8259#section-8.1>`_.
|
|
373
|
+
|
|
374
|
+
To use a custom JSON decoder pass the result of :attr:`HTTPResponse.data` to
|
|
375
|
+
your custom decoder instead.
|
|
376
|
+
|
|
377
|
+
If the body of the HTTP response is not decodable to UTF-8, a
|
|
378
|
+
`UnicodeDecodeError` will be raised. If the body of the HTTP response is not a
|
|
379
|
+
valid JSON document, a `json.JSONDecodeError` will be raised.
|
|
380
|
+
|
|
381
|
+
Read more :ref:`here <json_content>`.
|
|
382
|
+
|
|
383
|
+
:returns: The body of the HTTP response as a Python object.
|
|
384
|
+
"""
|
|
385
|
+
data = self.data.decode("utf-8")
|
|
386
|
+
return _json.loads(data)
|
|
387
|
+
|
|
388
|
+
@property
|
|
389
|
+
def url(self) -> str | None:
|
|
390
|
+
raise NotImplementedError()
|
|
391
|
+
|
|
392
|
+
@url.setter
|
|
393
|
+
def url(self, url: str | None) -> None:
|
|
394
|
+
raise NotImplementedError()
|
|
395
|
+
|
|
396
|
+
@property
|
|
397
|
+
def connection(self) -> BaseHTTPConnection | None:
|
|
398
|
+
raise NotImplementedError()
|
|
399
|
+
|
|
400
|
+
@property
|
|
401
|
+
def retries(self) -> Retry | None:
|
|
402
|
+
return self._retries
|
|
403
|
+
|
|
404
|
+
@retries.setter
|
|
405
|
+
def retries(self, retries: Retry | None) -> None:
|
|
406
|
+
# Override the request_url if retries has a redirect location.
|
|
407
|
+
if retries is not None and retries.history:
|
|
408
|
+
self.url = retries.history[-1].redirect_location
|
|
409
|
+
self._retries = retries
|
|
410
|
+
|
|
411
|
+
def stream(
|
|
412
|
+
self, amt: int | None = 2**16, decode_content: bool | None = None
|
|
413
|
+
) -> typing.Iterator[bytes]:
|
|
414
|
+
raise NotImplementedError()
|
|
415
|
+
|
|
416
|
+
def read(
|
|
417
|
+
self,
|
|
418
|
+
amt: int | None = None,
|
|
419
|
+
decode_content: bool | None = None,
|
|
420
|
+
cache_content: bool = False,
|
|
421
|
+
) -> bytes:
|
|
422
|
+
raise NotImplementedError()
|
|
423
|
+
|
|
424
|
+
def read1(
|
|
425
|
+
self,
|
|
426
|
+
amt: int | None = None,
|
|
427
|
+
decode_content: bool | None = None,
|
|
428
|
+
) -> bytes:
|
|
429
|
+
raise NotImplementedError()
|
|
430
|
+
|
|
431
|
+
def read_chunked(
|
|
432
|
+
self,
|
|
433
|
+
amt: int | None = None,
|
|
434
|
+
decode_content: bool | None = None,
|
|
435
|
+
) -> typing.Iterator[bytes]:
|
|
436
|
+
raise NotImplementedError()
|
|
437
|
+
|
|
438
|
+
def release_conn(self) -> None:
|
|
439
|
+
raise NotImplementedError()
|
|
440
|
+
|
|
441
|
+
def drain_conn(self) -> None:
|
|
442
|
+
raise NotImplementedError()
|
|
443
|
+
|
|
444
|
+
def shutdown(self) -> None:
|
|
445
|
+
raise NotImplementedError()
|
|
446
|
+
|
|
447
|
+
def close(self) -> None:
|
|
448
|
+
raise NotImplementedError()
|
|
449
|
+
|
|
450
|
+
def _init_decoder(self) -> None:
|
|
451
|
+
"""
|
|
452
|
+
Set-up the _decoder attribute if necessary.
|
|
453
|
+
"""
|
|
454
|
+
# Note: content-encoding value should be case-insensitive, per RFC 7230
|
|
455
|
+
# Section 3.2
|
|
456
|
+
content_encoding = self.headers.get("content-encoding", "").lower()
|
|
457
|
+
if self._decoder is None:
|
|
458
|
+
if content_encoding in self.CONTENT_DECODERS:
|
|
459
|
+
self._decoder = _get_decoder(content_encoding)
|
|
460
|
+
elif "," in content_encoding:
|
|
461
|
+
encodings = [
|
|
462
|
+
e.strip()
|
|
463
|
+
for e in content_encoding.split(",")
|
|
464
|
+
if e.strip() in self.CONTENT_DECODERS
|
|
465
|
+
]
|
|
466
|
+
if encodings:
|
|
467
|
+
self._decoder = _get_decoder(content_encoding)
|
|
468
|
+
|
|
469
|
+
def _decode(
|
|
470
|
+
self, data: bytes, decode_content: bool | None, flush_decoder: bool
|
|
471
|
+
) -> bytes:
|
|
472
|
+
"""
|
|
473
|
+
Decode the data passed in and potentially flush the decoder.
|
|
474
|
+
"""
|
|
475
|
+
if not decode_content:
|
|
476
|
+
if self._has_decoded_content:
|
|
477
|
+
raise RuntimeError(
|
|
478
|
+
"Calling read(decode_content=False) is not supported after "
|
|
479
|
+
"read(decode_content=True) was called."
|
|
480
|
+
)
|
|
481
|
+
return data
|
|
482
|
+
|
|
483
|
+
try:
|
|
484
|
+
if self._decoder:
|
|
485
|
+
data = self._decoder.decompress(data)
|
|
486
|
+
self._has_decoded_content = True
|
|
487
|
+
except self.DECODER_ERROR_CLASSES as e:
|
|
488
|
+
content_encoding = self.headers.get("content-encoding", "").lower()
|
|
489
|
+
raise DecodeError(
|
|
490
|
+
"Received response with content-encoding: %s, but "
|
|
491
|
+
"failed to decode it." % content_encoding,
|
|
492
|
+
e,
|
|
493
|
+
) from e
|
|
494
|
+
if flush_decoder:
|
|
495
|
+
data += self._flush_decoder()
|
|
496
|
+
|
|
497
|
+
return data
|
|
498
|
+
|
|
499
|
+
def _flush_decoder(self) -> bytes:
|
|
500
|
+
"""
|
|
501
|
+
Flushes the decoder. Should only be called if the decoder is actually
|
|
502
|
+
being used.
|
|
503
|
+
"""
|
|
504
|
+
if self._decoder:
|
|
505
|
+
return self._decoder.decompress(b"") + self._decoder.flush()
|
|
506
|
+
return b""
|
|
507
|
+
|
|
508
|
+
# Compatibility methods for `io` module
|
|
509
|
+
def readinto(self, b: bytearray) -> int:
|
|
510
|
+
temp = self.read(len(b))
|
|
511
|
+
if len(temp) == 0:
|
|
512
|
+
return 0
|
|
513
|
+
else:
|
|
514
|
+
b[: len(temp)] = temp
|
|
515
|
+
return len(temp)
|
|
516
|
+
|
|
517
|
+
# Compatibility methods for http.client.HTTPResponse
|
|
518
|
+
def getheaders(self) -> HTTPHeaderDict:
|
|
519
|
+
warnings.warn(
|
|
520
|
+
"HTTPResponse.getheaders() is deprecated and will be removed "
|
|
521
|
+
"in urllib3 v2.1.0. Instead access HTTPResponse.headers directly.",
|
|
522
|
+
category=DeprecationWarning,
|
|
523
|
+
stacklevel=2,
|
|
524
|
+
)
|
|
525
|
+
return self.headers
|
|
526
|
+
|
|
527
|
+
def getheader(self, name: str, default: str | None = None) -> str | None:
|
|
528
|
+
warnings.warn(
|
|
529
|
+
"HTTPResponse.getheader() is deprecated and will be removed "
|
|
530
|
+
"in urllib3 v2.1.0. Instead use HTTPResponse.headers.get(name, default).",
|
|
531
|
+
category=DeprecationWarning,
|
|
532
|
+
stacklevel=2,
|
|
533
|
+
)
|
|
534
|
+
return self.headers.get(name, default)
|
|
535
|
+
|
|
536
|
+
# Compatibility method for http.cookiejar
|
|
537
|
+
def info(self) -> HTTPHeaderDict:
|
|
538
|
+
return self.headers
|
|
539
|
+
|
|
540
|
+
def geturl(self) -> str | None:
|
|
541
|
+
return self.url
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
class HTTPResponse(BaseHTTPResponse):
|
|
545
|
+
"""
|
|
546
|
+
HTTP Response container.
|
|
547
|
+
|
|
548
|
+
Backwards-compatible with :class:`http.client.HTTPResponse` but the response ``body`` is
|
|
549
|
+
loaded and decoded on-demand when the ``data`` property is accessed. This
|
|
550
|
+
class is also compatible with the Python standard library's :mod:`io`
|
|
551
|
+
module, and can hence be treated as a readable object in the context of that
|
|
552
|
+
framework.
|
|
553
|
+
|
|
554
|
+
Extra parameters for behaviour not present in :class:`http.client.HTTPResponse`:
|
|
555
|
+
|
|
556
|
+
:param preload_content:
|
|
557
|
+
If True, the response's body will be preloaded during construction.
|
|
558
|
+
|
|
559
|
+
:param decode_content:
|
|
560
|
+
If True, will attempt to decode the body based on the
|
|
561
|
+
'content-encoding' header.
|
|
562
|
+
|
|
563
|
+
:param original_response:
|
|
564
|
+
When this HTTPResponse wrapper is generated from an :class:`http.client.HTTPResponse`
|
|
565
|
+
object, it's convenient to include the original for debug purposes. It's
|
|
566
|
+
otherwise unused.
|
|
567
|
+
|
|
568
|
+
:param retries:
|
|
569
|
+
The retries contains the last :class:`~urllib3.util.retry.Retry` that
|
|
570
|
+
was used during the request.
|
|
571
|
+
|
|
572
|
+
:param enforce_content_length:
|
|
573
|
+
Enforce content length checking. Body returned by server must match
|
|
574
|
+
value of Content-Length header, if present. Otherwise, raise error.
|
|
575
|
+
"""
|
|
576
|
+
|
|
577
|
+
def __init__(
|
|
578
|
+
self,
|
|
579
|
+
body: _TYPE_BODY = "",
|
|
580
|
+
headers: typing.Mapping[str, str] | typing.Mapping[bytes, bytes] | None = None,
|
|
581
|
+
status: int = 0,
|
|
582
|
+
version: int = 0,
|
|
583
|
+
version_string: str = "HTTP/?",
|
|
584
|
+
reason: str | None = None,
|
|
585
|
+
preload_content: bool = True,
|
|
586
|
+
decode_content: bool = True,
|
|
587
|
+
original_response: _HttplibHTTPResponse | None = None,
|
|
588
|
+
pool: HTTPConnectionPool | None = None,
|
|
589
|
+
connection: HTTPConnection | None = None,
|
|
590
|
+
msg: _HttplibHTTPMessage | None = None,
|
|
591
|
+
retries: Retry | None = None,
|
|
592
|
+
enforce_content_length: bool = True,
|
|
593
|
+
request_method: str | None = None,
|
|
594
|
+
request_url: str | None = None,
|
|
595
|
+
auto_close: bool = True,
|
|
596
|
+
sock_shutdown: typing.Callable[[int], None] | None = None,
|
|
597
|
+
) -> None:
|
|
598
|
+
super().__init__(
|
|
599
|
+
headers=headers,
|
|
600
|
+
status=status,
|
|
601
|
+
version=version,
|
|
602
|
+
version_string=version_string,
|
|
603
|
+
reason=reason,
|
|
604
|
+
decode_content=decode_content,
|
|
605
|
+
request_url=request_url,
|
|
606
|
+
retries=retries,
|
|
607
|
+
)
|
|
608
|
+
|
|
609
|
+
self.enforce_content_length = enforce_content_length
|
|
610
|
+
self.auto_close = auto_close
|
|
611
|
+
|
|
612
|
+
self._body = None
|
|
613
|
+
self._fp: _HttplibHTTPResponse | None = None
|
|
614
|
+
self._original_response = original_response
|
|
615
|
+
self._fp_bytes_read = 0
|
|
616
|
+
self.msg = msg
|
|
617
|
+
|
|
618
|
+
if body and isinstance(body, (str, bytes)):
|
|
619
|
+
self._body = body
|
|
620
|
+
|
|
621
|
+
self._pool = pool
|
|
622
|
+
self._connection = connection
|
|
623
|
+
|
|
624
|
+
if hasattr(body, "read"):
|
|
625
|
+
self._fp = body # type: ignore[assignment]
|
|
626
|
+
self._sock_shutdown = sock_shutdown
|
|
627
|
+
|
|
628
|
+
# Are we using the chunked-style of transfer encoding?
|
|
629
|
+
self.chunk_left: int | None = None
|
|
630
|
+
|
|
631
|
+
# Determine length of response
|
|
632
|
+
self.length_remaining = self._init_length(request_method)
|
|
633
|
+
|
|
634
|
+
# Used to return the correct amount of bytes for partial read()s
|
|
635
|
+
self._decoded_buffer = BytesQueueBuffer()
|
|
636
|
+
|
|
637
|
+
# If requested, preload the body.
|
|
638
|
+
if preload_content and not self._body:
|
|
639
|
+
self._body = self.read(decode_content=decode_content)
|
|
640
|
+
|
|
641
|
+
def release_conn(self) -> None:
|
|
642
|
+
if not self._pool or not self._connection:
|
|
643
|
+
return None
|
|
644
|
+
|
|
645
|
+
self._pool._put_conn(self._connection)
|
|
646
|
+
self._connection = None
|
|
647
|
+
|
|
648
|
+
def drain_conn(self) -> None:
|
|
649
|
+
"""
|
|
650
|
+
Read and discard any remaining HTTP response data in the response connection.
|
|
651
|
+
|
|
652
|
+
Unread data in the HTTPResponse connection blocks the connection from being released back to the pool.
|
|
653
|
+
"""
|
|
654
|
+
try:
|
|
655
|
+
self.read()
|
|
656
|
+
except (HTTPError, OSError, BaseSSLError, HTTPException):
|
|
657
|
+
pass
|
|
658
|
+
|
|
659
|
+
@property
|
|
660
|
+
def data(self) -> bytes:
|
|
661
|
+
# For backwards-compat with earlier urllib3 0.4 and earlier.
|
|
662
|
+
if self._body:
|
|
663
|
+
return self._body # type: ignore[return-value]
|
|
664
|
+
|
|
665
|
+
if self._fp:
|
|
666
|
+
return self.read(cache_content=True)
|
|
667
|
+
|
|
668
|
+
return None # type: ignore[return-value]
|
|
669
|
+
|
|
670
|
+
@property
|
|
671
|
+
def connection(self) -> HTTPConnection | None:
|
|
672
|
+
return self._connection
|
|
673
|
+
|
|
674
|
+
def isclosed(self) -> bool:
|
|
675
|
+
return is_fp_closed(self._fp)
|
|
676
|
+
|
|
677
|
+
def tell(self) -> int:
|
|
678
|
+
"""
|
|
679
|
+
Obtain the number of bytes pulled over the wire so far. May differ from
|
|
680
|
+
the amount of content returned by :meth:``urllib3.response.HTTPResponse.read``
|
|
681
|
+
if bytes are encoded on the wire (e.g, compressed).
|
|
682
|
+
"""
|
|
683
|
+
return self._fp_bytes_read
|
|
684
|
+
|
|
685
|
+
def _init_length(self, request_method: str | None) -> int | None:
|
|
686
|
+
"""
|
|
687
|
+
Set initial length value for Response content if available.
|
|
688
|
+
"""
|
|
689
|
+
length: int | None
|
|
690
|
+
content_length: str | None = self.headers.get("content-length")
|
|
691
|
+
|
|
692
|
+
if content_length is not None:
|
|
693
|
+
if self.chunked:
|
|
694
|
+
# This Response will fail with an IncompleteRead if it can't be
|
|
695
|
+
# received as chunked. This method falls back to attempt reading
|
|
696
|
+
# the response before raising an exception.
|
|
697
|
+
log.warning(
|
|
698
|
+
"Received response with both Content-Length and "
|
|
699
|
+
"Transfer-Encoding set. This is expressly forbidden "
|
|
700
|
+
"by RFC 7230 sec 3.3.2. Ignoring Content-Length and "
|
|
701
|
+
"attempting to process response as Transfer-Encoding: "
|
|
702
|
+
"chunked."
|
|
703
|
+
)
|
|
704
|
+
return None
|
|
705
|
+
|
|
706
|
+
try:
|
|
707
|
+
# RFC 7230 section 3.3.2 specifies multiple content lengths can
|
|
708
|
+
# be sent in a single Content-Length header
|
|
709
|
+
# (e.g. Content-Length: 42, 42). This line ensures the values
|
|
710
|
+
# are all valid ints and that as long as the `set` length is 1,
|
|
711
|
+
# all values are the same. Otherwise, the header is invalid.
|
|
712
|
+
lengths = {int(val) for val in content_length.split(",")}
|
|
713
|
+
if len(lengths) > 1:
|
|
714
|
+
raise InvalidHeader(
|
|
715
|
+
"Content-Length contained multiple "
|
|
716
|
+
"unmatching values (%s)" % content_length
|
|
717
|
+
)
|
|
718
|
+
length = lengths.pop()
|
|
719
|
+
except ValueError:
|
|
720
|
+
length = None
|
|
721
|
+
else:
|
|
722
|
+
if length < 0:
|
|
723
|
+
length = None
|
|
724
|
+
|
|
725
|
+
else: # if content_length is None
|
|
726
|
+
length = None
|
|
727
|
+
|
|
728
|
+
# Convert status to int for comparison
|
|
729
|
+
# In some cases, httplib returns a status of "_UNKNOWN"
|
|
730
|
+
try:
|
|
731
|
+
status = int(self.status)
|
|
732
|
+
except ValueError:
|
|
733
|
+
status = 0
|
|
734
|
+
|
|
735
|
+
# Check for responses that shouldn't include a body
|
|
736
|
+
if status in (204, 304) or 100 <= status < 200 or request_method == "HEAD":
|
|
737
|
+
length = 0
|
|
738
|
+
|
|
739
|
+
return length
|
|
740
|
+
|
|
741
|
+
@contextmanager
|
|
742
|
+
def _error_catcher(self) -> typing.Generator[None]:
|
|
743
|
+
"""
|
|
744
|
+
Catch low-level python exceptions, instead re-raising urllib3
|
|
745
|
+
variants, so that low-level exceptions are not leaked in the
|
|
746
|
+
high-level api.
|
|
747
|
+
|
|
748
|
+
On exit, release the connection back to the pool.
|
|
749
|
+
"""
|
|
750
|
+
clean_exit = False
|
|
751
|
+
|
|
752
|
+
try:
|
|
753
|
+
try:
|
|
754
|
+
yield
|
|
755
|
+
|
|
756
|
+
except SocketTimeout as e:
|
|
757
|
+
# FIXME: Ideally we'd like to include the url in the ReadTimeoutError but
|
|
758
|
+
# there is yet no clean way to get at it from this context.
|
|
759
|
+
raise ReadTimeoutError(self._pool, None, "Read timed out.") from e # type: ignore[arg-type]
|
|
760
|
+
|
|
761
|
+
except BaseSSLError as e:
|
|
762
|
+
# FIXME: Is there a better way to differentiate between SSLErrors?
|
|
763
|
+
if "read operation timed out" not in str(e):
|
|
764
|
+
# SSL errors related to framing/MAC get wrapped and reraised here
|
|
765
|
+
raise SSLError(e) from e
|
|
766
|
+
|
|
767
|
+
raise ReadTimeoutError(self._pool, None, "Read timed out.") from e # type: ignore[arg-type]
|
|
768
|
+
|
|
769
|
+
except IncompleteRead as e:
|
|
770
|
+
if (
|
|
771
|
+
e.expected is not None
|
|
772
|
+
and e.partial is not None
|
|
773
|
+
and e.expected == -e.partial
|
|
774
|
+
):
|
|
775
|
+
arg = "Response may not contain content."
|
|
776
|
+
else:
|
|
777
|
+
arg = f"Connection broken: {e!r}"
|
|
778
|
+
raise ProtocolError(arg, e) from e
|
|
779
|
+
|
|
780
|
+
except (HTTPException, OSError) as e:
|
|
781
|
+
raise ProtocolError(f"Connection broken: {e!r}", e) from e
|
|
782
|
+
|
|
783
|
+
# If no exception is thrown, we should avoid cleaning up
|
|
784
|
+
# unnecessarily.
|
|
785
|
+
clean_exit = True
|
|
786
|
+
finally:
|
|
787
|
+
# If we didn't terminate cleanly, we need to throw away our
|
|
788
|
+
# connection.
|
|
789
|
+
if not clean_exit:
|
|
790
|
+
# The response may not be closed but we're not going to use it
|
|
791
|
+
# anymore so close it now to ensure that the connection is
|
|
792
|
+
# released back to the pool.
|
|
793
|
+
if self._original_response:
|
|
794
|
+
self._original_response.close()
|
|
795
|
+
|
|
796
|
+
# Closing the response may not actually be sufficient to close
|
|
797
|
+
# everything, so if we have a hold of the connection close that
|
|
798
|
+
# too.
|
|
799
|
+
if self._connection:
|
|
800
|
+
self._connection.close()
|
|
801
|
+
|
|
802
|
+
# If we hold the original response but it's closed now, we should
|
|
803
|
+
# return the connection back to the pool.
|
|
804
|
+
if self._original_response and self._original_response.isclosed():
|
|
805
|
+
self.release_conn()
|
|
806
|
+
|
|
807
|
+
def _fp_read(
|
|
808
|
+
self,
|
|
809
|
+
amt: int | None = None,
|
|
810
|
+
*,
|
|
811
|
+
read1: bool = False,
|
|
812
|
+
) -> bytes:
|
|
813
|
+
"""
|
|
814
|
+
Read a response with the thought that reading the number of bytes
|
|
815
|
+
larger than can fit in a 32-bit int at a time via SSL in some
|
|
816
|
+
known cases leads to an overflow error that has to be prevented
|
|
817
|
+
if `amt` or `self.length_remaining` indicate that a problem may
|
|
818
|
+
happen.
|
|
819
|
+
|
|
820
|
+
The known cases:
|
|
821
|
+
* CPython < 3.9.7 because of a bug
|
|
822
|
+
https://github.com/urllib3/urllib3/issues/2513#issuecomment-1152559900.
|
|
823
|
+
* urllib3 injected with pyOpenSSL-backed SSL-support.
|
|
824
|
+
* CPython < 3.10 only when `amt` does not fit 32-bit int.
|
|
825
|
+
"""
|
|
826
|
+
assert self._fp
|
|
827
|
+
c_int_max = 2**31 - 1
|
|
828
|
+
if (
|
|
829
|
+
(amt and amt > c_int_max)
|
|
830
|
+
or (
|
|
831
|
+
amt is None
|
|
832
|
+
and self.length_remaining
|
|
833
|
+
and self.length_remaining > c_int_max
|
|
834
|
+
)
|
|
835
|
+
) and (util.IS_PYOPENSSL or sys.version_info < (3, 10)):
|
|
836
|
+
if read1:
|
|
837
|
+
return self._fp.read1(c_int_max)
|
|
838
|
+
buffer = io.BytesIO()
|
|
839
|
+
# Besides `max_chunk_amt` being a maximum chunk size, it
|
|
840
|
+
# affects memory overhead of reading a response by this
|
|
841
|
+
# method in CPython.
|
|
842
|
+
# `c_int_max` equal to 2 GiB - 1 byte is the actual maximum
|
|
843
|
+
# chunk size that does not lead to an overflow error, but
|
|
844
|
+
# 256 MiB is a compromise.
|
|
845
|
+
max_chunk_amt = 2**28
|
|
846
|
+
while amt is None or amt != 0:
|
|
847
|
+
if amt is not None:
|
|
848
|
+
chunk_amt = min(amt, max_chunk_amt)
|
|
849
|
+
amt -= chunk_amt
|
|
850
|
+
else:
|
|
851
|
+
chunk_amt = max_chunk_amt
|
|
852
|
+
data = self._fp.read(chunk_amt)
|
|
853
|
+
if not data:
|
|
854
|
+
break
|
|
855
|
+
buffer.write(data)
|
|
856
|
+
del data # to reduce peak memory usage by `max_chunk_amt`.
|
|
857
|
+
return buffer.getvalue()
|
|
858
|
+
elif read1:
|
|
859
|
+
return self._fp.read1(amt) if amt is not None else self._fp.read1()
|
|
860
|
+
else:
|
|
861
|
+
# StringIO doesn't like amt=None
|
|
862
|
+
return self._fp.read(amt) if amt is not None else self._fp.read()
|
|
863
|
+
|
|
864
|
+
def _raw_read(
|
|
865
|
+
self,
|
|
866
|
+
amt: int | None = None,
|
|
867
|
+
*,
|
|
868
|
+
read1: bool = False,
|
|
869
|
+
) -> bytes:
|
|
870
|
+
"""
|
|
871
|
+
Reads `amt` of bytes from the socket.
|
|
872
|
+
"""
|
|
873
|
+
if self._fp is None:
|
|
874
|
+
return None # type: ignore[return-value]
|
|
875
|
+
|
|
876
|
+
fp_closed = getattr(self._fp, "closed", False)
|
|
877
|
+
|
|
878
|
+
with self._error_catcher():
|
|
879
|
+
data = self._fp_read(amt, read1=read1) if not fp_closed else b""
|
|
880
|
+
if amt is not None and amt != 0 and not data:
|
|
881
|
+
# Platform-specific: Buggy versions of Python.
|
|
882
|
+
# Close the connection when no data is returned
|
|
883
|
+
#
|
|
884
|
+
# This is redundant to what httplib/http.client _should_
|
|
885
|
+
# already do. However, versions of python released before
|
|
886
|
+
# December 15, 2012 (http://bugs.python.org/issue16298) do
|
|
887
|
+
# not properly close the connection in all cases. There is
|
|
888
|
+
# no harm in redundantly calling close.
|
|
889
|
+
self._fp.close()
|
|
890
|
+
if (
|
|
891
|
+
self.enforce_content_length
|
|
892
|
+
and self.length_remaining is not None
|
|
893
|
+
and self.length_remaining != 0
|
|
894
|
+
):
|
|
895
|
+
# This is an edge case that httplib failed to cover due
|
|
896
|
+
# to concerns of backward compatibility. We're
|
|
897
|
+
# addressing it here to make sure IncompleteRead is
|
|
898
|
+
# raised during streaming, so all calls with incorrect
|
|
899
|
+
# Content-Length are caught.
|
|
900
|
+
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
|
|
901
|
+
elif read1 and (
|
|
902
|
+
(amt != 0 and not data) or self.length_remaining == len(data)
|
|
903
|
+
):
|
|
904
|
+
# All data has been read, but `self._fp.read1` in
|
|
905
|
+
# CPython 3.12 and older doesn't always close
|
|
906
|
+
# `http.client.HTTPResponse`, so we close it here.
|
|
907
|
+
# See https://github.com/python/cpython/issues/113199
|
|
908
|
+
self._fp.close()
|
|
909
|
+
|
|
910
|
+
if data:
|
|
911
|
+
self._fp_bytes_read += len(data)
|
|
912
|
+
if self.length_remaining is not None:
|
|
913
|
+
self.length_remaining -= len(data)
|
|
914
|
+
return data
|
|
915
|
+
|
|
916
|
+
def read(
|
|
917
|
+
self,
|
|
918
|
+
amt: int | None = None,
|
|
919
|
+
decode_content: bool | None = None,
|
|
920
|
+
cache_content: bool = False,
|
|
921
|
+
) -> bytes:
|
|
922
|
+
"""
|
|
923
|
+
Similar to :meth:`http.client.HTTPResponse.read`, but with two additional
|
|
924
|
+
parameters: ``decode_content`` and ``cache_content``.
|
|
925
|
+
|
|
926
|
+
:param amt:
|
|
927
|
+
How much of the content to read. If specified, caching is skipped
|
|
928
|
+
because it doesn't make sense to cache partial content as the full
|
|
929
|
+
response.
|
|
930
|
+
|
|
931
|
+
:param decode_content:
|
|
932
|
+
If True, will attempt to decode the body based on the
|
|
933
|
+
'content-encoding' header.
|
|
934
|
+
|
|
935
|
+
:param cache_content:
|
|
936
|
+
If True, will save the returned data such that the same result is
|
|
937
|
+
returned despite of the state of the underlying file object. This
|
|
938
|
+
is useful if you want the ``.data`` property to continue working
|
|
939
|
+
after having ``.read()`` the file object. (Overridden if ``amt`` is
|
|
940
|
+
set.)
|
|
941
|
+
"""
|
|
942
|
+
self._init_decoder()
|
|
943
|
+
if decode_content is None:
|
|
944
|
+
decode_content = self.decode_content
|
|
945
|
+
|
|
946
|
+
if amt and amt < 0:
|
|
947
|
+
# Negative numbers and `None` should be treated the same.
|
|
948
|
+
amt = None
|
|
949
|
+
elif amt is not None:
|
|
950
|
+
cache_content = False
|
|
951
|
+
|
|
952
|
+
if len(self._decoded_buffer) >= amt:
|
|
953
|
+
return self._decoded_buffer.get(amt)
|
|
954
|
+
|
|
955
|
+
data = self._raw_read(amt)
|
|
956
|
+
|
|
957
|
+
flush_decoder = amt is None or (amt != 0 and not data)
|
|
958
|
+
|
|
959
|
+
if not data and len(self._decoded_buffer) == 0:
|
|
960
|
+
return data
|
|
961
|
+
|
|
962
|
+
if amt is None:
|
|
963
|
+
data = self._decode(data, decode_content, flush_decoder)
|
|
964
|
+
if cache_content:
|
|
965
|
+
self._body = data
|
|
966
|
+
else:
|
|
967
|
+
# do not waste memory on buffer when not decoding
|
|
968
|
+
if not decode_content:
|
|
969
|
+
if self._has_decoded_content:
|
|
970
|
+
raise RuntimeError(
|
|
971
|
+
"Calling read(decode_content=False) is not supported after "
|
|
972
|
+
"read(decode_content=True) was called."
|
|
973
|
+
)
|
|
974
|
+
return data
|
|
975
|
+
|
|
976
|
+
decoded_data = self._decode(data, decode_content, flush_decoder)
|
|
977
|
+
self._decoded_buffer.put(decoded_data)
|
|
978
|
+
|
|
979
|
+
while len(self._decoded_buffer) < amt and data:
|
|
980
|
+
# TODO make sure to initially read enough data to get past the headers
|
|
981
|
+
# For example, the GZ file header takes 10 bytes, we don't want to read
|
|
982
|
+
# it one byte at a time
|
|
983
|
+
data = self._raw_read(amt)
|
|
984
|
+
decoded_data = self._decode(data, decode_content, flush_decoder)
|
|
985
|
+
self._decoded_buffer.put(decoded_data)
|
|
986
|
+
data = self._decoded_buffer.get(amt)
|
|
987
|
+
|
|
988
|
+
return data
|
|
989
|
+
|
|
990
|
+
def read1(
|
|
991
|
+
self,
|
|
992
|
+
amt: int | None = None,
|
|
993
|
+
decode_content: bool | None = None,
|
|
994
|
+
) -> bytes:
|
|
995
|
+
"""
|
|
996
|
+
Similar to ``http.client.HTTPResponse.read1`` and documented
|
|
997
|
+
in :meth:`io.BufferedReader.read1`, but with an additional parameter:
|
|
998
|
+
``decode_content``.
|
|
999
|
+
|
|
1000
|
+
:param amt:
|
|
1001
|
+
How much of the content to read.
|
|
1002
|
+
|
|
1003
|
+
:param decode_content:
|
|
1004
|
+
If True, will attempt to decode the body based on the
|
|
1005
|
+
'content-encoding' header.
|
|
1006
|
+
"""
|
|
1007
|
+
if decode_content is None:
|
|
1008
|
+
decode_content = self.decode_content
|
|
1009
|
+
if amt and amt < 0:
|
|
1010
|
+
# Negative numbers and `None` should be treated the same.
|
|
1011
|
+
amt = None
|
|
1012
|
+
# try and respond without going to the network
|
|
1013
|
+
if self._has_decoded_content:
|
|
1014
|
+
if not decode_content:
|
|
1015
|
+
raise RuntimeError(
|
|
1016
|
+
"Calling read1(decode_content=False) is not supported after "
|
|
1017
|
+
"read1(decode_content=True) was called."
|
|
1018
|
+
)
|
|
1019
|
+
if len(self._decoded_buffer) > 0:
|
|
1020
|
+
if amt is None:
|
|
1021
|
+
return self._decoded_buffer.get_all()
|
|
1022
|
+
return self._decoded_buffer.get(amt)
|
|
1023
|
+
if amt == 0:
|
|
1024
|
+
return b""
|
|
1025
|
+
|
|
1026
|
+
# FIXME, this method's type doesn't say returning None is possible
|
|
1027
|
+
data = self._raw_read(amt, read1=True)
|
|
1028
|
+
if not decode_content or data is None:
|
|
1029
|
+
return data
|
|
1030
|
+
|
|
1031
|
+
self._init_decoder()
|
|
1032
|
+
while True:
|
|
1033
|
+
flush_decoder = not data
|
|
1034
|
+
decoded_data = self._decode(data, decode_content, flush_decoder)
|
|
1035
|
+
self._decoded_buffer.put(decoded_data)
|
|
1036
|
+
if decoded_data or flush_decoder:
|
|
1037
|
+
break
|
|
1038
|
+
data = self._raw_read(8192, read1=True)
|
|
1039
|
+
|
|
1040
|
+
if amt is None:
|
|
1041
|
+
return self._decoded_buffer.get_all()
|
|
1042
|
+
return self._decoded_buffer.get(amt)
|
|
1043
|
+
|
|
1044
|
+
def stream(
|
|
1045
|
+
self, amt: int | None = 2**16, decode_content: bool | None = None
|
|
1046
|
+
) -> typing.Generator[bytes]:
|
|
1047
|
+
"""
|
|
1048
|
+
A generator wrapper for the read() method. A call will block until
|
|
1049
|
+
``amt`` bytes have been read from the connection or until the
|
|
1050
|
+
connection is closed.
|
|
1051
|
+
|
|
1052
|
+
:param amt:
|
|
1053
|
+
How much of the content to read. The generator will return up to
|
|
1054
|
+
much data per iteration, but may return less. This is particularly
|
|
1055
|
+
likely when using compressed data. However, the empty string will
|
|
1056
|
+
never be returned.
|
|
1057
|
+
|
|
1058
|
+
:param decode_content:
|
|
1059
|
+
If True, will attempt to decode the body based on the
|
|
1060
|
+
'content-encoding' header.
|
|
1061
|
+
"""
|
|
1062
|
+
if self.chunked and self.supports_chunked_reads():
|
|
1063
|
+
yield from self.read_chunked(amt, decode_content=decode_content)
|
|
1064
|
+
else:
|
|
1065
|
+
while not is_fp_closed(self._fp) or len(self._decoded_buffer) > 0:
|
|
1066
|
+
data = self.read(amt=amt, decode_content=decode_content)
|
|
1067
|
+
|
|
1068
|
+
if data:
|
|
1069
|
+
yield data
|
|
1070
|
+
|
|
1071
|
+
# Overrides from io.IOBase
|
|
1072
|
+
def readable(self) -> bool:
|
|
1073
|
+
return True
|
|
1074
|
+
|
|
1075
|
+
def shutdown(self) -> None:
|
|
1076
|
+
if not self._sock_shutdown:
|
|
1077
|
+
raise ValueError("Cannot shutdown socket as self._sock_shutdown is not set")
|
|
1078
|
+
self._sock_shutdown(socket.SHUT_RD)
|
|
1079
|
+
|
|
1080
|
+
def close(self) -> None:
|
|
1081
|
+
self._sock_shutdown = None
|
|
1082
|
+
|
|
1083
|
+
if not self.closed and self._fp:
|
|
1084
|
+
self._fp.close()
|
|
1085
|
+
|
|
1086
|
+
if self._connection:
|
|
1087
|
+
self._connection.close()
|
|
1088
|
+
|
|
1089
|
+
if not self.auto_close:
|
|
1090
|
+
io.IOBase.close(self)
|
|
1091
|
+
|
|
1092
|
+
@property
|
|
1093
|
+
def closed(self) -> bool:
|
|
1094
|
+
if not self.auto_close:
|
|
1095
|
+
return io.IOBase.closed.__get__(self) # type: ignore[no-any-return]
|
|
1096
|
+
elif self._fp is None:
|
|
1097
|
+
return True
|
|
1098
|
+
elif hasattr(self._fp, "isclosed"):
|
|
1099
|
+
return self._fp.isclosed()
|
|
1100
|
+
elif hasattr(self._fp, "closed"):
|
|
1101
|
+
return self._fp.closed
|
|
1102
|
+
else:
|
|
1103
|
+
return True
|
|
1104
|
+
|
|
1105
|
+
def fileno(self) -> int:
|
|
1106
|
+
if self._fp is None:
|
|
1107
|
+
raise OSError("HTTPResponse has no file to get a fileno from")
|
|
1108
|
+
elif hasattr(self._fp, "fileno"):
|
|
1109
|
+
return self._fp.fileno()
|
|
1110
|
+
else:
|
|
1111
|
+
raise OSError(
|
|
1112
|
+
"The file-like object this HTTPResponse is wrapped "
|
|
1113
|
+
"around has no file descriptor"
|
|
1114
|
+
)
|
|
1115
|
+
|
|
1116
|
+
def flush(self) -> None:
|
|
1117
|
+
if (
|
|
1118
|
+
self._fp is not None
|
|
1119
|
+
and hasattr(self._fp, "flush")
|
|
1120
|
+
and not getattr(self._fp, "closed", False)
|
|
1121
|
+
):
|
|
1122
|
+
return self._fp.flush()
|
|
1123
|
+
|
|
1124
|
+
def supports_chunked_reads(self) -> bool:
|
|
1125
|
+
"""
|
|
1126
|
+
Checks if the underlying file-like object looks like a
|
|
1127
|
+
:class:`http.client.HTTPResponse` object. We do this by testing for
|
|
1128
|
+
the fp attribute. If it is present we assume it returns raw chunks as
|
|
1129
|
+
processed by read_chunked().
|
|
1130
|
+
"""
|
|
1131
|
+
return hasattr(self._fp, "fp")
|
|
1132
|
+
|
|
1133
|
+
def _update_chunk_length(self) -> None:
|
|
1134
|
+
# First, we'll figure out length of a chunk and then
|
|
1135
|
+
# we'll try to read it from socket.
|
|
1136
|
+
if self.chunk_left is not None:
|
|
1137
|
+
return None
|
|
1138
|
+
line = self._fp.fp.readline() # type: ignore[union-attr]
|
|
1139
|
+
line = line.split(b";", 1)[0]
|
|
1140
|
+
try:
|
|
1141
|
+
self.chunk_left = int(line, 16)
|
|
1142
|
+
except ValueError:
|
|
1143
|
+
self.close()
|
|
1144
|
+
if line:
|
|
1145
|
+
# Invalid chunked protocol response, abort.
|
|
1146
|
+
raise InvalidChunkLength(self, line) from None
|
|
1147
|
+
else:
|
|
1148
|
+
# Truncated at start of next chunk
|
|
1149
|
+
raise ProtocolError("Response ended prematurely") from None
|
|
1150
|
+
|
|
1151
|
+
def _handle_chunk(self, amt: int | None) -> bytes:
|
|
1152
|
+
returned_chunk = None
|
|
1153
|
+
if amt is None:
|
|
1154
|
+
chunk = self._fp._safe_read(self.chunk_left) # type: ignore[union-attr]
|
|
1155
|
+
returned_chunk = chunk
|
|
1156
|
+
self._fp._safe_read(2) # type: ignore[union-attr] # Toss the CRLF at the end of the chunk.
|
|
1157
|
+
self.chunk_left = None
|
|
1158
|
+
elif self.chunk_left is not None and amt < self.chunk_left:
|
|
1159
|
+
value = self._fp._safe_read(amt) # type: ignore[union-attr]
|
|
1160
|
+
self.chunk_left = self.chunk_left - amt
|
|
1161
|
+
returned_chunk = value
|
|
1162
|
+
elif amt == self.chunk_left:
|
|
1163
|
+
value = self._fp._safe_read(amt) # type: ignore[union-attr]
|
|
1164
|
+
self._fp._safe_read(2) # type: ignore[union-attr] # Toss the CRLF at the end of the chunk.
|
|
1165
|
+
self.chunk_left = None
|
|
1166
|
+
returned_chunk = value
|
|
1167
|
+
else: # amt > self.chunk_left
|
|
1168
|
+
returned_chunk = self._fp._safe_read(self.chunk_left) # type: ignore[union-attr]
|
|
1169
|
+
self._fp._safe_read(2) # type: ignore[union-attr] # Toss the CRLF at the end of the chunk.
|
|
1170
|
+
self.chunk_left = None
|
|
1171
|
+
return returned_chunk # type: ignore[no-any-return]
|
|
1172
|
+
|
|
1173
|
+
def read_chunked(
|
|
1174
|
+
self, amt: int | None = None, decode_content: bool | None = None
|
|
1175
|
+
) -> typing.Generator[bytes]:
|
|
1176
|
+
"""
|
|
1177
|
+
Similar to :meth:`HTTPResponse.read`, but with an additional
|
|
1178
|
+
parameter: ``decode_content``.
|
|
1179
|
+
|
|
1180
|
+
:param amt:
|
|
1181
|
+
How much of the content to read. If specified, caching is skipped
|
|
1182
|
+
because it doesn't make sense to cache partial content as the full
|
|
1183
|
+
response.
|
|
1184
|
+
|
|
1185
|
+
:param decode_content:
|
|
1186
|
+
If True, will attempt to decode the body based on the
|
|
1187
|
+
'content-encoding' header.
|
|
1188
|
+
"""
|
|
1189
|
+
self._init_decoder()
|
|
1190
|
+
# FIXME: Rewrite this method and make it a class with a better structured logic.
|
|
1191
|
+
if not self.chunked:
|
|
1192
|
+
raise ResponseNotChunked(
|
|
1193
|
+
"Response is not chunked. "
|
|
1194
|
+
"Header 'transfer-encoding: chunked' is missing."
|
|
1195
|
+
)
|
|
1196
|
+
if not self.supports_chunked_reads():
|
|
1197
|
+
raise BodyNotHttplibCompatible(
|
|
1198
|
+
"Body should be http.client.HTTPResponse like. "
|
|
1199
|
+
"It should have have an fp attribute which returns raw chunks."
|
|
1200
|
+
)
|
|
1201
|
+
|
|
1202
|
+
with self._error_catcher():
|
|
1203
|
+
# Don't bother reading the body of a HEAD request.
|
|
1204
|
+
if self._original_response and is_response_to_head(self._original_response):
|
|
1205
|
+
self._original_response.close()
|
|
1206
|
+
return None
|
|
1207
|
+
|
|
1208
|
+
# If a response is already read and closed
|
|
1209
|
+
# then return immediately.
|
|
1210
|
+
if self._fp.fp is None: # type: ignore[union-attr]
|
|
1211
|
+
return None
|
|
1212
|
+
|
|
1213
|
+
if amt and amt < 0:
|
|
1214
|
+
# Negative numbers and `None` should be treated the same,
|
|
1215
|
+
# but httplib handles only `None` correctly.
|
|
1216
|
+
amt = None
|
|
1217
|
+
|
|
1218
|
+
while True:
|
|
1219
|
+
self._update_chunk_length()
|
|
1220
|
+
if self.chunk_left == 0:
|
|
1221
|
+
break
|
|
1222
|
+
chunk = self._handle_chunk(amt)
|
|
1223
|
+
decoded = self._decode(
|
|
1224
|
+
chunk, decode_content=decode_content, flush_decoder=False
|
|
1225
|
+
)
|
|
1226
|
+
if decoded:
|
|
1227
|
+
yield decoded
|
|
1228
|
+
|
|
1229
|
+
if decode_content:
|
|
1230
|
+
# On CPython and PyPy, we should never need to flush the
|
|
1231
|
+
# decoder. However, on Jython we *might* need to, so
|
|
1232
|
+
# lets defensively do it anyway.
|
|
1233
|
+
decoded = self._flush_decoder()
|
|
1234
|
+
if decoded: # Platform-specific: Jython.
|
|
1235
|
+
yield decoded
|
|
1236
|
+
|
|
1237
|
+
# Chunk content ends with \r\n: discard it.
|
|
1238
|
+
while self._fp is not None:
|
|
1239
|
+
line = self._fp.fp.readline()
|
|
1240
|
+
if not line:
|
|
1241
|
+
# Some sites may not end with '\r\n'.
|
|
1242
|
+
break
|
|
1243
|
+
if line == b"\r\n":
|
|
1244
|
+
break
|
|
1245
|
+
|
|
1246
|
+
# We read everything; close the "file".
|
|
1247
|
+
if self._original_response:
|
|
1248
|
+
self._original_response.close()
|
|
1249
|
+
|
|
1250
|
+
@property
|
|
1251
|
+
def url(self) -> str | None:
|
|
1252
|
+
"""
|
|
1253
|
+
Returns the URL that was the source of this response.
|
|
1254
|
+
If the request that generated this response redirected, this method
|
|
1255
|
+
will return the final redirect location.
|
|
1256
|
+
"""
|
|
1257
|
+
return self._request_url
|
|
1258
|
+
|
|
1259
|
+
@url.setter
|
|
1260
|
+
def url(self, url: str) -> None:
|
|
1261
|
+
self._request_url = url
|
|
1262
|
+
|
|
1263
|
+
def __iter__(self) -> typing.Iterator[bytes]:
|
|
1264
|
+
buffer: list[bytes] = []
|
|
1265
|
+
for chunk in self.stream(decode_content=True):
|
|
1266
|
+
if b"\n" in chunk:
|
|
1267
|
+
chunks = chunk.split(b"\n")
|
|
1268
|
+
yield b"".join(buffer) + chunks[0] + b"\n"
|
|
1269
|
+
for x in chunks[1:-1]:
|
|
1270
|
+
yield x + b"\n"
|
|
1271
|
+
if chunks[-1]:
|
|
1272
|
+
buffer = [chunks[-1]]
|
|
1273
|
+
else:
|
|
1274
|
+
buffer = []
|
|
1275
|
+
else:
|
|
1276
|
+
buffer.append(chunk)
|
|
1277
|
+
if buffer:
|
|
1278
|
+
yield b"".join(buffer)
|