@scrypted/arlo 0.11.26 → 0.11.27
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/dist/plugin.zip +0 -0
- package/package.json +1 -1
- package/venv/bin/Activate.ps1 +0 -247
- package/venv/bin/activate +0 -69
- package/venv/bin/activate.csh +0 -26
- package/venv/bin/activate.fish +0 -69
- package/venv/bin/normalizer +0 -8
- package/venv/bin/pip +0 -8
- package/venv/bin/pip3 +0 -8
- package/venv/bin/pip3.10 +0 -8
- 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 +0 -132
- package/venv/lib/python3.10/site-packages/_distutils_hack/override.py +0 -1
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/__init__.py +0 -13
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/_staggered.py +0 -202
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/impl.py +0 -210
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/types.py +0 -12
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/utils.py +0 -97
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/LICENSE +0 -279
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/METADATA +0 -123
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/RECORD +0 -16
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/WHEEL +0 -4
- package/venv/lib/python3.10/site-packages/aiohttp/.hash/_cparser.pxd.hash +0 -1
- package/venv/lib/python3.10/site-packages/aiohttp/.hash/_find_header.pxd.hash +0 -1
- package/venv/lib/python3.10/site-packages/aiohttp/.hash/_http_parser.pyx.hash +0 -1
- package/venv/lib/python3.10/site-packages/aiohttp/.hash/_http_writer.pyx.hash +0 -1
- package/venv/lib/python3.10/site-packages/aiohttp/.hash/hdrs.py.hash +0 -1
- package/venv/lib/python3.10/site-packages/aiohttp/__init__.py +0 -264
- package/venv/lib/python3.10/site-packages/aiohttp/_cparser.pxd +0 -158
- package/venv/lib/python3.10/site-packages/aiohttp/_find_header.pxd +0 -2
- package/venv/lib/python3.10/site-packages/aiohttp/_headers.pxi +0 -83
- 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 +0 -837
- 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 +0 -162
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/.hash/mask.pxd.hash +0 -1
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/.hash/mask.pyx.hash +0 -1
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/.hash/reader_c.pxd.hash +0 -1
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/__init__.py +0 -1
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/helpers.py +0 -147
- 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 +0 -3
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/mask.pyx +0 -48
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/models.py +0 -84
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader.py +0 -31
- 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 +0 -102
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader_c.py +0 -468
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader_py.py +0 -468
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/writer.py +0 -177
- package/venv/lib/python3.10/site-packages/aiohttp/abc.py +0 -253
- package/venv/lib/python3.10/site-packages/aiohttp/base_protocol.py +0 -100
- package/venv/lib/python3.10/site-packages/aiohttp/client.py +0 -1550
- package/venv/lib/python3.10/site-packages/aiohttp/client_exceptions.py +0 -421
- package/venv/lib/python3.10/site-packages/aiohttp/client_proto.py +0 -307
- package/venv/lib/python3.10/site-packages/aiohttp/client_reqrep.py +0 -1315
- package/venv/lib/python3.10/site-packages/aiohttp/client_ws.py +0 -426
- package/venv/lib/python3.10/site-packages/aiohttp/compression_utils.py +0 -173
- package/venv/lib/python3.10/site-packages/aiohttp/connector.py +0 -1652
- package/venv/lib/python3.10/site-packages/aiohttp/cookiejar.py +0 -495
- package/venv/lib/python3.10/site-packages/aiohttp/formdata.py +0 -182
- package/venv/lib/python3.10/site-packages/aiohttp/hdrs.py +0 -121
- package/venv/lib/python3.10/site-packages/aiohttp/helpers.py +0 -944
- package/venv/lib/python3.10/site-packages/aiohttp/http.py +0 -72
- package/venv/lib/python3.10/site-packages/aiohttp/http_exceptions.py +0 -112
- package/venv/lib/python3.10/site-packages/aiohttp/http_parser.py +0 -1046
- package/venv/lib/python3.10/site-packages/aiohttp/http_websocket.py +0 -36
- package/venv/lib/python3.10/site-packages/aiohttp/http_writer.py +0 -249
- package/venv/lib/python3.10/site-packages/aiohttp/log.py +0 -8
- package/venv/lib/python3.10/site-packages/aiohttp/multipart.py +0 -1071
- package/venv/lib/python3.10/site-packages/aiohttp/payload.py +0 -519
- package/venv/lib/python3.10/site-packages/aiohttp/payload_streamer.py +0 -78
- package/venv/lib/python3.10/site-packages/aiohttp/py.typed +0 -1
- package/venv/lib/python3.10/site-packages/aiohttp/pytest_plugin.py +0 -436
- package/venv/lib/python3.10/site-packages/aiohttp/resolver.py +0 -187
- package/venv/lib/python3.10/site-packages/aiohttp/streams.py +0 -727
- package/venv/lib/python3.10/site-packages/aiohttp/tcp_helpers.py +0 -37
- package/venv/lib/python3.10/site-packages/aiohttp/test_utils.py +0 -770
- package/venv/lib/python3.10/site-packages/aiohttp/tracing.py +0 -470
- package/venv/lib/python3.10/site-packages/aiohttp/typedefs.py +0 -69
- package/venv/lib/python3.10/site-packages/aiohttp/web.py +0 -605
- package/venv/lib/python3.10/site-packages/aiohttp/web_app.py +0 -620
- package/venv/lib/python3.10/site-packages/aiohttp/web_exceptions.py +0 -452
- package/venv/lib/python3.10/site-packages/aiohttp/web_fileresponse.py +0 -418
- package/venv/lib/python3.10/site-packages/aiohttp/web_log.py +0 -216
- package/venv/lib/python3.10/site-packages/aiohttp/web_middlewares.py +0 -121
- package/venv/lib/python3.10/site-packages/aiohttp/web_protocol.py +0 -750
- package/venv/lib/python3.10/site-packages/aiohttp/web_request.py +0 -916
- package/venv/lib/python3.10/site-packages/aiohttp/web_response.py +0 -840
- package/venv/lib/python3.10/site-packages/aiohttp/web_routedef.py +0 -214
- package/venv/lib/python3.10/site-packages/aiohttp/web_runner.py +0 -399
- package/venv/lib/python3.10/site-packages/aiohttp/web_server.py +0 -84
- package/venv/lib/python3.10/site-packages/aiohttp/web_urldispatcher.py +0 -1301
- package/venv/lib/python3.10/site-packages/aiohttp/web_ws.py +0 -622
- package/venv/lib/python3.10/site-packages/aiohttp/worker.py +0 -252
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/LICENSE.txt +0 -13
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/METADATA +0 -250
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/RECORD +0 -132
- 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 +0 -6
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/top_level.txt +0 -1
- package/venv/lib/python3.10/site-packages/aiosignal/__init__.py +0 -36
- package/venv/lib/python3.10/site-packages/aiosignal/__init__.pyi +0 -12
- 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 +0 -1
- package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/LICENSE +0 -201
- package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/METADATA +0 -123
- package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/RECORD +0 -10
- package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/WHEEL +0 -6
- package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/top_level.txt +0 -1
- package/venv/lib/python3.10/site-packages/async_timeout/__init__.py +0 -276
- package/venv/lib/python3.10/site-packages/async_timeout/py.typed +0 -1
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/LICENSE +0 -13
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/METADATA +0 -163
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/RECORD +0 -11
- 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 +0 -5
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/top_level.txt +0 -1
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/zip-safe +0 -1
- package/venv/lib/python3.10/site-packages/attr/__init__.py +0 -104
- package/venv/lib/python3.10/site-packages/attr/__init__.pyi +0 -389
- package/venv/lib/python3.10/site-packages/attr/_cmp.py +0 -160
- package/venv/lib/python3.10/site-packages/attr/_cmp.pyi +0 -13
- package/venv/lib/python3.10/site-packages/attr/_compat.py +0 -94
- package/venv/lib/python3.10/site-packages/attr/_config.py +0 -31
- package/venv/lib/python3.10/site-packages/attr/_funcs.py +0 -468
- package/venv/lib/python3.10/site-packages/attr/_make.py +0 -3055
- package/venv/lib/python3.10/site-packages/attr/_next_gen.py +0 -623
- package/venv/lib/python3.10/site-packages/attr/_typing_compat.pyi +0 -15
- package/venv/lib/python3.10/site-packages/attr/_version_info.py +0 -86
- package/venv/lib/python3.10/site-packages/attr/_version_info.pyi +0 -9
- package/venv/lib/python3.10/site-packages/attr/converters.py +0 -162
- package/venv/lib/python3.10/site-packages/attr/converters.pyi +0 -19
- package/venv/lib/python3.10/site-packages/attr/exceptions.py +0 -95
- package/venv/lib/python3.10/site-packages/attr/exceptions.pyi +0 -17
- package/venv/lib/python3.10/site-packages/attr/filters.py +0 -72
- package/venv/lib/python3.10/site-packages/attr/filters.pyi +0 -6
- package/venv/lib/python3.10/site-packages/attr/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/attr/setters.py +0 -79
- package/venv/lib/python3.10/site-packages/attr/setters.pyi +0 -20
- package/venv/lib/python3.10/site-packages/attr/validators.py +0 -710
- package/venv/lib/python3.10/site-packages/attr/validators.pyi +0 -86
- package/venv/lib/python3.10/site-packages/attrs/__init__.py +0 -69
- package/venv/lib/python3.10/site-packages/attrs/__init__.pyi +0 -263
- package/venv/lib/python3.10/site-packages/attrs/converters.py +0 -3
- package/venv/lib/python3.10/site-packages/attrs/exceptions.py +0 -3
- package/venv/lib/python3.10/site-packages/attrs/filters.py +0 -3
- package/venv/lib/python3.10/site-packages/attrs/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/attrs/setters.py +0 -3
- package/venv/lib/python3.10/site-packages/attrs/validators.py +0 -3
- package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/METADATA +0 -232
- package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/RECORD +0 -55
- package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/WHEEL +0 -4
- package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/licenses/LICENSE +0 -21
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/METADATA +0 -123
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/RECORD +0 -90
- 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 +0 -4
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/licenses/AUTHORS +0 -49
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/licenses/LICENSE +0 -31
- package/venv/lib/python3.10/site-packages/bs4/__init__.py +0 -1170
- package/venv/lib/python3.10/site-packages/bs4/_deprecation.py +0 -80
- package/venv/lib/python3.10/site-packages/bs4/_typing.py +0 -196
- package/venv/lib/python3.10/site-packages/bs4/_warnings.py +0 -98
- package/venv/lib/python3.10/site-packages/bs4/builder/__init__.py +0 -848
- package/venv/lib/python3.10/site-packages/bs4/builder/_html5lib.py +0 -594
- package/venv/lib/python3.10/site-packages/bs4/builder/_htmlparser.py +0 -474
- package/venv/lib/python3.10/site-packages/bs4/builder/_lxml.py +0 -490
- package/venv/lib/python3.10/site-packages/bs4/css.py +0 -338
- package/venv/lib/python3.10/site-packages/bs4/dammit.py +0 -1408
- package/venv/lib/python3.10/site-packages/bs4/diagnose.py +0 -268
- package/venv/lib/python3.10/site-packages/bs4/element.py +0 -2886
- package/venv/lib/python3.10/site-packages/bs4/exceptions.py +0 -28
- package/venv/lib/python3.10/site-packages/bs4/filter.py +0 -755
- package/venv/lib/python3.10/site-packages/bs4/formatter.py +0 -276
- package/venv/lib/python3.10/site-packages/bs4/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/__init__.py +0 -1305
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4670634698080256.testcase +0 -1
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4818336571064320.testcase +0 -1
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4999465949331456.testcase +0 -1
- 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 +0 -1
- 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 +0 -2
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5843991618256896.testcase +0 -1
- 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 +0 -1
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6241471367348224.testcase +0 -1
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6306874195312640.testcase +0 -1
- 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 +0 -28
- package/venv/lib/python3.10/site-packages/bs4/tests/test_builder_registry.py +0 -139
- package/venv/lib/python3.10/site-packages/bs4/tests/test_css.py +0 -536
- package/venv/lib/python3.10/site-packages/bs4/tests/test_dammit.py +0 -433
- package/venv/lib/python3.10/site-packages/bs4/tests/test_element.py +0 -138
- package/venv/lib/python3.10/site-packages/bs4/tests/test_filter.py +0 -674
- package/venv/lib/python3.10/site-packages/bs4/tests/test_formatter.py +0 -170
- package/venv/lib/python3.10/site-packages/bs4/tests/test_fuzz.py +0 -181
- package/venv/lib/python3.10/site-packages/bs4/tests/test_html5lib.py +0 -264
- package/venv/lib/python3.10/site-packages/bs4/tests/test_htmlparser.py +0 -161
- package/venv/lib/python3.10/site-packages/bs4/tests/test_lxml.py +0 -196
- package/venv/lib/python3.10/site-packages/bs4/tests/test_navigablestring.py +0 -144
- package/venv/lib/python3.10/site-packages/bs4/tests/test_pageelement.py +0 -437
- package/venv/lib/python3.10/site-packages/bs4/tests/test_soup.py +0 -602
- package/venv/lib/python3.10/site-packages/bs4/tests/test_tag.py +0 -241
- package/venv/lib/python3.10/site-packages/bs4/tests/test_tree.py +0 -1452
- package/venv/lib/python3.10/site-packages/cachetools/__init__.py +0 -859
- package/venv/lib/python3.10/site-packages/cachetools/func.py +0 -121
- package/venv/lib/python3.10/site-packages/cachetools/keys.py +0 -62
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/LICENSE +0 -20
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/METADATA +0 -151
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/RECORD +0 -13
- 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 +0 -5
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/top_level.txt +0 -1
- package/venv/lib/python3.10/site-packages/certifi/__init__.py +0 -4
- package/venv/lib/python3.10/site-packages/certifi/__main__.py +0 -12
- package/venv/lib/python3.10/site-packages/certifi/cacert.pem +0 -4897
- package/venv/lib/python3.10/site-packages/certifi/core.py +0 -114
- 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 +0 -1
- package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/LICENSE +0 -20
- package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/METADATA +0 -77
- package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/RECORD +0 -14
- package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/WHEEL +0 -5
- package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/top_level.txt +0 -1
- package/venv/lib/python3.10/site-packages/cffi/__init__.py +0 -14
- package/venv/lib/python3.10/site-packages/cffi/_cffi_errors.h +0 -149
- package/venv/lib/python3.10/site-packages/cffi/_cffi_include.h +0 -389
- package/venv/lib/python3.10/site-packages/cffi/_embedding.h +0 -550
- package/venv/lib/python3.10/site-packages/cffi/_imp_emulation.py +0 -83
- package/venv/lib/python3.10/site-packages/cffi/_shimmed_dist_utils.py +0 -45
- package/venv/lib/python3.10/site-packages/cffi/api.py +0 -967
- package/venv/lib/python3.10/site-packages/cffi/backend_ctypes.py +0 -1121
- package/venv/lib/python3.10/site-packages/cffi/cffi_opcode.py +0 -187
- package/venv/lib/python3.10/site-packages/cffi/commontypes.py +0 -82
- package/venv/lib/python3.10/site-packages/cffi/cparser.py +0 -1015
- package/venv/lib/python3.10/site-packages/cffi/error.py +0 -31
- package/venv/lib/python3.10/site-packages/cffi/ffiplatform.py +0 -113
- package/venv/lib/python3.10/site-packages/cffi/lock.py +0 -30
- package/venv/lib/python3.10/site-packages/cffi/model.py +0 -618
- package/venv/lib/python3.10/site-packages/cffi/parse_c_type.h +0 -181
- package/venv/lib/python3.10/site-packages/cffi/pkgconfig.py +0 -121
- package/venv/lib/python3.10/site-packages/cffi/recompiler.py +0 -1598
- package/venv/lib/python3.10/site-packages/cffi/setuptools_ext.py +0 -216
- package/venv/lib/python3.10/site-packages/cffi/vengine_cpy.py +0 -1084
- package/venv/lib/python3.10/site-packages/cffi/vengine_gen.py +0 -679
- package/venv/lib/python3.10/site-packages/cffi/verifier.py +0 -306
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/LICENSE +0 -26
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/METADATA +0 -40
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/RECORD +0 -48
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/WHEEL +0 -6
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/entry_points.txt +0 -2
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/top_level.txt +0 -2
- package/venv/lib/python3.10/site-packages/charset_normalizer/__init__.py +0 -48
- package/venv/lib/python3.10/site-packages/charset_normalizer/__main__.py +0 -6
- package/venv/lib/python3.10/site-packages/charset_normalizer/api.py +0 -668
- package/venv/lib/python3.10/site-packages/charset_normalizer/cd.py +0 -395
- package/venv/lib/python3.10/site-packages/charset_normalizer/cli/__init__.py +0 -8
- package/venv/lib/python3.10/site-packages/charset_normalizer/cli/__main__.py +0 -321
- package/venv/lib/python3.10/site-packages/charset_normalizer/constant.py +0 -1998
- package/venv/lib/python3.10/site-packages/charset_normalizer/legacy.py +0 -66
- 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 +0 -630
- 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 +0 -360
- package/venv/lib/python3.10/site-packages/charset_normalizer/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/utils.py +0 -408
- package/venv/lib/python3.10/site-packages/charset_normalizer/version.py +0 -8
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/LICENSE +0 -21
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/METADATA +0 -721
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/RECORD +0 -35
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/WHEEL +0 -6
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/entry_points.txt +0 -2
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/top_level.txt +0 -1
- package/venv/lib/python3.10/site-packages/cloudscraper/__init__.py +0 -407
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/2captcha.py +0 -258
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/9kw.py +0 -214
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/__init__.py +0 -47
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/anticaptcha.py +0 -199
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/capmonster.py +0 -199
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/capsolver.py +0 -188
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/deathbycaptcha.py +0 -276
- package/venv/lib/python3.10/site-packages/cloudscraper/cloudflare.py +0 -490
- package/venv/lib/python3.10/site-packages/cloudscraper/exceptions.py +0 -111
- package/venv/lib/python3.10/site-packages/cloudscraper/help.py +0 -72
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/__init__.py +0 -56
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/chakracore.py +0 -103
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/encapsulated.py +0 -62
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/js2py.py +0 -44
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/jsunfuck.py +0 -97
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/native.py +0 -233
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/nodejs.py +0 -49
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/v8.py +0 -33
- package/venv/lib/python3.10/site-packages/cloudscraper/user_agent/__init__.py +0 -124
- package/venv/lib/python3.10/site-packages/cloudscraper/user_agent/browsers.json +0 -7913
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/LICENSE +0 -22
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/METADATA +0 -674
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/RECORD +0 -48
- 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 +0 -6
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/top_level.txt +0 -1
- package/venv/lib/python3.10/site-packages/curl_cffi/__init__.py +0 -37
- package/venv/lib/python3.10/site-packages/curl_cffi/__version__.py +0 -8
- package/venv/lib/python3.10/site-packages/curl_cffi/_asyncio_selector.py +0 -344
- 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 +0 -257
- package/venv/lib/python3.10/site-packages/curl_cffi/const.py +0 -581
- package/venv/lib/python3.10/site-packages/curl_cffi/curl.py +0 -548
- package/venv/lib/python3.10/site-packages/curl_cffi/py.typed +0 -1
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/__init__.py +0 -146
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/cookies.py +0 -355
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/errors.py +0 -7
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/exceptions.py +0 -219
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/headers.py +0 -348
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/impersonate.py +0 -360
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/models.py +0 -292
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/session.py +0 -1021
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/utils.py +0 -663
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/websockets.py +0 -711
- package/venv/lib/python3.10/site-packages/curl_cffi/utils.py +0 -13
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/LICENSE +0 -21
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/METADATA +0 -333
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/RECORD +0 -43
- 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 +0 -6
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/top_level.txt +0 -1
- package/venv/lib/python3.10/site-packages/distutils-precedence.pth +0 -1
- package/venv/lib/python3.10/site-packages/frozenlist/__init__.py +0 -98
- package/venv/lib/python3.10/site-packages/frozenlist/__init__.pyi +0 -47
- 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 +0 -123
- package/venv/lib/python3.10/site-packages/frozenlist/py.typed +0 -1
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/LICENSE +0 -201
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/METADATA +0 -477
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/RECORD +0 -12
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/WHEEL +0 -8
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/top_level.txt +0 -1
- package/venv/lib/python3.10/site-packages/idna/__init__.py +0 -45
- package/venv/lib/python3.10/site-packages/idna/codec.py +0 -122
- package/venv/lib/python3.10/site-packages/idna/compat.py +0 -15
- package/venv/lib/python3.10/site-packages/idna/core.py +0 -437
- package/venv/lib/python3.10/site-packages/idna/idnadata.py +0 -4243
- package/venv/lib/python3.10/site-packages/idna/intranges.py +0 -57
- package/venv/lib/python3.10/site-packages/idna/package_data.py +0 -1
- package/venv/lib/python3.10/site-packages/idna/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/idna/uts46data.py +0 -8681
- package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/LICENSE.md +0 -31
- package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/METADATA +0 -250
- package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/RECORD +0 -22
- package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/WHEEL +0 -4
- package/venv/lib/python3.10/site-packages/multidict/__init__.py +0 -48
- package/venv/lib/python3.10/site-packages/multidict/__init__.pyi +0 -152
- package/venv/lib/python3.10/site-packages/multidict/_abc.py +0 -48
- package/venv/lib/python3.10/site-packages/multidict/_compat.py +0 -14
- 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 +0 -152
- package/venv/lib/python3.10/site-packages/multidict/_multidict_py.py +0 -527
- package/venv/lib/python3.10/site-packages/multidict/py.typed +0 -1
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/LICENSE +0 -13
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/METADATA +0 -140
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/RECORD +0 -19
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/WHEEL +0 -6
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/top_level.txt +0 -1
- package/venv/lib/python3.10/site-packages/paho/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/__init__.py +0 -5
- package/venv/lib/python3.10/site-packages/paho/mqtt/client.py +0 -5004
- package/venv/lib/python3.10/site-packages/paho/mqtt/enums.py +0 -113
- package/venv/lib/python3.10/site-packages/paho/mqtt/matcher.py +0 -78
- package/venv/lib/python3.10/site-packages/paho/mqtt/packettypes.py +0 -43
- package/venv/lib/python3.10/site-packages/paho/mqtt/properties.py +0 -421
- package/venv/lib/python3.10/site-packages/paho/mqtt/publish.py +0 -306
- package/venv/lib/python3.10/site-packages/paho/mqtt/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/reasoncodes.py +0 -223
- package/venv/lib/python3.10/site-packages/paho/mqtt/subscribe.py +0 -281
- package/venv/lib/python3.10/site-packages/paho/mqtt/subscribeoptions.py +0 -113
- package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/METADATA +0 -635
- package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/RECORD +0 -29
- 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 +0 -4
- package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/licenses/LICENSE.txt +0 -3
- package/venv/lib/python3.10/site-packages/pip/__init__.py +0 -13
- package/venv/lib/python3.10/site-packages/pip/__main__.py +0 -31
- package/venv/lib/python3.10/site-packages/pip/_internal/__init__.py +0 -19
- package/venv/lib/python3.10/site-packages/pip/_internal/build_env.py +0 -296
- package/venv/lib/python3.10/site-packages/pip/_internal/cache.py +0 -264
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/__init__.py +0 -4
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/autocompletion.py +0 -171
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/base_command.py +0 -220
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/cmdoptions.py +0 -1018
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/command_context.py +0 -27
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/main.py +0 -70
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/main_parser.py +0 -87
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/parser.py +0 -292
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/progress_bars.py +0 -321
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/req_command.py +0 -506
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/spinners.py +0 -157
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/status_codes.py +0 -6
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/__init__.py +0 -127
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/cache.py +0 -223
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/check.py +0 -53
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/completion.py +0 -96
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/configuration.py +0 -266
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/debug.py +0 -202
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/download.py +0 -140
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/freeze.py +0 -97
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/hash.py +0 -59
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/help.py +0 -41
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/index.py +0 -139
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/install.py +0 -771
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/list.py +0 -363
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/search.py +0 -174
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/show.py +0 -178
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/uninstall.py +0 -105
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/wheel.py +0 -178
- package/venv/lib/python3.10/site-packages/pip/_internal/configuration.py +0 -366
- package/venv/lib/python3.10/site-packages/pip/_internal/distributions/__init__.py +0 -21
- package/venv/lib/python3.10/site-packages/pip/_internal/distributions/base.py +0 -36
- package/venv/lib/python3.10/site-packages/pip/_internal/distributions/installed.py +0 -20
- package/venv/lib/python3.10/site-packages/pip/_internal/distributions/sdist.py +0 -127
- package/venv/lib/python3.10/site-packages/pip/_internal/distributions/wheel.py +0 -31
- package/venv/lib/python3.10/site-packages/pip/_internal/exceptions.py +0 -658
- package/venv/lib/python3.10/site-packages/pip/_internal/index/__init__.py +0 -2
- package/venv/lib/python3.10/site-packages/pip/_internal/index/collector.py +0 -648
- package/venv/lib/python3.10/site-packages/pip/_internal/index/package_finder.py +0 -1004
- package/venv/lib/python3.10/site-packages/pip/_internal/index/sources.py +0 -224
- package/venv/lib/python3.10/site-packages/pip/_internal/locations/__init__.py +0 -520
- package/venv/lib/python3.10/site-packages/pip/_internal/locations/_distutils.py +0 -169
- package/venv/lib/python3.10/site-packages/pip/_internal/locations/_sysconfig.py +0 -219
- package/venv/lib/python3.10/site-packages/pip/_internal/locations/base.py +0 -52
- package/venv/lib/python3.10/site-packages/pip/_internal/main.py +0 -12
- package/venv/lib/python3.10/site-packages/pip/_internal/metadata/__init__.py +0 -62
- package/venv/lib/python3.10/site-packages/pip/_internal/metadata/base.py +0 -546
- package/venv/lib/python3.10/site-packages/pip/_internal/metadata/pkg_resources.py +0 -256
- package/venv/lib/python3.10/site-packages/pip/_internal/models/__init__.py +0 -2
- package/venv/lib/python3.10/site-packages/pip/_internal/models/candidate.py +0 -34
- package/venv/lib/python3.10/site-packages/pip/_internal/models/direct_url.py +0 -220
- package/venv/lib/python3.10/site-packages/pip/_internal/models/format_control.py +0 -80
- package/venv/lib/python3.10/site-packages/pip/_internal/models/index.py +0 -28
- package/venv/lib/python3.10/site-packages/pip/_internal/models/link.py +0 -288
- package/venv/lib/python3.10/site-packages/pip/_internal/models/scheme.py +0 -31
- package/venv/lib/python3.10/site-packages/pip/_internal/models/search_scope.py +0 -129
- package/venv/lib/python3.10/site-packages/pip/_internal/models/selection_prefs.py +0 -51
- package/venv/lib/python3.10/site-packages/pip/_internal/models/target_python.py +0 -110
- package/venv/lib/python3.10/site-packages/pip/_internal/models/wheel.py +0 -89
- package/venv/lib/python3.10/site-packages/pip/_internal/network/__init__.py +0 -2
- package/venv/lib/python3.10/site-packages/pip/_internal/network/auth.py +0 -323
- package/venv/lib/python3.10/site-packages/pip/_internal/network/cache.py +0 -69
- package/venv/lib/python3.10/site-packages/pip/_internal/network/download.py +0 -185
- package/venv/lib/python3.10/site-packages/pip/_internal/network/lazy_wheel.py +0 -210
- package/venv/lib/python3.10/site-packages/pip/_internal/network/session.py +0 -454
- package/venv/lib/python3.10/site-packages/pip/_internal/network/utils.py +0 -96
- package/venv/lib/python3.10/site-packages/pip/_internal/network/xmlrpc.py +0 -60
- 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 +0 -39
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/metadata_editable.py +0 -41
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/metadata_legacy.py +0 -74
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/wheel.py +0 -37
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/wheel_editable.py +0 -46
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/wheel_legacy.py +0 -102
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/check.py +0 -149
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/freeze.py +0 -254
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/__init__.py +0 -2
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/editable_legacy.py +0 -47
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/legacy.py +0 -120
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/wheel.py +0 -738
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/prepare.py +0 -642
- package/venv/lib/python3.10/site-packages/pip/_internal/pyproject.py +0 -168
- package/venv/lib/python3.10/site-packages/pip/_internal/req/__init__.py +0 -94
- package/venv/lib/python3.10/site-packages/pip/_internal/req/constructors.py +0 -490
- package/venv/lib/python3.10/site-packages/pip/_internal/req/req_file.py +0 -536
- package/venv/lib/python3.10/site-packages/pip/_internal/req/req_install.py +0 -858
- package/venv/lib/python3.10/site-packages/pip/_internal/req/req_set.py +0 -189
- package/venv/lib/python3.10/site-packages/pip/_internal/req/req_tracker.py +0 -124
- package/venv/lib/python3.10/site-packages/pip/_internal/req/req_uninstall.py +0 -633
- 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 +0 -20
- 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 +0 -467
- 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 +0 -141
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py +0 -547
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py +0 -739
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +0 -155
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/provider.py +0 -248
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/reporter.py +0 -68
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/requirements.py +0 -166
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py +0 -292
- package/venv/lib/python3.10/site-packages/pip/_internal/self_outdated_check.py +0 -189
- 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 +0 -38
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/appdirs.py +0 -52
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/compat.py +0 -63
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/compatibility_tags.py +0 -165
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/datetime.py +0 -11
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/deprecation.py +0 -120
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/direct_url_helpers.py +0 -87
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/distutils_args.py +0 -42
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/egg_link.py +0 -75
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/encoding.py +0 -36
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/entrypoints.py +0 -27
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/filesystem.py +0 -182
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/filetypes.py +0 -27
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/glibc.py +0 -88
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/hashes.py +0 -144
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/inject_securetransport.py +0 -35
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/logging.py +0 -343
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/misc.py +0 -653
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/models.py +0 -39
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/packaging.py +0 -57
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/setuptools_build.py +0 -195
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/subprocess.py +0 -260
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/temp_dir.py +0 -246
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/unpacking.py +0 -258
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/urls.py +0 -62
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/virtualenv.py +0 -104
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/wheel.py +0 -136
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/__init__.py +0 -15
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/bazaar.py +0 -101
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/git.py +0 -526
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/mercurial.py +0 -163
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/subversion.py +0 -324
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/versioncontrol.py +0 -705
- package/venv/lib/python3.10/site-packages/pip/_internal/wheel_builder.py +0 -377
- package/venv/lib/python3.10/site-packages/pip/_vendor/__init__.py +0 -111
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/__init__.py +0 -18
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/_cmd.py +0 -61
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/adapter.py +0 -137
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/cache.py +0 -43
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +0 -6
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +0 -150
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +0 -37
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/compat.py +0 -32
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/controller.py +0 -415
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/filewrapper.py +0 -111
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/heuristics.py +0 -139
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/serialize.py +0 -186
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/wrapper.py +0 -33
- package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/__init__.py +0 -3
- package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/__main__.py +0 -12
- package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/cacert.pem +0 -4362
- package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/core.py +0 -76
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/__init__.py +0 -83
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/big5freq.py +0 -386
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/big5prober.py +0 -47
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/chardistribution.py +0 -233
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/charsetgroupprober.py +0 -107
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/charsetprober.py +0 -145
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/cli/__init__.py +0 -1
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/cli/chardetect.py +0 -84
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/codingstatemachine.py +0 -88
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/compat.py +0 -36
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/cp949prober.py +0 -49
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/enums.py +0 -76
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/escprober.py +0 -101
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/escsm.py +0 -246
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/eucjpprober.py +0 -92
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euckrfreq.py +0 -195
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euckrprober.py +0 -47
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euctwfreq.py +0 -387
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euctwprober.py +0 -46
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/gb2312freq.py +0 -283
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/gb2312prober.py +0 -46
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/hebrewprober.py +0 -292
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/jisfreq.py +0 -325
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/jpcntx.py +0 -233
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langbulgarianmodel.py +0 -4650
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langgreekmodel.py +0 -4398
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langhebrewmodel.py +0 -4383
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langhungarianmodel.py +0 -4650
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langrussianmodel.py +0 -5718
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langthaimodel.py +0 -4383
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langturkishmodel.py +0 -4383
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/latin1prober.py +0 -145
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/mbcharsetprober.py +0 -91
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/mbcsgroupprober.py +0 -54
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/mbcssm.py +0 -572
- 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 +0 -310
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/sbcharsetprober.py +0 -145
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/sbcsgroupprober.py +0 -83
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/sjisprober.py +0 -92
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/universaldetector.py +0 -286
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/utf8prober.py +0 -82
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/version.py +0 -9
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/__init__.py +0 -6
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/ansi.py +0 -102
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/ansitowin32.py +0 -258
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/initialise.py +0 -80
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/win32.py +0 -152
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/winterm.py +0 -169
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/__init__.py +0 -23
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/compat.py +0 -1116
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/database.py +0 -1345
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/index.py +0 -509
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/locators.py +0 -1300
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/manifest.py +0 -393
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/markers.py +0 -152
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/metadata.py +0 -1058
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/resources.py +0 -358
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/scripts.py +0 -429
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/util.py +0 -1932
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/version.py +0 -739
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/wheel.py +0 -1053
- package/venv/lib/python3.10/site-packages/pip/_vendor/distro.py +0 -1386
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/__init__.py +0 -35
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_ihatexml.py +0 -289
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_inputstream.py +0 -918
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_tokenizer.py +0 -1735
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/__init__.py +0 -5
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/_base.py +0 -40
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/py.py +0 -67
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_utils.py +0 -159
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/constants.py +0 -2946
- 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 +0 -29
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/base.py +0 -12
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/inject_meta_charset.py +0 -73
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/lint.py +0 -93
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/optionaltags.py +0 -207
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/sanitizer.py +0 -916
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/whitespace.py +0 -38
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/html5parser.py +0 -2795
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/serializer.py +0 -409
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treeadapters/__init__.py +0 -30
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treeadapters/genshi.py +0 -54
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treeadapters/sax.py +0 -50
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/__init__.py +0 -88
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/base.py +0 -417
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/dom.py +0 -239
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/etree.py +0 -343
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/etree_lxml.py +0 -392
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/__init__.py +0 -154
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/base.py +0 -252
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/dom.py +0 -43
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/etree.py +0 -131
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.py +0 -215
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/genshi.py +0 -69
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/__init__.py +0 -44
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/codec.py +0 -112
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/compat.py +0 -13
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/core.py +0 -397
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/idnadata.py +0 -2137
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/intranges.py +0 -54
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/package_data.py +0 -2
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/uts46data.py +0 -8512
- package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/__init__.py +0 -54
- package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/_version.py +0 -1
- package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/exceptions.py +0 -48
- package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/ext.py +0 -193
- package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/fallback.py +0 -1012
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/__about__.py +0 -26
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/__init__.py +0 -25
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_manylinux.py +0 -301
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_musllinux.py +0 -136
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_structures.py +0 -61
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/markers.py +0 -304
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/requirements.py +0 -146
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/specifiers.py +0 -802
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/tags.py +0 -487
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/utils.py +0 -136
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/version.py +0 -504
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/__init__.py +0 -6
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/build.py +0 -127
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/check.py +0 -207
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/colorlog.py +0 -115
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/compat.py +0 -51
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/dirtools.py +0 -44
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/envbuild.py +0 -171
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/__init__.py +0 -17
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py +0 -363
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/meta.py +0 -92
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/wrappers.py +0 -375
- package/venv/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py +0 -3296
- package/venv/lib/python3.10/site-packages/pip/_vendor/pkg_resources/py31compat.py +0 -23
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/__init__.py +0 -331
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/__main__.py +0 -46
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/android.py +0 -119
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/api.py +0 -156
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/macos.py +0 -64
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/unix.py +0 -181
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/version.py +0 -4
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/windows.py +0 -182
- package/venv/lib/python3.10/site-packages/pip/_vendor/progress/__init__.py +0 -189
- package/venv/lib/python3.10/site-packages/pip/_vendor/progress/bar.py +0 -93
- package/venv/lib/python3.10/site-packages/pip/_vendor/progress/colors.py +0 -79
- package/venv/lib/python3.10/site-packages/pip/_vendor/progress/counter.py +0 -47
- package/venv/lib/python3.10/site-packages/pip/_vendor/progress/spinner.py +0 -45
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/__init__.py +0 -83
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/__main__.py +0 -17
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/cmdline.py +0 -663
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/console.py +0 -70
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/filter.py +0 -71
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/filters/__init__.py +0 -937
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatter.py +0 -94
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/__init__.py +0 -153
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/_mapping.py +0 -84
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/bbcode.py +0 -108
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/groff.py +0 -168
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/html.py +0 -983
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/img.py +0 -641
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/irc.py +0 -179
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/latex.py +0 -511
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/other.py +0 -161
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/pangomarkup.py +0 -83
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/rtf.py +0 -146
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/svg.py +0 -188
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/terminal.py +0 -127
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/terminal256.py +0 -338
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexer.py +0 -879
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexers/__init__.py +0 -341
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexers/_mapping.py +0 -580
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexers/python.py +0 -1188
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/modeline.py +0 -43
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/plugin.py +0 -69
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/regexopt.py +0 -91
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/scanner.py +0 -104
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/sphinxext.py +0 -155
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/style.py +0 -197
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/styles/__init__.py +0 -93
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/token.py +0 -212
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/unistring.py +0 -153
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/util.py +0 -308
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/__init__.py +0 -328
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/actions.py +0 -207
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/common.py +0 -424
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/core.py +0 -5789
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/diagram/__init__.py +0 -593
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/exceptions.py +0 -267
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/helpers.py +0 -1069
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/results.py +0 -760
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/testing.py +0 -331
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/unicode.py +0 -332
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/util.py +0 -235
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/__init__.py +0 -154
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/__version__.py +0 -14
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/_internal_utils.py +0 -42
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/adapters.py +0 -538
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/api.py +0 -159
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/auth.py +0 -305
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/certs.py +0 -18
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/compat.py +0 -77
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/cookies.py +0 -549
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/exceptions.py +0 -133
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/help.py +0 -132
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/hooks.py +0 -34
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/models.py +0 -973
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/packages.py +0 -16
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/sessions.py +0 -771
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/status_codes.py +0 -123
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/structures.py +0 -105
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/utils.py +0 -1060
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/__init__.py +0 -26
- 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 +0 -6
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/providers.py +0 -133
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/reporters.py +0 -43
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py +0 -482
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/structs.py +0 -165
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/__init__.py +0 -172
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/__main__.py +0 -280
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_cell_widths.py +0 -451
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_emoji_codes.py +0 -3610
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_emoji_replace.py +0 -32
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_extension.py +0 -10
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_inspect.py +0 -210
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_log_render.py +0 -94
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_loop.py +0 -43
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_lru_cache.py +0 -34
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_palettes.py +0 -309
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_pick.py +0 -17
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_ratio.py +0 -160
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_spinners.py +0 -848
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_stack.py +0 -16
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_timer.py +0 -19
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_windows.py +0 -72
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_wrap.py +0 -55
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/abc.py +0 -33
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/align.py +0 -312
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/ansi.py +0 -228
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/bar.py +0 -94
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/box.py +0 -483
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/cells.py +0 -147
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/color.py +0 -581
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/color_triplet.py +0 -38
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/columns.py +0 -187
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/console.py +0 -2211
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/constrain.py +0 -37
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/containers.py +0 -167
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/control.py +0 -175
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/default_styles.py +0 -183
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/diagnose.py +0 -6
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/emoji.py +0 -96
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/errors.py +0 -34
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/file_proxy.py +0 -54
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/filesize.py +0 -89
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/highlighter.py +0 -147
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/json.py +0 -140
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/jupyter.py +0 -92
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/layout.py +0 -444
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/live.py +0 -365
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/live_render.py +0 -113
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/logging.py +0 -268
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/markup.py +0 -244
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/measure.py +0 -149
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/padding.py +0 -141
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/pager.py +0 -34
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/palette.py +0 -100
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/panel.py +0 -250
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/pretty.py +0 -903
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/progress.py +0 -1036
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/progress_bar.py +0 -216
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/prompt.py +0 -376
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/protocol.py +0 -42
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/region.py +0 -10
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/repr.py +0 -151
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/rule.py +0 -115
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/scope.py +0 -86
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/screen.py +0 -54
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/segment.py +0 -720
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/spinner.py +0 -134
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/status.py +0 -132
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/style.py +0 -785
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/styled.py +0 -42
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/syntax.py +0 -735
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/table.py +0 -968
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/tabulate.py +0 -51
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/terminal_theme.py +0 -55
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/text.py +0 -1282
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/theme.py +0 -112
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/themes.py +0 -5
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/traceback.py +0 -678
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/tree.py +0 -249
- package/venv/lib/python3.10/site-packages/pip/_vendor/six.py +0 -998
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/__init__.py +0 -517
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/_asyncio.py +0 -92
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/_utils.py +0 -68
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/after.py +0 -46
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/before.py +0 -41
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/before_sleep.py +0 -58
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/nap.py +0 -43
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/retry.py +0 -213
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/stop.py +0 -96
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/tornadoweb.py +0 -59
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/wait.py +0 -191
- package/venv/lib/python3.10/site-packages/pip/_vendor/tomli/__init__.py +0 -6
- package/venv/lib/python3.10/site-packages/pip/_vendor/tomli/_parser.py +0 -703
- package/venv/lib/python3.10/site-packages/pip/_vendor/tomli/_re.py +0 -83
- package/venv/lib/python3.10/site-packages/pip/_vendor/typing_extensions.py +0 -2296
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/__init__.py +0 -85
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/_collections.py +0 -355
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/_version.py +0 -2
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/connection.py +0 -569
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/connectionpool.py +0 -1113
- 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 +0 -36
- 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 +0 -519
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +0 -397
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/appengine.py +0 -314
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +0 -130
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +0 -511
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +0 -922
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/socks.py +0 -216
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/exceptions.py +0 -323
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/fields.py +0 -274
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/filepost.py +0 -98
- 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 +0 -51
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/packages/six.py +0 -1077
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/poolmanager.py +0 -539
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/request.py +0 -170
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py +0 -821
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/__init__.py +0 -49
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/connection.py +0 -149
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/proxy.py +0 -57
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/queue.py +0 -22
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/request.py +0 -143
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/response.py +0 -107
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/retry.py +0 -622
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/ssl_.py +0 -495
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py +0 -161
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/ssltransport.py +0 -221
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/timeout.py +0 -268
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/url.py +0 -432
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/wait.py +0 -153
- package/venv/lib/python3.10/site-packages/pip/_vendor/vendor.txt +0 -25
- package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/__init__.py +0 -342
- package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/labels.py +0 -231
- package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/mklabels.py +0 -59
- package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/tests.py +0 -153
- package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/x_user_defined.py +0 -325
- package/venv/lib/python3.10/site-packages/pip/py.typed +0 -4
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/LICENSE.txt +0 -20
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/METADATA +0 -92
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/RECORD +0 -1037
- 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 +0 -5
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/entry_points.txt +0 -5
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/top_level.txt +0 -1
- package/venv/lib/python3.10/site-packages/pkg_resources/__init__.py +0 -3303
- 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 +0 -608
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__about__.py +0 -26
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__init__.py +0 -25
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/_manylinux.py +0 -301
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/_musllinux.py +0 -136
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/_structures.py +0 -67
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/markers.py +0 -304
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/requirements.py +0 -146
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/specifiers.py +0 -828
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/tags.py +0 -484
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/utils.py +0 -136
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/version.py +0 -504
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/pyparsing.py +0 -5742
- package/venv/lib/python3.10/site-packages/pkg_resources/extern/__init__.py +0 -73
- package/venv/lib/python3.10/site-packages/pkg_resources/tests/data/my-test-package-source/setup.py +0 -6
- package/venv/lib/python3.10/site-packages/propcache/__init__.py +0 -32
- package/venv/lib/python3.10/site-packages/propcache/_helpers.py +0 -39
- 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 +0 -84
- package/venv/lib/python3.10/site-packages/propcache/_helpers_py.py +0 -56
- package/venv/lib/python3.10/site-packages/propcache/api.py +0 -8
- package/venv/lib/python3.10/site-packages/propcache/py.typed +0 -1
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/LICENSE +0 -202
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/METADATA +0 -275
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/NOTICE +0 -13
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/RECORD +0 -18
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/WHEEL +0 -6
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/top_level.txt +0 -1
- package/venv/lib/python3.10/site-packages/pycparser/__init__.py +0 -93
- package/venv/lib/python3.10/site-packages/pycparser/_ast_gen.py +0 -336
- package/venv/lib/python3.10/site-packages/pycparser/_build_tables.py +0 -40
- package/venv/lib/python3.10/site-packages/pycparser/_c_ast.cfg +0 -195
- package/venv/lib/python3.10/site-packages/pycparser/ast_transforms.py +0 -164
- package/venv/lib/python3.10/site-packages/pycparser/c_ast.py +0 -1125
- package/venv/lib/python3.10/site-packages/pycparser/c_generator.py +0 -502
- package/venv/lib/python3.10/site-packages/pycparser/c_lexer.py +0 -555
- package/venv/lib/python3.10/site-packages/pycparser/c_parser.py +0 -1950
- package/venv/lib/python3.10/site-packages/pycparser/lextab.py +0 -10
- package/venv/lib/python3.10/site-packages/pycparser/ply/__init__.py +0 -5
- package/venv/lib/python3.10/site-packages/pycparser/ply/cpp.py +0 -905
- package/venv/lib/python3.10/site-packages/pycparser/ply/ctokens.py +0 -133
- package/venv/lib/python3.10/site-packages/pycparser/ply/lex.py +0 -1099
- package/venv/lib/python3.10/site-packages/pycparser/ply/yacc.py +0 -3494
- package/venv/lib/python3.10/site-packages/pycparser/ply/ygen.py +0 -74
- package/venv/lib/python3.10/site-packages/pycparser/plyparser.py +0 -133
- package/venv/lib/python3.10/site-packages/pycparser/yacctab.py +0 -369
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/LICENSE +0 -27
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/METADATA +0 -28
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/RECORD +0 -41
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/WHEEL +0 -5
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/top_level.txt +0 -1
- package/venv/lib/python3.10/site-packages/pyparsing/__init__.py +0 -326
- package/venv/lib/python3.10/site-packages/pyparsing/actions.py +0 -219
- package/venv/lib/python3.10/site-packages/pyparsing/common.py +0 -434
- package/venv/lib/python3.10/site-packages/pyparsing/core.py +0 -6226
- package/venv/lib/python3.10/site-packages/pyparsing/diagram/__init__.py +0 -744
- package/venv/lib/python3.10/site-packages/pyparsing/exceptions.py +0 -314
- package/venv/lib/python3.10/site-packages/pyparsing/helpers.py +0 -1102
- package/venv/lib/python3.10/site-packages/pyparsing/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/pyparsing/results.py +0 -816
- package/venv/lib/python3.10/site-packages/pyparsing/testing.py +0 -362
- package/venv/lib/python3.10/site-packages/pyparsing/unicode.py +0 -356
- package/venv/lib/python3.10/site-packages/pyparsing/util.py +0 -398
- package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/LICENSE +0 -18
- package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/METADATA +0 -124
- package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/RECORD +0 -28
- package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/WHEEL +0 -4
- package/venv/lib/python3.10/site-packages/requests/__init__.py +0 -184
- package/venv/lib/python3.10/site-packages/requests/__version__.py +0 -14
- package/venv/lib/python3.10/site-packages/requests/_internal_utils.py +0 -50
- package/venv/lib/python3.10/site-packages/requests/adapters.py +0 -719
- package/venv/lib/python3.10/site-packages/requests/api.py +0 -157
- package/venv/lib/python3.10/site-packages/requests/auth.py +0 -314
- package/venv/lib/python3.10/site-packages/requests/certs.py +0 -17
- package/venv/lib/python3.10/site-packages/requests/compat.py +0 -94
- package/venv/lib/python3.10/site-packages/requests/cookies.py +0 -561
- package/venv/lib/python3.10/site-packages/requests/exceptions.py +0 -151
- package/venv/lib/python3.10/site-packages/requests/help.py +0 -134
- package/venv/lib/python3.10/site-packages/requests/hooks.py +0 -33
- package/venv/lib/python3.10/site-packages/requests/models.py +0 -1037
- package/venv/lib/python3.10/site-packages/requests/packages.py +0 -23
- package/venv/lib/python3.10/site-packages/requests/sessions.py +0 -831
- package/venv/lib/python3.10/site-packages/requests/status_codes.py +0 -128
- package/venv/lib/python3.10/site-packages/requests/structures.py +0 -99
- package/venv/lib/python3.10/site-packages/requests/utils.py +0 -1096
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/LICENSE +0 -175
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/METADATA +0 -119
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/RECORD +0 -43
- 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 +0 -5
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/top_level.txt +0 -1
- package/venv/lib/python3.10/site-packages/requests_toolbelt/__init__.py +0 -34
- package/venv/lib/python3.10/site-packages/requests_toolbelt/_compat.py +0 -302
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/__init__.py +0 -15
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/appengine.py +0 -206
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/fingerprint.py +0 -48
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/host_header_ssl.py +0 -43
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/socket_options.py +0 -129
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/source.py +0 -67
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/ssl.py +0 -66
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/x509.py +0 -196
- 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 +0 -29
- package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/guess.py +0 -146
- package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/handler.py +0 -142
- package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/http_proxy_digest.py +0 -103
- 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 +0 -7
- 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 +0 -176
- package/venv/lib/python3.10/site-packages/requests_toolbelt/downloadutils/tee.py +0 -123
- package/venv/lib/python3.10/site-packages/requests_toolbelt/exceptions.py +0 -25
- package/venv/lib/python3.10/site-packages/requests_toolbelt/multipart/__init__.py +0 -31
- package/venv/lib/python3.10/site-packages/requests_toolbelt/multipart/decoder.py +0 -156
- package/venv/lib/python3.10/site-packages/requests_toolbelt/multipart/encoder.py +0 -655
- package/venv/lib/python3.10/site-packages/requests_toolbelt/sessions.py +0 -89
- package/venv/lib/python3.10/site-packages/requests_toolbelt/streaming_iterator.py +0 -116
- package/venv/lib/python3.10/site-packages/requests_toolbelt/threaded/__init__.py +0 -97
- package/venv/lib/python3.10/site-packages/requests_toolbelt/threaded/pool.py +0 -211
- package/venv/lib/python3.10/site-packages/requests_toolbelt/threaded/thread.py +0 -53
- 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 +0 -91
- package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/dump.py +0 -198
- package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/formdata.py +0 -108
- package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/user_agent.py +0 -143
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/AUTHORS.rst +0 -57
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/LICENSE +0 -13
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/METADATA +0 -521
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/RECORD +0 -75
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/WHEEL +0 -6
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/top_level.txt +0 -1
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/__init__.py +0 -1
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/_scrypted_arlo_go.cpython-310-x86_64-linux-gnu.h +0 -555
- 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 +0 -344
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/go.py +0 -2215
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go.c +0 -6019
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go.go +0 -3612
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go.py +0 -1910
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go_go.h +0 -555
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/METADATA +0 -11
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/RECORD +0 -19
- 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 +0 -8
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/top_level.txt +0 -1
- package/venv/lib/python3.10/site-packages/setuptools/__init__.py +0 -242
- package/venv/lib/python3.10/site-packages/setuptools/_deprecation_warning.py +0 -7
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/__init__.py +0 -24
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/_msvccompiler.py +0 -561
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/archive_util.py +0 -256
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/bcppcompiler.py +0 -393
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/ccompiler.py +0 -1123
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/cmd.py +0 -403
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/__init__.py +0 -31
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist.py +0 -143
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_dumb.py +0 -123
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_msi.py +0 -749
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_rpm.py +0 -579
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_wininst.py +0 -377
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build.py +0 -157
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_clib.py +0 -209
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py +0 -755
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_py.py +0 -392
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_scripts.py +0 -152
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/check.py +0 -148
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/clean.py +0 -76
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/config.py +0 -344
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install.py +0 -721
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_data.py +0 -79
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_egg_info.py +0 -84
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_headers.py +0 -47
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_lib.py +0 -217
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_scripts.py +0 -60
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/py37compat.py +0 -30
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/register.py +0 -304
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py +0 -494
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/upload.py +0 -214
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/config.py +0 -130
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/core.py +0 -249
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/cygwinccompiler.py +0 -425
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/debug.py +0 -5
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/dep_util.py +0 -92
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/dir_util.py +0 -210
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/dist.py +0 -1257
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/errors.py +0 -97
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/extension.py +0 -240
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/fancy_getopt.py +0 -457
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/file_util.py +0 -238
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/filelist.py +0 -355
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/log.py +0 -77
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/msvc9compiler.py +0 -788
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/msvccompiler.py +0 -643
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/py35compat.py +0 -19
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/py38compat.py +0 -7
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/spawn.py +0 -106
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/sysconfig.py +0 -601
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/text_file.py +0 -286
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/unixccompiler.py +0 -325
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/util.py +0 -548
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/version.py +0 -363
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/versionpredicate.py +0 -169
- package/venv/lib/python3.10/site-packages/setuptools/_imp.py +0 -82
- 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 +0 -4
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/more_itertools/more.py +0 -3825
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/more_itertools/recipes.py +0 -620
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/ordered_set.py +0 -488
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/__about__.py +0 -26
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/__init__.py +0 -25
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/_manylinux.py +0 -301
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/_musllinux.py +0 -136
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/_structures.py +0 -67
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/markers.py +0 -304
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/requirements.py +0 -146
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/specifiers.py +0 -828
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/tags.py +0 -484
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/utils.py +0 -136
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/version.py +0 -504
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/pyparsing.py +0 -5742
- package/venv/lib/python3.10/site-packages/setuptools/archive_util.py +0 -205
- package/venv/lib/python3.10/site-packages/setuptools/build_meta.py +0 -290
- 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 +0 -8
- package/venv/lib/python3.10/site-packages/setuptools/command/alias.py +0 -78
- package/venv/lib/python3.10/site-packages/setuptools/command/bdist_egg.py +0 -456
- package/venv/lib/python3.10/site-packages/setuptools/command/bdist_rpm.py +0 -40
- package/venv/lib/python3.10/site-packages/setuptools/command/build_clib.py +0 -101
- package/venv/lib/python3.10/site-packages/setuptools/command/build_ext.py +0 -328
- package/venv/lib/python3.10/site-packages/setuptools/command/build_py.py +0 -242
- package/venv/lib/python3.10/site-packages/setuptools/command/develop.py +0 -193
- package/venv/lib/python3.10/site-packages/setuptools/command/dist_info.py +0 -36
- package/venv/lib/python3.10/site-packages/setuptools/command/easy_install.py +0 -2354
- package/venv/lib/python3.10/site-packages/setuptools/command/egg_info.py +0 -755
- package/venv/lib/python3.10/site-packages/setuptools/command/install.py +0 -132
- package/venv/lib/python3.10/site-packages/setuptools/command/install_egg_info.py +0 -82
- package/venv/lib/python3.10/site-packages/setuptools/command/install_lib.py +0 -148
- package/venv/lib/python3.10/site-packages/setuptools/command/install_scripts.py +0 -69
- package/venv/lib/python3.10/site-packages/setuptools/command/launcher manifest.xml +0 -15
- package/venv/lib/python3.10/site-packages/setuptools/command/py36compat.py +0 -134
- package/venv/lib/python3.10/site-packages/setuptools/command/register.py +0 -18
- package/venv/lib/python3.10/site-packages/setuptools/command/rotate.py +0 -64
- package/venv/lib/python3.10/site-packages/setuptools/command/saveopts.py +0 -22
- package/venv/lib/python3.10/site-packages/setuptools/command/sdist.py +0 -196
- package/venv/lib/python3.10/site-packages/setuptools/command/setopt.py +0 -149
- package/venv/lib/python3.10/site-packages/setuptools/command/test.py +0 -252
- package/venv/lib/python3.10/site-packages/setuptools/command/upload.py +0 -17
- package/venv/lib/python3.10/site-packages/setuptools/command/upload_docs.py +0 -202
- package/venv/lib/python3.10/site-packages/setuptools/config.py +0 -751
- package/venv/lib/python3.10/site-packages/setuptools/dep_util.py +0 -25
- package/venv/lib/python3.10/site-packages/setuptools/depends.py +0 -176
- package/venv/lib/python3.10/site-packages/setuptools/dist.py +0 -1156
- package/venv/lib/python3.10/site-packages/setuptools/errors.py +0 -40
- package/venv/lib/python3.10/site-packages/setuptools/extension.py +0 -55
- package/venv/lib/python3.10/site-packages/setuptools/extern/__init__.py +0 -73
- package/venv/lib/python3.10/site-packages/setuptools/glob.py +0 -167
- 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 +0 -104
- package/venv/lib/python3.10/site-packages/setuptools/launch.py +0 -36
- package/venv/lib/python3.10/site-packages/setuptools/monkey.py +0 -177
- package/venv/lib/python3.10/site-packages/setuptools/msvc.py +0 -1805
- package/venv/lib/python3.10/site-packages/setuptools/namespaces.py +0 -107
- package/venv/lib/python3.10/site-packages/setuptools/package_index.py +0 -1150
- package/venv/lib/python3.10/site-packages/setuptools/py34compat.py +0 -13
- package/venv/lib/python3.10/site-packages/setuptools/sandbox.py +0 -530
- package/venv/lib/python3.10/site-packages/setuptools/script (dev).tmpl +0 -6
- package/venv/lib/python3.10/site-packages/setuptools/script.tmpl +0 -3
- package/venv/lib/python3.10/site-packages/setuptools/unicode_utils.py +0 -42
- package/venv/lib/python3.10/site-packages/setuptools/version.py +0 -6
- package/venv/lib/python3.10/site-packages/setuptools/wheel.py +0 -213
- package/venv/lib/python3.10/site-packages/setuptools/windows_support.py +0 -29
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/LICENSE +0 -19
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/METADATA +0 -125
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/RECORD +0 -298
- 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 +0 -5
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/entry_points.txt +0 -56
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/top_level.txt +0 -4
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/LICENSE +0 -18
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/METADATA +0 -43
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/RECORD +0 -8
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/WHEEL +0 -6
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/top_level.txt +0 -1
- package/venv/lib/python3.10/site-packages/six.py +0 -1003
- package/venv/lib/python3.10/site-packages/soupsieve/__init__.py +0 -168
- package/venv/lib/python3.10/site-packages/soupsieve/__meta__.py +0 -197
- package/venv/lib/python3.10/site-packages/soupsieve/css_match.py +0 -1582
- package/venv/lib/python3.10/site-packages/soupsieve/css_parser.py +0 -1289
- package/venv/lib/python3.10/site-packages/soupsieve/css_types.py +0 -407
- package/venv/lib/python3.10/site-packages/soupsieve/pretty.py +0 -139
- package/venv/lib/python3.10/site-packages/soupsieve/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/soupsieve/util.py +0 -117
- package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/METADATA +0 -114
- package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/RECORD +0 -20
- package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/WHEEL +0 -4
- package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/licenses/LICENSE.md +0 -21
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/PKG-INFO +0 -98
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/SOURCES.txt +0 -12
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/dependency_links.txt +0 -1
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/installed-files.txt +0 -7
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/requires.txt +0 -2
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/top_level.txt +0 -1
- package/venv/lib/python3.10/site-packages/sseclient.py +0 -165
- package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/LICENSE +0 -279
- package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/METADATA +0 -67
- package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/RECORD +0 -7
- package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/WHEEL +0 -4
- package/venv/lib/python3.10/site-packages/typing_extensions.py +0 -3641
- package/venv/lib/python3.10/site-packages/urllib3/__init__.py +0 -211
- package/venv/lib/python3.10/site-packages/urllib3/_base_connection.py +0 -165
- package/venv/lib/python3.10/site-packages/urllib3/_collections.py +0 -479
- package/venv/lib/python3.10/site-packages/urllib3/_request_methods.py +0 -278
- package/venv/lib/python3.10/site-packages/urllib3/_version.py +0 -16
- package/venv/lib/python3.10/site-packages/urllib3/connection.py +0 -1044
- package/venv/lib/python3.10/site-packages/urllib3/connectionpool.py +0 -1178
- 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 +0 -16
- package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/connection.py +0 -255
- package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/emscripten_fetch_worker.js +0 -110
- package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/fetch.py +0 -708
- package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/request.py +0 -22
- package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/response.py +0 -285
- package/venv/lib/python3.10/site-packages/urllib3/contrib/pyopenssl.py +0 -554
- package/venv/lib/python3.10/site-packages/urllib3/contrib/socks.py +0 -228
- package/venv/lib/python3.10/site-packages/urllib3/exceptions.py +0 -327
- package/venv/lib/python3.10/site-packages/urllib3/fields.py +0 -341
- package/venv/lib/python3.10/site-packages/urllib3/filepost.py +0 -89
- package/venv/lib/python3.10/site-packages/urllib3/http2/__init__.py +0 -53
- package/venv/lib/python3.10/site-packages/urllib3/http2/connection.py +0 -356
- package/venv/lib/python3.10/site-packages/urllib3/http2/probe.py +0 -87
- package/venv/lib/python3.10/site-packages/urllib3/poolmanager.py +0 -637
- package/venv/lib/python3.10/site-packages/urllib3/py.typed +0 -2
- package/venv/lib/python3.10/site-packages/urllib3/response.py +0 -1278
- package/venv/lib/python3.10/site-packages/urllib3/util/__init__.py +0 -42
- package/venv/lib/python3.10/site-packages/urllib3/util/connection.py +0 -137
- package/venv/lib/python3.10/site-packages/urllib3/util/proxy.py +0 -43
- package/venv/lib/python3.10/site-packages/urllib3/util/request.py +0 -258
- package/venv/lib/python3.10/site-packages/urllib3/util/response.py +0 -101
- package/venv/lib/python3.10/site-packages/urllib3/util/retry.py +0 -533
- package/venv/lib/python3.10/site-packages/urllib3/util/ssl_.py +0 -504
- package/venv/lib/python3.10/site-packages/urllib3/util/ssl_match_hostname.py +0 -159
- package/venv/lib/python3.10/site-packages/urllib3/util/ssltransport.py +0 -271
- package/venv/lib/python3.10/site-packages/urllib3/util/timeout.py +0 -275
- package/venv/lib/python3.10/site-packages/urllib3/util/url.py +0 -469
- package/venv/lib/python3.10/site-packages/urllib3/util/util.py +0 -42
- package/venv/lib/python3.10/site-packages/urllib3/util/wait.py +0 -124
- package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/METADATA +0 -154
- package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/RECORD +0 -80
- 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 +0 -4
- package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/licenses/LICENSE.txt +0 -21
- package/venv/lib/python3.10/site-packages/yarl/__init__.py +0 -14
- package/venv/lib/python3.10/site-packages/yarl/_parse.py +0 -189
- package/venv/lib/python3.10/site-packages/yarl/_path.py +0 -41
- package/venv/lib/python3.10/site-packages/yarl/_query.py +0 -118
- package/venv/lib/python3.10/site-packages/yarl/_quoters.py +0 -32
- package/venv/lib/python3.10/site-packages/yarl/_quoting.py +0 -18
- 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 +0 -16
- package/venv/lib/python3.10/site-packages/yarl/_quoting_c.pyx +0 -423
- package/venv/lib/python3.10/site-packages/yarl/_quoting_py.py +0 -197
- package/venv/lib/python3.10/site-packages/yarl/_url.py +0 -1584
- package/venv/lib/python3.10/site-packages/yarl/py.typed +0 -1
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/INSTALLER +0 -1
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/LICENSE +0 -202
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/METADATA +0 -2279
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/NOTICE +0 -13
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/RECORD +0 -27
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/WHEEL +0 -6
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/top_level.txt +0 -1
- package/venv/pyvenv.cfg +0 -3
|
@@ -1,1315 +0,0 @@
|
|
|
1
|
-
import asyncio
|
|
2
|
-
import codecs
|
|
3
|
-
import contextlib
|
|
4
|
-
import functools
|
|
5
|
-
import io
|
|
6
|
-
import re
|
|
7
|
-
import sys
|
|
8
|
-
import traceback
|
|
9
|
-
import warnings
|
|
10
|
-
from hashlib import md5, sha1, sha256
|
|
11
|
-
from http.cookies import CookieError, Morsel, SimpleCookie
|
|
12
|
-
from types import MappingProxyType, TracebackType
|
|
13
|
-
from typing import (
|
|
14
|
-
TYPE_CHECKING,
|
|
15
|
-
Any,
|
|
16
|
-
Callable,
|
|
17
|
-
Dict,
|
|
18
|
-
Iterable,
|
|
19
|
-
List,
|
|
20
|
-
Mapping,
|
|
21
|
-
NamedTuple,
|
|
22
|
-
Optional,
|
|
23
|
-
Tuple,
|
|
24
|
-
Type,
|
|
25
|
-
Union,
|
|
26
|
-
)
|
|
27
|
-
|
|
28
|
-
import attr
|
|
29
|
-
from multidict import CIMultiDict, CIMultiDictProxy, MultiDict, MultiDictProxy
|
|
30
|
-
from yarl import URL
|
|
31
|
-
|
|
32
|
-
from . import hdrs, helpers, http, multipart, payload
|
|
33
|
-
from .abc import AbstractStreamWriter
|
|
34
|
-
from .client_exceptions import (
|
|
35
|
-
ClientConnectionError,
|
|
36
|
-
ClientOSError,
|
|
37
|
-
ClientResponseError,
|
|
38
|
-
ContentTypeError,
|
|
39
|
-
InvalidURL,
|
|
40
|
-
ServerFingerprintMismatch,
|
|
41
|
-
)
|
|
42
|
-
from .compression_utils import HAS_BROTLI
|
|
43
|
-
from .formdata import FormData
|
|
44
|
-
from .helpers import (
|
|
45
|
-
_SENTINEL,
|
|
46
|
-
BaseTimerContext,
|
|
47
|
-
BasicAuth,
|
|
48
|
-
HeadersMixin,
|
|
49
|
-
TimerNoop,
|
|
50
|
-
basicauth_from_netrc,
|
|
51
|
-
netrc_from_env,
|
|
52
|
-
noop,
|
|
53
|
-
reify,
|
|
54
|
-
set_exception,
|
|
55
|
-
set_result,
|
|
56
|
-
)
|
|
57
|
-
from .http import (
|
|
58
|
-
SERVER_SOFTWARE,
|
|
59
|
-
HttpVersion,
|
|
60
|
-
HttpVersion10,
|
|
61
|
-
HttpVersion11,
|
|
62
|
-
StreamWriter,
|
|
63
|
-
)
|
|
64
|
-
from .log import client_logger
|
|
65
|
-
from .streams import StreamReader
|
|
66
|
-
from .typedefs import (
|
|
67
|
-
DEFAULT_JSON_DECODER,
|
|
68
|
-
JSONDecoder,
|
|
69
|
-
LooseCookies,
|
|
70
|
-
LooseHeaders,
|
|
71
|
-
Query,
|
|
72
|
-
RawHeaders,
|
|
73
|
-
)
|
|
74
|
-
|
|
75
|
-
if TYPE_CHECKING:
|
|
76
|
-
import ssl
|
|
77
|
-
from ssl import SSLContext
|
|
78
|
-
else:
|
|
79
|
-
try:
|
|
80
|
-
import ssl
|
|
81
|
-
from ssl import SSLContext
|
|
82
|
-
except ImportError: # pragma: no cover
|
|
83
|
-
ssl = None # type: ignore[assignment]
|
|
84
|
-
SSLContext = object # type: ignore[misc,assignment]
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
__all__ = ("ClientRequest", "ClientResponse", "RequestInfo", "Fingerprint")
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
if TYPE_CHECKING:
|
|
91
|
-
from .client import ClientSession
|
|
92
|
-
from .connector import Connection
|
|
93
|
-
from .tracing import Trace
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
_CONTAINS_CONTROL_CHAR_RE = re.compile(r"[^-!#$%&'*+.^_`|~0-9a-zA-Z]")
|
|
97
|
-
json_re = re.compile(r"^application/(?:[\w.+-]+?\+)?json")
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
def _gen_default_accept_encoding() -> str:
|
|
101
|
-
return "gzip, deflate, br" if HAS_BROTLI else "gzip, deflate"
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
@attr.s(auto_attribs=True, frozen=True, slots=True)
|
|
105
|
-
class ContentDisposition:
|
|
106
|
-
type: Optional[str]
|
|
107
|
-
parameters: "MappingProxyType[str, str]"
|
|
108
|
-
filename: Optional[str]
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
class _RequestInfo(NamedTuple):
|
|
112
|
-
url: URL
|
|
113
|
-
method: str
|
|
114
|
-
headers: "CIMultiDictProxy[str]"
|
|
115
|
-
real_url: URL
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
class RequestInfo(_RequestInfo):
|
|
119
|
-
|
|
120
|
-
def __new__(
|
|
121
|
-
cls,
|
|
122
|
-
url: URL,
|
|
123
|
-
method: str,
|
|
124
|
-
headers: "CIMultiDictProxy[str]",
|
|
125
|
-
real_url: URL = _SENTINEL, # type: ignore[assignment]
|
|
126
|
-
) -> "RequestInfo":
|
|
127
|
-
"""Create a new RequestInfo instance.
|
|
128
|
-
|
|
129
|
-
For backwards compatibility, the real_url parameter is optional.
|
|
130
|
-
"""
|
|
131
|
-
return tuple.__new__(
|
|
132
|
-
cls, (url, method, headers, url if real_url is _SENTINEL else real_url)
|
|
133
|
-
)
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
class Fingerprint:
|
|
137
|
-
HASHFUNC_BY_DIGESTLEN = {
|
|
138
|
-
16: md5,
|
|
139
|
-
20: sha1,
|
|
140
|
-
32: sha256,
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
def __init__(self, fingerprint: bytes) -> None:
|
|
144
|
-
digestlen = len(fingerprint)
|
|
145
|
-
hashfunc = self.HASHFUNC_BY_DIGESTLEN.get(digestlen)
|
|
146
|
-
if not hashfunc:
|
|
147
|
-
raise ValueError("fingerprint has invalid length")
|
|
148
|
-
elif hashfunc is md5 or hashfunc is sha1:
|
|
149
|
-
raise ValueError("md5 and sha1 are insecure and not supported. Use sha256.")
|
|
150
|
-
self._hashfunc = hashfunc
|
|
151
|
-
self._fingerprint = fingerprint
|
|
152
|
-
|
|
153
|
-
@property
|
|
154
|
-
def fingerprint(self) -> bytes:
|
|
155
|
-
return self._fingerprint
|
|
156
|
-
|
|
157
|
-
def check(self, transport: asyncio.Transport) -> None:
|
|
158
|
-
if not transport.get_extra_info("sslcontext"):
|
|
159
|
-
return
|
|
160
|
-
sslobj = transport.get_extra_info("ssl_object")
|
|
161
|
-
cert = sslobj.getpeercert(binary_form=True)
|
|
162
|
-
got = self._hashfunc(cert).digest()
|
|
163
|
-
if got != self._fingerprint:
|
|
164
|
-
host, port, *_ = transport.get_extra_info("peername")
|
|
165
|
-
raise ServerFingerprintMismatch(self._fingerprint, got, host, port)
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
if ssl is not None:
|
|
169
|
-
SSL_ALLOWED_TYPES = (ssl.SSLContext, bool, Fingerprint, type(None))
|
|
170
|
-
else: # pragma: no cover
|
|
171
|
-
SSL_ALLOWED_TYPES = (bool, type(None))
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
def _merge_ssl_params(
|
|
175
|
-
ssl: Union["SSLContext", bool, Fingerprint],
|
|
176
|
-
verify_ssl: Optional[bool],
|
|
177
|
-
ssl_context: Optional["SSLContext"],
|
|
178
|
-
fingerprint: Optional[bytes],
|
|
179
|
-
) -> Union["SSLContext", bool, Fingerprint]:
|
|
180
|
-
if ssl is None:
|
|
181
|
-
ssl = True # Double check for backwards compatibility
|
|
182
|
-
if verify_ssl is not None and not verify_ssl:
|
|
183
|
-
warnings.warn(
|
|
184
|
-
"verify_ssl is deprecated, use ssl=False instead",
|
|
185
|
-
DeprecationWarning,
|
|
186
|
-
stacklevel=3,
|
|
187
|
-
)
|
|
188
|
-
if ssl is not True:
|
|
189
|
-
raise ValueError(
|
|
190
|
-
"verify_ssl, ssl_context, fingerprint and ssl "
|
|
191
|
-
"parameters are mutually exclusive"
|
|
192
|
-
)
|
|
193
|
-
else:
|
|
194
|
-
ssl = False
|
|
195
|
-
if ssl_context is not None:
|
|
196
|
-
warnings.warn(
|
|
197
|
-
"ssl_context is deprecated, use ssl=context instead",
|
|
198
|
-
DeprecationWarning,
|
|
199
|
-
stacklevel=3,
|
|
200
|
-
)
|
|
201
|
-
if ssl is not True:
|
|
202
|
-
raise ValueError(
|
|
203
|
-
"verify_ssl, ssl_context, fingerprint and ssl "
|
|
204
|
-
"parameters are mutually exclusive"
|
|
205
|
-
)
|
|
206
|
-
else:
|
|
207
|
-
ssl = ssl_context
|
|
208
|
-
if fingerprint is not None:
|
|
209
|
-
warnings.warn(
|
|
210
|
-
"fingerprint is deprecated, use ssl=Fingerprint(fingerprint) instead",
|
|
211
|
-
DeprecationWarning,
|
|
212
|
-
stacklevel=3,
|
|
213
|
-
)
|
|
214
|
-
if ssl is not True:
|
|
215
|
-
raise ValueError(
|
|
216
|
-
"verify_ssl, ssl_context, fingerprint and ssl "
|
|
217
|
-
"parameters are mutually exclusive"
|
|
218
|
-
)
|
|
219
|
-
else:
|
|
220
|
-
ssl = Fingerprint(fingerprint)
|
|
221
|
-
if not isinstance(ssl, SSL_ALLOWED_TYPES):
|
|
222
|
-
raise TypeError(
|
|
223
|
-
"ssl should be SSLContext, bool, Fingerprint or None, "
|
|
224
|
-
"got {!r} instead.".format(ssl)
|
|
225
|
-
)
|
|
226
|
-
return ssl
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
_SSL_SCHEMES = frozenset(("https", "wss"))
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
# ConnectionKey is a NamedTuple because it is used as a key in a dict
|
|
233
|
-
# and a set in the connector. Since a NamedTuple is a tuple it uses
|
|
234
|
-
# the fast native tuple __hash__ and __eq__ implementation in CPython.
|
|
235
|
-
class ConnectionKey(NamedTuple):
|
|
236
|
-
# the key should contain an information about used proxy / TLS
|
|
237
|
-
# to prevent reusing wrong connections from a pool
|
|
238
|
-
host: str
|
|
239
|
-
port: Optional[int]
|
|
240
|
-
is_ssl: bool
|
|
241
|
-
ssl: Union[SSLContext, bool, Fingerprint]
|
|
242
|
-
proxy: Optional[URL]
|
|
243
|
-
proxy_auth: Optional[BasicAuth]
|
|
244
|
-
proxy_headers_hash: Optional[int] # hash(CIMultiDict)
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
def _is_expected_content_type(
|
|
248
|
-
response_content_type: str, expected_content_type: str
|
|
249
|
-
) -> bool:
|
|
250
|
-
if expected_content_type == "application/json":
|
|
251
|
-
return json_re.match(response_content_type) is not None
|
|
252
|
-
return expected_content_type in response_content_type
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
class ClientRequest:
|
|
256
|
-
GET_METHODS = {
|
|
257
|
-
hdrs.METH_GET,
|
|
258
|
-
hdrs.METH_HEAD,
|
|
259
|
-
hdrs.METH_OPTIONS,
|
|
260
|
-
hdrs.METH_TRACE,
|
|
261
|
-
}
|
|
262
|
-
POST_METHODS = {hdrs.METH_PATCH, hdrs.METH_POST, hdrs.METH_PUT}
|
|
263
|
-
ALL_METHODS = GET_METHODS.union(POST_METHODS).union({hdrs.METH_DELETE})
|
|
264
|
-
|
|
265
|
-
DEFAULT_HEADERS = {
|
|
266
|
-
hdrs.ACCEPT: "*/*",
|
|
267
|
-
hdrs.ACCEPT_ENCODING: _gen_default_accept_encoding(),
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
# Type of body depends on PAYLOAD_REGISTRY, which is dynamic.
|
|
271
|
-
body: Any = b""
|
|
272
|
-
auth = None
|
|
273
|
-
response = None
|
|
274
|
-
|
|
275
|
-
__writer = None # async task for streaming data
|
|
276
|
-
_continue = None # waiter future for '100 Continue' response
|
|
277
|
-
|
|
278
|
-
_skip_auto_headers: Optional["CIMultiDict[None]"] = None
|
|
279
|
-
|
|
280
|
-
# N.B.
|
|
281
|
-
# Adding __del__ method with self._writer closing doesn't make sense
|
|
282
|
-
# because _writer is instance method, thus it keeps a reference to self.
|
|
283
|
-
# Until writer has finished finalizer will not be called.
|
|
284
|
-
|
|
285
|
-
def __init__(
|
|
286
|
-
self,
|
|
287
|
-
method: str,
|
|
288
|
-
url: URL,
|
|
289
|
-
*,
|
|
290
|
-
params: Query = None,
|
|
291
|
-
headers: Optional[LooseHeaders] = None,
|
|
292
|
-
skip_auto_headers: Optional[Iterable[str]] = None,
|
|
293
|
-
data: Any = None,
|
|
294
|
-
cookies: Optional[LooseCookies] = None,
|
|
295
|
-
auth: Optional[BasicAuth] = None,
|
|
296
|
-
version: http.HttpVersion = http.HttpVersion11,
|
|
297
|
-
compress: Union[str, bool, None] = None,
|
|
298
|
-
chunked: Optional[bool] = None,
|
|
299
|
-
expect100: bool = False,
|
|
300
|
-
loop: Optional[asyncio.AbstractEventLoop] = None,
|
|
301
|
-
response_class: Optional[Type["ClientResponse"]] = None,
|
|
302
|
-
proxy: Optional[URL] = None,
|
|
303
|
-
proxy_auth: Optional[BasicAuth] = None,
|
|
304
|
-
timer: Optional[BaseTimerContext] = None,
|
|
305
|
-
session: Optional["ClientSession"] = None,
|
|
306
|
-
ssl: Union[SSLContext, bool, Fingerprint] = True,
|
|
307
|
-
proxy_headers: Optional[LooseHeaders] = None,
|
|
308
|
-
traces: Optional[List["Trace"]] = None,
|
|
309
|
-
trust_env: bool = False,
|
|
310
|
-
server_hostname: Optional[str] = None,
|
|
311
|
-
):
|
|
312
|
-
if loop is None:
|
|
313
|
-
loop = asyncio.get_event_loop()
|
|
314
|
-
if match := _CONTAINS_CONTROL_CHAR_RE.search(method):
|
|
315
|
-
raise ValueError(
|
|
316
|
-
f"Method cannot contain non-token characters {method!r} "
|
|
317
|
-
f"(found at least {match.group()!r})"
|
|
318
|
-
)
|
|
319
|
-
# URL forbids subclasses, so a simple type check is enough.
|
|
320
|
-
assert type(url) is URL, url
|
|
321
|
-
if proxy is not None:
|
|
322
|
-
assert type(proxy) is URL, proxy
|
|
323
|
-
# FIXME: session is None in tests only, need to fix tests
|
|
324
|
-
# assert session is not None
|
|
325
|
-
if TYPE_CHECKING:
|
|
326
|
-
assert session is not None
|
|
327
|
-
self._session = session
|
|
328
|
-
if params:
|
|
329
|
-
url = url.extend_query(params)
|
|
330
|
-
self.original_url = url
|
|
331
|
-
self.url = url.with_fragment(None) if url.raw_fragment else url
|
|
332
|
-
self.method = method.upper()
|
|
333
|
-
self.chunked = chunked
|
|
334
|
-
self.compress = compress
|
|
335
|
-
self.loop = loop
|
|
336
|
-
self.length = None
|
|
337
|
-
if response_class is None:
|
|
338
|
-
real_response_class = ClientResponse
|
|
339
|
-
else:
|
|
340
|
-
real_response_class = response_class
|
|
341
|
-
self.response_class: Type[ClientResponse] = real_response_class
|
|
342
|
-
self._timer = timer if timer is not None else TimerNoop()
|
|
343
|
-
self._ssl = ssl if ssl is not None else True
|
|
344
|
-
self.server_hostname = server_hostname
|
|
345
|
-
|
|
346
|
-
if loop.get_debug():
|
|
347
|
-
self._source_traceback = traceback.extract_stack(sys._getframe(1))
|
|
348
|
-
|
|
349
|
-
self.update_version(version)
|
|
350
|
-
self.update_host(url)
|
|
351
|
-
self.update_headers(headers)
|
|
352
|
-
self.update_auto_headers(skip_auto_headers)
|
|
353
|
-
self.update_cookies(cookies)
|
|
354
|
-
self.update_content_encoding(data)
|
|
355
|
-
self.update_auth(auth, trust_env)
|
|
356
|
-
self.update_proxy(proxy, proxy_auth, proxy_headers)
|
|
357
|
-
|
|
358
|
-
self.update_body_from_data(data)
|
|
359
|
-
if data is not None or self.method not in self.GET_METHODS:
|
|
360
|
-
self.update_transfer_encoding()
|
|
361
|
-
self.update_expect_continue(expect100)
|
|
362
|
-
self._traces = [] if traces is None else traces
|
|
363
|
-
|
|
364
|
-
def __reset_writer(self, _: object = None) -> None:
|
|
365
|
-
self.__writer = None
|
|
366
|
-
|
|
367
|
-
@property
|
|
368
|
-
def skip_auto_headers(self) -> CIMultiDict[None]:
|
|
369
|
-
return self._skip_auto_headers or CIMultiDict()
|
|
370
|
-
|
|
371
|
-
@property
|
|
372
|
-
def _writer(self) -> Optional["asyncio.Task[None]"]:
|
|
373
|
-
return self.__writer
|
|
374
|
-
|
|
375
|
-
@_writer.setter
|
|
376
|
-
def _writer(self, writer: "asyncio.Task[None]") -> None:
|
|
377
|
-
if self.__writer is not None:
|
|
378
|
-
self.__writer.remove_done_callback(self.__reset_writer)
|
|
379
|
-
self.__writer = writer
|
|
380
|
-
writer.add_done_callback(self.__reset_writer)
|
|
381
|
-
|
|
382
|
-
def is_ssl(self) -> bool:
|
|
383
|
-
return self.url.scheme in _SSL_SCHEMES
|
|
384
|
-
|
|
385
|
-
@property
|
|
386
|
-
def ssl(self) -> Union["SSLContext", bool, Fingerprint]:
|
|
387
|
-
return self._ssl
|
|
388
|
-
|
|
389
|
-
@property
|
|
390
|
-
def connection_key(self) -> ConnectionKey:
|
|
391
|
-
if proxy_headers := self.proxy_headers:
|
|
392
|
-
h: Optional[int] = hash(tuple(proxy_headers.items()))
|
|
393
|
-
else:
|
|
394
|
-
h = None
|
|
395
|
-
url = self.url
|
|
396
|
-
return tuple.__new__(
|
|
397
|
-
ConnectionKey,
|
|
398
|
-
(
|
|
399
|
-
url.raw_host or "",
|
|
400
|
-
url.port,
|
|
401
|
-
url.scheme in _SSL_SCHEMES,
|
|
402
|
-
self._ssl,
|
|
403
|
-
self.proxy,
|
|
404
|
-
self.proxy_auth,
|
|
405
|
-
h,
|
|
406
|
-
),
|
|
407
|
-
)
|
|
408
|
-
|
|
409
|
-
@property
|
|
410
|
-
def host(self) -> str:
|
|
411
|
-
ret = self.url.raw_host
|
|
412
|
-
assert ret is not None
|
|
413
|
-
return ret
|
|
414
|
-
|
|
415
|
-
@property
|
|
416
|
-
def port(self) -> Optional[int]:
|
|
417
|
-
return self.url.port
|
|
418
|
-
|
|
419
|
-
@property
|
|
420
|
-
def request_info(self) -> RequestInfo:
|
|
421
|
-
headers: CIMultiDictProxy[str] = CIMultiDictProxy(self.headers)
|
|
422
|
-
# These are created on every request, so we use a NamedTuple
|
|
423
|
-
# for performance reasons. We don't use the RequestInfo.__new__
|
|
424
|
-
# method because it has a different signature which is provided
|
|
425
|
-
# for backwards compatibility only.
|
|
426
|
-
return tuple.__new__(
|
|
427
|
-
RequestInfo, (self.url, self.method, headers, self.original_url)
|
|
428
|
-
)
|
|
429
|
-
|
|
430
|
-
def update_host(self, url: URL) -> None:
|
|
431
|
-
"""Update destination host, port and connection type (ssl)."""
|
|
432
|
-
# get host/port
|
|
433
|
-
if not url.raw_host:
|
|
434
|
-
raise InvalidURL(url)
|
|
435
|
-
|
|
436
|
-
# basic auth info
|
|
437
|
-
if url.raw_user or url.raw_password:
|
|
438
|
-
self.auth = helpers.BasicAuth(url.user or "", url.password or "")
|
|
439
|
-
|
|
440
|
-
def update_version(self, version: Union[http.HttpVersion, str]) -> None:
|
|
441
|
-
"""Convert request version to two elements tuple.
|
|
442
|
-
|
|
443
|
-
parser HTTP version '1.1' => (1, 1)
|
|
444
|
-
"""
|
|
445
|
-
if isinstance(version, str):
|
|
446
|
-
v = [part.strip() for part in version.split(".", 1)]
|
|
447
|
-
try:
|
|
448
|
-
version = http.HttpVersion(int(v[0]), int(v[1]))
|
|
449
|
-
except ValueError:
|
|
450
|
-
raise ValueError(
|
|
451
|
-
f"Can not parse http version number: {version}"
|
|
452
|
-
) from None
|
|
453
|
-
self.version = version
|
|
454
|
-
|
|
455
|
-
def update_headers(self, headers: Optional[LooseHeaders]) -> None:
|
|
456
|
-
"""Update request headers."""
|
|
457
|
-
self.headers: CIMultiDict[str] = CIMultiDict()
|
|
458
|
-
|
|
459
|
-
# Build the host header
|
|
460
|
-
host = self.url.host_port_subcomponent
|
|
461
|
-
|
|
462
|
-
# host_port_subcomponent is None when the URL is a relative URL.
|
|
463
|
-
# but we know we do not have a relative URL here.
|
|
464
|
-
assert host is not None
|
|
465
|
-
self.headers[hdrs.HOST] = host
|
|
466
|
-
|
|
467
|
-
if not headers:
|
|
468
|
-
return
|
|
469
|
-
|
|
470
|
-
if isinstance(headers, (dict, MultiDictProxy, MultiDict)):
|
|
471
|
-
headers = headers.items()
|
|
472
|
-
|
|
473
|
-
for key, value in headers: # type: ignore[misc]
|
|
474
|
-
# A special case for Host header
|
|
475
|
-
if key in hdrs.HOST_ALL:
|
|
476
|
-
self.headers[key] = value
|
|
477
|
-
else:
|
|
478
|
-
self.headers.add(key, value)
|
|
479
|
-
|
|
480
|
-
def update_auto_headers(self, skip_auto_headers: Optional[Iterable[str]]) -> None:
|
|
481
|
-
if skip_auto_headers is not None:
|
|
482
|
-
self._skip_auto_headers = CIMultiDict(
|
|
483
|
-
(hdr, None) for hdr in sorted(skip_auto_headers)
|
|
484
|
-
)
|
|
485
|
-
used_headers = self.headers.copy()
|
|
486
|
-
used_headers.extend(self._skip_auto_headers) # type: ignore[arg-type]
|
|
487
|
-
else:
|
|
488
|
-
# Fast path when there are no headers to skip
|
|
489
|
-
# which is the most common case.
|
|
490
|
-
used_headers = self.headers
|
|
491
|
-
|
|
492
|
-
for hdr, val in self.DEFAULT_HEADERS.items():
|
|
493
|
-
if hdr not in used_headers:
|
|
494
|
-
self.headers[hdr] = val
|
|
495
|
-
|
|
496
|
-
if hdrs.USER_AGENT not in used_headers:
|
|
497
|
-
self.headers[hdrs.USER_AGENT] = SERVER_SOFTWARE
|
|
498
|
-
|
|
499
|
-
def update_cookies(self, cookies: Optional[LooseCookies]) -> None:
|
|
500
|
-
"""Update request cookies header."""
|
|
501
|
-
if not cookies:
|
|
502
|
-
return
|
|
503
|
-
|
|
504
|
-
c = SimpleCookie()
|
|
505
|
-
if hdrs.COOKIE in self.headers:
|
|
506
|
-
c.load(self.headers.get(hdrs.COOKIE, ""))
|
|
507
|
-
del self.headers[hdrs.COOKIE]
|
|
508
|
-
|
|
509
|
-
if isinstance(cookies, Mapping):
|
|
510
|
-
iter_cookies = cookies.items()
|
|
511
|
-
else:
|
|
512
|
-
iter_cookies = cookies # type: ignore[assignment]
|
|
513
|
-
for name, value in iter_cookies:
|
|
514
|
-
if isinstance(value, Morsel):
|
|
515
|
-
# Preserve coded_value
|
|
516
|
-
mrsl_val = value.get(value.key, Morsel())
|
|
517
|
-
mrsl_val.set(value.key, value.value, value.coded_value)
|
|
518
|
-
c[name] = mrsl_val
|
|
519
|
-
else:
|
|
520
|
-
c[name] = value # type: ignore[assignment]
|
|
521
|
-
|
|
522
|
-
self.headers[hdrs.COOKIE] = c.output(header="", sep=";").strip()
|
|
523
|
-
|
|
524
|
-
def update_content_encoding(self, data: Any) -> None:
|
|
525
|
-
"""Set request content encoding."""
|
|
526
|
-
if not data:
|
|
527
|
-
# Don't compress an empty body.
|
|
528
|
-
self.compress = None
|
|
529
|
-
return
|
|
530
|
-
|
|
531
|
-
if self.headers.get(hdrs.CONTENT_ENCODING):
|
|
532
|
-
if self.compress:
|
|
533
|
-
raise ValueError(
|
|
534
|
-
"compress can not be set if Content-Encoding header is set"
|
|
535
|
-
)
|
|
536
|
-
elif self.compress:
|
|
537
|
-
if not isinstance(self.compress, str):
|
|
538
|
-
self.compress = "deflate"
|
|
539
|
-
self.headers[hdrs.CONTENT_ENCODING] = self.compress
|
|
540
|
-
self.chunked = True # enable chunked, no need to deal with length
|
|
541
|
-
|
|
542
|
-
def update_transfer_encoding(self) -> None:
|
|
543
|
-
"""Analyze transfer-encoding header."""
|
|
544
|
-
te = self.headers.get(hdrs.TRANSFER_ENCODING, "").lower()
|
|
545
|
-
|
|
546
|
-
if "chunked" in te:
|
|
547
|
-
if self.chunked:
|
|
548
|
-
raise ValueError(
|
|
549
|
-
"chunked can not be set "
|
|
550
|
-
'if "Transfer-Encoding: chunked" header is set'
|
|
551
|
-
)
|
|
552
|
-
|
|
553
|
-
elif self.chunked:
|
|
554
|
-
if hdrs.CONTENT_LENGTH in self.headers:
|
|
555
|
-
raise ValueError(
|
|
556
|
-
"chunked can not be set if Content-Length header is set"
|
|
557
|
-
)
|
|
558
|
-
|
|
559
|
-
self.headers[hdrs.TRANSFER_ENCODING] = "chunked"
|
|
560
|
-
else:
|
|
561
|
-
if hdrs.CONTENT_LENGTH not in self.headers:
|
|
562
|
-
self.headers[hdrs.CONTENT_LENGTH] = str(len(self.body))
|
|
563
|
-
|
|
564
|
-
def update_auth(self, auth: Optional[BasicAuth], trust_env: bool = False) -> None:
|
|
565
|
-
"""Set basic auth."""
|
|
566
|
-
if auth is None:
|
|
567
|
-
auth = self.auth
|
|
568
|
-
if auth is None and trust_env and self.url.host is not None:
|
|
569
|
-
netrc_obj = netrc_from_env()
|
|
570
|
-
with contextlib.suppress(LookupError):
|
|
571
|
-
auth = basicauth_from_netrc(netrc_obj, self.url.host)
|
|
572
|
-
if auth is None:
|
|
573
|
-
return
|
|
574
|
-
|
|
575
|
-
if not isinstance(auth, helpers.BasicAuth):
|
|
576
|
-
raise TypeError("BasicAuth() tuple is required instead")
|
|
577
|
-
|
|
578
|
-
self.headers[hdrs.AUTHORIZATION] = auth.encode()
|
|
579
|
-
|
|
580
|
-
def update_body_from_data(self, body: Any) -> None:
|
|
581
|
-
if body is None:
|
|
582
|
-
return
|
|
583
|
-
|
|
584
|
-
# FormData
|
|
585
|
-
if isinstance(body, FormData):
|
|
586
|
-
body = body()
|
|
587
|
-
|
|
588
|
-
try:
|
|
589
|
-
body = payload.PAYLOAD_REGISTRY.get(body, disposition=None)
|
|
590
|
-
except payload.LookupError:
|
|
591
|
-
body = FormData(body)()
|
|
592
|
-
|
|
593
|
-
self.body = body
|
|
594
|
-
|
|
595
|
-
# enable chunked encoding if needed
|
|
596
|
-
if not self.chunked and hdrs.CONTENT_LENGTH not in self.headers:
|
|
597
|
-
if (size := body.size) is not None:
|
|
598
|
-
self.headers[hdrs.CONTENT_LENGTH] = str(size)
|
|
599
|
-
else:
|
|
600
|
-
self.chunked = True
|
|
601
|
-
|
|
602
|
-
# copy payload headers
|
|
603
|
-
assert body.headers
|
|
604
|
-
headers = self.headers
|
|
605
|
-
skip_headers = self._skip_auto_headers
|
|
606
|
-
for key, value in body.headers.items():
|
|
607
|
-
if key in headers or (skip_headers is not None and key in skip_headers):
|
|
608
|
-
continue
|
|
609
|
-
headers[key] = value
|
|
610
|
-
|
|
611
|
-
def update_expect_continue(self, expect: bool = False) -> None:
|
|
612
|
-
if expect:
|
|
613
|
-
self.headers[hdrs.EXPECT] = "100-continue"
|
|
614
|
-
elif (
|
|
615
|
-
hdrs.EXPECT in self.headers
|
|
616
|
-
and self.headers[hdrs.EXPECT].lower() == "100-continue"
|
|
617
|
-
):
|
|
618
|
-
expect = True
|
|
619
|
-
|
|
620
|
-
if expect:
|
|
621
|
-
self._continue = self.loop.create_future()
|
|
622
|
-
|
|
623
|
-
def update_proxy(
|
|
624
|
-
self,
|
|
625
|
-
proxy: Optional[URL],
|
|
626
|
-
proxy_auth: Optional[BasicAuth],
|
|
627
|
-
proxy_headers: Optional[LooseHeaders],
|
|
628
|
-
) -> None:
|
|
629
|
-
self.proxy = proxy
|
|
630
|
-
if proxy is None:
|
|
631
|
-
self.proxy_auth = None
|
|
632
|
-
self.proxy_headers = None
|
|
633
|
-
return
|
|
634
|
-
|
|
635
|
-
if proxy_auth and not isinstance(proxy_auth, helpers.BasicAuth):
|
|
636
|
-
raise ValueError("proxy_auth must be None or BasicAuth() tuple")
|
|
637
|
-
self.proxy_auth = proxy_auth
|
|
638
|
-
|
|
639
|
-
if proxy_headers is not None and not isinstance(
|
|
640
|
-
proxy_headers, (MultiDict, MultiDictProxy)
|
|
641
|
-
):
|
|
642
|
-
proxy_headers = CIMultiDict(proxy_headers)
|
|
643
|
-
self.proxy_headers = proxy_headers
|
|
644
|
-
|
|
645
|
-
async def write_bytes(
|
|
646
|
-
self, writer: AbstractStreamWriter, conn: "Connection"
|
|
647
|
-
) -> None:
|
|
648
|
-
"""Support coroutines that yields bytes objects."""
|
|
649
|
-
# 100 response
|
|
650
|
-
if self._continue is not None:
|
|
651
|
-
await writer.drain()
|
|
652
|
-
await self._continue
|
|
653
|
-
|
|
654
|
-
protocol = conn.protocol
|
|
655
|
-
assert protocol is not None
|
|
656
|
-
try:
|
|
657
|
-
if isinstance(self.body, payload.Payload):
|
|
658
|
-
await self.body.write(writer)
|
|
659
|
-
else:
|
|
660
|
-
if isinstance(self.body, (bytes, bytearray)):
|
|
661
|
-
self.body = (self.body,)
|
|
662
|
-
|
|
663
|
-
for chunk in self.body:
|
|
664
|
-
await writer.write(chunk)
|
|
665
|
-
except OSError as underlying_exc:
|
|
666
|
-
reraised_exc = underlying_exc
|
|
667
|
-
|
|
668
|
-
exc_is_not_timeout = underlying_exc.errno is not None or not isinstance(
|
|
669
|
-
underlying_exc, asyncio.TimeoutError
|
|
670
|
-
)
|
|
671
|
-
if exc_is_not_timeout:
|
|
672
|
-
reraised_exc = ClientOSError(
|
|
673
|
-
underlying_exc.errno,
|
|
674
|
-
f"Can not write request body for {self.url !s}",
|
|
675
|
-
)
|
|
676
|
-
|
|
677
|
-
set_exception(protocol, reraised_exc, underlying_exc)
|
|
678
|
-
except asyncio.CancelledError:
|
|
679
|
-
# Body hasn't been fully sent, so connection can't be reused.
|
|
680
|
-
conn.close()
|
|
681
|
-
raise
|
|
682
|
-
except Exception as underlying_exc:
|
|
683
|
-
set_exception(
|
|
684
|
-
protocol,
|
|
685
|
-
ClientConnectionError(
|
|
686
|
-
f"Failed to send bytes into the underlying connection {conn !s}",
|
|
687
|
-
),
|
|
688
|
-
underlying_exc,
|
|
689
|
-
)
|
|
690
|
-
else:
|
|
691
|
-
await writer.write_eof()
|
|
692
|
-
protocol.start_timeout()
|
|
693
|
-
|
|
694
|
-
async def send(self, conn: "Connection") -> "ClientResponse":
|
|
695
|
-
# Specify request target:
|
|
696
|
-
# - CONNECT request must send authority form URI
|
|
697
|
-
# - not CONNECT proxy must send absolute form URI
|
|
698
|
-
# - most common is origin form URI
|
|
699
|
-
if self.method == hdrs.METH_CONNECT:
|
|
700
|
-
connect_host = self.url.host_subcomponent
|
|
701
|
-
assert connect_host is not None
|
|
702
|
-
path = f"{connect_host}:{self.url.port}"
|
|
703
|
-
elif self.proxy and not self.is_ssl():
|
|
704
|
-
path = str(self.url)
|
|
705
|
-
else:
|
|
706
|
-
path = self.url.raw_path_qs
|
|
707
|
-
|
|
708
|
-
protocol = conn.protocol
|
|
709
|
-
assert protocol is not None
|
|
710
|
-
writer = StreamWriter(
|
|
711
|
-
protocol,
|
|
712
|
-
self.loop,
|
|
713
|
-
on_chunk_sent=(
|
|
714
|
-
functools.partial(self._on_chunk_request_sent, self.method, self.url)
|
|
715
|
-
if self._traces
|
|
716
|
-
else None
|
|
717
|
-
),
|
|
718
|
-
on_headers_sent=(
|
|
719
|
-
functools.partial(self._on_headers_request_sent, self.method, self.url)
|
|
720
|
-
if self._traces
|
|
721
|
-
else None
|
|
722
|
-
),
|
|
723
|
-
)
|
|
724
|
-
|
|
725
|
-
if self.compress:
|
|
726
|
-
writer.enable_compression(self.compress) # type: ignore[arg-type]
|
|
727
|
-
|
|
728
|
-
if self.chunked is not None:
|
|
729
|
-
writer.enable_chunking()
|
|
730
|
-
|
|
731
|
-
# set default content-type
|
|
732
|
-
if (
|
|
733
|
-
self.method in self.POST_METHODS
|
|
734
|
-
and (
|
|
735
|
-
self._skip_auto_headers is None
|
|
736
|
-
or hdrs.CONTENT_TYPE not in self._skip_auto_headers
|
|
737
|
-
)
|
|
738
|
-
and hdrs.CONTENT_TYPE not in self.headers
|
|
739
|
-
):
|
|
740
|
-
self.headers[hdrs.CONTENT_TYPE] = "application/octet-stream"
|
|
741
|
-
|
|
742
|
-
v = self.version
|
|
743
|
-
if hdrs.CONNECTION not in self.headers:
|
|
744
|
-
if conn._connector.force_close:
|
|
745
|
-
if v == HttpVersion11:
|
|
746
|
-
self.headers[hdrs.CONNECTION] = "close"
|
|
747
|
-
elif v == HttpVersion10:
|
|
748
|
-
self.headers[hdrs.CONNECTION] = "keep-alive"
|
|
749
|
-
|
|
750
|
-
# status + headers
|
|
751
|
-
status_line = f"{self.method} {path} HTTP/{v.major}.{v.minor}"
|
|
752
|
-
await writer.write_headers(status_line, self.headers)
|
|
753
|
-
task: Optional["asyncio.Task[None]"]
|
|
754
|
-
if self.body or self._continue is not None or protocol.writing_paused:
|
|
755
|
-
coro = self.write_bytes(writer, conn)
|
|
756
|
-
if sys.version_info >= (3, 12):
|
|
757
|
-
# Optimization for Python 3.12, try to write
|
|
758
|
-
# bytes immediately to avoid having to schedule
|
|
759
|
-
# the task on the event loop.
|
|
760
|
-
task = asyncio.Task(coro, loop=self.loop, eager_start=True)
|
|
761
|
-
else:
|
|
762
|
-
task = self.loop.create_task(coro)
|
|
763
|
-
if task.done():
|
|
764
|
-
task = None
|
|
765
|
-
else:
|
|
766
|
-
self._writer = task
|
|
767
|
-
else:
|
|
768
|
-
# We have nothing to write because
|
|
769
|
-
# - there is no body
|
|
770
|
-
# - the protocol does not have writing paused
|
|
771
|
-
# - we are not waiting for a 100-continue response
|
|
772
|
-
protocol.start_timeout()
|
|
773
|
-
writer.set_eof()
|
|
774
|
-
task = None
|
|
775
|
-
response_class = self.response_class
|
|
776
|
-
assert response_class is not None
|
|
777
|
-
self.response = response_class(
|
|
778
|
-
self.method,
|
|
779
|
-
self.original_url,
|
|
780
|
-
writer=task,
|
|
781
|
-
continue100=self._continue,
|
|
782
|
-
timer=self._timer,
|
|
783
|
-
request_info=self.request_info,
|
|
784
|
-
traces=self._traces,
|
|
785
|
-
loop=self.loop,
|
|
786
|
-
session=self._session,
|
|
787
|
-
)
|
|
788
|
-
return self.response
|
|
789
|
-
|
|
790
|
-
async def close(self) -> None:
|
|
791
|
-
if self.__writer is not None:
|
|
792
|
-
try:
|
|
793
|
-
await self.__writer
|
|
794
|
-
except asyncio.CancelledError:
|
|
795
|
-
if (
|
|
796
|
-
sys.version_info >= (3, 11)
|
|
797
|
-
and (task := asyncio.current_task())
|
|
798
|
-
and task.cancelling()
|
|
799
|
-
):
|
|
800
|
-
raise
|
|
801
|
-
|
|
802
|
-
def terminate(self) -> None:
|
|
803
|
-
if self.__writer is not None:
|
|
804
|
-
if not self.loop.is_closed():
|
|
805
|
-
self.__writer.cancel()
|
|
806
|
-
self.__writer.remove_done_callback(self.__reset_writer)
|
|
807
|
-
self.__writer = None
|
|
808
|
-
|
|
809
|
-
async def _on_chunk_request_sent(self, method: str, url: URL, chunk: bytes) -> None:
|
|
810
|
-
for trace in self._traces:
|
|
811
|
-
await trace.send_request_chunk_sent(method, url, chunk)
|
|
812
|
-
|
|
813
|
-
async def _on_headers_request_sent(
|
|
814
|
-
self, method: str, url: URL, headers: "CIMultiDict[str]"
|
|
815
|
-
) -> None:
|
|
816
|
-
for trace in self._traces:
|
|
817
|
-
await trace.send_request_headers(method, url, headers)
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
_CONNECTION_CLOSED_EXCEPTION = ClientConnectionError("Connection closed")
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
class ClientResponse(HeadersMixin):
|
|
824
|
-
|
|
825
|
-
# Some of these attributes are None when created,
|
|
826
|
-
# but will be set by the start() method.
|
|
827
|
-
# As the end user will likely never see the None values, we cheat the types below.
|
|
828
|
-
# from the Status-Line of the response
|
|
829
|
-
version: Optional[HttpVersion] = None # HTTP-Version
|
|
830
|
-
status: int = None # type: ignore[assignment] # Status-Code
|
|
831
|
-
reason: Optional[str] = None # Reason-Phrase
|
|
832
|
-
|
|
833
|
-
content: StreamReader = None # type: ignore[assignment] # Payload stream
|
|
834
|
-
_body: Optional[bytes] = None
|
|
835
|
-
_headers: CIMultiDictProxy[str] = None # type: ignore[assignment]
|
|
836
|
-
_history: Tuple["ClientResponse", ...] = ()
|
|
837
|
-
_raw_headers: RawHeaders = None # type: ignore[assignment]
|
|
838
|
-
|
|
839
|
-
_connection: Optional["Connection"] = None # current connection
|
|
840
|
-
_cookies: Optional[SimpleCookie] = None
|
|
841
|
-
_continue: Optional["asyncio.Future[bool]"] = None
|
|
842
|
-
_source_traceback: Optional[traceback.StackSummary] = None
|
|
843
|
-
_session: Optional["ClientSession"] = None
|
|
844
|
-
# set up by ClientRequest after ClientResponse object creation
|
|
845
|
-
# post-init stage allows to not change ctor signature
|
|
846
|
-
_closed = True # to allow __del__ for non-initialized properly response
|
|
847
|
-
_released = False
|
|
848
|
-
_in_context = False
|
|
849
|
-
|
|
850
|
-
_resolve_charset: Callable[["ClientResponse", bytes], str] = lambda *_: "utf-8"
|
|
851
|
-
|
|
852
|
-
__writer: Optional["asyncio.Task[None]"] = None
|
|
853
|
-
|
|
854
|
-
def __init__(
|
|
855
|
-
self,
|
|
856
|
-
method: str,
|
|
857
|
-
url: URL,
|
|
858
|
-
*,
|
|
859
|
-
writer: "Optional[asyncio.Task[None]]",
|
|
860
|
-
continue100: Optional["asyncio.Future[bool]"],
|
|
861
|
-
timer: BaseTimerContext,
|
|
862
|
-
request_info: RequestInfo,
|
|
863
|
-
traces: List["Trace"],
|
|
864
|
-
loop: asyncio.AbstractEventLoop,
|
|
865
|
-
session: "ClientSession",
|
|
866
|
-
) -> None:
|
|
867
|
-
# URL forbids subclasses, so a simple type check is enough.
|
|
868
|
-
assert type(url) is URL
|
|
869
|
-
|
|
870
|
-
self.method = method
|
|
871
|
-
|
|
872
|
-
self._real_url = url
|
|
873
|
-
self._url = url.with_fragment(None) if url.raw_fragment else url
|
|
874
|
-
if writer is not None:
|
|
875
|
-
self._writer = writer
|
|
876
|
-
if continue100 is not None:
|
|
877
|
-
self._continue = continue100
|
|
878
|
-
self._request_info = request_info
|
|
879
|
-
self._timer = timer if timer is not None else TimerNoop()
|
|
880
|
-
self._cache: Dict[str, Any] = {}
|
|
881
|
-
self._traces = traces
|
|
882
|
-
self._loop = loop
|
|
883
|
-
# Save reference to _resolve_charset, so that get_encoding() will still
|
|
884
|
-
# work after the response has finished reading the body.
|
|
885
|
-
# TODO: Fix session=None in tests (see ClientRequest.__init__).
|
|
886
|
-
if session is not None:
|
|
887
|
-
# store a reference to session #1985
|
|
888
|
-
self._session = session
|
|
889
|
-
self._resolve_charset = session._resolve_charset
|
|
890
|
-
if loop.get_debug():
|
|
891
|
-
self._source_traceback = traceback.extract_stack(sys._getframe(1))
|
|
892
|
-
|
|
893
|
-
def __reset_writer(self, _: object = None) -> None:
|
|
894
|
-
self.__writer = None
|
|
895
|
-
|
|
896
|
-
@property
|
|
897
|
-
def _writer(self) -> Optional["asyncio.Task[None]"]:
|
|
898
|
-
"""The writer task for streaming data.
|
|
899
|
-
|
|
900
|
-
_writer is only provided for backwards compatibility
|
|
901
|
-
for subclasses that may need to access it.
|
|
902
|
-
"""
|
|
903
|
-
return self.__writer
|
|
904
|
-
|
|
905
|
-
@_writer.setter
|
|
906
|
-
def _writer(self, writer: Optional["asyncio.Task[None]"]) -> None:
|
|
907
|
-
"""Set the writer task for streaming data."""
|
|
908
|
-
if self.__writer is not None:
|
|
909
|
-
self.__writer.remove_done_callback(self.__reset_writer)
|
|
910
|
-
self.__writer = writer
|
|
911
|
-
if writer is None:
|
|
912
|
-
return
|
|
913
|
-
if writer.done():
|
|
914
|
-
# The writer is already done, so we can clear it immediately.
|
|
915
|
-
self.__writer = None
|
|
916
|
-
else:
|
|
917
|
-
writer.add_done_callback(self.__reset_writer)
|
|
918
|
-
|
|
919
|
-
@property
|
|
920
|
-
def cookies(self) -> SimpleCookie:
|
|
921
|
-
if self._cookies is None:
|
|
922
|
-
self._cookies = SimpleCookie()
|
|
923
|
-
return self._cookies
|
|
924
|
-
|
|
925
|
-
@cookies.setter
|
|
926
|
-
def cookies(self, cookies: SimpleCookie) -> None:
|
|
927
|
-
self._cookies = cookies
|
|
928
|
-
|
|
929
|
-
@reify
|
|
930
|
-
def url(self) -> URL:
|
|
931
|
-
return self._url
|
|
932
|
-
|
|
933
|
-
@reify
|
|
934
|
-
def url_obj(self) -> URL:
|
|
935
|
-
warnings.warn("Deprecated, use .url #1654", DeprecationWarning, stacklevel=2)
|
|
936
|
-
return self._url
|
|
937
|
-
|
|
938
|
-
@reify
|
|
939
|
-
def real_url(self) -> URL:
|
|
940
|
-
return self._real_url
|
|
941
|
-
|
|
942
|
-
@reify
|
|
943
|
-
def host(self) -> str:
|
|
944
|
-
assert self._url.host is not None
|
|
945
|
-
return self._url.host
|
|
946
|
-
|
|
947
|
-
@reify
|
|
948
|
-
def headers(self) -> "CIMultiDictProxy[str]":
|
|
949
|
-
return self._headers
|
|
950
|
-
|
|
951
|
-
@reify
|
|
952
|
-
def raw_headers(self) -> RawHeaders:
|
|
953
|
-
return self._raw_headers
|
|
954
|
-
|
|
955
|
-
@reify
|
|
956
|
-
def request_info(self) -> RequestInfo:
|
|
957
|
-
return self._request_info
|
|
958
|
-
|
|
959
|
-
@reify
|
|
960
|
-
def content_disposition(self) -> Optional[ContentDisposition]:
|
|
961
|
-
raw = self._headers.get(hdrs.CONTENT_DISPOSITION)
|
|
962
|
-
if raw is None:
|
|
963
|
-
return None
|
|
964
|
-
disposition_type, params_dct = multipart.parse_content_disposition(raw)
|
|
965
|
-
params = MappingProxyType(params_dct)
|
|
966
|
-
filename = multipart.content_disposition_filename(params)
|
|
967
|
-
return ContentDisposition(disposition_type, params, filename)
|
|
968
|
-
|
|
969
|
-
def __del__(self, _warnings: Any = warnings) -> None:
|
|
970
|
-
if self._closed:
|
|
971
|
-
return
|
|
972
|
-
|
|
973
|
-
if self._connection is not None:
|
|
974
|
-
self._connection.release()
|
|
975
|
-
self._cleanup_writer()
|
|
976
|
-
|
|
977
|
-
if self._loop.get_debug():
|
|
978
|
-
kwargs = {"source": self}
|
|
979
|
-
_warnings.warn(f"Unclosed response {self!r}", ResourceWarning, **kwargs)
|
|
980
|
-
context = {"client_response": self, "message": "Unclosed response"}
|
|
981
|
-
if self._source_traceback:
|
|
982
|
-
context["source_traceback"] = self._source_traceback
|
|
983
|
-
self._loop.call_exception_handler(context)
|
|
984
|
-
|
|
985
|
-
def __repr__(self) -> str:
|
|
986
|
-
out = io.StringIO()
|
|
987
|
-
ascii_encodable_url = str(self.url)
|
|
988
|
-
if self.reason:
|
|
989
|
-
ascii_encodable_reason = self.reason.encode(
|
|
990
|
-
"ascii", "backslashreplace"
|
|
991
|
-
).decode("ascii")
|
|
992
|
-
else:
|
|
993
|
-
ascii_encodable_reason = "None"
|
|
994
|
-
print(
|
|
995
|
-
"<ClientResponse({}) [{} {}]>".format(
|
|
996
|
-
ascii_encodable_url, self.status, ascii_encodable_reason
|
|
997
|
-
),
|
|
998
|
-
file=out,
|
|
999
|
-
)
|
|
1000
|
-
print(self.headers, file=out)
|
|
1001
|
-
return out.getvalue()
|
|
1002
|
-
|
|
1003
|
-
@property
|
|
1004
|
-
def connection(self) -> Optional["Connection"]:
|
|
1005
|
-
return self._connection
|
|
1006
|
-
|
|
1007
|
-
@reify
|
|
1008
|
-
def history(self) -> Tuple["ClientResponse", ...]:
|
|
1009
|
-
"""A sequence of of responses, if redirects occurred."""
|
|
1010
|
-
return self._history
|
|
1011
|
-
|
|
1012
|
-
@reify
|
|
1013
|
-
def links(self) -> "MultiDictProxy[MultiDictProxy[Union[str, URL]]]":
|
|
1014
|
-
links_str = ", ".join(self.headers.getall("link", []))
|
|
1015
|
-
|
|
1016
|
-
if not links_str:
|
|
1017
|
-
return MultiDictProxy(MultiDict())
|
|
1018
|
-
|
|
1019
|
-
links: MultiDict[MultiDictProxy[Union[str, URL]]] = MultiDict()
|
|
1020
|
-
|
|
1021
|
-
for val in re.split(r",(?=\s*<)", links_str):
|
|
1022
|
-
match = re.match(r"\s*<(.*)>(.*)", val)
|
|
1023
|
-
if match is None: # pragma: no cover
|
|
1024
|
-
# the check exists to suppress mypy error
|
|
1025
|
-
continue
|
|
1026
|
-
url, params_str = match.groups()
|
|
1027
|
-
params = params_str.split(";")[1:]
|
|
1028
|
-
|
|
1029
|
-
link: MultiDict[Union[str, URL]] = MultiDict()
|
|
1030
|
-
|
|
1031
|
-
for param in params:
|
|
1032
|
-
match = re.match(r"^\s*(\S*)\s*=\s*(['\"]?)(.*?)(\2)\s*$", param, re.M)
|
|
1033
|
-
if match is None: # pragma: no cover
|
|
1034
|
-
# the check exists to suppress mypy error
|
|
1035
|
-
continue
|
|
1036
|
-
key, _, value, _ = match.groups()
|
|
1037
|
-
|
|
1038
|
-
link.add(key, value)
|
|
1039
|
-
|
|
1040
|
-
key = link.get("rel", url)
|
|
1041
|
-
|
|
1042
|
-
link.add("url", self.url.join(URL(url)))
|
|
1043
|
-
|
|
1044
|
-
links.add(str(key), MultiDictProxy(link))
|
|
1045
|
-
|
|
1046
|
-
return MultiDictProxy(links)
|
|
1047
|
-
|
|
1048
|
-
async def start(self, connection: "Connection") -> "ClientResponse":
|
|
1049
|
-
"""Start response processing."""
|
|
1050
|
-
self._closed = False
|
|
1051
|
-
self._protocol = connection.protocol
|
|
1052
|
-
self._connection = connection
|
|
1053
|
-
|
|
1054
|
-
with self._timer:
|
|
1055
|
-
while True:
|
|
1056
|
-
# read response
|
|
1057
|
-
try:
|
|
1058
|
-
protocol = self._protocol
|
|
1059
|
-
message, payload = await protocol.read() # type: ignore[union-attr]
|
|
1060
|
-
except http.HttpProcessingError as exc:
|
|
1061
|
-
raise ClientResponseError(
|
|
1062
|
-
self.request_info,
|
|
1063
|
-
self.history,
|
|
1064
|
-
status=exc.code,
|
|
1065
|
-
message=exc.message,
|
|
1066
|
-
headers=exc.headers,
|
|
1067
|
-
) from exc
|
|
1068
|
-
|
|
1069
|
-
if message.code < 100 or message.code > 199 or message.code == 101:
|
|
1070
|
-
break
|
|
1071
|
-
|
|
1072
|
-
if self._continue is not None:
|
|
1073
|
-
set_result(self._continue, True)
|
|
1074
|
-
self._continue = None
|
|
1075
|
-
|
|
1076
|
-
# payload eof handler
|
|
1077
|
-
payload.on_eof(self._response_eof)
|
|
1078
|
-
|
|
1079
|
-
# response status
|
|
1080
|
-
self.version = message.version
|
|
1081
|
-
self.status = message.code
|
|
1082
|
-
self.reason = message.reason
|
|
1083
|
-
|
|
1084
|
-
# headers
|
|
1085
|
-
self._headers = message.headers # type is CIMultiDictProxy
|
|
1086
|
-
self._raw_headers = message.raw_headers # type is Tuple[bytes, bytes]
|
|
1087
|
-
|
|
1088
|
-
# payload
|
|
1089
|
-
self.content = payload
|
|
1090
|
-
|
|
1091
|
-
# cookies
|
|
1092
|
-
if cookie_hdrs := self.headers.getall(hdrs.SET_COOKIE, ()):
|
|
1093
|
-
cookies = SimpleCookie()
|
|
1094
|
-
for hdr in cookie_hdrs:
|
|
1095
|
-
try:
|
|
1096
|
-
cookies.load(hdr)
|
|
1097
|
-
except CookieError as exc:
|
|
1098
|
-
client_logger.warning("Can not load response cookies: %s", exc)
|
|
1099
|
-
self._cookies = cookies
|
|
1100
|
-
return self
|
|
1101
|
-
|
|
1102
|
-
def _response_eof(self) -> None:
|
|
1103
|
-
if self._closed:
|
|
1104
|
-
return
|
|
1105
|
-
|
|
1106
|
-
# protocol could be None because connection could be detached
|
|
1107
|
-
protocol = self._connection and self._connection.protocol
|
|
1108
|
-
if protocol is not None and protocol.upgraded:
|
|
1109
|
-
return
|
|
1110
|
-
|
|
1111
|
-
self._closed = True
|
|
1112
|
-
self._cleanup_writer()
|
|
1113
|
-
self._release_connection()
|
|
1114
|
-
|
|
1115
|
-
@property
|
|
1116
|
-
def closed(self) -> bool:
|
|
1117
|
-
return self._closed
|
|
1118
|
-
|
|
1119
|
-
def close(self) -> None:
|
|
1120
|
-
if not self._released:
|
|
1121
|
-
self._notify_content()
|
|
1122
|
-
|
|
1123
|
-
self._closed = True
|
|
1124
|
-
if self._loop is None or self._loop.is_closed():
|
|
1125
|
-
return
|
|
1126
|
-
|
|
1127
|
-
self._cleanup_writer()
|
|
1128
|
-
if self._connection is not None:
|
|
1129
|
-
self._connection.close()
|
|
1130
|
-
self._connection = None
|
|
1131
|
-
|
|
1132
|
-
def release(self) -> Any:
|
|
1133
|
-
if not self._released:
|
|
1134
|
-
self._notify_content()
|
|
1135
|
-
|
|
1136
|
-
self._closed = True
|
|
1137
|
-
|
|
1138
|
-
self._cleanup_writer()
|
|
1139
|
-
self._release_connection()
|
|
1140
|
-
return noop()
|
|
1141
|
-
|
|
1142
|
-
@property
|
|
1143
|
-
def ok(self) -> bool:
|
|
1144
|
-
"""Returns ``True`` if ``status`` is less than ``400``, ``False`` if not.
|
|
1145
|
-
|
|
1146
|
-
This is **not** a check for ``200 OK`` but a check that the response
|
|
1147
|
-
status is under 400.
|
|
1148
|
-
"""
|
|
1149
|
-
return 400 > self.status
|
|
1150
|
-
|
|
1151
|
-
def raise_for_status(self) -> None:
|
|
1152
|
-
if not self.ok:
|
|
1153
|
-
# reason should always be not None for a started response
|
|
1154
|
-
assert self.reason is not None
|
|
1155
|
-
|
|
1156
|
-
# If we're in a context we can rely on __aexit__() to release as the
|
|
1157
|
-
# exception propagates.
|
|
1158
|
-
if not self._in_context:
|
|
1159
|
-
self.release()
|
|
1160
|
-
|
|
1161
|
-
raise ClientResponseError(
|
|
1162
|
-
self.request_info,
|
|
1163
|
-
self.history,
|
|
1164
|
-
status=self.status,
|
|
1165
|
-
message=self.reason,
|
|
1166
|
-
headers=self.headers,
|
|
1167
|
-
)
|
|
1168
|
-
|
|
1169
|
-
def _release_connection(self) -> None:
|
|
1170
|
-
if self._connection is not None:
|
|
1171
|
-
if self.__writer is None:
|
|
1172
|
-
self._connection.release()
|
|
1173
|
-
self._connection = None
|
|
1174
|
-
else:
|
|
1175
|
-
self.__writer.add_done_callback(lambda f: self._release_connection())
|
|
1176
|
-
|
|
1177
|
-
async def _wait_released(self) -> None:
|
|
1178
|
-
if self.__writer is not None:
|
|
1179
|
-
try:
|
|
1180
|
-
await self.__writer
|
|
1181
|
-
except asyncio.CancelledError:
|
|
1182
|
-
if (
|
|
1183
|
-
sys.version_info >= (3, 11)
|
|
1184
|
-
and (task := asyncio.current_task())
|
|
1185
|
-
and task.cancelling()
|
|
1186
|
-
):
|
|
1187
|
-
raise
|
|
1188
|
-
self._release_connection()
|
|
1189
|
-
|
|
1190
|
-
def _cleanup_writer(self) -> None:
|
|
1191
|
-
if self.__writer is not None:
|
|
1192
|
-
self.__writer.cancel()
|
|
1193
|
-
self._session = None
|
|
1194
|
-
|
|
1195
|
-
def _notify_content(self) -> None:
|
|
1196
|
-
content = self.content
|
|
1197
|
-
if content and content.exception() is None:
|
|
1198
|
-
set_exception(content, _CONNECTION_CLOSED_EXCEPTION)
|
|
1199
|
-
self._released = True
|
|
1200
|
-
|
|
1201
|
-
async def wait_for_close(self) -> None:
|
|
1202
|
-
if self.__writer is not None:
|
|
1203
|
-
try:
|
|
1204
|
-
await self.__writer
|
|
1205
|
-
except asyncio.CancelledError:
|
|
1206
|
-
if (
|
|
1207
|
-
sys.version_info >= (3, 11)
|
|
1208
|
-
and (task := asyncio.current_task())
|
|
1209
|
-
and task.cancelling()
|
|
1210
|
-
):
|
|
1211
|
-
raise
|
|
1212
|
-
self.release()
|
|
1213
|
-
|
|
1214
|
-
async def read(self) -> bytes:
|
|
1215
|
-
"""Read response payload."""
|
|
1216
|
-
if self._body is None:
|
|
1217
|
-
try:
|
|
1218
|
-
self._body = await self.content.read()
|
|
1219
|
-
for trace in self._traces:
|
|
1220
|
-
await trace.send_response_chunk_received(
|
|
1221
|
-
self.method, self.url, self._body
|
|
1222
|
-
)
|
|
1223
|
-
except BaseException:
|
|
1224
|
-
self.close()
|
|
1225
|
-
raise
|
|
1226
|
-
elif self._released: # Response explicitly released
|
|
1227
|
-
raise ClientConnectionError("Connection closed")
|
|
1228
|
-
|
|
1229
|
-
protocol = self._connection and self._connection.protocol
|
|
1230
|
-
if protocol is None or not protocol.upgraded:
|
|
1231
|
-
await self._wait_released() # Underlying connection released
|
|
1232
|
-
return self._body
|
|
1233
|
-
|
|
1234
|
-
def get_encoding(self) -> str:
|
|
1235
|
-
ctype = self.headers.get(hdrs.CONTENT_TYPE, "").lower()
|
|
1236
|
-
mimetype = helpers.parse_mimetype(ctype)
|
|
1237
|
-
|
|
1238
|
-
encoding = mimetype.parameters.get("charset")
|
|
1239
|
-
if encoding:
|
|
1240
|
-
with contextlib.suppress(LookupError, ValueError):
|
|
1241
|
-
return codecs.lookup(encoding).name
|
|
1242
|
-
|
|
1243
|
-
if mimetype.type == "application" and (
|
|
1244
|
-
mimetype.subtype == "json" or mimetype.subtype == "rdap"
|
|
1245
|
-
):
|
|
1246
|
-
# RFC 7159 states that the default encoding is UTF-8.
|
|
1247
|
-
# RFC 7483 defines application/rdap+json
|
|
1248
|
-
return "utf-8"
|
|
1249
|
-
|
|
1250
|
-
if self._body is None:
|
|
1251
|
-
raise RuntimeError(
|
|
1252
|
-
"Cannot compute fallback encoding of a not yet read body"
|
|
1253
|
-
)
|
|
1254
|
-
|
|
1255
|
-
return self._resolve_charset(self, self._body)
|
|
1256
|
-
|
|
1257
|
-
async def text(self, encoding: Optional[str] = None, errors: str = "strict") -> str:
|
|
1258
|
-
"""Read response payload and decode."""
|
|
1259
|
-
if self._body is None:
|
|
1260
|
-
await self.read()
|
|
1261
|
-
|
|
1262
|
-
if encoding is None:
|
|
1263
|
-
encoding = self.get_encoding()
|
|
1264
|
-
|
|
1265
|
-
return self._body.decode(encoding, errors=errors) # type: ignore[union-attr]
|
|
1266
|
-
|
|
1267
|
-
async def json(
|
|
1268
|
-
self,
|
|
1269
|
-
*,
|
|
1270
|
-
encoding: Optional[str] = None,
|
|
1271
|
-
loads: JSONDecoder = DEFAULT_JSON_DECODER,
|
|
1272
|
-
content_type: Optional[str] = "application/json",
|
|
1273
|
-
) -> Any:
|
|
1274
|
-
"""Read and decodes JSON response."""
|
|
1275
|
-
if self._body is None:
|
|
1276
|
-
await self.read()
|
|
1277
|
-
|
|
1278
|
-
if content_type:
|
|
1279
|
-
ctype = self.headers.get(hdrs.CONTENT_TYPE, "").lower()
|
|
1280
|
-
if not _is_expected_content_type(ctype, content_type):
|
|
1281
|
-
raise ContentTypeError(
|
|
1282
|
-
self.request_info,
|
|
1283
|
-
self.history,
|
|
1284
|
-
status=self.status,
|
|
1285
|
-
message=(
|
|
1286
|
-
"Attempt to decode JSON with unexpected mimetype: %s" % ctype
|
|
1287
|
-
),
|
|
1288
|
-
headers=self.headers,
|
|
1289
|
-
)
|
|
1290
|
-
|
|
1291
|
-
stripped = self._body.strip() # type: ignore[union-attr]
|
|
1292
|
-
if not stripped:
|
|
1293
|
-
return None
|
|
1294
|
-
|
|
1295
|
-
if encoding is None:
|
|
1296
|
-
encoding = self.get_encoding()
|
|
1297
|
-
|
|
1298
|
-
return loads(stripped.decode(encoding))
|
|
1299
|
-
|
|
1300
|
-
async def __aenter__(self) -> "ClientResponse":
|
|
1301
|
-
self._in_context = True
|
|
1302
|
-
return self
|
|
1303
|
-
|
|
1304
|
-
async def __aexit__(
|
|
1305
|
-
self,
|
|
1306
|
-
exc_type: Optional[Type[BaseException]],
|
|
1307
|
-
exc_val: Optional[BaseException],
|
|
1308
|
-
exc_tb: Optional[TracebackType],
|
|
1309
|
-
) -> None:
|
|
1310
|
-
self._in_context = False
|
|
1311
|
-
# similar to _RequestContextManager, we do not need to check
|
|
1312
|
-
# for exceptions, response object can close connection
|
|
1313
|
-
# if state is broken
|
|
1314
|
-
self.release()
|
|
1315
|
-
await self.wait_for_close()
|