@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,1584 +0,0 @@
|
|
|
1
|
-
import re
|
|
2
|
-
import sys
|
|
3
|
-
import warnings
|
|
4
|
-
from collections.abc import Mapping, Sequence
|
|
5
|
-
from enum import Enum
|
|
6
|
-
from functools import _CacheInfo, lru_cache
|
|
7
|
-
from ipaddress import ip_address
|
|
8
|
-
from typing import TYPE_CHECKING, Any, TypedDict, TypeVar, Union, overload
|
|
9
|
-
from urllib.parse import SplitResult, parse_qsl, uses_relative
|
|
10
|
-
|
|
11
|
-
import idna
|
|
12
|
-
from multidict import MultiDict, MultiDictProxy
|
|
13
|
-
from propcache.api import under_cached_property as cached_property
|
|
14
|
-
|
|
15
|
-
from ._parse import (
|
|
16
|
-
USES_AUTHORITY,
|
|
17
|
-
SplitURLType,
|
|
18
|
-
make_netloc,
|
|
19
|
-
split_netloc,
|
|
20
|
-
split_url,
|
|
21
|
-
unsplit_result,
|
|
22
|
-
)
|
|
23
|
-
from ._path import normalize_path, normalize_path_segments
|
|
24
|
-
from ._query import (
|
|
25
|
-
Query,
|
|
26
|
-
QueryVariable,
|
|
27
|
-
SimpleQuery,
|
|
28
|
-
get_str_query,
|
|
29
|
-
get_str_query_from_iterable,
|
|
30
|
-
get_str_query_from_sequence_iterable,
|
|
31
|
-
)
|
|
32
|
-
from ._quoters import (
|
|
33
|
-
FRAGMENT_QUOTER,
|
|
34
|
-
FRAGMENT_REQUOTER,
|
|
35
|
-
PATH_QUOTER,
|
|
36
|
-
PATH_REQUOTER,
|
|
37
|
-
PATH_SAFE_UNQUOTER,
|
|
38
|
-
PATH_UNQUOTER,
|
|
39
|
-
QS_UNQUOTER,
|
|
40
|
-
QUERY_QUOTER,
|
|
41
|
-
QUERY_REQUOTER,
|
|
42
|
-
QUOTER,
|
|
43
|
-
REQUOTER,
|
|
44
|
-
UNQUOTER,
|
|
45
|
-
human_quote,
|
|
46
|
-
)
|
|
47
|
-
|
|
48
|
-
DEFAULT_PORTS = {"http": 80, "https": 443, "ws": 80, "wss": 443, "ftp": 21}
|
|
49
|
-
USES_RELATIVE = frozenset(uses_relative)
|
|
50
|
-
|
|
51
|
-
# Special schemes https://url.spec.whatwg.org/#special-scheme
|
|
52
|
-
# are not allowed to have an empty host https://url.spec.whatwg.org/#url-representation
|
|
53
|
-
SCHEME_REQUIRES_HOST = frozenset(("http", "https", "ws", "wss", "ftp"))
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
# reg-name: unreserved / pct-encoded / sub-delims
|
|
57
|
-
# this pattern matches anything that is *not* in those classes. and is only used
|
|
58
|
-
# on lower-cased ASCII values.
|
|
59
|
-
NOT_REG_NAME = re.compile(
|
|
60
|
-
r"""
|
|
61
|
-
# any character not in the unreserved or sub-delims sets, plus %
|
|
62
|
-
# (validated with the additional check for pct-encoded sequences below)
|
|
63
|
-
[^a-z0-9\-._~!$&'()*+,;=%]
|
|
64
|
-
|
|
|
65
|
-
# % only allowed if it is part of a pct-encoded
|
|
66
|
-
# sequence of 2 hex digits.
|
|
67
|
-
%(?![0-9a-f]{2})
|
|
68
|
-
""",
|
|
69
|
-
re.VERBOSE,
|
|
70
|
-
)
|
|
71
|
-
|
|
72
|
-
_T = TypeVar("_T")
|
|
73
|
-
|
|
74
|
-
if sys.version_info >= (3, 11):
|
|
75
|
-
from typing import Self
|
|
76
|
-
else:
|
|
77
|
-
Self = Any
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
class UndefinedType(Enum):
|
|
81
|
-
"""Singleton type for use with not set sentinel values."""
|
|
82
|
-
|
|
83
|
-
_singleton = 0
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
UNDEFINED = UndefinedType._singleton
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
class CacheInfo(TypedDict):
|
|
90
|
-
"""Host encoding cache."""
|
|
91
|
-
|
|
92
|
-
idna_encode: _CacheInfo
|
|
93
|
-
idna_decode: _CacheInfo
|
|
94
|
-
ip_address: _CacheInfo
|
|
95
|
-
host_validate: _CacheInfo
|
|
96
|
-
encode_host: _CacheInfo
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
class _InternalURLCache(TypedDict, total=False):
|
|
100
|
-
_val: SplitURLType
|
|
101
|
-
_origin: "URL"
|
|
102
|
-
absolute: bool
|
|
103
|
-
scheme: str
|
|
104
|
-
raw_authority: str
|
|
105
|
-
authority: str
|
|
106
|
-
raw_user: Union[str, None]
|
|
107
|
-
user: Union[str, None]
|
|
108
|
-
raw_password: Union[str, None]
|
|
109
|
-
password: Union[str, None]
|
|
110
|
-
raw_host: Union[str, None]
|
|
111
|
-
host: Union[str, None]
|
|
112
|
-
host_subcomponent: Union[str, None]
|
|
113
|
-
host_port_subcomponent: Union[str, None]
|
|
114
|
-
port: Union[int, None]
|
|
115
|
-
explicit_port: Union[int, None]
|
|
116
|
-
raw_path: str
|
|
117
|
-
path: str
|
|
118
|
-
_parsed_query: list[tuple[str, str]]
|
|
119
|
-
query: "MultiDictProxy[str]"
|
|
120
|
-
raw_query_string: str
|
|
121
|
-
query_string: str
|
|
122
|
-
path_qs: str
|
|
123
|
-
raw_path_qs: str
|
|
124
|
-
raw_fragment: str
|
|
125
|
-
fragment: str
|
|
126
|
-
raw_parts: tuple[str, ...]
|
|
127
|
-
parts: tuple[str, ...]
|
|
128
|
-
parent: "URL"
|
|
129
|
-
raw_name: str
|
|
130
|
-
name: str
|
|
131
|
-
raw_suffix: str
|
|
132
|
-
suffix: str
|
|
133
|
-
raw_suffixes: tuple[str, ...]
|
|
134
|
-
suffixes: tuple[str, ...]
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
def rewrite_module(obj: _T) -> _T:
|
|
138
|
-
obj.__module__ = "yarl"
|
|
139
|
-
return obj
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
@lru_cache
|
|
143
|
-
def encode_url(url_str: str) -> "URL":
|
|
144
|
-
"""Parse unencoded URL."""
|
|
145
|
-
cache: _InternalURLCache = {}
|
|
146
|
-
host: Union[str, None]
|
|
147
|
-
scheme, netloc, path, query, fragment = split_url(url_str)
|
|
148
|
-
if not netloc: # netloc
|
|
149
|
-
host = ""
|
|
150
|
-
else:
|
|
151
|
-
if ":" in netloc or "@" in netloc or "[" in netloc:
|
|
152
|
-
# Complex netloc
|
|
153
|
-
username, password, host, port = split_netloc(netloc)
|
|
154
|
-
else:
|
|
155
|
-
username = password = port = None
|
|
156
|
-
host = netloc
|
|
157
|
-
if host is None:
|
|
158
|
-
if scheme in SCHEME_REQUIRES_HOST:
|
|
159
|
-
msg = (
|
|
160
|
-
"Invalid URL: host is required for "
|
|
161
|
-
f"absolute urls with the {scheme} scheme"
|
|
162
|
-
)
|
|
163
|
-
raise ValueError(msg)
|
|
164
|
-
else:
|
|
165
|
-
host = ""
|
|
166
|
-
host = _encode_host(host, validate_host=False)
|
|
167
|
-
# Remove brackets as host encoder adds back brackets for IPv6 addresses
|
|
168
|
-
cache["raw_host"] = host[1:-1] if "[" in host else host
|
|
169
|
-
cache["explicit_port"] = port
|
|
170
|
-
if password is None and username is None:
|
|
171
|
-
# Fast path for URLs without user, password
|
|
172
|
-
netloc = host if port is None else f"{host}:{port}"
|
|
173
|
-
cache["raw_user"] = None
|
|
174
|
-
cache["raw_password"] = None
|
|
175
|
-
else:
|
|
176
|
-
raw_user = REQUOTER(username) if username else username
|
|
177
|
-
raw_password = REQUOTER(password) if password else password
|
|
178
|
-
netloc = make_netloc(raw_user, raw_password, host, port)
|
|
179
|
-
cache["raw_user"] = raw_user
|
|
180
|
-
cache["raw_password"] = raw_password
|
|
181
|
-
|
|
182
|
-
if path:
|
|
183
|
-
path = PATH_REQUOTER(path)
|
|
184
|
-
if netloc and "." in path:
|
|
185
|
-
path = normalize_path(path)
|
|
186
|
-
if query:
|
|
187
|
-
query = QUERY_REQUOTER(query)
|
|
188
|
-
if fragment:
|
|
189
|
-
fragment = FRAGMENT_REQUOTER(fragment)
|
|
190
|
-
|
|
191
|
-
cache["scheme"] = scheme
|
|
192
|
-
cache["raw_path"] = "/" if not path and netloc else path
|
|
193
|
-
cache["raw_query_string"] = query
|
|
194
|
-
cache["raw_fragment"] = fragment
|
|
195
|
-
|
|
196
|
-
self = object.__new__(URL)
|
|
197
|
-
self._scheme = scheme
|
|
198
|
-
self._netloc = netloc
|
|
199
|
-
self._path = path
|
|
200
|
-
self._query = query
|
|
201
|
-
self._fragment = fragment
|
|
202
|
-
self._cache = cache
|
|
203
|
-
return self
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
@lru_cache
|
|
207
|
-
def pre_encoded_url(url_str: str) -> "URL":
|
|
208
|
-
"""Parse pre-encoded URL."""
|
|
209
|
-
self = object.__new__(URL)
|
|
210
|
-
val = split_url(url_str)
|
|
211
|
-
self._scheme, self._netloc, self._path, self._query, self._fragment = val
|
|
212
|
-
self._cache = {}
|
|
213
|
-
return self
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
@lru_cache
|
|
217
|
-
def build_pre_encoded_url(
|
|
218
|
-
scheme: str,
|
|
219
|
-
authority: str,
|
|
220
|
-
user: Union[str, None],
|
|
221
|
-
password: Union[str, None],
|
|
222
|
-
host: str,
|
|
223
|
-
port: Union[int, None],
|
|
224
|
-
path: str,
|
|
225
|
-
query_string: str,
|
|
226
|
-
fragment: str,
|
|
227
|
-
) -> "URL":
|
|
228
|
-
"""Build a pre-encoded URL from parts."""
|
|
229
|
-
self = object.__new__(URL)
|
|
230
|
-
self._scheme = scheme
|
|
231
|
-
if authority:
|
|
232
|
-
self._netloc = authority
|
|
233
|
-
elif host:
|
|
234
|
-
if port is not None:
|
|
235
|
-
port = None if port == DEFAULT_PORTS.get(scheme) else port
|
|
236
|
-
if user is None and password is None:
|
|
237
|
-
self._netloc = host if port is None else f"{host}:{port}"
|
|
238
|
-
else:
|
|
239
|
-
self._netloc = make_netloc(user, password, host, port)
|
|
240
|
-
else:
|
|
241
|
-
self._netloc = ""
|
|
242
|
-
self._path = path
|
|
243
|
-
self._query = query_string
|
|
244
|
-
self._fragment = fragment
|
|
245
|
-
self._cache = {}
|
|
246
|
-
return self
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
def from_parts_uncached(
|
|
250
|
-
scheme: str, netloc: str, path: str, query: str, fragment: str
|
|
251
|
-
) -> "URL":
|
|
252
|
-
"""Create a new URL from parts."""
|
|
253
|
-
self = object.__new__(URL)
|
|
254
|
-
self._scheme = scheme
|
|
255
|
-
self._netloc = netloc
|
|
256
|
-
self._path = path
|
|
257
|
-
self._query = query
|
|
258
|
-
self._fragment = fragment
|
|
259
|
-
self._cache = {}
|
|
260
|
-
return self
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
from_parts = lru_cache(from_parts_uncached)
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
@rewrite_module
|
|
267
|
-
class URL:
|
|
268
|
-
# Don't derive from str
|
|
269
|
-
# follow pathlib.Path design
|
|
270
|
-
# probably URL will not suffer from pathlib problems:
|
|
271
|
-
# it's intended for libraries like aiohttp,
|
|
272
|
-
# not to be passed into standard library functions like os.open etc.
|
|
273
|
-
|
|
274
|
-
# URL grammar (RFC 3986)
|
|
275
|
-
# pct-encoded = "%" HEXDIG HEXDIG
|
|
276
|
-
# reserved = gen-delims / sub-delims
|
|
277
|
-
# gen-delims = ":" / "/" / "?" / "#" / "[" / "]" / "@"
|
|
278
|
-
# sub-delims = "!" / "$" / "&" / "'" / "(" / ")"
|
|
279
|
-
# / "*" / "+" / "," / ";" / "="
|
|
280
|
-
# unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
|
|
281
|
-
# URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
|
|
282
|
-
# hier-part = "//" authority path-abempty
|
|
283
|
-
# / path-absolute
|
|
284
|
-
# / path-rootless
|
|
285
|
-
# / path-empty
|
|
286
|
-
# scheme = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )
|
|
287
|
-
# authority = [ userinfo "@" ] host [ ":" port ]
|
|
288
|
-
# userinfo = *( unreserved / pct-encoded / sub-delims / ":" )
|
|
289
|
-
# host = IP-literal / IPv4address / reg-name
|
|
290
|
-
# IP-literal = "[" ( IPv6address / IPvFuture ) "]"
|
|
291
|
-
# IPvFuture = "v" 1*HEXDIG "." 1*( unreserved / sub-delims / ":" )
|
|
292
|
-
# IPv6address = 6( h16 ":" ) ls32
|
|
293
|
-
# / "::" 5( h16 ":" ) ls32
|
|
294
|
-
# / [ h16 ] "::" 4( h16 ":" ) ls32
|
|
295
|
-
# / [ *1( h16 ":" ) h16 ] "::" 3( h16 ":" ) ls32
|
|
296
|
-
# / [ *2( h16 ":" ) h16 ] "::" 2( h16 ":" ) ls32
|
|
297
|
-
# / [ *3( h16 ":" ) h16 ] "::" h16 ":" ls32
|
|
298
|
-
# / [ *4( h16 ":" ) h16 ] "::" ls32
|
|
299
|
-
# / [ *5( h16 ":" ) h16 ] "::" h16
|
|
300
|
-
# / [ *6( h16 ":" ) h16 ] "::"
|
|
301
|
-
# ls32 = ( h16 ":" h16 ) / IPv4address
|
|
302
|
-
# ; least-significant 32 bits of address
|
|
303
|
-
# h16 = 1*4HEXDIG
|
|
304
|
-
# ; 16 bits of address represented in hexadecimal
|
|
305
|
-
# IPv4address = dec-octet "." dec-octet "." dec-octet "." dec-octet
|
|
306
|
-
# dec-octet = DIGIT ; 0-9
|
|
307
|
-
# / %x31-39 DIGIT ; 10-99
|
|
308
|
-
# / "1" 2DIGIT ; 100-199
|
|
309
|
-
# / "2" %x30-34 DIGIT ; 200-249
|
|
310
|
-
# / "25" %x30-35 ; 250-255
|
|
311
|
-
# reg-name = *( unreserved / pct-encoded / sub-delims )
|
|
312
|
-
# port = *DIGIT
|
|
313
|
-
# path = path-abempty ; begins with "/" or is empty
|
|
314
|
-
# / path-absolute ; begins with "/" but not "//"
|
|
315
|
-
# / path-noscheme ; begins with a non-colon segment
|
|
316
|
-
# / path-rootless ; begins with a segment
|
|
317
|
-
# / path-empty ; zero characters
|
|
318
|
-
# path-abempty = *( "/" segment )
|
|
319
|
-
# path-absolute = "/" [ segment-nz *( "/" segment ) ]
|
|
320
|
-
# path-noscheme = segment-nz-nc *( "/" segment )
|
|
321
|
-
# path-rootless = segment-nz *( "/" segment )
|
|
322
|
-
# path-empty = 0<pchar>
|
|
323
|
-
# segment = *pchar
|
|
324
|
-
# segment-nz = 1*pchar
|
|
325
|
-
# segment-nz-nc = 1*( unreserved / pct-encoded / sub-delims / "@" )
|
|
326
|
-
# ; non-zero-length segment without any colon ":"
|
|
327
|
-
# pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
|
|
328
|
-
# query = *( pchar / "/" / "?" )
|
|
329
|
-
# fragment = *( pchar / "/" / "?" )
|
|
330
|
-
# URI-reference = URI / relative-ref
|
|
331
|
-
# relative-ref = relative-part [ "?" query ] [ "#" fragment ]
|
|
332
|
-
# relative-part = "//" authority path-abempty
|
|
333
|
-
# / path-absolute
|
|
334
|
-
# / path-noscheme
|
|
335
|
-
# / path-empty
|
|
336
|
-
# absolute-URI = scheme ":" hier-part [ "?" query ]
|
|
337
|
-
__slots__ = ("_cache", "_scheme", "_netloc", "_path", "_query", "_fragment")
|
|
338
|
-
|
|
339
|
-
_scheme: str
|
|
340
|
-
_netloc: str
|
|
341
|
-
_path: str
|
|
342
|
-
_query: str
|
|
343
|
-
_fragment: str
|
|
344
|
-
|
|
345
|
-
def __new__(
|
|
346
|
-
cls,
|
|
347
|
-
val: Union[str, SplitResult, "URL", UndefinedType] = UNDEFINED,
|
|
348
|
-
*,
|
|
349
|
-
encoded: bool = False,
|
|
350
|
-
strict: Union[bool, None] = None,
|
|
351
|
-
) -> "URL":
|
|
352
|
-
if strict is not None: # pragma: no cover
|
|
353
|
-
warnings.warn("strict parameter is ignored")
|
|
354
|
-
if type(val) is str:
|
|
355
|
-
return pre_encoded_url(val) if encoded else encode_url(val)
|
|
356
|
-
if type(val) is cls:
|
|
357
|
-
return val
|
|
358
|
-
if type(val) is SplitResult:
|
|
359
|
-
if not encoded:
|
|
360
|
-
raise ValueError("Cannot apply decoding to SplitResult")
|
|
361
|
-
return from_parts(*val)
|
|
362
|
-
if isinstance(val, str):
|
|
363
|
-
return pre_encoded_url(str(val)) if encoded else encode_url(str(val))
|
|
364
|
-
if val is UNDEFINED:
|
|
365
|
-
# Special case for UNDEFINED since it might be unpickling and we do
|
|
366
|
-
# not want to cache as the `__set_state__` call would mutate the URL
|
|
367
|
-
# object in the `pre_encoded_url` or `encoded_url` caches.
|
|
368
|
-
self = object.__new__(URL)
|
|
369
|
-
self._scheme = self._netloc = self._path = self._query = self._fragment = ""
|
|
370
|
-
self._cache = {}
|
|
371
|
-
return self
|
|
372
|
-
raise TypeError("Constructor parameter should be str")
|
|
373
|
-
|
|
374
|
-
@classmethod
|
|
375
|
-
def build(
|
|
376
|
-
cls,
|
|
377
|
-
*,
|
|
378
|
-
scheme: str = "",
|
|
379
|
-
authority: str = "",
|
|
380
|
-
user: Union[str, None] = None,
|
|
381
|
-
password: Union[str, None] = None,
|
|
382
|
-
host: str = "",
|
|
383
|
-
port: Union[int, None] = None,
|
|
384
|
-
path: str = "",
|
|
385
|
-
query: Union[Query, None] = None,
|
|
386
|
-
query_string: str = "",
|
|
387
|
-
fragment: str = "",
|
|
388
|
-
encoded: bool = False,
|
|
389
|
-
) -> "URL":
|
|
390
|
-
"""Creates and returns a new URL"""
|
|
391
|
-
|
|
392
|
-
if authority and (user or password or host or port):
|
|
393
|
-
raise ValueError(
|
|
394
|
-
'Can\'t mix "authority" with "user", "password", "host" or "port".'
|
|
395
|
-
)
|
|
396
|
-
if port is not None and not isinstance(port, int):
|
|
397
|
-
raise TypeError(f"The port is required to be int, got {type(port)!r}.")
|
|
398
|
-
if port and not host:
|
|
399
|
-
raise ValueError('Can\'t build URL with "port" but without "host".')
|
|
400
|
-
if query and query_string:
|
|
401
|
-
raise ValueError('Only one of "query" or "query_string" should be passed')
|
|
402
|
-
if (
|
|
403
|
-
scheme is None
|
|
404
|
-
or authority is None
|
|
405
|
-
or host is None
|
|
406
|
-
or path is None
|
|
407
|
-
or query_string is None
|
|
408
|
-
or fragment is None
|
|
409
|
-
):
|
|
410
|
-
raise TypeError(
|
|
411
|
-
'NoneType is illegal for "scheme", "authority", "host", "path", '
|
|
412
|
-
'"query_string", and "fragment" args, use empty string instead.'
|
|
413
|
-
)
|
|
414
|
-
|
|
415
|
-
if query:
|
|
416
|
-
query_string = get_str_query(query) or ""
|
|
417
|
-
|
|
418
|
-
if encoded:
|
|
419
|
-
return build_pre_encoded_url(
|
|
420
|
-
scheme,
|
|
421
|
-
authority,
|
|
422
|
-
user,
|
|
423
|
-
password,
|
|
424
|
-
host,
|
|
425
|
-
port,
|
|
426
|
-
path,
|
|
427
|
-
query_string,
|
|
428
|
-
fragment,
|
|
429
|
-
)
|
|
430
|
-
|
|
431
|
-
self = object.__new__(URL)
|
|
432
|
-
self._scheme = scheme
|
|
433
|
-
_host: Union[str, None] = None
|
|
434
|
-
if authority:
|
|
435
|
-
user, password, _host, port = split_netloc(authority)
|
|
436
|
-
_host = _encode_host(_host, validate_host=False) if _host else ""
|
|
437
|
-
elif host:
|
|
438
|
-
_host = _encode_host(host, validate_host=True)
|
|
439
|
-
else:
|
|
440
|
-
self._netloc = ""
|
|
441
|
-
|
|
442
|
-
if _host is not None:
|
|
443
|
-
if port is not None:
|
|
444
|
-
port = None if port == DEFAULT_PORTS.get(scheme) else port
|
|
445
|
-
if user is None and password is None:
|
|
446
|
-
self._netloc = _host if port is None else f"{_host}:{port}"
|
|
447
|
-
else:
|
|
448
|
-
self._netloc = make_netloc(user, password, _host, port, True)
|
|
449
|
-
|
|
450
|
-
path = PATH_QUOTER(path) if path else path
|
|
451
|
-
if path and self._netloc:
|
|
452
|
-
if "." in path:
|
|
453
|
-
path = normalize_path(path)
|
|
454
|
-
if path[0] != "/":
|
|
455
|
-
msg = (
|
|
456
|
-
"Path in a URL with authority should "
|
|
457
|
-
"start with a slash ('/') if set"
|
|
458
|
-
)
|
|
459
|
-
raise ValueError(msg)
|
|
460
|
-
|
|
461
|
-
self._path = path
|
|
462
|
-
if not query and query_string:
|
|
463
|
-
query_string = QUERY_QUOTER(query_string)
|
|
464
|
-
self._query = query_string
|
|
465
|
-
self._fragment = FRAGMENT_QUOTER(fragment) if fragment else fragment
|
|
466
|
-
self._cache = {}
|
|
467
|
-
return self
|
|
468
|
-
|
|
469
|
-
def __init_subclass__(cls):
|
|
470
|
-
raise TypeError(f"Inheriting a class {cls!r} from URL is forbidden")
|
|
471
|
-
|
|
472
|
-
def __str__(self) -> str:
|
|
473
|
-
if not self._path and self._netloc and (self._query or self._fragment):
|
|
474
|
-
path = "/"
|
|
475
|
-
else:
|
|
476
|
-
path = self._path
|
|
477
|
-
if (port := self.explicit_port) is not None and port == DEFAULT_PORTS.get(
|
|
478
|
-
self._scheme
|
|
479
|
-
):
|
|
480
|
-
# port normalization - using None for default ports to remove from rendering
|
|
481
|
-
# https://datatracker.ietf.org/doc/html/rfc3986.html#section-6.2.3
|
|
482
|
-
host = self.host_subcomponent
|
|
483
|
-
netloc = make_netloc(self.raw_user, self.raw_password, host, None)
|
|
484
|
-
else:
|
|
485
|
-
netloc = self._netloc
|
|
486
|
-
return unsplit_result(self._scheme, netloc, path, self._query, self._fragment)
|
|
487
|
-
|
|
488
|
-
def __repr__(self) -> str:
|
|
489
|
-
return f"{self.__class__.__name__}('{str(self)}')"
|
|
490
|
-
|
|
491
|
-
def __bytes__(self) -> bytes:
|
|
492
|
-
return str(self).encode("ascii")
|
|
493
|
-
|
|
494
|
-
def __eq__(self, other: object) -> bool:
|
|
495
|
-
if type(other) is not URL:
|
|
496
|
-
return NotImplemented
|
|
497
|
-
|
|
498
|
-
path1 = "/" if not self._path and self._netloc else self._path
|
|
499
|
-
path2 = "/" if not other._path and other._netloc else other._path
|
|
500
|
-
return (
|
|
501
|
-
self._scheme == other._scheme
|
|
502
|
-
and self._netloc == other._netloc
|
|
503
|
-
and path1 == path2
|
|
504
|
-
and self._query == other._query
|
|
505
|
-
and self._fragment == other._fragment
|
|
506
|
-
)
|
|
507
|
-
|
|
508
|
-
def __hash__(self) -> int:
|
|
509
|
-
if (ret := self._cache.get("hash")) is None:
|
|
510
|
-
path = "/" if not self._path and self._netloc else self._path
|
|
511
|
-
ret = self._cache["hash"] = hash(
|
|
512
|
-
(self._scheme, self._netloc, path, self._query, self._fragment)
|
|
513
|
-
)
|
|
514
|
-
return ret
|
|
515
|
-
|
|
516
|
-
def __le__(self, other: object) -> bool:
|
|
517
|
-
if type(other) is not URL:
|
|
518
|
-
return NotImplemented
|
|
519
|
-
return self._val <= other._val
|
|
520
|
-
|
|
521
|
-
def __lt__(self, other: object) -> bool:
|
|
522
|
-
if type(other) is not URL:
|
|
523
|
-
return NotImplemented
|
|
524
|
-
return self._val < other._val
|
|
525
|
-
|
|
526
|
-
def __ge__(self, other: object) -> bool:
|
|
527
|
-
if type(other) is not URL:
|
|
528
|
-
return NotImplemented
|
|
529
|
-
return self._val >= other._val
|
|
530
|
-
|
|
531
|
-
def __gt__(self, other: object) -> bool:
|
|
532
|
-
if type(other) is not URL:
|
|
533
|
-
return NotImplemented
|
|
534
|
-
return self._val > other._val
|
|
535
|
-
|
|
536
|
-
def __truediv__(self, name: str) -> "URL":
|
|
537
|
-
if not isinstance(name, str):
|
|
538
|
-
return NotImplemented
|
|
539
|
-
return self._make_child((str(name),))
|
|
540
|
-
|
|
541
|
-
def __mod__(self, query: Query) -> "URL":
|
|
542
|
-
return self.update_query(query)
|
|
543
|
-
|
|
544
|
-
def __bool__(self) -> bool:
|
|
545
|
-
return bool(self._netloc or self._path or self._query or self._fragment)
|
|
546
|
-
|
|
547
|
-
def __getstate__(self) -> tuple[SplitResult]:
|
|
548
|
-
return (tuple.__new__(SplitResult, self._val),)
|
|
549
|
-
|
|
550
|
-
def __setstate__(self, state):
|
|
551
|
-
if state[0] is None and isinstance(state[1], dict):
|
|
552
|
-
# default style pickle
|
|
553
|
-
val = state[1]["_val"]
|
|
554
|
-
else:
|
|
555
|
-
val, *unused = state
|
|
556
|
-
self._scheme, self._netloc, self._path, self._query, self._fragment = val
|
|
557
|
-
self._cache = {}
|
|
558
|
-
|
|
559
|
-
def _cache_netloc(self) -> None:
|
|
560
|
-
"""Cache the netloc parts of the URL."""
|
|
561
|
-
c = self._cache
|
|
562
|
-
split_loc = split_netloc(self._netloc)
|
|
563
|
-
c["raw_user"], c["raw_password"], c["raw_host"], c["explicit_port"] = split_loc
|
|
564
|
-
|
|
565
|
-
def is_absolute(self) -> bool:
|
|
566
|
-
"""A check for absolute URLs.
|
|
567
|
-
|
|
568
|
-
Return True for absolute ones (having scheme or starting
|
|
569
|
-
with //), False otherwise.
|
|
570
|
-
|
|
571
|
-
Is is preferred to call the .absolute property instead
|
|
572
|
-
as it is cached.
|
|
573
|
-
"""
|
|
574
|
-
return self.absolute
|
|
575
|
-
|
|
576
|
-
def is_default_port(self) -> bool:
|
|
577
|
-
"""A check for default port.
|
|
578
|
-
|
|
579
|
-
Return True if port is default for specified scheme,
|
|
580
|
-
e.g. 'http://python.org' or 'http://python.org:80', False
|
|
581
|
-
otherwise.
|
|
582
|
-
|
|
583
|
-
Return False for relative URLs.
|
|
584
|
-
|
|
585
|
-
"""
|
|
586
|
-
if (explicit := self.explicit_port) is None:
|
|
587
|
-
# If the explicit port is None, then the URL must be
|
|
588
|
-
# using the default port unless its a relative URL
|
|
589
|
-
# which does not have an implicit port / default port
|
|
590
|
-
return self._netloc != ""
|
|
591
|
-
return explicit == DEFAULT_PORTS.get(self._scheme)
|
|
592
|
-
|
|
593
|
-
def origin(self) -> "URL":
|
|
594
|
-
"""Return an URL with scheme, host and port parts only.
|
|
595
|
-
|
|
596
|
-
user, password, path, query and fragment are removed.
|
|
597
|
-
|
|
598
|
-
"""
|
|
599
|
-
# TODO: add a keyword-only option for keeping user/pass maybe?
|
|
600
|
-
return self._origin
|
|
601
|
-
|
|
602
|
-
@cached_property
|
|
603
|
-
def _val(self) -> SplitURLType:
|
|
604
|
-
return (self._scheme, self._netloc, self._path, self._query, self._fragment)
|
|
605
|
-
|
|
606
|
-
@cached_property
|
|
607
|
-
def _origin(self) -> "URL":
|
|
608
|
-
"""Return an URL with scheme, host and port parts only.
|
|
609
|
-
|
|
610
|
-
user, password, path, query and fragment are removed.
|
|
611
|
-
"""
|
|
612
|
-
if not (netloc := self._netloc):
|
|
613
|
-
raise ValueError("URL should be absolute")
|
|
614
|
-
if not (scheme := self._scheme):
|
|
615
|
-
raise ValueError("URL should have scheme")
|
|
616
|
-
if "@" in netloc:
|
|
617
|
-
encoded_host = self.host_subcomponent
|
|
618
|
-
netloc = make_netloc(None, None, encoded_host, self.explicit_port)
|
|
619
|
-
elif not self._path and not self._query and not self._fragment:
|
|
620
|
-
return self
|
|
621
|
-
return from_parts(scheme, netloc, "", "", "")
|
|
622
|
-
|
|
623
|
-
def relative(self) -> "URL":
|
|
624
|
-
"""Return a relative part of the URL.
|
|
625
|
-
|
|
626
|
-
scheme, user, password, host and port are removed.
|
|
627
|
-
|
|
628
|
-
"""
|
|
629
|
-
if not self._netloc:
|
|
630
|
-
raise ValueError("URL should be absolute")
|
|
631
|
-
return from_parts("", "", self._path, self._query, self._fragment)
|
|
632
|
-
|
|
633
|
-
@cached_property
|
|
634
|
-
def absolute(self) -> bool:
|
|
635
|
-
"""A check for absolute URLs.
|
|
636
|
-
|
|
637
|
-
Return True for absolute ones (having scheme or starting
|
|
638
|
-
with //), False otherwise.
|
|
639
|
-
|
|
640
|
-
"""
|
|
641
|
-
# `netloc`` is an empty string for relative URLs
|
|
642
|
-
# Checking `netloc` is faster than checking `hostname`
|
|
643
|
-
# because `hostname` is a property that does some extra work
|
|
644
|
-
# to parse the host from the `netloc`
|
|
645
|
-
return self._netloc != ""
|
|
646
|
-
|
|
647
|
-
@cached_property
|
|
648
|
-
def scheme(self) -> str:
|
|
649
|
-
"""Scheme for absolute URLs.
|
|
650
|
-
|
|
651
|
-
Empty string for relative URLs or URLs starting with //
|
|
652
|
-
|
|
653
|
-
"""
|
|
654
|
-
return self._scheme
|
|
655
|
-
|
|
656
|
-
@cached_property
|
|
657
|
-
def raw_authority(self) -> str:
|
|
658
|
-
"""Encoded authority part of URL.
|
|
659
|
-
|
|
660
|
-
Empty string for relative URLs.
|
|
661
|
-
|
|
662
|
-
"""
|
|
663
|
-
return self._netloc
|
|
664
|
-
|
|
665
|
-
@cached_property
|
|
666
|
-
def authority(self) -> str:
|
|
667
|
-
"""Decoded authority part of URL.
|
|
668
|
-
|
|
669
|
-
Empty string for relative URLs.
|
|
670
|
-
|
|
671
|
-
"""
|
|
672
|
-
return make_netloc(self.user, self.password, self.host, self.port)
|
|
673
|
-
|
|
674
|
-
@cached_property
|
|
675
|
-
def raw_user(self) -> Union[str, None]:
|
|
676
|
-
"""Encoded user part of URL.
|
|
677
|
-
|
|
678
|
-
None if user is missing.
|
|
679
|
-
|
|
680
|
-
"""
|
|
681
|
-
# not .username
|
|
682
|
-
self._cache_netloc()
|
|
683
|
-
return self._cache["raw_user"]
|
|
684
|
-
|
|
685
|
-
@cached_property
|
|
686
|
-
def user(self) -> Union[str, None]:
|
|
687
|
-
"""Decoded user part of URL.
|
|
688
|
-
|
|
689
|
-
None if user is missing.
|
|
690
|
-
|
|
691
|
-
"""
|
|
692
|
-
if (raw_user := self.raw_user) is None:
|
|
693
|
-
return None
|
|
694
|
-
return UNQUOTER(raw_user)
|
|
695
|
-
|
|
696
|
-
@cached_property
|
|
697
|
-
def raw_password(self) -> Union[str, None]:
|
|
698
|
-
"""Encoded password part of URL.
|
|
699
|
-
|
|
700
|
-
None if password is missing.
|
|
701
|
-
|
|
702
|
-
"""
|
|
703
|
-
self._cache_netloc()
|
|
704
|
-
return self._cache["raw_password"]
|
|
705
|
-
|
|
706
|
-
@cached_property
|
|
707
|
-
def password(self) -> Union[str, None]:
|
|
708
|
-
"""Decoded password part of URL.
|
|
709
|
-
|
|
710
|
-
None if password is missing.
|
|
711
|
-
|
|
712
|
-
"""
|
|
713
|
-
if (raw_password := self.raw_password) is None:
|
|
714
|
-
return None
|
|
715
|
-
return UNQUOTER(raw_password)
|
|
716
|
-
|
|
717
|
-
@cached_property
|
|
718
|
-
def raw_host(self) -> Union[str, None]:
|
|
719
|
-
"""Encoded host part of URL.
|
|
720
|
-
|
|
721
|
-
None for relative URLs.
|
|
722
|
-
|
|
723
|
-
When working with IPv6 addresses, use the `host_subcomponent` property instead
|
|
724
|
-
as it will return the host subcomponent with brackets.
|
|
725
|
-
"""
|
|
726
|
-
# Use host instead of hostname for sake of shortness
|
|
727
|
-
# May add .hostname prop later
|
|
728
|
-
self._cache_netloc()
|
|
729
|
-
return self._cache["raw_host"]
|
|
730
|
-
|
|
731
|
-
@cached_property
|
|
732
|
-
def host(self) -> Union[str, None]:
|
|
733
|
-
"""Decoded host part of URL.
|
|
734
|
-
|
|
735
|
-
None for relative URLs.
|
|
736
|
-
|
|
737
|
-
"""
|
|
738
|
-
if (raw := self.raw_host) is None:
|
|
739
|
-
return None
|
|
740
|
-
if raw and raw[-1].isdigit() or ":" in raw:
|
|
741
|
-
# IP addresses are never IDNA encoded
|
|
742
|
-
return raw
|
|
743
|
-
return _idna_decode(raw)
|
|
744
|
-
|
|
745
|
-
@cached_property
|
|
746
|
-
def host_subcomponent(self) -> Union[str, None]:
|
|
747
|
-
"""Return the host subcomponent part of URL.
|
|
748
|
-
|
|
749
|
-
None for relative URLs.
|
|
750
|
-
|
|
751
|
-
https://datatracker.ietf.org/doc/html/rfc3986#section-3.2.2
|
|
752
|
-
|
|
753
|
-
`IP-literal = "[" ( IPv6address / IPvFuture ) "]"`
|
|
754
|
-
|
|
755
|
-
Examples:
|
|
756
|
-
- `http://example.com:8080` -> `example.com`
|
|
757
|
-
- `http://example.com:80` -> `example.com`
|
|
758
|
-
- `https://127.0.0.1:8443` -> `127.0.0.1`
|
|
759
|
-
- `https://[::1]:8443` -> `[::1]`
|
|
760
|
-
- `http://[::1]` -> `[::1]`
|
|
761
|
-
|
|
762
|
-
"""
|
|
763
|
-
if (raw := self.raw_host) is None:
|
|
764
|
-
return None
|
|
765
|
-
return f"[{raw}]" if ":" in raw else raw
|
|
766
|
-
|
|
767
|
-
@cached_property
|
|
768
|
-
def host_port_subcomponent(self) -> Union[str, None]:
|
|
769
|
-
"""Return the host and port subcomponent part of URL.
|
|
770
|
-
|
|
771
|
-
Trailing dots are removed from the host part.
|
|
772
|
-
|
|
773
|
-
This value is suitable for use in the Host header of an HTTP request.
|
|
774
|
-
|
|
775
|
-
None for relative URLs.
|
|
776
|
-
|
|
777
|
-
https://datatracker.ietf.org/doc/html/rfc3986#section-3.2.2
|
|
778
|
-
`IP-literal = "[" ( IPv6address / IPvFuture ) "]"`
|
|
779
|
-
https://datatracker.ietf.org/doc/html/rfc3986#section-3.2.3
|
|
780
|
-
port = *DIGIT
|
|
781
|
-
|
|
782
|
-
Examples:
|
|
783
|
-
- `http://example.com:8080` -> `example.com:8080`
|
|
784
|
-
- `http://example.com:80` -> `example.com`
|
|
785
|
-
- `http://example.com.:80` -> `example.com`
|
|
786
|
-
- `https://127.0.0.1:8443` -> `127.0.0.1:8443`
|
|
787
|
-
- `https://[::1]:8443` -> `[::1]:8443`
|
|
788
|
-
- `http://[::1]` -> `[::1]`
|
|
789
|
-
|
|
790
|
-
"""
|
|
791
|
-
if (raw := self.raw_host) is None:
|
|
792
|
-
return None
|
|
793
|
-
if raw[-1] == ".":
|
|
794
|
-
# Remove all trailing dots from the netloc as while
|
|
795
|
-
# they are valid FQDNs in DNS, TLS validation fails.
|
|
796
|
-
# See https://github.com/aio-libs/aiohttp/issues/3636.
|
|
797
|
-
# To avoid string manipulation we only call rstrip if
|
|
798
|
-
# the last character is a dot.
|
|
799
|
-
raw = raw.rstrip(".")
|
|
800
|
-
port = self.explicit_port
|
|
801
|
-
if port is None or port == DEFAULT_PORTS.get(self._scheme):
|
|
802
|
-
return f"[{raw}]" if ":" in raw else raw
|
|
803
|
-
return f"[{raw}]:{port}" if ":" in raw else f"{raw}:{port}"
|
|
804
|
-
|
|
805
|
-
@cached_property
|
|
806
|
-
def port(self) -> Union[int, None]:
|
|
807
|
-
"""Port part of URL, with scheme-based fallback.
|
|
808
|
-
|
|
809
|
-
None for relative URLs or URLs without explicit port and
|
|
810
|
-
scheme without default port substitution.
|
|
811
|
-
|
|
812
|
-
"""
|
|
813
|
-
if (explicit_port := self.explicit_port) is not None:
|
|
814
|
-
return explicit_port
|
|
815
|
-
return DEFAULT_PORTS.get(self._scheme)
|
|
816
|
-
|
|
817
|
-
@cached_property
|
|
818
|
-
def explicit_port(self) -> Union[int, None]:
|
|
819
|
-
"""Port part of URL, without scheme-based fallback.
|
|
820
|
-
|
|
821
|
-
None for relative URLs or URLs without explicit port.
|
|
822
|
-
|
|
823
|
-
"""
|
|
824
|
-
self._cache_netloc()
|
|
825
|
-
return self._cache["explicit_port"]
|
|
826
|
-
|
|
827
|
-
@cached_property
|
|
828
|
-
def raw_path(self) -> str:
|
|
829
|
-
"""Encoded path of URL.
|
|
830
|
-
|
|
831
|
-
/ for absolute URLs without path part.
|
|
832
|
-
|
|
833
|
-
"""
|
|
834
|
-
return self._path if self._path or not self._netloc else "/"
|
|
835
|
-
|
|
836
|
-
@cached_property
|
|
837
|
-
def path(self) -> str:
|
|
838
|
-
"""Decoded path of URL.
|
|
839
|
-
|
|
840
|
-
/ for absolute URLs without path part.
|
|
841
|
-
|
|
842
|
-
"""
|
|
843
|
-
return PATH_UNQUOTER(self._path) if self._path else "/" if self._netloc else ""
|
|
844
|
-
|
|
845
|
-
@cached_property
|
|
846
|
-
def path_safe(self) -> str:
|
|
847
|
-
"""Decoded path of URL.
|
|
848
|
-
|
|
849
|
-
/ for absolute URLs without path part.
|
|
850
|
-
|
|
851
|
-
/ (%2F) and % (%25) are not decoded
|
|
852
|
-
|
|
853
|
-
"""
|
|
854
|
-
if self._path:
|
|
855
|
-
return PATH_SAFE_UNQUOTER(self._path)
|
|
856
|
-
return "/" if self._netloc else ""
|
|
857
|
-
|
|
858
|
-
@cached_property
|
|
859
|
-
def _parsed_query(self) -> list[tuple[str, str]]:
|
|
860
|
-
"""Parse query part of URL."""
|
|
861
|
-
return parse_qsl(self._query, keep_blank_values=True)
|
|
862
|
-
|
|
863
|
-
@cached_property
|
|
864
|
-
def query(self) -> "MultiDictProxy[str]":
|
|
865
|
-
"""A MultiDictProxy representing parsed query parameters in decoded
|
|
866
|
-
representation.
|
|
867
|
-
|
|
868
|
-
Empty value if URL has no query part.
|
|
869
|
-
|
|
870
|
-
"""
|
|
871
|
-
return MultiDictProxy(MultiDict(self._parsed_query))
|
|
872
|
-
|
|
873
|
-
@cached_property
|
|
874
|
-
def raw_query_string(self) -> str:
|
|
875
|
-
"""Encoded query part of URL.
|
|
876
|
-
|
|
877
|
-
Empty string if query is missing.
|
|
878
|
-
|
|
879
|
-
"""
|
|
880
|
-
return self._query
|
|
881
|
-
|
|
882
|
-
@cached_property
|
|
883
|
-
def query_string(self) -> str:
|
|
884
|
-
"""Decoded query part of URL.
|
|
885
|
-
|
|
886
|
-
Empty string if query is missing.
|
|
887
|
-
|
|
888
|
-
"""
|
|
889
|
-
return QS_UNQUOTER(self._query) if self._query else ""
|
|
890
|
-
|
|
891
|
-
@cached_property
|
|
892
|
-
def path_qs(self) -> str:
|
|
893
|
-
"""Decoded path of URL with query."""
|
|
894
|
-
return self.path if not (q := self.query_string) else f"{self.path}?{q}"
|
|
895
|
-
|
|
896
|
-
@cached_property
|
|
897
|
-
def raw_path_qs(self) -> str:
|
|
898
|
-
"""Encoded path of URL with query."""
|
|
899
|
-
if q := self._query:
|
|
900
|
-
return f"{self._path}?{q}" if self._path or not self._netloc else f"/?{q}"
|
|
901
|
-
return self._path if self._path or not self._netloc else "/"
|
|
902
|
-
|
|
903
|
-
@cached_property
|
|
904
|
-
def raw_fragment(self) -> str:
|
|
905
|
-
"""Encoded fragment part of URL.
|
|
906
|
-
|
|
907
|
-
Empty string if fragment is missing.
|
|
908
|
-
|
|
909
|
-
"""
|
|
910
|
-
return self._fragment
|
|
911
|
-
|
|
912
|
-
@cached_property
|
|
913
|
-
def fragment(self) -> str:
|
|
914
|
-
"""Decoded fragment part of URL.
|
|
915
|
-
|
|
916
|
-
Empty string if fragment is missing.
|
|
917
|
-
|
|
918
|
-
"""
|
|
919
|
-
return UNQUOTER(self._fragment) if self._fragment else ""
|
|
920
|
-
|
|
921
|
-
@cached_property
|
|
922
|
-
def raw_parts(self) -> tuple[str, ...]:
|
|
923
|
-
"""A tuple containing encoded *path* parts.
|
|
924
|
-
|
|
925
|
-
('/',) for absolute URLs if *path* is missing.
|
|
926
|
-
|
|
927
|
-
"""
|
|
928
|
-
path = self._path
|
|
929
|
-
if self._netloc:
|
|
930
|
-
return ("/", *path[1:].split("/")) if path else ("/",)
|
|
931
|
-
if path and path[0] == "/":
|
|
932
|
-
return ("/", *path[1:].split("/"))
|
|
933
|
-
return tuple(path.split("/"))
|
|
934
|
-
|
|
935
|
-
@cached_property
|
|
936
|
-
def parts(self) -> tuple[str, ...]:
|
|
937
|
-
"""A tuple containing decoded *path* parts.
|
|
938
|
-
|
|
939
|
-
('/',) for absolute URLs if *path* is missing.
|
|
940
|
-
|
|
941
|
-
"""
|
|
942
|
-
return tuple(UNQUOTER(part) for part in self.raw_parts)
|
|
943
|
-
|
|
944
|
-
@cached_property
|
|
945
|
-
def parent(self) -> "URL":
|
|
946
|
-
"""A new URL with last part of path removed and cleaned up query and
|
|
947
|
-
fragment.
|
|
948
|
-
|
|
949
|
-
"""
|
|
950
|
-
path = self._path
|
|
951
|
-
if not path or path == "/":
|
|
952
|
-
if self._fragment or self._query:
|
|
953
|
-
return from_parts(self._scheme, self._netloc, path, "", "")
|
|
954
|
-
return self
|
|
955
|
-
parts = path.split("/")
|
|
956
|
-
return from_parts(self._scheme, self._netloc, "/".join(parts[:-1]), "", "")
|
|
957
|
-
|
|
958
|
-
@cached_property
|
|
959
|
-
def raw_name(self) -> str:
|
|
960
|
-
"""The last part of raw_parts."""
|
|
961
|
-
parts = self.raw_parts
|
|
962
|
-
if not self._netloc:
|
|
963
|
-
return parts[-1]
|
|
964
|
-
parts = parts[1:]
|
|
965
|
-
return parts[-1] if parts else ""
|
|
966
|
-
|
|
967
|
-
@cached_property
|
|
968
|
-
def name(self) -> str:
|
|
969
|
-
"""The last part of parts."""
|
|
970
|
-
return UNQUOTER(self.raw_name)
|
|
971
|
-
|
|
972
|
-
@cached_property
|
|
973
|
-
def raw_suffix(self) -> str:
|
|
974
|
-
name = self.raw_name
|
|
975
|
-
i = name.rfind(".")
|
|
976
|
-
return name[i:] if 0 < i < len(name) - 1 else ""
|
|
977
|
-
|
|
978
|
-
@cached_property
|
|
979
|
-
def suffix(self) -> str:
|
|
980
|
-
return UNQUOTER(self.raw_suffix)
|
|
981
|
-
|
|
982
|
-
@cached_property
|
|
983
|
-
def raw_suffixes(self) -> tuple[str, ...]:
|
|
984
|
-
name = self.raw_name
|
|
985
|
-
if name.endswith("."):
|
|
986
|
-
return ()
|
|
987
|
-
name = name.lstrip(".")
|
|
988
|
-
return tuple("." + suffix for suffix in name.split(".")[1:])
|
|
989
|
-
|
|
990
|
-
@cached_property
|
|
991
|
-
def suffixes(self) -> tuple[str, ...]:
|
|
992
|
-
return tuple(UNQUOTER(suffix) for suffix in self.raw_suffixes)
|
|
993
|
-
|
|
994
|
-
def _make_child(self, paths: "Sequence[str]", encoded: bool = False) -> "URL":
|
|
995
|
-
"""
|
|
996
|
-
add paths to self._path, accounting for absolute vs relative paths,
|
|
997
|
-
keep existing, but do not create new, empty segments
|
|
998
|
-
"""
|
|
999
|
-
parsed: list[str] = []
|
|
1000
|
-
needs_normalize: bool = False
|
|
1001
|
-
for idx, path in enumerate(reversed(paths)):
|
|
1002
|
-
# empty segment of last is not removed
|
|
1003
|
-
last = idx == 0
|
|
1004
|
-
if path and path[0] == "/":
|
|
1005
|
-
raise ValueError(
|
|
1006
|
-
f"Appending path {path!r} starting from slash is forbidden"
|
|
1007
|
-
)
|
|
1008
|
-
# We need to quote the path if it is not already encoded
|
|
1009
|
-
# This cannot be done at the end because the existing
|
|
1010
|
-
# path is already quoted and we do not want to double quote
|
|
1011
|
-
# the existing path.
|
|
1012
|
-
path = path if encoded else PATH_QUOTER(path)
|
|
1013
|
-
needs_normalize |= "." in path
|
|
1014
|
-
segments = path.split("/")
|
|
1015
|
-
segments.reverse()
|
|
1016
|
-
# remove trailing empty segment for all but the last path
|
|
1017
|
-
parsed += segments[1:] if not last and segments[0] == "" else segments
|
|
1018
|
-
|
|
1019
|
-
if (path := self._path) and (old_segments := path.split("/")):
|
|
1020
|
-
# If the old path ends with a slash, the last segment is an empty string
|
|
1021
|
-
# and should be removed before adding the new path segments.
|
|
1022
|
-
old = old_segments[:-1] if old_segments[-1] == "" else old_segments
|
|
1023
|
-
old.reverse()
|
|
1024
|
-
parsed += old
|
|
1025
|
-
|
|
1026
|
-
# If the netloc is present, inject a leading slash when adding a
|
|
1027
|
-
# path to an absolute URL where there was none before.
|
|
1028
|
-
if (netloc := self._netloc) and parsed and parsed[-1] != "":
|
|
1029
|
-
parsed.append("")
|
|
1030
|
-
|
|
1031
|
-
parsed.reverse()
|
|
1032
|
-
if not netloc or not needs_normalize:
|
|
1033
|
-
return from_parts(self._scheme, netloc, "/".join(parsed), "", "")
|
|
1034
|
-
|
|
1035
|
-
path = "/".join(normalize_path_segments(parsed))
|
|
1036
|
-
# If normalizing the path segments removed the leading slash, add it back.
|
|
1037
|
-
if path and path[0] != "/":
|
|
1038
|
-
path = f"/{path}"
|
|
1039
|
-
return from_parts(self._scheme, netloc, path, "", "")
|
|
1040
|
-
|
|
1041
|
-
def with_scheme(self, scheme: str) -> "URL":
|
|
1042
|
-
"""Return a new URL with scheme replaced."""
|
|
1043
|
-
# N.B. doesn't cleanup query/fragment
|
|
1044
|
-
if not isinstance(scheme, str):
|
|
1045
|
-
raise TypeError("Invalid scheme type")
|
|
1046
|
-
lower_scheme = scheme.lower()
|
|
1047
|
-
netloc = self._netloc
|
|
1048
|
-
if not netloc and lower_scheme in SCHEME_REQUIRES_HOST:
|
|
1049
|
-
msg = (
|
|
1050
|
-
"scheme replacement is not allowed for "
|
|
1051
|
-
f"relative URLs for the {lower_scheme} scheme"
|
|
1052
|
-
)
|
|
1053
|
-
raise ValueError(msg)
|
|
1054
|
-
return from_parts(lower_scheme, netloc, self._path, self._query, self._fragment)
|
|
1055
|
-
|
|
1056
|
-
def with_user(self, user: Union[str, None]) -> "URL":
|
|
1057
|
-
"""Return a new URL with user replaced.
|
|
1058
|
-
|
|
1059
|
-
Autoencode user if needed.
|
|
1060
|
-
|
|
1061
|
-
Clear user/password if user is None.
|
|
1062
|
-
|
|
1063
|
-
"""
|
|
1064
|
-
# N.B. doesn't cleanup query/fragment
|
|
1065
|
-
if user is None:
|
|
1066
|
-
password = None
|
|
1067
|
-
elif isinstance(user, str):
|
|
1068
|
-
user = QUOTER(user)
|
|
1069
|
-
password = self.raw_password
|
|
1070
|
-
else:
|
|
1071
|
-
raise TypeError("Invalid user type")
|
|
1072
|
-
if not (netloc := self._netloc):
|
|
1073
|
-
raise ValueError("user replacement is not allowed for relative URLs")
|
|
1074
|
-
encoded_host = self.host_subcomponent or ""
|
|
1075
|
-
netloc = make_netloc(user, password, encoded_host, self.explicit_port)
|
|
1076
|
-
return from_parts(self._scheme, netloc, self._path, self._query, self._fragment)
|
|
1077
|
-
|
|
1078
|
-
def with_password(self, password: Union[str, None]) -> "URL":
|
|
1079
|
-
"""Return a new URL with password replaced.
|
|
1080
|
-
|
|
1081
|
-
Autoencode password if needed.
|
|
1082
|
-
|
|
1083
|
-
Clear password if argument is None.
|
|
1084
|
-
|
|
1085
|
-
"""
|
|
1086
|
-
# N.B. doesn't cleanup query/fragment
|
|
1087
|
-
if password is None:
|
|
1088
|
-
pass
|
|
1089
|
-
elif isinstance(password, str):
|
|
1090
|
-
password = QUOTER(password)
|
|
1091
|
-
else:
|
|
1092
|
-
raise TypeError("Invalid password type")
|
|
1093
|
-
if not (netloc := self._netloc):
|
|
1094
|
-
raise ValueError("password replacement is not allowed for relative URLs")
|
|
1095
|
-
encoded_host = self.host_subcomponent or ""
|
|
1096
|
-
port = self.explicit_port
|
|
1097
|
-
netloc = make_netloc(self.raw_user, password, encoded_host, port)
|
|
1098
|
-
return from_parts(self._scheme, netloc, self._path, self._query, self._fragment)
|
|
1099
|
-
|
|
1100
|
-
def with_host(self, host: str) -> "URL":
|
|
1101
|
-
"""Return a new URL with host replaced.
|
|
1102
|
-
|
|
1103
|
-
Autoencode host if needed.
|
|
1104
|
-
|
|
1105
|
-
Changing host for relative URLs is not allowed, use .join()
|
|
1106
|
-
instead.
|
|
1107
|
-
|
|
1108
|
-
"""
|
|
1109
|
-
# N.B. doesn't cleanup query/fragment
|
|
1110
|
-
if not isinstance(host, str):
|
|
1111
|
-
raise TypeError("Invalid host type")
|
|
1112
|
-
if not (netloc := self._netloc):
|
|
1113
|
-
raise ValueError("host replacement is not allowed for relative URLs")
|
|
1114
|
-
if not host:
|
|
1115
|
-
raise ValueError("host removing is not allowed")
|
|
1116
|
-
encoded_host = _encode_host(host, validate_host=True) if host else ""
|
|
1117
|
-
port = self.explicit_port
|
|
1118
|
-
netloc = make_netloc(self.raw_user, self.raw_password, encoded_host, port)
|
|
1119
|
-
return from_parts(self._scheme, netloc, self._path, self._query, self._fragment)
|
|
1120
|
-
|
|
1121
|
-
def with_port(self, port: Union[int, None]) -> "URL":
|
|
1122
|
-
"""Return a new URL with port replaced.
|
|
1123
|
-
|
|
1124
|
-
Clear port to default if None is passed.
|
|
1125
|
-
|
|
1126
|
-
"""
|
|
1127
|
-
# N.B. doesn't cleanup query/fragment
|
|
1128
|
-
if port is not None:
|
|
1129
|
-
if isinstance(port, bool) or not isinstance(port, int):
|
|
1130
|
-
raise TypeError(f"port should be int or None, got {type(port)}")
|
|
1131
|
-
if not (0 <= port <= 65535):
|
|
1132
|
-
raise ValueError(f"port must be between 0 and 65535, got {port}")
|
|
1133
|
-
if not (netloc := self._netloc):
|
|
1134
|
-
raise ValueError("port replacement is not allowed for relative URLs")
|
|
1135
|
-
encoded_host = self.host_subcomponent or ""
|
|
1136
|
-
netloc = make_netloc(self.raw_user, self.raw_password, encoded_host, port)
|
|
1137
|
-
return from_parts(self._scheme, netloc, self._path, self._query, self._fragment)
|
|
1138
|
-
|
|
1139
|
-
def with_path(
|
|
1140
|
-
self,
|
|
1141
|
-
path: str,
|
|
1142
|
-
*,
|
|
1143
|
-
encoded: bool = False,
|
|
1144
|
-
keep_query: bool = False,
|
|
1145
|
-
keep_fragment: bool = False,
|
|
1146
|
-
) -> "URL":
|
|
1147
|
-
"""Return a new URL with path replaced."""
|
|
1148
|
-
netloc = self._netloc
|
|
1149
|
-
if not encoded:
|
|
1150
|
-
path = PATH_QUOTER(path)
|
|
1151
|
-
if netloc:
|
|
1152
|
-
path = normalize_path(path) if "." in path else path
|
|
1153
|
-
if path and path[0] != "/":
|
|
1154
|
-
path = f"/{path}"
|
|
1155
|
-
query = self._query if keep_query else ""
|
|
1156
|
-
fragment = self._fragment if keep_fragment else ""
|
|
1157
|
-
return from_parts(self._scheme, netloc, path, query, fragment)
|
|
1158
|
-
|
|
1159
|
-
@overload
|
|
1160
|
-
def with_query(self, query: Query) -> "URL": ...
|
|
1161
|
-
|
|
1162
|
-
@overload
|
|
1163
|
-
def with_query(self, **kwargs: QueryVariable) -> "URL": ...
|
|
1164
|
-
|
|
1165
|
-
def with_query(self, *args: Any, **kwargs: Any) -> "URL":
|
|
1166
|
-
"""Return a new URL with query part replaced.
|
|
1167
|
-
|
|
1168
|
-
Accepts any Mapping (e.g. dict, multidict.MultiDict instances)
|
|
1169
|
-
or str, autoencode the argument if needed.
|
|
1170
|
-
|
|
1171
|
-
A sequence of (key, value) pairs is supported as well.
|
|
1172
|
-
|
|
1173
|
-
It also can take an arbitrary number of keyword arguments.
|
|
1174
|
-
|
|
1175
|
-
Clear query if None is passed.
|
|
1176
|
-
|
|
1177
|
-
"""
|
|
1178
|
-
# N.B. doesn't cleanup query/fragment
|
|
1179
|
-
query = get_str_query(*args, **kwargs) or ""
|
|
1180
|
-
return from_parts_uncached(
|
|
1181
|
-
self._scheme, self._netloc, self._path, query, self._fragment
|
|
1182
|
-
)
|
|
1183
|
-
|
|
1184
|
-
@overload
|
|
1185
|
-
def extend_query(self, query: Query) -> "URL": ...
|
|
1186
|
-
|
|
1187
|
-
@overload
|
|
1188
|
-
def extend_query(self, **kwargs: QueryVariable) -> "URL": ...
|
|
1189
|
-
|
|
1190
|
-
def extend_query(self, *args: Any, **kwargs: Any) -> "URL":
|
|
1191
|
-
"""Return a new URL with query part combined with the existing.
|
|
1192
|
-
|
|
1193
|
-
This method will not remove existing query parameters.
|
|
1194
|
-
|
|
1195
|
-
Example:
|
|
1196
|
-
>>> url = URL('http://example.com/?a=1&b=2')
|
|
1197
|
-
>>> url.extend_query(a=3, c=4)
|
|
1198
|
-
URL('http://example.com/?a=1&b=2&a=3&c=4')
|
|
1199
|
-
"""
|
|
1200
|
-
if not (new_query := get_str_query(*args, **kwargs)):
|
|
1201
|
-
return self
|
|
1202
|
-
if query := self._query:
|
|
1203
|
-
# both strings are already encoded so we can use a simple
|
|
1204
|
-
# string join
|
|
1205
|
-
query += new_query if query[-1] == "&" else f"&{new_query}"
|
|
1206
|
-
else:
|
|
1207
|
-
query = new_query
|
|
1208
|
-
return from_parts_uncached(
|
|
1209
|
-
self._scheme, self._netloc, self._path, query, self._fragment
|
|
1210
|
-
)
|
|
1211
|
-
|
|
1212
|
-
@overload
|
|
1213
|
-
def update_query(self, query: Query) -> "URL": ...
|
|
1214
|
-
|
|
1215
|
-
@overload
|
|
1216
|
-
def update_query(self, **kwargs: QueryVariable) -> "URL": ...
|
|
1217
|
-
|
|
1218
|
-
def update_query(self, *args: Any, **kwargs: Any) -> "URL":
|
|
1219
|
-
"""Return a new URL with query part updated.
|
|
1220
|
-
|
|
1221
|
-
This method will overwrite existing query parameters.
|
|
1222
|
-
|
|
1223
|
-
Example:
|
|
1224
|
-
>>> url = URL('http://example.com/?a=1&b=2')
|
|
1225
|
-
>>> url.update_query(a=3, c=4)
|
|
1226
|
-
URL('http://example.com/?a=3&b=2&c=4')
|
|
1227
|
-
"""
|
|
1228
|
-
in_query: Union[str, Mapping[str, QueryVariable], None]
|
|
1229
|
-
if kwargs:
|
|
1230
|
-
if args:
|
|
1231
|
-
msg = "Either kwargs or single query parameter must be present"
|
|
1232
|
-
raise ValueError(msg)
|
|
1233
|
-
in_query = kwargs
|
|
1234
|
-
elif len(args) == 1:
|
|
1235
|
-
in_query = args[0]
|
|
1236
|
-
else:
|
|
1237
|
-
raise ValueError("Either kwargs or single query parameter must be present")
|
|
1238
|
-
|
|
1239
|
-
if in_query is None:
|
|
1240
|
-
query = ""
|
|
1241
|
-
elif not in_query:
|
|
1242
|
-
query = self._query
|
|
1243
|
-
elif isinstance(in_query, Mapping):
|
|
1244
|
-
qm: MultiDict[QueryVariable] = MultiDict(self._parsed_query)
|
|
1245
|
-
qm.update(in_query)
|
|
1246
|
-
query = get_str_query_from_sequence_iterable(qm.items())
|
|
1247
|
-
elif isinstance(in_query, str):
|
|
1248
|
-
qstr: MultiDict[str] = MultiDict(self._parsed_query)
|
|
1249
|
-
qstr.update(parse_qsl(in_query, keep_blank_values=True))
|
|
1250
|
-
query = get_str_query_from_iterable(qstr.items())
|
|
1251
|
-
elif isinstance(in_query, (bytes, bytearray, memoryview)):
|
|
1252
|
-
msg = "Invalid query type: bytes, bytearray and memoryview are forbidden"
|
|
1253
|
-
raise TypeError(msg)
|
|
1254
|
-
elif isinstance(in_query, Sequence):
|
|
1255
|
-
# We don't expect sequence values if we're given a list of pairs
|
|
1256
|
-
# already; only mappings like builtin `dict` which can't have the
|
|
1257
|
-
# same key pointing to multiple values are allowed to use
|
|
1258
|
-
# `_query_seq_pairs`.
|
|
1259
|
-
qs: MultiDict[SimpleQuery] = MultiDict(self._parsed_query)
|
|
1260
|
-
qs.update(in_query)
|
|
1261
|
-
query = get_str_query_from_iterable(qs.items())
|
|
1262
|
-
else:
|
|
1263
|
-
raise TypeError(
|
|
1264
|
-
"Invalid query type: only str, mapping or "
|
|
1265
|
-
"sequence of (key, value) pairs is allowed"
|
|
1266
|
-
)
|
|
1267
|
-
return from_parts_uncached(
|
|
1268
|
-
self._scheme, self._netloc, self._path, query, self._fragment
|
|
1269
|
-
)
|
|
1270
|
-
|
|
1271
|
-
def without_query_params(self, *query_params: str) -> "URL":
|
|
1272
|
-
"""Remove some keys from query part and return new URL."""
|
|
1273
|
-
params_to_remove = set(query_params) & self.query.keys()
|
|
1274
|
-
if not params_to_remove:
|
|
1275
|
-
return self
|
|
1276
|
-
return self.with_query(
|
|
1277
|
-
tuple(
|
|
1278
|
-
(name, value)
|
|
1279
|
-
for name, value in self.query.items()
|
|
1280
|
-
if name not in params_to_remove
|
|
1281
|
-
)
|
|
1282
|
-
)
|
|
1283
|
-
|
|
1284
|
-
def with_fragment(self, fragment: Union[str, None]) -> "URL":
|
|
1285
|
-
"""Return a new URL with fragment replaced.
|
|
1286
|
-
|
|
1287
|
-
Autoencode fragment if needed.
|
|
1288
|
-
|
|
1289
|
-
Clear fragment to default if None is passed.
|
|
1290
|
-
|
|
1291
|
-
"""
|
|
1292
|
-
# N.B. doesn't cleanup query/fragment
|
|
1293
|
-
if fragment is None:
|
|
1294
|
-
raw_fragment = ""
|
|
1295
|
-
elif not isinstance(fragment, str):
|
|
1296
|
-
raise TypeError("Invalid fragment type")
|
|
1297
|
-
else:
|
|
1298
|
-
raw_fragment = FRAGMENT_QUOTER(fragment)
|
|
1299
|
-
if self._fragment == raw_fragment:
|
|
1300
|
-
return self
|
|
1301
|
-
return from_parts(
|
|
1302
|
-
self._scheme, self._netloc, self._path, self._query, raw_fragment
|
|
1303
|
-
)
|
|
1304
|
-
|
|
1305
|
-
def with_name(
|
|
1306
|
-
self,
|
|
1307
|
-
name: str,
|
|
1308
|
-
*,
|
|
1309
|
-
keep_query: bool = False,
|
|
1310
|
-
keep_fragment: bool = False,
|
|
1311
|
-
) -> "URL":
|
|
1312
|
-
"""Return a new URL with name (last part of path) replaced.
|
|
1313
|
-
|
|
1314
|
-
Query and fragment parts are cleaned up.
|
|
1315
|
-
|
|
1316
|
-
Name is encoded if needed.
|
|
1317
|
-
|
|
1318
|
-
"""
|
|
1319
|
-
# N.B. DOES cleanup query/fragment
|
|
1320
|
-
if not isinstance(name, str):
|
|
1321
|
-
raise TypeError("Invalid name type")
|
|
1322
|
-
if "/" in name:
|
|
1323
|
-
raise ValueError("Slash in name is not allowed")
|
|
1324
|
-
name = PATH_QUOTER(name)
|
|
1325
|
-
if name in (".", ".."):
|
|
1326
|
-
raise ValueError(". and .. values are forbidden")
|
|
1327
|
-
parts = list(self.raw_parts)
|
|
1328
|
-
if netloc := self._netloc:
|
|
1329
|
-
if len(parts) == 1:
|
|
1330
|
-
parts.append(name)
|
|
1331
|
-
else:
|
|
1332
|
-
parts[-1] = name
|
|
1333
|
-
parts[0] = "" # replace leading '/'
|
|
1334
|
-
else:
|
|
1335
|
-
parts[-1] = name
|
|
1336
|
-
if parts[0] == "/":
|
|
1337
|
-
parts[0] = "" # replace leading '/'
|
|
1338
|
-
|
|
1339
|
-
query = self._query if keep_query else ""
|
|
1340
|
-
fragment = self._fragment if keep_fragment else ""
|
|
1341
|
-
return from_parts(self._scheme, netloc, "/".join(parts), query, fragment)
|
|
1342
|
-
|
|
1343
|
-
def with_suffix(
|
|
1344
|
-
self,
|
|
1345
|
-
suffix: str,
|
|
1346
|
-
*,
|
|
1347
|
-
keep_query: bool = False,
|
|
1348
|
-
keep_fragment: bool = False,
|
|
1349
|
-
) -> "URL":
|
|
1350
|
-
"""Return a new URL with suffix (file extension of name) replaced.
|
|
1351
|
-
|
|
1352
|
-
Query and fragment parts are cleaned up.
|
|
1353
|
-
|
|
1354
|
-
suffix is encoded if needed.
|
|
1355
|
-
"""
|
|
1356
|
-
if not isinstance(suffix, str):
|
|
1357
|
-
raise TypeError("Invalid suffix type")
|
|
1358
|
-
if suffix and not suffix[0] == "." or suffix == ".":
|
|
1359
|
-
raise ValueError(f"Invalid suffix {suffix!r}")
|
|
1360
|
-
name = self.raw_name
|
|
1361
|
-
if not name:
|
|
1362
|
-
raise ValueError(f"{self!r} has an empty name")
|
|
1363
|
-
old_suffix = self.raw_suffix
|
|
1364
|
-
name = name + suffix if not old_suffix else name[: -len(old_suffix)] + suffix
|
|
1365
|
-
|
|
1366
|
-
return self.with_name(name, keep_query=keep_query, keep_fragment=keep_fragment)
|
|
1367
|
-
|
|
1368
|
-
def join(self, url: "URL") -> "URL":
|
|
1369
|
-
"""Join URLs
|
|
1370
|
-
|
|
1371
|
-
Construct a full (“absolute”) URL by combining a “base URL”
|
|
1372
|
-
(self) with another URL (url).
|
|
1373
|
-
|
|
1374
|
-
Informally, this uses components of the base URL, in
|
|
1375
|
-
particular the addressing scheme, the network location and
|
|
1376
|
-
(part of) the path, to provide missing components in the
|
|
1377
|
-
relative URL.
|
|
1378
|
-
|
|
1379
|
-
"""
|
|
1380
|
-
if type(url) is not URL:
|
|
1381
|
-
raise TypeError("url should be URL")
|
|
1382
|
-
|
|
1383
|
-
scheme = url._scheme or self._scheme
|
|
1384
|
-
if scheme != self._scheme or scheme not in USES_RELATIVE:
|
|
1385
|
-
return url
|
|
1386
|
-
|
|
1387
|
-
# scheme is in uses_authority as uses_authority is a superset of uses_relative
|
|
1388
|
-
if (join_netloc := url._netloc) and scheme in USES_AUTHORITY:
|
|
1389
|
-
return from_parts(scheme, join_netloc, url._path, url._query, url._fragment)
|
|
1390
|
-
|
|
1391
|
-
orig_path = self._path
|
|
1392
|
-
if join_path := url._path:
|
|
1393
|
-
if join_path[0] == "/":
|
|
1394
|
-
path = join_path
|
|
1395
|
-
elif not orig_path:
|
|
1396
|
-
path = f"/{join_path}"
|
|
1397
|
-
elif orig_path[-1] == "/":
|
|
1398
|
-
path = f"{orig_path}{join_path}"
|
|
1399
|
-
else:
|
|
1400
|
-
# …
|
|
1401
|
-
# and relativizing ".."
|
|
1402
|
-
# parts[0] is / for absolute urls,
|
|
1403
|
-
# this join will add a double slash there
|
|
1404
|
-
path = "/".join([*self.parts[:-1], ""]) + join_path
|
|
1405
|
-
# which has to be removed
|
|
1406
|
-
if orig_path[0] == "/":
|
|
1407
|
-
path = path[1:]
|
|
1408
|
-
path = normalize_path(path) if "." in path else path
|
|
1409
|
-
else:
|
|
1410
|
-
path = orig_path
|
|
1411
|
-
|
|
1412
|
-
return from_parts(
|
|
1413
|
-
scheme,
|
|
1414
|
-
self._netloc,
|
|
1415
|
-
path,
|
|
1416
|
-
url._query if join_path or url._query else self._query,
|
|
1417
|
-
url._fragment if join_path or url._fragment else self._fragment,
|
|
1418
|
-
)
|
|
1419
|
-
|
|
1420
|
-
def joinpath(self, *other: str, encoded: bool = False) -> "URL":
|
|
1421
|
-
"""Return a new URL with the elements in other appended to the path."""
|
|
1422
|
-
return self._make_child(other, encoded=encoded)
|
|
1423
|
-
|
|
1424
|
-
def human_repr(self) -> str:
|
|
1425
|
-
"""Return decoded human readable string for URL representation."""
|
|
1426
|
-
user = human_quote(self.user, "#/:?@[]")
|
|
1427
|
-
password = human_quote(self.password, "#/:?@[]")
|
|
1428
|
-
if (host := self.host) and ":" in host:
|
|
1429
|
-
host = f"[{host}]"
|
|
1430
|
-
path = human_quote(self.path, "#?")
|
|
1431
|
-
if TYPE_CHECKING:
|
|
1432
|
-
assert path is not None
|
|
1433
|
-
query_string = "&".join(
|
|
1434
|
-
"{}={}".format(human_quote(k, "#&+;="), human_quote(v, "#&+;="))
|
|
1435
|
-
for k, v in self.query.items()
|
|
1436
|
-
)
|
|
1437
|
-
fragment = human_quote(self.fragment, "")
|
|
1438
|
-
if TYPE_CHECKING:
|
|
1439
|
-
assert fragment is not None
|
|
1440
|
-
netloc = make_netloc(user, password, host, self.explicit_port)
|
|
1441
|
-
return unsplit_result(self._scheme, netloc, path, query_string, fragment)
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
_DEFAULT_IDNA_SIZE = 256
|
|
1445
|
-
_DEFAULT_ENCODE_SIZE = 512
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
@lru_cache(_DEFAULT_IDNA_SIZE)
|
|
1449
|
-
def _idna_decode(raw: str) -> str:
|
|
1450
|
-
try:
|
|
1451
|
-
return idna.decode(raw.encode("ascii"))
|
|
1452
|
-
except UnicodeError: # e.g. '::1'
|
|
1453
|
-
return raw.encode("ascii").decode("idna")
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
@lru_cache(_DEFAULT_IDNA_SIZE)
|
|
1457
|
-
def _idna_encode(host: str) -> str:
|
|
1458
|
-
try:
|
|
1459
|
-
return idna.encode(host, uts46=True).decode("ascii")
|
|
1460
|
-
except UnicodeError:
|
|
1461
|
-
return host.encode("idna").decode("ascii")
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
@lru_cache(_DEFAULT_ENCODE_SIZE)
|
|
1465
|
-
def _encode_host(host: str, validate_host: bool) -> str:
|
|
1466
|
-
"""Encode host part of URL."""
|
|
1467
|
-
# If the host ends with a digit or contains a colon, its likely
|
|
1468
|
-
# an IP address.
|
|
1469
|
-
if host and (host[-1].isdigit() or ":" in host):
|
|
1470
|
-
raw_ip, sep, zone = host.partition("%")
|
|
1471
|
-
# If it looks like an IP, we check with _ip_compressed_version
|
|
1472
|
-
# and fall-through if its not an IP address. This is a performance
|
|
1473
|
-
# optimization to avoid parsing IP addresses as much as possible
|
|
1474
|
-
# because it is orders of magnitude slower than almost any other
|
|
1475
|
-
# operation this library does.
|
|
1476
|
-
# Might be an IP address, check it
|
|
1477
|
-
#
|
|
1478
|
-
# IP Addresses can look like:
|
|
1479
|
-
# https://datatracker.ietf.org/doc/html/rfc3986#section-3.2.2
|
|
1480
|
-
# - 127.0.0.1 (last character is a digit)
|
|
1481
|
-
# - 2001:db8::ff00:42:8329 (contains a colon)
|
|
1482
|
-
# - 2001:db8::ff00:42:8329%eth0 (contains a colon)
|
|
1483
|
-
# - [2001:db8::ff00:42:8329] (contains a colon -- brackets should
|
|
1484
|
-
# have been removed before it gets here)
|
|
1485
|
-
# Rare IP Address formats are not supported per:
|
|
1486
|
-
# https://datatracker.ietf.org/doc/html/rfc3986#section-7.4
|
|
1487
|
-
#
|
|
1488
|
-
# IP parsing is slow, so its wrapped in an LRU
|
|
1489
|
-
try:
|
|
1490
|
-
ip = ip_address(raw_ip)
|
|
1491
|
-
except ValueError:
|
|
1492
|
-
pass
|
|
1493
|
-
else:
|
|
1494
|
-
# These checks should not happen in the
|
|
1495
|
-
# LRU to keep the cache size small
|
|
1496
|
-
host = ip.compressed
|
|
1497
|
-
if ip.version == 6:
|
|
1498
|
-
return f"[{host}%{zone}]" if sep else f"[{host}]"
|
|
1499
|
-
return f"{host}%{zone}" if sep else host
|
|
1500
|
-
|
|
1501
|
-
# IDNA encoding is slow, skip it for ASCII-only strings
|
|
1502
|
-
if host.isascii():
|
|
1503
|
-
# Check for invalid characters explicitly; _idna_encode() does this
|
|
1504
|
-
# for non-ascii host names.
|
|
1505
|
-
host = host.lower()
|
|
1506
|
-
if validate_host and (invalid := NOT_REG_NAME.search(host)):
|
|
1507
|
-
value, pos, extra = invalid.group(), invalid.start(), ""
|
|
1508
|
-
if value == "@" or (value == ":" and "@" in host[pos:]):
|
|
1509
|
-
# this looks like an authority string
|
|
1510
|
-
extra = (
|
|
1511
|
-
", if the value includes a username or password, "
|
|
1512
|
-
"use 'authority' instead of 'host'"
|
|
1513
|
-
)
|
|
1514
|
-
raise ValueError(
|
|
1515
|
-
f"Host {host!r} cannot contain {value!r} (at position {pos}){extra}"
|
|
1516
|
-
) from None
|
|
1517
|
-
return host
|
|
1518
|
-
|
|
1519
|
-
return _idna_encode(host)
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
@rewrite_module
|
|
1523
|
-
def cache_clear() -> None:
|
|
1524
|
-
"""Clear all LRU caches."""
|
|
1525
|
-
_idna_encode.cache_clear()
|
|
1526
|
-
_idna_decode.cache_clear()
|
|
1527
|
-
_encode_host.cache_clear()
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
@rewrite_module
|
|
1531
|
-
def cache_info() -> CacheInfo:
|
|
1532
|
-
"""Report cache statistics."""
|
|
1533
|
-
return {
|
|
1534
|
-
"idna_encode": _idna_encode.cache_info(),
|
|
1535
|
-
"idna_decode": _idna_decode.cache_info(),
|
|
1536
|
-
"ip_address": _encode_host.cache_info(),
|
|
1537
|
-
"host_validate": _encode_host.cache_info(),
|
|
1538
|
-
"encode_host": _encode_host.cache_info(),
|
|
1539
|
-
}
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
@rewrite_module
|
|
1543
|
-
def cache_configure(
|
|
1544
|
-
*,
|
|
1545
|
-
idna_encode_size: Union[int, None] = _DEFAULT_IDNA_SIZE,
|
|
1546
|
-
idna_decode_size: Union[int, None] = _DEFAULT_IDNA_SIZE,
|
|
1547
|
-
ip_address_size: Union[int, None, UndefinedType] = UNDEFINED,
|
|
1548
|
-
host_validate_size: Union[int, None, UndefinedType] = UNDEFINED,
|
|
1549
|
-
encode_host_size: Union[int, None, UndefinedType] = UNDEFINED,
|
|
1550
|
-
) -> None:
|
|
1551
|
-
"""Configure LRU cache sizes."""
|
|
1552
|
-
global _idna_decode, _idna_encode, _encode_host
|
|
1553
|
-
# ip_address_size, host_validate_size are no longer
|
|
1554
|
-
# used, but are kept for backwards compatibility.
|
|
1555
|
-
if ip_address_size is not UNDEFINED or host_validate_size is not UNDEFINED:
|
|
1556
|
-
warnings.warn(
|
|
1557
|
-
"cache_configure() no longer accepts the "
|
|
1558
|
-
"ip_address_size or host_validate_size arguments, "
|
|
1559
|
-
"they are used to set the encode_host_size instead "
|
|
1560
|
-
"and will be removed in the future",
|
|
1561
|
-
DeprecationWarning,
|
|
1562
|
-
stacklevel=2,
|
|
1563
|
-
)
|
|
1564
|
-
|
|
1565
|
-
if encode_host_size is not None:
|
|
1566
|
-
for size in (ip_address_size, host_validate_size):
|
|
1567
|
-
if size is None:
|
|
1568
|
-
encode_host_size = None
|
|
1569
|
-
elif encode_host_size is UNDEFINED:
|
|
1570
|
-
if size is not UNDEFINED:
|
|
1571
|
-
encode_host_size = size
|
|
1572
|
-
elif size is not UNDEFINED:
|
|
1573
|
-
if TYPE_CHECKING:
|
|
1574
|
-
assert isinstance(size, int)
|
|
1575
|
-
assert isinstance(encode_host_size, int)
|
|
1576
|
-
encode_host_size = max(size, encode_host_size)
|
|
1577
|
-
if encode_host_size is UNDEFINED:
|
|
1578
|
-
encode_host_size = _DEFAULT_ENCODE_SIZE
|
|
1579
|
-
|
|
1580
|
-
if TYPE_CHECKING:
|
|
1581
|
-
assert not isinstance(encode_host_size, object)
|
|
1582
|
-
_encode_host = lru_cache(encode_host_size)(_encode_host.__wrapped__)
|
|
1583
|
-
_idna_decode = lru_cache(idna_decode_size)(_idna_decode.__wrapped__)
|
|
1584
|
-
_idna_encode = lru_cache(idna_encode_size)(_idna_encode.__wrapped__)
|