@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,1550 +0,0 @@
|
|
|
1
|
-
"""HTTP Client for asyncio."""
|
|
2
|
-
|
|
3
|
-
import asyncio
|
|
4
|
-
import base64
|
|
5
|
-
import hashlib
|
|
6
|
-
import json
|
|
7
|
-
import os
|
|
8
|
-
import sys
|
|
9
|
-
import traceback
|
|
10
|
-
import warnings
|
|
11
|
-
from contextlib import suppress
|
|
12
|
-
from types import TracebackType
|
|
13
|
-
from typing import (
|
|
14
|
-
TYPE_CHECKING,
|
|
15
|
-
Any,
|
|
16
|
-
Awaitable,
|
|
17
|
-
Callable,
|
|
18
|
-
Coroutine,
|
|
19
|
-
Final,
|
|
20
|
-
FrozenSet,
|
|
21
|
-
Generator,
|
|
22
|
-
Generic,
|
|
23
|
-
Iterable,
|
|
24
|
-
List,
|
|
25
|
-
Mapping,
|
|
26
|
-
Optional,
|
|
27
|
-
Set,
|
|
28
|
-
Tuple,
|
|
29
|
-
Type,
|
|
30
|
-
TypedDict,
|
|
31
|
-
TypeVar,
|
|
32
|
-
Union,
|
|
33
|
-
)
|
|
34
|
-
|
|
35
|
-
import attr
|
|
36
|
-
from multidict import CIMultiDict, MultiDict, MultiDictProxy, istr
|
|
37
|
-
from yarl import URL
|
|
38
|
-
|
|
39
|
-
from . import hdrs, http, payload
|
|
40
|
-
from ._websocket.reader import WebSocketDataQueue
|
|
41
|
-
from .abc import AbstractCookieJar
|
|
42
|
-
from .client_exceptions import (
|
|
43
|
-
ClientConnectionError,
|
|
44
|
-
ClientConnectionResetError,
|
|
45
|
-
ClientConnectorCertificateError,
|
|
46
|
-
ClientConnectorDNSError,
|
|
47
|
-
ClientConnectorError,
|
|
48
|
-
ClientConnectorSSLError,
|
|
49
|
-
ClientError,
|
|
50
|
-
ClientHttpProxyError,
|
|
51
|
-
ClientOSError,
|
|
52
|
-
ClientPayloadError,
|
|
53
|
-
ClientProxyConnectionError,
|
|
54
|
-
ClientResponseError,
|
|
55
|
-
ClientSSLError,
|
|
56
|
-
ConnectionTimeoutError,
|
|
57
|
-
ContentTypeError,
|
|
58
|
-
InvalidURL,
|
|
59
|
-
InvalidUrlClientError,
|
|
60
|
-
InvalidUrlRedirectClientError,
|
|
61
|
-
NonHttpUrlClientError,
|
|
62
|
-
NonHttpUrlRedirectClientError,
|
|
63
|
-
RedirectClientError,
|
|
64
|
-
ServerConnectionError,
|
|
65
|
-
ServerDisconnectedError,
|
|
66
|
-
ServerFingerprintMismatch,
|
|
67
|
-
ServerTimeoutError,
|
|
68
|
-
SocketTimeoutError,
|
|
69
|
-
TooManyRedirects,
|
|
70
|
-
WSMessageTypeError,
|
|
71
|
-
WSServerHandshakeError,
|
|
72
|
-
)
|
|
73
|
-
from .client_reqrep import (
|
|
74
|
-
ClientRequest as ClientRequest,
|
|
75
|
-
ClientResponse as ClientResponse,
|
|
76
|
-
Fingerprint as Fingerprint,
|
|
77
|
-
RequestInfo as RequestInfo,
|
|
78
|
-
_merge_ssl_params,
|
|
79
|
-
)
|
|
80
|
-
from .client_ws import (
|
|
81
|
-
DEFAULT_WS_CLIENT_TIMEOUT,
|
|
82
|
-
ClientWebSocketResponse as ClientWebSocketResponse,
|
|
83
|
-
ClientWSTimeout as ClientWSTimeout,
|
|
84
|
-
)
|
|
85
|
-
from .connector import (
|
|
86
|
-
HTTP_AND_EMPTY_SCHEMA_SET,
|
|
87
|
-
BaseConnector as BaseConnector,
|
|
88
|
-
NamedPipeConnector as NamedPipeConnector,
|
|
89
|
-
TCPConnector as TCPConnector,
|
|
90
|
-
UnixConnector as UnixConnector,
|
|
91
|
-
)
|
|
92
|
-
from .cookiejar import CookieJar
|
|
93
|
-
from .helpers import (
|
|
94
|
-
_SENTINEL,
|
|
95
|
-
DEBUG,
|
|
96
|
-
EMPTY_BODY_METHODS,
|
|
97
|
-
BasicAuth,
|
|
98
|
-
TimeoutHandle,
|
|
99
|
-
get_env_proxy_for_url,
|
|
100
|
-
sentinel,
|
|
101
|
-
strip_auth_from_url,
|
|
102
|
-
)
|
|
103
|
-
from .http import WS_KEY, HttpVersion, WebSocketReader, WebSocketWriter
|
|
104
|
-
from .http_websocket import WSHandshakeError, ws_ext_gen, ws_ext_parse
|
|
105
|
-
from .tracing import Trace, TraceConfig
|
|
106
|
-
from .typedefs import JSONEncoder, LooseCookies, LooseHeaders, Query, StrOrURL
|
|
107
|
-
|
|
108
|
-
__all__ = (
|
|
109
|
-
# client_exceptions
|
|
110
|
-
"ClientConnectionError",
|
|
111
|
-
"ClientConnectionResetError",
|
|
112
|
-
"ClientConnectorCertificateError",
|
|
113
|
-
"ClientConnectorDNSError",
|
|
114
|
-
"ClientConnectorError",
|
|
115
|
-
"ClientConnectorSSLError",
|
|
116
|
-
"ClientError",
|
|
117
|
-
"ClientHttpProxyError",
|
|
118
|
-
"ClientOSError",
|
|
119
|
-
"ClientPayloadError",
|
|
120
|
-
"ClientProxyConnectionError",
|
|
121
|
-
"ClientResponseError",
|
|
122
|
-
"ClientSSLError",
|
|
123
|
-
"ConnectionTimeoutError",
|
|
124
|
-
"ContentTypeError",
|
|
125
|
-
"InvalidURL",
|
|
126
|
-
"InvalidUrlClientError",
|
|
127
|
-
"RedirectClientError",
|
|
128
|
-
"NonHttpUrlClientError",
|
|
129
|
-
"InvalidUrlRedirectClientError",
|
|
130
|
-
"NonHttpUrlRedirectClientError",
|
|
131
|
-
"ServerConnectionError",
|
|
132
|
-
"ServerDisconnectedError",
|
|
133
|
-
"ServerFingerprintMismatch",
|
|
134
|
-
"ServerTimeoutError",
|
|
135
|
-
"SocketTimeoutError",
|
|
136
|
-
"TooManyRedirects",
|
|
137
|
-
"WSServerHandshakeError",
|
|
138
|
-
# client_reqrep
|
|
139
|
-
"ClientRequest",
|
|
140
|
-
"ClientResponse",
|
|
141
|
-
"Fingerprint",
|
|
142
|
-
"RequestInfo",
|
|
143
|
-
# connector
|
|
144
|
-
"BaseConnector",
|
|
145
|
-
"TCPConnector",
|
|
146
|
-
"UnixConnector",
|
|
147
|
-
"NamedPipeConnector",
|
|
148
|
-
# client_ws
|
|
149
|
-
"ClientWebSocketResponse",
|
|
150
|
-
# client
|
|
151
|
-
"ClientSession",
|
|
152
|
-
"ClientTimeout",
|
|
153
|
-
"ClientWSTimeout",
|
|
154
|
-
"request",
|
|
155
|
-
"WSMessageTypeError",
|
|
156
|
-
)
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
if TYPE_CHECKING:
|
|
160
|
-
from ssl import SSLContext
|
|
161
|
-
else:
|
|
162
|
-
SSLContext = None
|
|
163
|
-
|
|
164
|
-
if sys.version_info >= (3, 11) and TYPE_CHECKING:
|
|
165
|
-
from typing import Unpack
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
class _RequestOptions(TypedDict, total=False):
|
|
169
|
-
params: Query
|
|
170
|
-
data: Any
|
|
171
|
-
json: Any
|
|
172
|
-
cookies: Union[LooseCookies, None]
|
|
173
|
-
headers: Union[LooseHeaders, None]
|
|
174
|
-
skip_auto_headers: Union[Iterable[str], None]
|
|
175
|
-
auth: Union[BasicAuth, None]
|
|
176
|
-
allow_redirects: bool
|
|
177
|
-
max_redirects: int
|
|
178
|
-
compress: Union[str, bool, None]
|
|
179
|
-
chunked: Union[bool, None]
|
|
180
|
-
expect100: bool
|
|
181
|
-
raise_for_status: Union[None, bool, Callable[[ClientResponse], Awaitable[None]]]
|
|
182
|
-
read_until_eof: bool
|
|
183
|
-
proxy: Union[StrOrURL, None]
|
|
184
|
-
proxy_auth: Union[BasicAuth, None]
|
|
185
|
-
timeout: "Union[ClientTimeout, _SENTINEL, None]"
|
|
186
|
-
ssl: Union[SSLContext, bool, Fingerprint]
|
|
187
|
-
server_hostname: Union[str, None]
|
|
188
|
-
proxy_headers: Union[LooseHeaders, None]
|
|
189
|
-
trace_request_ctx: Union[Mapping[str, Any], None]
|
|
190
|
-
read_bufsize: Union[int, None]
|
|
191
|
-
auto_decompress: Union[bool, None]
|
|
192
|
-
max_line_size: Union[int, None]
|
|
193
|
-
max_field_size: Union[int, None]
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
@attr.s(auto_attribs=True, frozen=True, slots=True)
|
|
197
|
-
class ClientTimeout:
|
|
198
|
-
total: Optional[float] = None
|
|
199
|
-
connect: Optional[float] = None
|
|
200
|
-
sock_read: Optional[float] = None
|
|
201
|
-
sock_connect: Optional[float] = None
|
|
202
|
-
ceil_threshold: float = 5
|
|
203
|
-
|
|
204
|
-
# pool_queue_timeout: Optional[float] = None
|
|
205
|
-
# dns_resolution_timeout: Optional[float] = None
|
|
206
|
-
# socket_connect_timeout: Optional[float] = None
|
|
207
|
-
# connection_acquiring_timeout: Optional[float] = None
|
|
208
|
-
# new_connection_timeout: Optional[float] = None
|
|
209
|
-
# http_header_timeout: Optional[float] = None
|
|
210
|
-
# response_body_timeout: Optional[float] = None
|
|
211
|
-
|
|
212
|
-
# to create a timeout specific for a single request, either
|
|
213
|
-
# - create a completely new one to overwrite the default
|
|
214
|
-
# - or use http://www.attrs.org/en/stable/api.html#attr.evolve
|
|
215
|
-
# to overwrite the defaults
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
# 5 Minute default read timeout
|
|
219
|
-
DEFAULT_TIMEOUT: Final[ClientTimeout] = ClientTimeout(total=5 * 60, sock_connect=30)
|
|
220
|
-
|
|
221
|
-
# https://www.rfc-editor.org/rfc/rfc9110#section-9.2.2
|
|
222
|
-
IDEMPOTENT_METHODS = frozenset({"GET", "HEAD", "OPTIONS", "TRACE", "PUT", "DELETE"})
|
|
223
|
-
|
|
224
|
-
_RetType = TypeVar("_RetType", ClientResponse, ClientWebSocketResponse)
|
|
225
|
-
_CharsetResolver = Callable[[ClientResponse, bytes], str]
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
class ClientSession:
|
|
229
|
-
"""First-class interface for making HTTP requests."""
|
|
230
|
-
|
|
231
|
-
ATTRS = frozenset(
|
|
232
|
-
[
|
|
233
|
-
"_base_url",
|
|
234
|
-
"_base_url_origin",
|
|
235
|
-
"_source_traceback",
|
|
236
|
-
"_connector",
|
|
237
|
-
"_loop",
|
|
238
|
-
"_cookie_jar",
|
|
239
|
-
"_connector_owner",
|
|
240
|
-
"_default_auth",
|
|
241
|
-
"_version",
|
|
242
|
-
"_json_serialize",
|
|
243
|
-
"_requote_redirect_url",
|
|
244
|
-
"_timeout",
|
|
245
|
-
"_raise_for_status",
|
|
246
|
-
"_auto_decompress",
|
|
247
|
-
"_trust_env",
|
|
248
|
-
"_default_headers",
|
|
249
|
-
"_skip_auto_headers",
|
|
250
|
-
"_request_class",
|
|
251
|
-
"_response_class",
|
|
252
|
-
"_ws_response_class",
|
|
253
|
-
"_trace_configs",
|
|
254
|
-
"_read_bufsize",
|
|
255
|
-
"_max_line_size",
|
|
256
|
-
"_max_field_size",
|
|
257
|
-
"_resolve_charset",
|
|
258
|
-
"_default_proxy",
|
|
259
|
-
"_default_proxy_auth",
|
|
260
|
-
"_retry_connection",
|
|
261
|
-
"requote_redirect_url",
|
|
262
|
-
]
|
|
263
|
-
)
|
|
264
|
-
|
|
265
|
-
_source_traceback: Optional[traceback.StackSummary] = None
|
|
266
|
-
_connector: Optional[BaseConnector] = None
|
|
267
|
-
|
|
268
|
-
def __init__(
|
|
269
|
-
self,
|
|
270
|
-
base_url: Optional[StrOrURL] = None,
|
|
271
|
-
*,
|
|
272
|
-
connector: Optional[BaseConnector] = None,
|
|
273
|
-
loop: Optional[asyncio.AbstractEventLoop] = None,
|
|
274
|
-
cookies: Optional[LooseCookies] = None,
|
|
275
|
-
headers: Optional[LooseHeaders] = None,
|
|
276
|
-
proxy: Optional[StrOrURL] = None,
|
|
277
|
-
proxy_auth: Optional[BasicAuth] = None,
|
|
278
|
-
skip_auto_headers: Optional[Iterable[str]] = None,
|
|
279
|
-
auth: Optional[BasicAuth] = None,
|
|
280
|
-
json_serialize: JSONEncoder = json.dumps,
|
|
281
|
-
request_class: Type[ClientRequest] = ClientRequest,
|
|
282
|
-
response_class: Type[ClientResponse] = ClientResponse,
|
|
283
|
-
ws_response_class: Type[ClientWebSocketResponse] = ClientWebSocketResponse,
|
|
284
|
-
version: HttpVersion = http.HttpVersion11,
|
|
285
|
-
cookie_jar: Optional[AbstractCookieJar] = None,
|
|
286
|
-
connector_owner: bool = True,
|
|
287
|
-
raise_for_status: Union[
|
|
288
|
-
bool, Callable[[ClientResponse], Awaitable[None]]
|
|
289
|
-
] = False,
|
|
290
|
-
read_timeout: Union[float, _SENTINEL] = sentinel,
|
|
291
|
-
conn_timeout: Optional[float] = None,
|
|
292
|
-
timeout: Union[object, ClientTimeout] = sentinel,
|
|
293
|
-
auto_decompress: bool = True,
|
|
294
|
-
trust_env: bool = False,
|
|
295
|
-
requote_redirect_url: bool = True,
|
|
296
|
-
trace_configs: Optional[List[TraceConfig]] = None,
|
|
297
|
-
read_bufsize: int = 2**16,
|
|
298
|
-
max_line_size: int = 8190,
|
|
299
|
-
max_field_size: int = 8190,
|
|
300
|
-
fallback_charset_resolver: _CharsetResolver = lambda r, b: "utf-8",
|
|
301
|
-
) -> None:
|
|
302
|
-
# We initialise _connector to None immediately, as it's referenced in __del__()
|
|
303
|
-
# and could cause issues if an exception occurs during initialisation.
|
|
304
|
-
self._connector: Optional[BaseConnector] = None
|
|
305
|
-
|
|
306
|
-
if loop is None:
|
|
307
|
-
if connector is not None:
|
|
308
|
-
loop = connector._loop
|
|
309
|
-
|
|
310
|
-
loop = loop or asyncio.get_running_loop()
|
|
311
|
-
|
|
312
|
-
if base_url is None or isinstance(base_url, URL):
|
|
313
|
-
self._base_url: Optional[URL] = base_url
|
|
314
|
-
self._base_url_origin = None if base_url is None else base_url.origin()
|
|
315
|
-
else:
|
|
316
|
-
self._base_url = URL(base_url)
|
|
317
|
-
self._base_url_origin = self._base_url.origin()
|
|
318
|
-
assert self._base_url.absolute, "Only absolute URLs are supported"
|
|
319
|
-
if self._base_url is not None and not self._base_url.path.endswith("/"):
|
|
320
|
-
raise ValueError("base_url must have a trailing '/'")
|
|
321
|
-
|
|
322
|
-
if timeout is sentinel or timeout is None:
|
|
323
|
-
self._timeout = DEFAULT_TIMEOUT
|
|
324
|
-
if read_timeout is not sentinel:
|
|
325
|
-
warnings.warn(
|
|
326
|
-
"read_timeout is deprecated, use timeout argument instead",
|
|
327
|
-
DeprecationWarning,
|
|
328
|
-
stacklevel=2,
|
|
329
|
-
)
|
|
330
|
-
self._timeout = attr.evolve(self._timeout, total=read_timeout)
|
|
331
|
-
if conn_timeout is not None:
|
|
332
|
-
self._timeout = attr.evolve(self._timeout, connect=conn_timeout)
|
|
333
|
-
warnings.warn(
|
|
334
|
-
"conn_timeout is deprecated, use timeout argument instead",
|
|
335
|
-
DeprecationWarning,
|
|
336
|
-
stacklevel=2,
|
|
337
|
-
)
|
|
338
|
-
else:
|
|
339
|
-
if not isinstance(timeout, ClientTimeout):
|
|
340
|
-
raise ValueError(
|
|
341
|
-
f"timeout parameter cannot be of {type(timeout)} type, "
|
|
342
|
-
"please use 'timeout=ClientTimeout(...)'",
|
|
343
|
-
)
|
|
344
|
-
self._timeout = timeout
|
|
345
|
-
if read_timeout is not sentinel:
|
|
346
|
-
raise ValueError(
|
|
347
|
-
"read_timeout and timeout parameters "
|
|
348
|
-
"conflict, please setup "
|
|
349
|
-
"timeout.read"
|
|
350
|
-
)
|
|
351
|
-
if conn_timeout is not None:
|
|
352
|
-
raise ValueError(
|
|
353
|
-
"conn_timeout and timeout parameters "
|
|
354
|
-
"conflict, please setup "
|
|
355
|
-
"timeout.connect"
|
|
356
|
-
)
|
|
357
|
-
|
|
358
|
-
if connector is None:
|
|
359
|
-
connector = TCPConnector(loop=loop)
|
|
360
|
-
|
|
361
|
-
if connector._loop is not loop:
|
|
362
|
-
raise RuntimeError("Session and connector has to use same event loop")
|
|
363
|
-
|
|
364
|
-
self._loop = loop
|
|
365
|
-
|
|
366
|
-
if loop.get_debug():
|
|
367
|
-
self._source_traceback = traceback.extract_stack(sys._getframe(1))
|
|
368
|
-
|
|
369
|
-
if cookie_jar is None:
|
|
370
|
-
cookie_jar = CookieJar(loop=loop)
|
|
371
|
-
self._cookie_jar = cookie_jar
|
|
372
|
-
|
|
373
|
-
if cookies:
|
|
374
|
-
self._cookie_jar.update_cookies(cookies)
|
|
375
|
-
|
|
376
|
-
self._connector = connector
|
|
377
|
-
self._connector_owner = connector_owner
|
|
378
|
-
self._default_auth = auth
|
|
379
|
-
self._version = version
|
|
380
|
-
self._json_serialize = json_serialize
|
|
381
|
-
self._raise_for_status = raise_for_status
|
|
382
|
-
self._auto_decompress = auto_decompress
|
|
383
|
-
self._trust_env = trust_env
|
|
384
|
-
self._requote_redirect_url = requote_redirect_url
|
|
385
|
-
self._read_bufsize = read_bufsize
|
|
386
|
-
self._max_line_size = max_line_size
|
|
387
|
-
self._max_field_size = max_field_size
|
|
388
|
-
|
|
389
|
-
# Convert to list of tuples
|
|
390
|
-
if headers:
|
|
391
|
-
real_headers: CIMultiDict[str] = CIMultiDict(headers)
|
|
392
|
-
else:
|
|
393
|
-
real_headers = CIMultiDict()
|
|
394
|
-
self._default_headers: CIMultiDict[str] = real_headers
|
|
395
|
-
if skip_auto_headers is not None:
|
|
396
|
-
self._skip_auto_headers = frozenset(istr(i) for i in skip_auto_headers)
|
|
397
|
-
else:
|
|
398
|
-
self._skip_auto_headers = frozenset()
|
|
399
|
-
|
|
400
|
-
self._request_class = request_class
|
|
401
|
-
self._response_class = response_class
|
|
402
|
-
self._ws_response_class = ws_response_class
|
|
403
|
-
|
|
404
|
-
self._trace_configs = trace_configs or []
|
|
405
|
-
for trace_config in self._trace_configs:
|
|
406
|
-
trace_config.freeze()
|
|
407
|
-
|
|
408
|
-
self._resolve_charset = fallback_charset_resolver
|
|
409
|
-
|
|
410
|
-
self._default_proxy = proxy
|
|
411
|
-
self._default_proxy_auth = proxy_auth
|
|
412
|
-
self._retry_connection: bool = True
|
|
413
|
-
|
|
414
|
-
def __init_subclass__(cls: Type["ClientSession"]) -> None:
|
|
415
|
-
warnings.warn(
|
|
416
|
-
"Inheritance class {} from ClientSession "
|
|
417
|
-
"is discouraged".format(cls.__name__),
|
|
418
|
-
DeprecationWarning,
|
|
419
|
-
stacklevel=2,
|
|
420
|
-
)
|
|
421
|
-
|
|
422
|
-
if DEBUG:
|
|
423
|
-
|
|
424
|
-
def __setattr__(self, name: str, val: Any) -> None:
|
|
425
|
-
if name not in self.ATTRS:
|
|
426
|
-
warnings.warn(
|
|
427
|
-
"Setting custom ClientSession.{} attribute "
|
|
428
|
-
"is discouraged".format(name),
|
|
429
|
-
DeprecationWarning,
|
|
430
|
-
stacklevel=2,
|
|
431
|
-
)
|
|
432
|
-
super().__setattr__(name, val)
|
|
433
|
-
|
|
434
|
-
def __del__(self, _warnings: Any = warnings) -> None:
|
|
435
|
-
if not self.closed:
|
|
436
|
-
kwargs = {"source": self}
|
|
437
|
-
_warnings.warn(
|
|
438
|
-
f"Unclosed client session {self!r}", ResourceWarning, **kwargs
|
|
439
|
-
)
|
|
440
|
-
context = {"client_session": self, "message": "Unclosed client session"}
|
|
441
|
-
if self._source_traceback is not None:
|
|
442
|
-
context["source_traceback"] = self._source_traceback
|
|
443
|
-
self._loop.call_exception_handler(context)
|
|
444
|
-
|
|
445
|
-
if sys.version_info >= (3, 11) and TYPE_CHECKING:
|
|
446
|
-
|
|
447
|
-
def request(
|
|
448
|
-
self,
|
|
449
|
-
method: str,
|
|
450
|
-
url: StrOrURL,
|
|
451
|
-
**kwargs: Unpack[_RequestOptions],
|
|
452
|
-
) -> "_RequestContextManager": ...
|
|
453
|
-
|
|
454
|
-
else:
|
|
455
|
-
|
|
456
|
-
def request(
|
|
457
|
-
self, method: str, url: StrOrURL, **kwargs: Any
|
|
458
|
-
) -> "_RequestContextManager":
|
|
459
|
-
"""Perform HTTP request."""
|
|
460
|
-
return _RequestContextManager(self._request(method, url, **kwargs))
|
|
461
|
-
|
|
462
|
-
def _build_url(self, str_or_url: StrOrURL) -> URL:
|
|
463
|
-
url = URL(str_or_url)
|
|
464
|
-
if self._base_url is None:
|
|
465
|
-
return url
|
|
466
|
-
else:
|
|
467
|
-
assert not url.absolute
|
|
468
|
-
return self._base_url.join(url)
|
|
469
|
-
|
|
470
|
-
async def _request(
|
|
471
|
-
self,
|
|
472
|
-
method: str,
|
|
473
|
-
str_or_url: StrOrURL,
|
|
474
|
-
*,
|
|
475
|
-
params: Query = None,
|
|
476
|
-
data: Any = None,
|
|
477
|
-
json: Any = None,
|
|
478
|
-
cookies: Optional[LooseCookies] = None,
|
|
479
|
-
headers: Optional[LooseHeaders] = None,
|
|
480
|
-
skip_auto_headers: Optional[Iterable[str]] = None,
|
|
481
|
-
auth: Optional[BasicAuth] = None,
|
|
482
|
-
allow_redirects: bool = True,
|
|
483
|
-
max_redirects: int = 10,
|
|
484
|
-
compress: Union[str, bool, None] = None,
|
|
485
|
-
chunked: Optional[bool] = None,
|
|
486
|
-
expect100: bool = False,
|
|
487
|
-
raise_for_status: Union[
|
|
488
|
-
None, bool, Callable[[ClientResponse], Awaitable[None]]
|
|
489
|
-
] = None,
|
|
490
|
-
read_until_eof: bool = True,
|
|
491
|
-
proxy: Optional[StrOrURL] = None,
|
|
492
|
-
proxy_auth: Optional[BasicAuth] = None,
|
|
493
|
-
timeout: Union[ClientTimeout, _SENTINEL] = sentinel,
|
|
494
|
-
verify_ssl: Optional[bool] = None,
|
|
495
|
-
fingerprint: Optional[bytes] = None,
|
|
496
|
-
ssl_context: Optional[SSLContext] = None,
|
|
497
|
-
ssl: Union[SSLContext, bool, Fingerprint] = True,
|
|
498
|
-
server_hostname: Optional[str] = None,
|
|
499
|
-
proxy_headers: Optional[LooseHeaders] = None,
|
|
500
|
-
trace_request_ctx: Optional[Mapping[str, Any]] = None,
|
|
501
|
-
read_bufsize: Optional[int] = None,
|
|
502
|
-
auto_decompress: Optional[bool] = None,
|
|
503
|
-
max_line_size: Optional[int] = None,
|
|
504
|
-
max_field_size: Optional[int] = None,
|
|
505
|
-
) -> ClientResponse:
|
|
506
|
-
|
|
507
|
-
# NOTE: timeout clamps existing connect and read timeouts. We cannot
|
|
508
|
-
# set the default to None because we need to detect if the user wants
|
|
509
|
-
# to use the existing timeouts by setting timeout to None.
|
|
510
|
-
|
|
511
|
-
if self.closed:
|
|
512
|
-
raise RuntimeError("Session is closed")
|
|
513
|
-
|
|
514
|
-
ssl = _merge_ssl_params(ssl, verify_ssl, ssl_context, fingerprint)
|
|
515
|
-
|
|
516
|
-
if data is not None and json is not None:
|
|
517
|
-
raise ValueError(
|
|
518
|
-
"data and json parameters can not be used at the same time"
|
|
519
|
-
)
|
|
520
|
-
elif json is not None:
|
|
521
|
-
data = payload.JsonPayload(json, dumps=self._json_serialize)
|
|
522
|
-
|
|
523
|
-
if not isinstance(chunked, bool) and chunked is not None:
|
|
524
|
-
warnings.warn("Chunk size is deprecated #1615", DeprecationWarning)
|
|
525
|
-
|
|
526
|
-
redirects = 0
|
|
527
|
-
history: List[ClientResponse] = []
|
|
528
|
-
version = self._version
|
|
529
|
-
params = params or {}
|
|
530
|
-
|
|
531
|
-
# Merge with default headers and transform to CIMultiDict
|
|
532
|
-
headers = self._prepare_headers(headers)
|
|
533
|
-
|
|
534
|
-
try:
|
|
535
|
-
url = self._build_url(str_or_url)
|
|
536
|
-
except ValueError as e:
|
|
537
|
-
raise InvalidUrlClientError(str_or_url) from e
|
|
538
|
-
|
|
539
|
-
assert self._connector is not None
|
|
540
|
-
if url.scheme not in self._connector.allowed_protocol_schema_set:
|
|
541
|
-
raise NonHttpUrlClientError(url)
|
|
542
|
-
|
|
543
|
-
skip_headers: Optional[Iterable[istr]]
|
|
544
|
-
if skip_auto_headers is not None:
|
|
545
|
-
skip_headers = {
|
|
546
|
-
istr(i) for i in skip_auto_headers
|
|
547
|
-
} | self._skip_auto_headers
|
|
548
|
-
elif self._skip_auto_headers:
|
|
549
|
-
skip_headers = self._skip_auto_headers
|
|
550
|
-
else:
|
|
551
|
-
skip_headers = None
|
|
552
|
-
|
|
553
|
-
if proxy is None:
|
|
554
|
-
proxy = self._default_proxy
|
|
555
|
-
if proxy_auth is None:
|
|
556
|
-
proxy_auth = self._default_proxy_auth
|
|
557
|
-
|
|
558
|
-
if proxy is None:
|
|
559
|
-
proxy_headers = None
|
|
560
|
-
else:
|
|
561
|
-
proxy_headers = self._prepare_headers(proxy_headers)
|
|
562
|
-
try:
|
|
563
|
-
proxy = URL(proxy)
|
|
564
|
-
except ValueError as e:
|
|
565
|
-
raise InvalidURL(proxy) from e
|
|
566
|
-
|
|
567
|
-
if timeout is sentinel:
|
|
568
|
-
real_timeout: ClientTimeout = self._timeout
|
|
569
|
-
else:
|
|
570
|
-
if not isinstance(timeout, ClientTimeout):
|
|
571
|
-
real_timeout = ClientTimeout(total=timeout)
|
|
572
|
-
else:
|
|
573
|
-
real_timeout = timeout
|
|
574
|
-
# timeout is cumulative for all request operations
|
|
575
|
-
# (request, redirects, responses, data consuming)
|
|
576
|
-
tm = TimeoutHandle(
|
|
577
|
-
self._loop, real_timeout.total, ceil_threshold=real_timeout.ceil_threshold
|
|
578
|
-
)
|
|
579
|
-
handle = tm.start()
|
|
580
|
-
|
|
581
|
-
if read_bufsize is None:
|
|
582
|
-
read_bufsize = self._read_bufsize
|
|
583
|
-
|
|
584
|
-
if auto_decompress is None:
|
|
585
|
-
auto_decompress = self._auto_decompress
|
|
586
|
-
|
|
587
|
-
if max_line_size is None:
|
|
588
|
-
max_line_size = self._max_line_size
|
|
589
|
-
|
|
590
|
-
if max_field_size is None:
|
|
591
|
-
max_field_size = self._max_field_size
|
|
592
|
-
|
|
593
|
-
traces = [
|
|
594
|
-
Trace(
|
|
595
|
-
self,
|
|
596
|
-
trace_config,
|
|
597
|
-
trace_config.trace_config_ctx(trace_request_ctx=trace_request_ctx),
|
|
598
|
-
)
|
|
599
|
-
for trace_config in self._trace_configs
|
|
600
|
-
]
|
|
601
|
-
|
|
602
|
-
for trace in traces:
|
|
603
|
-
await trace.send_request_start(method, url.update_query(params), headers)
|
|
604
|
-
|
|
605
|
-
timer = tm.timer()
|
|
606
|
-
try:
|
|
607
|
-
with timer:
|
|
608
|
-
# https://www.rfc-editor.org/rfc/rfc9112.html#name-retrying-requests
|
|
609
|
-
retry_persistent_connection = (
|
|
610
|
-
self._retry_connection and method in IDEMPOTENT_METHODS
|
|
611
|
-
)
|
|
612
|
-
while True:
|
|
613
|
-
url, auth_from_url = strip_auth_from_url(url)
|
|
614
|
-
if not url.raw_host:
|
|
615
|
-
# NOTE: Bail early, otherwise, causes `InvalidURL` through
|
|
616
|
-
# NOTE: `self._request_class()` below.
|
|
617
|
-
err_exc_cls = (
|
|
618
|
-
InvalidUrlRedirectClientError
|
|
619
|
-
if redirects
|
|
620
|
-
else InvalidUrlClientError
|
|
621
|
-
)
|
|
622
|
-
raise err_exc_cls(url)
|
|
623
|
-
# If `auth` was passed for an already authenticated URL,
|
|
624
|
-
# disallow only if this is the initial URL; this is to avoid issues
|
|
625
|
-
# with sketchy redirects that are not the caller's responsibility
|
|
626
|
-
if not history and (auth and auth_from_url):
|
|
627
|
-
raise ValueError(
|
|
628
|
-
"Cannot combine AUTH argument with "
|
|
629
|
-
"credentials encoded in URL"
|
|
630
|
-
)
|
|
631
|
-
|
|
632
|
-
# Override the auth with the one from the URL only if we
|
|
633
|
-
# have no auth, or if we got an auth from a redirect URL
|
|
634
|
-
if auth is None or (history and auth_from_url is not None):
|
|
635
|
-
auth = auth_from_url
|
|
636
|
-
|
|
637
|
-
if (
|
|
638
|
-
auth is None
|
|
639
|
-
and self._default_auth
|
|
640
|
-
and (
|
|
641
|
-
not self._base_url or self._base_url_origin == url.origin()
|
|
642
|
-
)
|
|
643
|
-
):
|
|
644
|
-
auth = self._default_auth
|
|
645
|
-
# It would be confusing if we support explicit
|
|
646
|
-
# Authorization header with auth argument
|
|
647
|
-
if (
|
|
648
|
-
headers is not None
|
|
649
|
-
and auth is not None
|
|
650
|
-
and hdrs.AUTHORIZATION in headers
|
|
651
|
-
):
|
|
652
|
-
raise ValueError(
|
|
653
|
-
"Cannot combine AUTHORIZATION header "
|
|
654
|
-
"with AUTH argument or credentials "
|
|
655
|
-
"encoded in URL"
|
|
656
|
-
)
|
|
657
|
-
|
|
658
|
-
all_cookies = self._cookie_jar.filter_cookies(url)
|
|
659
|
-
|
|
660
|
-
if cookies is not None:
|
|
661
|
-
tmp_cookie_jar = CookieJar(
|
|
662
|
-
quote_cookie=self._cookie_jar.quote_cookie
|
|
663
|
-
)
|
|
664
|
-
tmp_cookie_jar.update_cookies(cookies)
|
|
665
|
-
req_cookies = tmp_cookie_jar.filter_cookies(url)
|
|
666
|
-
if req_cookies:
|
|
667
|
-
all_cookies.load(req_cookies)
|
|
668
|
-
|
|
669
|
-
if proxy is not None:
|
|
670
|
-
proxy = URL(proxy)
|
|
671
|
-
elif self._trust_env:
|
|
672
|
-
with suppress(LookupError):
|
|
673
|
-
proxy, proxy_auth = get_env_proxy_for_url(url)
|
|
674
|
-
|
|
675
|
-
req = self._request_class(
|
|
676
|
-
method,
|
|
677
|
-
url,
|
|
678
|
-
params=params,
|
|
679
|
-
headers=headers,
|
|
680
|
-
skip_auto_headers=skip_headers,
|
|
681
|
-
data=data,
|
|
682
|
-
cookies=all_cookies,
|
|
683
|
-
auth=auth,
|
|
684
|
-
version=version,
|
|
685
|
-
compress=compress,
|
|
686
|
-
chunked=chunked,
|
|
687
|
-
expect100=expect100,
|
|
688
|
-
loop=self._loop,
|
|
689
|
-
response_class=self._response_class,
|
|
690
|
-
proxy=proxy,
|
|
691
|
-
proxy_auth=proxy_auth,
|
|
692
|
-
timer=timer,
|
|
693
|
-
session=self,
|
|
694
|
-
ssl=ssl if ssl is not None else True,
|
|
695
|
-
server_hostname=server_hostname,
|
|
696
|
-
proxy_headers=proxy_headers,
|
|
697
|
-
traces=traces,
|
|
698
|
-
trust_env=self.trust_env,
|
|
699
|
-
)
|
|
700
|
-
|
|
701
|
-
# connection timeout
|
|
702
|
-
try:
|
|
703
|
-
conn = await self._connector.connect(
|
|
704
|
-
req, traces=traces, timeout=real_timeout
|
|
705
|
-
)
|
|
706
|
-
except asyncio.TimeoutError as exc:
|
|
707
|
-
raise ConnectionTimeoutError(
|
|
708
|
-
f"Connection timeout to host {url}"
|
|
709
|
-
) from exc
|
|
710
|
-
|
|
711
|
-
assert conn.transport is not None
|
|
712
|
-
|
|
713
|
-
assert conn.protocol is not None
|
|
714
|
-
conn.protocol.set_response_params(
|
|
715
|
-
timer=timer,
|
|
716
|
-
skip_payload=method in EMPTY_BODY_METHODS,
|
|
717
|
-
read_until_eof=read_until_eof,
|
|
718
|
-
auto_decompress=auto_decompress,
|
|
719
|
-
read_timeout=real_timeout.sock_read,
|
|
720
|
-
read_bufsize=read_bufsize,
|
|
721
|
-
timeout_ceil_threshold=self._connector._timeout_ceil_threshold,
|
|
722
|
-
max_line_size=max_line_size,
|
|
723
|
-
max_field_size=max_field_size,
|
|
724
|
-
)
|
|
725
|
-
|
|
726
|
-
try:
|
|
727
|
-
try:
|
|
728
|
-
resp = await req.send(conn)
|
|
729
|
-
try:
|
|
730
|
-
await resp.start(conn)
|
|
731
|
-
except BaseException:
|
|
732
|
-
resp.close()
|
|
733
|
-
raise
|
|
734
|
-
except BaseException:
|
|
735
|
-
conn.close()
|
|
736
|
-
raise
|
|
737
|
-
except (ClientOSError, ServerDisconnectedError):
|
|
738
|
-
if retry_persistent_connection:
|
|
739
|
-
retry_persistent_connection = False
|
|
740
|
-
continue
|
|
741
|
-
raise
|
|
742
|
-
except ClientError:
|
|
743
|
-
raise
|
|
744
|
-
except OSError as exc:
|
|
745
|
-
if exc.errno is None and isinstance(exc, asyncio.TimeoutError):
|
|
746
|
-
raise
|
|
747
|
-
raise ClientOSError(*exc.args) from exc
|
|
748
|
-
|
|
749
|
-
if cookies := resp._cookies:
|
|
750
|
-
self._cookie_jar.update_cookies(cookies, resp.url)
|
|
751
|
-
|
|
752
|
-
# redirects
|
|
753
|
-
if resp.status in (301, 302, 303, 307, 308) and allow_redirects:
|
|
754
|
-
|
|
755
|
-
for trace in traces:
|
|
756
|
-
await trace.send_request_redirect(
|
|
757
|
-
method, url.update_query(params), headers, resp
|
|
758
|
-
)
|
|
759
|
-
|
|
760
|
-
redirects += 1
|
|
761
|
-
history.append(resp)
|
|
762
|
-
if max_redirects and redirects >= max_redirects:
|
|
763
|
-
resp.close()
|
|
764
|
-
raise TooManyRedirects(
|
|
765
|
-
history[0].request_info, tuple(history)
|
|
766
|
-
)
|
|
767
|
-
|
|
768
|
-
# For 301 and 302, mimic IE, now changed in RFC
|
|
769
|
-
# https://github.com/kennethreitz/requests/pull/269
|
|
770
|
-
if (resp.status == 303 and resp.method != hdrs.METH_HEAD) or (
|
|
771
|
-
resp.status in (301, 302) and resp.method == hdrs.METH_POST
|
|
772
|
-
):
|
|
773
|
-
method = hdrs.METH_GET
|
|
774
|
-
data = None
|
|
775
|
-
if headers.get(hdrs.CONTENT_LENGTH):
|
|
776
|
-
headers.pop(hdrs.CONTENT_LENGTH)
|
|
777
|
-
|
|
778
|
-
r_url = resp.headers.get(hdrs.LOCATION) or resp.headers.get(
|
|
779
|
-
hdrs.URI
|
|
780
|
-
)
|
|
781
|
-
if r_url is None:
|
|
782
|
-
# see github.com/aio-libs/aiohttp/issues/2022
|
|
783
|
-
break
|
|
784
|
-
else:
|
|
785
|
-
# reading from correct redirection
|
|
786
|
-
# response is forbidden
|
|
787
|
-
resp.release()
|
|
788
|
-
|
|
789
|
-
try:
|
|
790
|
-
parsed_redirect_url = URL(
|
|
791
|
-
r_url, encoded=not self._requote_redirect_url
|
|
792
|
-
)
|
|
793
|
-
except ValueError as e:
|
|
794
|
-
raise InvalidUrlRedirectClientError(
|
|
795
|
-
r_url,
|
|
796
|
-
"Server attempted redirecting to a location that does not look like a URL",
|
|
797
|
-
) from e
|
|
798
|
-
|
|
799
|
-
scheme = parsed_redirect_url.scheme
|
|
800
|
-
if scheme not in HTTP_AND_EMPTY_SCHEMA_SET:
|
|
801
|
-
resp.close()
|
|
802
|
-
raise NonHttpUrlRedirectClientError(r_url)
|
|
803
|
-
elif not scheme:
|
|
804
|
-
parsed_redirect_url = url.join(parsed_redirect_url)
|
|
805
|
-
|
|
806
|
-
try:
|
|
807
|
-
redirect_origin = parsed_redirect_url.origin()
|
|
808
|
-
except ValueError as origin_val_err:
|
|
809
|
-
raise InvalidUrlRedirectClientError(
|
|
810
|
-
parsed_redirect_url,
|
|
811
|
-
"Invalid redirect URL origin",
|
|
812
|
-
) from origin_val_err
|
|
813
|
-
|
|
814
|
-
if url.origin() != redirect_origin:
|
|
815
|
-
auth = None
|
|
816
|
-
headers.pop(hdrs.AUTHORIZATION, None)
|
|
817
|
-
|
|
818
|
-
url = parsed_redirect_url
|
|
819
|
-
params = {}
|
|
820
|
-
resp.release()
|
|
821
|
-
continue
|
|
822
|
-
|
|
823
|
-
break
|
|
824
|
-
|
|
825
|
-
# check response status
|
|
826
|
-
if raise_for_status is None:
|
|
827
|
-
raise_for_status = self._raise_for_status
|
|
828
|
-
|
|
829
|
-
if raise_for_status is None:
|
|
830
|
-
pass
|
|
831
|
-
elif callable(raise_for_status):
|
|
832
|
-
await raise_for_status(resp)
|
|
833
|
-
elif raise_for_status:
|
|
834
|
-
resp.raise_for_status()
|
|
835
|
-
|
|
836
|
-
# register connection
|
|
837
|
-
if handle is not None:
|
|
838
|
-
if resp.connection is not None:
|
|
839
|
-
resp.connection.add_callback(handle.cancel)
|
|
840
|
-
else:
|
|
841
|
-
handle.cancel()
|
|
842
|
-
|
|
843
|
-
resp._history = tuple(history)
|
|
844
|
-
|
|
845
|
-
for trace in traces:
|
|
846
|
-
await trace.send_request_end(
|
|
847
|
-
method, url.update_query(params), headers, resp
|
|
848
|
-
)
|
|
849
|
-
return resp
|
|
850
|
-
|
|
851
|
-
except BaseException as e:
|
|
852
|
-
# cleanup timer
|
|
853
|
-
tm.close()
|
|
854
|
-
if handle:
|
|
855
|
-
handle.cancel()
|
|
856
|
-
handle = None
|
|
857
|
-
|
|
858
|
-
for trace in traces:
|
|
859
|
-
await trace.send_request_exception(
|
|
860
|
-
method, url.update_query(params), headers, e
|
|
861
|
-
)
|
|
862
|
-
raise
|
|
863
|
-
|
|
864
|
-
def ws_connect(
|
|
865
|
-
self,
|
|
866
|
-
url: StrOrURL,
|
|
867
|
-
*,
|
|
868
|
-
method: str = hdrs.METH_GET,
|
|
869
|
-
protocols: Iterable[str] = (),
|
|
870
|
-
timeout: Union[ClientWSTimeout, _SENTINEL] = sentinel,
|
|
871
|
-
receive_timeout: Optional[float] = None,
|
|
872
|
-
autoclose: bool = True,
|
|
873
|
-
autoping: bool = True,
|
|
874
|
-
heartbeat: Optional[float] = None,
|
|
875
|
-
auth: Optional[BasicAuth] = None,
|
|
876
|
-
origin: Optional[str] = None,
|
|
877
|
-
params: Query = None,
|
|
878
|
-
headers: Optional[LooseHeaders] = None,
|
|
879
|
-
proxy: Optional[StrOrURL] = None,
|
|
880
|
-
proxy_auth: Optional[BasicAuth] = None,
|
|
881
|
-
ssl: Union[SSLContext, bool, Fingerprint] = True,
|
|
882
|
-
verify_ssl: Optional[bool] = None,
|
|
883
|
-
fingerprint: Optional[bytes] = None,
|
|
884
|
-
ssl_context: Optional[SSLContext] = None,
|
|
885
|
-
server_hostname: Optional[str] = None,
|
|
886
|
-
proxy_headers: Optional[LooseHeaders] = None,
|
|
887
|
-
compress: int = 0,
|
|
888
|
-
max_msg_size: int = 4 * 1024 * 1024,
|
|
889
|
-
) -> "_WSRequestContextManager":
|
|
890
|
-
"""Initiate websocket connection."""
|
|
891
|
-
return _WSRequestContextManager(
|
|
892
|
-
self._ws_connect(
|
|
893
|
-
url,
|
|
894
|
-
method=method,
|
|
895
|
-
protocols=protocols,
|
|
896
|
-
timeout=timeout,
|
|
897
|
-
receive_timeout=receive_timeout,
|
|
898
|
-
autoclose=autoclose,
|
|
899
|
-
autoping=autoping,
|
|
900
|
-
heartbeat=heartbeat,
|
|
901
|
-
auth=auth,
|
|
902
|
-
origin=origin,
|
|
903
|
-
params=params,
|
|
904
|
-
headers=headers,
|
|
905
|
-
proxy=proxy,
|
|
906
|
-
proxy_auth=proxy_auth,
|
|
907
|
-
ssl=ssl,
|
|
908
|
-
verify_ssl=verify_ssl,
|
|
909
|
-
fingerprint=fingerprint,
|
|
910
|
-
ssl_context=ssl_context,
|
|
911
|
-
server_hostname=server_hostname,
|
|
912
|
-
proxy_headers=proxy_headers,
|
|
913
|
-
compress=compress,
|
|
914
|
-
max_msg_size=max_msg_size,
|
|
915
|
-
)
|
|
916
|
-
)
|
|
917
|
-
|
|
918
|
-
async def _ws_connect(
|
|
919
|
-
self,
|
|
920
|
-
url: StrOrURL,
|
|
921
|
-
*,
|
|
922
|
-
method: str = hdrs.METH_GET,
|
|
923
|
-
protocols: Iterable[str] = (),
|
|
924
|
-
timeout: Union[ClientWSTimeout, _SENTINEL] = sentinel,
|
|
925
|
-
receive_timeout: Optional[float] = None,
|
|
926
|
-
autoclose: bool = True,
|
|
927
|
-
autoping: bool = True,
|
|
928
|
-
heartbeat: Optional[float] = None,
|
|
929
|
-
auth: Optional[BasicAuth] = None,
|
|
930
|
-
origin: Optional[str] = None,
|
|
931
|
-
params: Query = None,
|
|
932
|
-
headers: Optional[LooseHeaders] = None,
|
|
933
|
-
proxy: Optional[StrOrURL] = None,
|
|
934
|
-
proxy_auth: Optional[BasicAuth] = None,
|
|
935
|
-
ssl: Union[SSLContext, bool, Fingerprint] = True,
|
|
936
|
-
verify_ssl: Optional[bool] = None,
|
|
937
|
-
fingerprint: Optional[bytes] = None,
|
|
938
|
-
ssl_context: Optional[SSLContext] = None,
|
|
939
|
-
server_hostname: Optional[str] = None,
|
|
940
|
-
proxy_headers: Optional[LooseHeaders] = None,
|
|
941
|
-
compress: int = 0,
|
|
942
|
-
max_msg_size: int = 4 * 1024 * 1024,
|
|
943
|
-
) -> ClientWebSocketResponse:
|
|
944
|
-
if timeout is not sentinel:
|
|
945
|
-
if isinstance(timeout, ClientWSTimeout):
|
|
946
|
-
ws_timeout = timeout
|
|
947
|
-
else:
|
|
948
|
-
warnings.warn(
|
|
949
|
-
"parameter 'timeout' of type 'float' "
|
|
950
|
-
"is deprecated, please use "
|
|
951
|
-
"'timeout=ClientWSTimeout(ws_close=...)'",
|
|
952
|
-
DeprecationWarning,
|
|
953
|
-
stacklevel=2,
|
|
954
|
-
)
|
|
955
|
-
ws_timeout = ClientWSTimeout(ws_close=timeout)
|
|
956
|
-
else:
|
|
957
|
-
ws_timeout = DEFAULT_WS_CLIENT_TIMEOUT
|
|
958
|
-
if receive_timeout is not None:
|
|
959
|
-
warnings.warn(
|
|
960
|
-
"float parameter 'receive_timeout' "
|
|
961
|
-
"is deprecated, please use parameter "
|
|
962
|
-
"'timeout=ClientWSTimeout(ws_receive=...)'",
|
|
963
|
-
DeprecationWarning,
|
|
964
|
-
stacklevel=2,
|
|
965
|
-
)
|
|
966
|
-
ws_timeout = attr.evolve(ws_timeout, ws_receive=receive_timeout)
|
|
967
|
-
|
|
968
|
-
if headers is None:
|
|
969
|
-
real_headers: CIMultiDict[str] = CIMultiDict()
|
|
970
|
-
else:
|
|
971
|
-
real_headers = CIMultiDict(headers)
|
|
972
|
-
|
|
973
|
-
default_headers = {
|
|
974
|
-
hdrs.UPGRADE: "websocket",
|
|
975
|
-
hdrs.CONNECTION: "Upgrade",
|
|
976
|
-
hdrs.SEC_WEBSOCKET_VERSION: "13",
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
for key, value in default_headers.items():
|
|
980
|
-
real_headers.setdefault(key, value)
|
|
981
|
-
|
|
982
|
-
sec_key = base64.b64encode(os.urandom(16))
|
|
983
|
-
real_headers[hdrs.SEC_WEBSOCKET_KEY] = sec_key.decode()
|
|
984
|
-
|
|
985
|
-
if protocols:
|
|
986
|
-
real_headers[hdrs.SEC_WEBSOCKET_PROTOCOL] = ",".join(protocols)
|
|
987
|
-
if origin is not None:
|
|
988
|
-
real_headers[hdrs.ORIGIN] = origin
|
|
989
|
-
if compress:
|
|
990
|
-
extstr = ws_ext_gen(compress=compress)
|
|
991
|
-
real_headers[hdrs.SEC_WEBSOCKET_EXTENSIONS] = extstr
|
|
992
|
-
|
|
993
|
-
# For the sake of backward compatibility, if user passes in None, convert it to True
|
|
994
|
-
if ssl is None:
|
|
995
|
-
warnings.warn(
|
|
996
|
-
"ssl=None is deprecated, please use ssl=True",
|
|
997
|
-
DeprecationWarning,
|
|
998
|
-
stacklevel=2,
|
|
999
|
-
)
|
|
1000
|
-
ssl = True
|
|
1001
|
-
ssl = _merge_ssl_params(ssl, verify_ssl, ssl_context, fingerprint)
|
|
1002
|
-
|
|
1003
|
-
# send request
|
|
1004
|
-
resp = await self.request(
|
|
1005
|
-
method,
|
|
1006
|
-
url,
|
|
1007
|
-
params=params,
|
|
1008
|
-
headers=real_headers,
|
|
1009
|
-
read_until_eof=False,
|
|
1010
|
-
auth=auth,
|
|
1011
|
-
proxy=proxy,
|
|
1012
|
-
proxy_auth=proxy_auth,
|
|
1013
|
-
ssl=ssl,
|
|
1014
|
-
server_hostname=server_hostname,
|
|
1015
|
-
proxy_headers=proxy_headers,
|
|
1016
|
-
)
|
|
1017
|
-
|
|
1018
|
-
try:
|
|
1019
|
-
# check handshake
|
|
1020
|
-
if resp.status != 101:
|
|
1021
|
-
raise WSServerHandshakeError(
|
|
1022
|
-
resp.request_info,
|
|
1023
|
-
resp.history,
|
|
1024
|
-
message="Invalid response status",
|
|
1025
|
-
status=resp.status,
|
|
1026
|
-
headers=resp.headers,
|
|
1027
|
-
)
|
|
1028
|
-
|
|
1029
|
-
if resp.headers.get(hdrs.UPGRADE, "").lower() != "websocket":
|
|
1030
|
-
raise WSServerHandshakeError(
|
|
1031
|
-
resp.request_info,
|
|
1032
|
-
resp.history,
|
|
1033
|
-
message="Invalid upgrade header",
|
|
1034
|
-
status=resp.status,
|
|
1035
|
-
headers=resp.headers,
|
|
1036
|
-
)
|
|
1037
|
-
|
|
1038
|
-
if resp.headers.get(hdrs.CONNECTION, "").lower() != "upgrade":
|
|
1039
|
-
raise WSServerHandshakeError(
|
|
1040
|
-
resp.request_info,
|
|
1041
|
-
resp.history,
|
|
1042
|
-
message="Invalid connection header",
|
|
1043
|
-
status=resp.status,
|
|
1044
|
-
headers=resp.headers,
|
|
1045
|
-
)
|
|
1046
|
-
|
|
1047
|
-
# key calculation
|
|
1048
|
-
r_key = resp.headers.get(hdrs.SEC_WEBSOCKET_ACCEPT, "")
|
|
1049
|
-
match = base64.b64encode(hashlib.sha1(sec_key + WS_KEY).digest()).decode()
|
|
1050
|
-
if r_key != match:
|
|
1051
|
-
raise WSServerHandshakeError(
|
|
1052
|
-
resp.request_info,
|
|
1053
|
-
resp.history,
|
|
1054
|
-
message="Invalid challenge response",
|
|
1055
|
-
status=resp.status,
|
|
1056
|
-
headers=resp.headers,
|
|
1057
|
-
)
|
|
1058
|
-
|
|
1059
|
-
# websocket protocol
|
|
1060
|
-
protocol = None
|
|
1061
|
-
if protocols and hdrs.SEC_WEBSOCKET_PROTOCOL in resp.headers:
|
|
1062
|
-
resp_protocols = [
|
|
1063
|
-
proto.strip()
|
|
1064
|
-
for proto in resp.headers[hdrs.SEC_WEBSOCKET_PROTOCOL].split(",")
|
|
1065
|
-
]
|
|
1066
|
-
|
|
1067
|
-
for proto in resp_protocols:
|
|
1068
|
-
if proto in protocols:
|
|
1069
|
-
protocol = proto
|
|
1070
|
-
break
|
|
1071
|
-
|
|
1072
|
-
# websocket compress
|
|
1073
|
-
notakeover = False
|
|
1074
|
-
if compress:
|
|
1075
|
-
compress_hdrs = resp.headers.get(hdrs.SEC_WEBSOCKET_EXTENSIONS)
|
|
1076
|
-
if compress_hdrs:
|
|
1077
|
-
try:
|
|
1078
|
-
compress, notakeover = ws_ext_parse(compress_hdrs)
|
|
1079
|
-
except WSHandshakeError as exc:
|
|
1080
|
-
raise WSServerHandshakeError(
|
|
1081
|
-
resp.request_info,
|
|
1082
|
-
resp.history,
|
|
1083
|
-
message=exc.args[0],
|
|
1084
|
-
status=resp.status,
|
|
1085
|
-
headers=resp.headers,
|
|
1086
|
-
) from exc
|
|
1087
|
-
else:
|
|
1088
|
-
compress = 0
|
|
1089
|
-
notakeover = False
|
|
1090
|
-
|
|
1091
|
-
conn = resp.connection
|
|
1092
|
-
assert conn is not None
|
|
1093
|
-
conn_proto = conn.protocol
|
|
1094
|
-
assert conn_proto is not None
|
|
1095
|
-
|
|
1096
|
-
# For WS connection the read_timeout must be either receive_timeout or greater
|
|
1097
|
-
# None == no timeout, i.e. infinite timeout, so None is the max timeout possible
|
|
1098
|
-
if ws_timeout.ws_receive is None:
|
|
1099
|
-
# Reset regardless
|
|
1100
|
-
conn_proto.read_timeout = None
|
|
1101
|
-
elif conn_proto.read_timeout is not None:
|
|
1102
|
-
conn_proto.read_timeout = max(
|
|
1103
|
-
ws_timeout.ws_receive, conn_proto.read_timeout
|
|
1104
|
-
)
|
|
1105
|
-
|
|
1106
|
-
transport = conn.transport
|
|
1107
|
-
assert transport is not None
|
|
1108
|
-
reader = WebSocketDataQueue(conn_proto, 2**16, loop=self._loop)
|
|
1109
|
-
conn_proto.set_parser(WebSocketReader(reader, max_msg_size), reader)
|
|
1110
|
-
writer = WebSocketWriter(
|
|
1111
|
-
conn_proto,
|
|
1112
|
-
transport,
|
|
1113
|
-
use_mask=True,
|
|
1114
|
-
compress=compress,
|
|
1115
|
-
notakeover=notakeover,
|
|
1116
|
-
)
|
|
1117
|
-
except BaseException:
|
|
1118
|
-
resp.close()
|
|
1119
|
-
raise
|
|
1120
|
-
else:
|
|
1121
|
-
return self._ws_response_class(
|
|
1122
|
-
reader,
|
|
1123
|
-
writer,
|
|
1124
|
-
protocol,
|
|
1125
|
-
resp,
|
|
1126
|
-
ws_timeout,
|
|
1127
|
-
autoclose,
|
|
1128
|
-
autoping,
|
|
1129
|
-
self._loop,
|
|
1130
|
-
heartbeat=heartbeat,
|
|
1131
|
-
compress=compress,
|
|
1132
|
-
client_notakeover=notakeover,
|
|
1133
|
-
)
|
|
1134
|
-
|
|
1135
|
-
def _prepare_headers(self, headers: Optional[LooseHeaders]) -> "CIMultiDict[str]":
|
|
1136
|
-
"""Add default headers and transform it to CIMultiDict"""
|
|
1137
|
-
# Convert headers to MultiDict
|
|
1138
|
-
result = CIMultiDict(self._default_headers)
|
|
1139
|
-
if headers:
|
|
1140
|
-
if not isinstance(headers, (MultiDictProxy, MultiDict)):
|
|
1141
|
-
headers = CIMultiDict(headers)
|
|
1142
|
-
added_names: Set[str] = set()
|
|
1143
|
-
for key, value in headers.items():
|
|
1144
|
-
if key in added_names:
|
|
1145
|
-
result.add(key, value)
|
|
1146
|
-
else:
|
|
1147
|
-
result[key] = value
|
|
1148
|
-
added_names.add(key)
|
|
1149
|
-
return result
|
|
1150
|
-
|
|
1151
|
-
if sys.version_info >= (3, 11) and TYPE_CHECKING:
|
|
1152
|
-
|
|
1153
|
-
def get(
|
|
1154
|
-
self,
|
|
1155
|
-
url: StrOrURL,
|
|
1156
|
-
**kwargs: Unpack[_RequestOptions],
|
|
1157
|
-
) -> "_RequestContextManager": ...
|
|
1158
|
-
|
|
1159
|
-
def options(
|
|
1160
|
-
self,
|
|
1161
|
-
url: StrOrURL,
|
|
1162
|
-
**kwargs: Unpack[_RequestOptions],
|
|
1163
|
-
) -> "_RequestContextManager": ...
|
|
1164
|
-
|
|
1165
|
-
def head(
|
|
1166
|
-
self,
|
|
1167
|
-
url: StrOrURL,
|
|
1168
|
-
**kwargs: Unpack[_RequestOptions],
|
|
1169
|
-
) -> "_RequestContextManager": ...
|
|
1170
|
-
|
|
1171
|
-
def post(
|
|
1172
|
-
self,
|
|
1173
|
-
url: StrOrURL,
|
|
1174
|
-
**kwargs: Unpack[_RequestOptions],
|
|
1175
|
-
) -> "_RequestContextManager": ...
|
|
1176
|
-
|
|
1177
|
-
def put(
|
|
1178
|
-
self,
|
|
1179
|
-
url: StrOrURL,
|
|
1180
|
-
**kwargs: Unpack[_RequestOptions],
|
|
1181
|
-
) -> "_RequestContextManager": ...
|
|
1182
|
-
|
|
1183
|
-
def patch(
|
|
1184
|
-
self,
|
|
1185
|
-
url: StrOrURL,
|
|
1186
|
-
**kwargs: Unpack[_RequestOptions],
|
|
1187
|
-
) -> "_RequestContextManager": ...
|
|
1188
|
-
|
|
1189
|
-
def delete(
|
|
1190
|
-
self,
|
|
1191
|
-
url: StrOrURL,
|
|
1192
|
-
**kwargs: Unpack[_RequestOptions],
|
|
1193
|
-
) -> "_RequestContextManager": ...
|
|
1194
|
-
|
|
1195
|
-
else:
|
|
1196
|
-
|
|
1197
|
-
def get(
|
|
1198
|
-
self, url: StrOrURL, *, allow_redirects: bool = True, **kwargs: Any
|
|
1199
|
-
) -> "_RequestContextManager":
|
|
1200
|
-
"""Perform HTTP GET request."""
|
|
1201
|
-
return _RequestContextManager(
|
|
1202
|
-
self._request(
|
|
1203
|
-
hdrs.METH_GET, url, allow_redirects=allow_redirects, **kwargs
|
|
1204
|
-
)
|
|
1205
|
-
)
|
|
1206
|
-
|
|
1207
|
-
def options(
|
|
1208
|
-
self, url: StrOrURL, *, allow_redirects: bool = True, **kwargs: Any
|
|
1209
|
-
) -> "_RequestContextManager":
|
|
1210
|
-
"""Perform HTTP OPTIONS request."""
|
|
1211
|
-
return _RequestContextManager(
|
|
1212
|
-
self._request(
|
|
1213
|
-
hdrs.METH_OPTIONS, url, allow_redirects=allow_redirects, **kwargs
|
|
1214
|
-
)
|
|
1215
|
-
)
|
|
1216
|
-
|
|
1217
|
-
def head(
|
|
1218
|
-
self, url: StrOrURL, *, allow_redirects: bool = False, **kwargs: Any
|
|
1219
|
-
) -> "_RequestContextManager":
|
|
1220
|
-
"""Perform HTTP HEAD request."""
|
|
1221
|
-
return _RequestContextManager(
|
|
1222
|
-
self._request(
|
|
1223
|
-
hdrs.METH_HEAD, url, allow_redirects=allow_redirects, **kwargs
|
|
1224
|
-
)
|
|
1225
|
-
)
|
|
1226
|
-
|
|
1227
|
-
def post(
|
|
1228
|
-
self, url: StrOrURL, *, data: Any = None, **kwargs: Any
|
|
1229
|
-
) -> "_RequestContextManager":
|
|
1230
|
-
"""Perform HTTP POST request."""
|
|
1231
|
-
return _RequestContextManager(
|
|
1232
|
-
self._request(hdrs.METH_POST, url, data=data, **kwargs)
|
|
1233
|
-
)
|
|
1234
|
-
|
|
1235
|
-
def put(
|
|
1236
|
-
self, url: StrOrURL, *, data: Any = None, **kwargs: Any
|
|
1237
|
-
) -> "_RequestContextManager":
|
|
1238
|
-
"""Perform HTTP PUT request."""
|
|
1239
|
-
return _RequestContextManager(
|
|
1240
|
-
self._request(hdrs.METH_PUT, url, data=data, **kwargs)
|
|
1241
|
-
)
|
|
1242
|
-
|
|
1243
|
-
def patch(
|
|
1244
|
-
self, url: StrOrURL, *, data: Any = None, **kwargs: Any
|
|
1245
|
-
) -> "_RequestContextManager":
|
|
1246
|
-
"""Perform HTTP PATCH request."""
|
|
1247
|
-
return _RequestContextManager(
|
|
1248
|
-
self._request(hdrs.METH_PATCH, url, data=data, **kwargs)
|
|
1249
|
-
)
|
|
1250
|
-
|
|
1251
|
-
def delete(self, url: StrOrURL, **kwargs: Any) -> "_RequestContextManager":
|
|
1252
|
-
"""Perform HTTP DELETE request."""
|
|
1253
|
-
return _RequestContextManager(
|
|
1254
|
-
self._request(hdrs.METH_DELETE, url, **kwargs)
|
|
1255
|
-
)
|
|
1256
|
-
|
|
1257
|
-
async def close(self) -> None:
|
|
1258
|
-
"""Close underlying connector.
|
|
1259
|
-
|
|
1260
|
-
Release all acquired resources.
|
|
1261
|
-
"""
|
|
1262
|
-
if not self.closed:
|
|
1263
|
-
if self._connector is not None and self._connector_owner:
|
|
1264
|
-
await self._connector.close()
|
|
1265
|
-
self._connector = None
|
|
1266
|
-
|
|
1267
|
-
@property
|
|
1268
|
-
def closed(self) -> bool:
|
|
1269
|
-
"""Is client session closed.
|
|
1270
|
-
|
|
1271
|
-
A readonly property.
|
|
1272
|
-
"""
|
|
1273
|
-
return self._connector is None or self._connector.closed
|
|
1274
|
-
|
|
1275
|
-
@property
|
|
1276
|
-
def connector(self) -> Optional[BaseConnector]:
|
|
1277
|
-
"""Connector instance used for the session."""
|
|
1278
|
-
return self._connector
|
|
1279
|
-
|
|
1280
|
-
@property
|
|
1281
|
-
def cookie_jar(self) -> AbstractCookieJar:
|
|
1282
|
-
"""The session cookies."""
|
|
1283
|
-
return self._cookie_jar
|
|
1284
|
-
|
|
1285
|
-
@property
|
|
1286
|
-
def version(self) -> Tuple[int, int]:
|
|
1287
|
-
"""The session HTTP protocol version."""
|
|
1288
|
-
return self._version
|
|
1289
|
-
|
|
1290
|
-
@property
|
|
1291
|
-
def requote_redirect_url(self) -> bool:
|
|
1292
|
-
"""Do URL requoting on redirection handling."""
|
|
1293
|
-
return self._requote_redirect_url
|
|
1294
|
-
|
|
1295
|
-
@requote_redirect_url.setter
|
|
1296
|
-
def requote_redirect_url(self, val: bool) -> None:
|
|
1297
|
-
"""Do URL requoting on redirection handling."""
|
|
1298
|
-
warnings.warn(
|
|
1299
|
-
"session.requote_redirect_url modification is deprecated #2778",
|
|
1300
|
-
DeprecationWarning,
|
|
1301
|
-
stacklevel=2,
|
|
1302
|
-
)
|
|
1303
|
-
self._requote_redirect_url = val
|
|
1304
|
-
|
|
1305
|
-
@property
|
|
1306
|
-
def loop(self) -> asyncio.AbstractEventLoop:
|
|
1307
|
-
"""Session's loop."""
|
|
1308
|
-
warnings.warn(
|
|
1309
|
-
"client.loop property is deprecated", DeprecationWarning, stacklevel=2
|
|
1310
|
-
)
|
|
1311
|
-
return self._loop
|
|
1312
|
-
|
|
1313
|
-
@property
|
|
1314
|
-
def timeout(self) -> ClientTimeout:
|
|
1315
|
-
"""Timeout for the session."""
|
|
1316
|
-
return self._timeout
|
|
1317
|
-
|
|
1318
|
-
@property
|
|
1319
|
-
def headers(self) -> "CIMultiDict[str]":
|
|
1320
|
-
"""The default headers of the client session."""
|
|
1321
|
-
return self._default_headers
|
|
1322
|
-
|
|
1323
|
-
@property
|
|
1324
|
-
def skip_auto_headers(self) -> FrozenSet[istr]:
|
|
1325
|
-
"""Headers for which autogeneration should be skipped"""
|
|
1326
|
-
return self._skip_auto_headers
|
|
1327
|
-
|
|
1328
|
-
@property
|
|
1329
|
-
def auth(self) -> Optional[BasicAuth]:
|
|
1330
|
-
"""An object that represents HTTP Basic Authorization"""
|
|
1331
|
-
return self._default_auth
|
|
1332
|
-
|
|
1333
|
-
@property
|
|
1334
|
-
def json_serialize(self) -> JSONEncoder:
|
|
1335
|
-
"""Json serializer callable"""
|
|
1336
|
-
return self._json_serialize
|
|
1337
|
-
|
|
1338
|
-
@property
|
|
1339
|
-
def connector_owner(self) -> bool:
|
|
1340
|
-
"""Should connector be closed on session closing"""
|
|
1341
|
-
return self._connector_owner
|
|
1342
|
-
|
|
1343
|
-
@property
|
|
1344
|
-
def raise_for_status(
|
|
1345
|
-
self,
|
|
1346
|
-
) -> Union[bool, Callable[[ClientResponse], Awaitable[None]]]:
|
|
1347
|
-
"""Should `ClientResponse.raise_for_status()` be called for each response."""
|
|
1348
|
-
return self._raise_for_status
|
|
1349
|
-
|
|
1350
|
-
@property
|
|
1351
|
-
def auto_decompress(self) -> bool:
|
|
1352
|
-
"""Should the body response be automatically decompressed."""
|
|
1353
|
-
return self._auto_decompress
|
|
1354
|
-
|
|
1355
|
-
@property
|
|
1356
|
-
def trust_env(self) -> bool:
|
|
1357
|
-
"""
|
|
1358
|
-
Should proxies information from environment or netrc be trusted.
|
|
1359
|
-
|
|
1360
|
-
Information is from HTTP_PROXY / HTTPS_PROXY environment variables
|
|
1361
|
-
or ~/.netrc file if present.
|
|
1362
|
-
"""
|
|
1363
|
-
return self._trust_env
|
|
1364
|
-
|
|
1365
|
-
@property
|
|
1366
|
-
def trace_configs(self) -> List[TraceConfig]:
|
|
1367
|
-
"""A list of TraceConfig instances used for client tracing"""
|
|
1368
|
-
return self._trace_configs
|
|
1369
|
-
|
|
1370
|
-
def detach(self) -> None:
|
|
1371
|
-
"""Detach connector from session without closing the former.
|
|
1372
|
-
|
|
1373
|
-
Session is switched to closed state anyway.
|
|
1374
|
-
"""
|
|
1375
|
-
self._connector = None
|
|
1376
|
-
|
|
1377
|
-
def __enter__(self) -> None:
|
|
1378
|
-
raise TypeError("Use async with instead")
|
|
1379
|
-
|
|
1380
|
-
def __exit__(
|
|
1381
|
-
self,
|
|
1382
|
-
exc_type: Optional[Type[BaseException]],
|
|
1383
|
-
exc_val: Optional[BaseException],
|
|
1384
|
-
exc_tb: Optional[TracebackType],
|
|
1385
|
-
) -> None:
|
|
1386
|
-
# __exit__ should exist in pair with __enter__ but never executed
|
|
1387
|
-
pass # pragma: no cover
|
|
1388
|
-
|
|
1389
|
-
async def __aenter__(self) -> "ClientSession":
|
|
1390
|
-
return self
|
|
1391
|
-
|
|
1392
|
-
async def __aexit__(
|
|
1393
|
-
self,
|
|
1394
|
-
exc_type: Optional[Type[BaseException]],
|
|
1395
|
-
exc_val: Optional[BaseException],
|
|
1396
|
-
exc_tb: Optional[TracebackType],
|
|
1397
|
-
) -> None:
|
|
1398
|
-
await self.close()
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
class _BaseRequestContextManager(Coroutine[Any, Any, _RetType], Generic[_RetType]):
|
|
1402
|
-
|
|
1403
|
-
__slots__ = ("_coro", "_resp")
|
|
1404
|
-
|
|
1405
|
-
def __init__(self, coro: Coroutine["asyncio.Future[Any]", None, _RetType]) -> None:
|
|
1406
|
-
self._coro: Coroutine["asyncio.Future[Any]", None, _RetType] = coro
|
|
1407
|
-
|
|
1408
|
-
def send(self, arg: None) -> "asyncio.Future[Any]":
|
|
1409
|
-
return self._coro.send(arg)
|
|
1410
|
-
|
|
1411
|
-
def throw(self, *args: Any, **kwargs: Any) -> "asyncio.Future[Any]":
|
|
1412
|
-
return self._coro.throw(*args, **kwargs)
|
|
1413
|
-
|
|
1414
|
-
def close(self) -> None:
|
|
1415
|
-
return self._coro.close()
|
|
1416
|
-
|
|
1417
|
-
def __await__(self) -> Generator[Any, None, _RetType]:
|
|
1418
|
-
ret = self._coro.__await__()
|
|
1419
|
-
return ret
|
|
1420
|
-
|
|
1421
|
-
def __iter__(self) -> Generator[Any, None, _RetType]:
|
|
1422
|
-
return self.__await__()
|
|
1423
|
-
|
|
1424
|
-
async def __aenter__(self) -> _RetType:
|
|
1425
|
-
self._resp: _RetType = await self._coro
|
|
1426
|
-
return await self._resp.__aenter__()
|
|
1427
|
-
|
|
1428
|
-
async def __aexit__(
|
|
1429
|
-
self,
|
|
1430
|
-
exc_type: Optional[Type[BaseException]],
|
|
1431
|
-
exc: Optional[BaseException],
|
|
1432
|
-
tb: Optional[TracebackType],
|
|
1433
|
-
) -> None:
|
|
1434
|
-
await self._resp.__aexit__(exc_type, exc, tb)
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
_RequestContextManager = _BaseRequestContextManager[ClientResponse]
|
|
1438
|
-
_WSRequestContextManager = _BaseRequestContextManager[ClientWebSocketResponse]
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
class _SessionRequestContextManager:
|
|
1442
|
-
|
|
1443
|
-
__slots__ = ("_coro", "_resp", "_session")
|
|
1444
|
-
|
|
1445
|
-
def __init__(
|
|
1446
|
-
self,
|
|
1447
|
-
coro: Coroutine["asyncio.Future[Any]", None, ClientResponse],
|
|
1448
|
-
session: ClientSession,
|
|
1449
|
-
) -> None:
|
|
1450
|
-
self._coro = coro
|
|
1451
|
-
self._resp: Optional[ClientResponse] = None
|
|
1452
|
-
self._session = session
|
|
1453
|
-
|
|
1454
|
-
async def __aenter__(self) -> ClientResponse:
|
|
1455
|
-
try:
|
|
1456
|
-
self._resp = await self._coro
|
|
1457
|
-
except BaseException:
|
|
1458
|
-
await self._session.close()
|
|
1459
|
-
raise
|
|
1460
|
-
else:
|
|
1461
|
-
return self._resp
|
|
1462
|
-
|
|
1463
|
-
async def __aexit__(
|
|
1464
|
-
self,
|
|
1465
|
-
exc_type: Optional[Type[BaseException]],
|
|
1466
|
-
exc: Optional[BaseException],
|
|
1467
|
-
tb: Optional[TracebackType],
|
|
1468
|
-
) -> None:
|
|
1469
|
-
assert self._resp is not None
|
|
1470
|
-
self._resp.close()
|
|
1471
|
-
await self._session.close()
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
if sys.version_info >= (3, 11) and TYPE_CHECKING:
|
|
1475
|
-
|
|
1476
|
-
def request(
|
|
1477
|
-
method: str,
|
|
1478
|
-
url: StrOrURL,
|
|
1479
|
-
*,
|
|
1480
|
-
version: HttpVersion = http.HttpVersion11,
|
|
1481
|
-
connector: Optional[BaseConnector] = None,
|
|
1482
|
-
loop: Optional[asyncio.AbstractEventLoop] = None,
|
|
1483
|
-
**kwargs: Unpack[_RequestOptions],
|
|
1484
|
-
) -> _SessionRequestContextManager: ...
|
|
1485
|
-
|
|
1486
|
-
else:
|
|
1487
|
-
|
|
1488
|
-
def request(
|
|
1489
|
-
method: str,
|
|
1490
|
-
url: StrOrURL,
|
|
1491
|
-
*,
|
|
1492
|
-
version: HttpVersion = http.HttpVersion11,
|
|
1493
|
-
connector: Optional[BaseConnector] = None,
|
|
1494
|
-
loop: Optional[asyncio.AbstractEventLoop] = None,
|
|
1495
|
-
**kwargs: Any,
|
|
1496
|
-
) -> _SessionRequestContextManager:
|
|
1497
|
-
"""Constructs and sends a request.
|
|
1498
|
-
|
|
1499
|
-
Returns response object.
|
|
1500
|
-
method - HTTP method
|
|
1501
|
-
url - request url
|
|
1502
|
-
params - (optional) Dictionary or bytes to be sent in the query
|
|
1503
|
-
string of the new request
|
|
1504
|
-
data - (optional) Dictionary, bytes, or file-like object to
|
|
1505
|
-
send in the body of the request
|
|
1506
|
-
json - (optional) Any json compatible python object
|
|
1507
|
-
headers - (optional) Dictionary of HTTP Headers to send with
|
|
1508
|
-
the request
|
|
1509
|
-
cookies - (optional) Dict object to send with the request
|
|
1510
|
-
auth - (optional) BasicAuth named tuple represent HTTP Basic Auth
|
|
1511
|
-
auth - aiohttp.helpers.BasicAuth
|
|
1512
|
-
allow_redirects - (optional) If set to False, do not follow
|
|
1513
|
-
redirects
|
|
1514
|
-
version - Request HTTP version.
|
|
1515
|
-
compress - Set to True if request has to be compressed
|
|
1516
|
-
with deflate encoding.
|
|
1517
|
-
chunked - Set to chunk size for chunked transfer encoding.
|
|
1518
|
-
expect100 - Expect 100-continue response from server.
|
|
1519
|
-
connector - BaseConnector sub-class instance to support
|
|
1520
|
-
connection pooling.
|
|
1521
|
-
read_until_eof - Read response until eof if response
|
|
1522
|
-
does not have Content-Length header.
|
|
1523
|
-
loop - Optional event loop.
|
|
1524
|
-
timeout - Optional ClientTimeout settings structure, 5min
|
|
1525
|
-
total timeout by default.
|
|
1526
|
-
Usage::
|
|
1527
|
-
>>> import aiohttp
|
|
1528
|
-
>>> async with aiohttp.request('GET', 'http://python.org/') as resp:
|
|
1529
|
-
... print(resp)
|
|
1530
|
-
... data = await resp.read()
|
|
1531
|
-
<ClientResponse(https://www.python.org/) [200 OK]>
|
|
1532
|
-
"""
|
|
1533
|
-
connector_owner = False
|
|
1534
|
-
if connector is None:
|
|
1535
|
-
connector_owner = True
|
|
1536
|
-
connector = TCPConnector(loop=loop, force_close=True)
|
|
1537
|
-
|
|
1538
|
-
session = ClientSession(
|
|
1539
|
-
loop=loop,
|
|
1540
|
-
cookies=kwargs.pop("cookies", None),
|
|
1541
|
-
version=version,
|
|
1542
|
-
timeout=kwargs.pop("timeout", sentinel),
|
|
1543
|
-
connector=connector,
|
|
1544
|
-
connector_owner=connector_owner,
|
|
1545
|
-
)
|
|
1546
|
-
|
|
1547
|
-
return _SessionRequestContextManager(
|
|
1548
|
-
session._request(method, url, **kwargs),
|
|
1549
|
-
session,
|
|
1550
|
-
)
|