@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,1289 +0,0 @@
|
|
|
1
|
-
"""CSS selector parser."""
|
|
2
|
-
from __future__ import annotations
|
|
3
|
-
import re
|
|
4
|
-
from functools import lru_cache
|
|
5
|
-
from . import util
|
|
6
|
-
from . import css_match as cm
|
|
7
|
-
from . import css_types as ct
|
|
8
|
-
from .util import SelectorSyntaxError
|
|
9
|
-
import warnings
|
|
10
|
-
from typing import Match, Any, Iterator, cast
|
|
11
|
-
|
|
12
|
-
UNICODE_REPLACEMENT_CHAR = 0xFFFD
|
|
13
|
-
|
|
14
|
-
# Simple pseudo classes that take no parameters
|
|
15
|
-
PSEUDO_SIMPLE = {
|
|
16
|
-
":any-link",
|
|
17
|
-
":empty",
|
|
18
|
-
":first-child",
|
|
19
|
-
":first-of-type",
|
|
20
|
-
":in-range",
|
|
21
|
-
":out-of-range",
|
|
22
|
-
":last-child",
|
|
23
|
-
":last-of-type",
|
|
24
|
-
":link",
|
|
25
|
-
":only-child",
|
|
26
|
-
":only-of-type",
|
|
27
|
-
":root",
|
|
28
|
-
':checked',
|
|
29
|
-
':default',
|
|
30
|
-
':disabled',
|
|
31
|
-
':enabled',
|
|
32
|
-
':indeterminate',
|
|
33
|
-
':optional',
|
|
34
|
-
':placeholder-shown',
|
|
35
|
-
':read-only',
|
|
36
|
-
':read-write',
|
|
37
|
-
':required',
|
|
38
|
-
':scope',
|
|
39
|
-
':defined'
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
# Supported, simple pseudo classes that match nothing in the Soup Sieve environment
|
|
43
|
-
PSEUDO_SIMPLE_NO_MATCH = {
|
|
44
|
-
':active',
|
|
45
|
-
':current',
|
|
46
|
-
':focus',
|
|
47
|
-
':focus-visible',
|
|
48
|
-
':focus-within',
|
|
49
|
-
':future',
|
|
50
|
-
':host',
|
|
51
|
-
':hover',
|
|
52
|
-
':local-link',
|
|
53
|
-
':past',
|
|
54
|
-
':paused',
|
|
55
|
-
':playing',
|
|
56
|
-
':target',
|
|
57
|
-
':target-within',
|
|
58
|
-
':user-invalid',
|
|
59
|
-
':visited'
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
# Complex pseudo classes that take selector lists
|
|
63
|
-
PSEUDO_COMPLEX = {
|
|
64
|
-
':contains',
|
|
65
|
-
':-soup-contains',
|
|
66
|
-
':-soup-contains-own',
|
|
67
|
-
':has',
|
|
68
|
-
':is',
|
|
69
|
-
':matches',
|
|
70
|
-
':not',
|
|
71
|
-
':where'
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
PSEUDO_COMPLEX_NO_MATCH = {
|
|
75
|
-
':current',
|
|
76
|
-
':host',
|
|
77
|
-
':host-context'
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
# Complex pseudo classes that take very specific parameters and are handled special
|
|
81
|
-
PSEUDO_SPECIAL = {
|
|
82
|
-
':dir',
|
|
83
|
-
':lang',
|
|
84
|
-
':nth-child',
|
|
85
|
-
':nth-last-child',
|
|
86
|
-
':nth-last-of-type',
|
|
87
|
-
':nth-of-type'
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
PSEUDO_SUPPORTED = PSEUDO_SIMPLE | PSEUDO_SIMPLE_NO_MATCH | PSEUDO_COMPLEX | PSEUDO_COMPLEX_NO_MATCH | PSEUDO_SPECIAL
|
|
91
|
-
|
|
92
|
-
# Sub-patterns parts
|
|
93
|
-
# Whitespace
|
|
94
|
-
NEWLINE = r'(?:\r\n|(?!\r\n)[\n\f\r])'
|
|
95
|
-
WS = fr'(?:[ \t]|{NEWLINE})'
|
|
96
|
-
# Comments
|
|
97
|
-
COMMENTS = r'(?:/\*[^*]*\*+(?:[^/*][^*]*\*+)*/)'
|
|
98
|
-
# Whitespace with comments included
|
|
99
|
-
WSC = fr'(?:{WS}|{COMMENTS})'
|
|
100
|
-
# CSS escapes
|
|
101
|
-
CSS_ESCAPES = fr'(?:\\(?:[a-f0-9]{{1,6}}{WS}?|[^\r\n\f]|$))'
|
|
102
|
-
CSS_STRING_ESCAPES = fr'(?:\\(?:[a-f0-9]{{1,6}}{WS}?|[^\r\n\f]|$|{NEWLINE}))'
|
|
103
|
-
# CSS Identifier
|
|
104
|
-
IDENTIFIER = fr'''
|
|
105
|
-
(?:(?:-?(?:[^\x00-\x2f\x30-\x40\x5B-\x5E\x60\x7B-\x9f]|{CSS_ESCAPES})+|--)
|
|
106
|
-
(?:[^\x00-\x2c\x2e\x2f\x3A-\x40\x5B-\x5E\x60\x7B-\x9f]|{CSS_ESCAPES})*)
|
|
107
|
-
'''
|
|
108
|
-
# `nth` content
|
|
109
|
-
NTH = fr'(?:[-+])?(?:[0-9]+n?|n)(?:(?<=n){WSC}*(?:[-+]){WSC}*(?:[0-9]+))?'
|
|
110
|
-
# Value: quoted string or identifier
|
|
111
|
-
VALUE = fr'''(?:"(?:\\(?:.|{NEWLINE})|[^\\"\r\n\f]+)*?"|'(?:\\(?:.|{NEWLINE})|[^\\'\r\n\f]+)*?'|{IDENTIFIER}+)'''
|
|
112
|
-
# Attribute value comparison. `!=` is handled special as it is non-standard.
|
|
113
|
-
ATTR = fr'(?:{WSC}*(?P<cmp>[!~^|*$]?=){WSC}*(?P<value>{VALUE})(?:{WSC}*(?P<case>[is]))?)?{WSC}*\]'
|
|
114
|
-
|
|
115
|
-
# Selector patterns
|
|
116
|
-
# IDs (`#id`)
|
|
117
|
-
PAT_ID = fr'\#{IDENTIFIER}'
|
|
118
|
-
# Classes (`.class`)
|
|
119
|
-
PAT_CLASS = fr'\.{IDENTIFIER}'
|
|
120
|
-
# Prefix:Tag (`prefix|tag`)
|
|
121
|
-
PAT_TAG = fr'(?P<tag_ns>(?:{IDENTIFIER}|\*)?\|)?(?P<tag_name>{IDENTIFIER}|\*)'
|
|
122
|
-
# Attributes (`[attr]`, `[attr=value]`, etc.)
|
|
123
|
-
PAT_ATTR = fr'\[{WSC}*(?P<attr_ns>(?:{IDENTIFIER}|\*)?\|)?(?P<attr_name>{IDENTIFIER}){ATTR}'
|
|
124
|
-
# Pseudo class (`:pseudo-class`, `:pseudo-class(`)
|
|
125
|
-
PAT_PSEUDO_CLASS = fr'(?P<name>:{IDENTIFIER})(?P<open>\({WSC}*)?'
|
|
126
|
-
# Pseudo class special patterns. Matches `:pseudo-class(` for special case pseudo classes.
|
|
127
|
-
PAT_PSEUDO_CLASS_SPECIAL = fr'(?P<name>:{IDENTIFIER})(?P<open>\({WSC}*)'
|
|
128
|
-
# Custom pseudo class (`:--custom-pseudo`)
|
|
129
|
-
PAT_PSEUDO_CLASS_CUSTOM = fr'(?P<name>:(?=--){IDENTIFIER})'
|
|
130
|
-
# Nesting ampersand selector. Matches `&`
|
|
131
|
-
PAT_AMP = r'&'
|
|
132
|
-
# Closing pseudo group (`)`)
|
|
133
|
-
PAT_PSEUDO_CLOSE = fr'{WSC}*\)'
|
|
134
|
-
# Pseudo element (`::pseudo-element`)
|
|
135
|
-
PAT_PSEUDO_ELEMENT = fr':{PAT_PSEUDO_CLASS}'
|
|
136
|
-
# At rule (`@page`, etc.) (not supported)
|
|
137
|
-
PAT_AT_RULE = fr'@P{IDENTIFIER}'
|
|
138
|
-
# Pseudo class `nth-child` (`:nth-child(an+b [of S]?)`, `:first-child`, etc.)
|
|
139
|
-
PAT_PSEUDO_NTH_CHILD = fr'''
|
|
140
|
-
(?P<pseudo_nth_child>{PAT_PSEUDO_CLASS_SPECIAL}
|
|
141
|
-
(?P<nth_child>{NTH}|even|odd))(?:{WSC}*\)|(?P<of>{COMMENTS}*{WS}{WSC}*of{COMMENTS}*{WS}{WSC}*))
|
|
142
|
-
'''
|
|
143
|
-
# Pseudo class `nth-of-type` (`:nth-of-type(an+b)`, `:first-of-type`, etc.)
|
|
144
|
-
PAT_PSEUDO_NTH_TYPE = fr'''
|
|
145
|
-
(?P<pseudo_nth_type>{PAT_PSEUDO_CLASS_SPECIAL}
|
|
146
|
-
(?P<nth_type>{NTH}|even|odd)){WSC}*\)
|
|
147
|
-
'''
|
|
148
|
-
# Pseudo class language (`:lang("*-de", en)`)
|
|
149
|
-
PAT_PSEUDO_LANG = fr'{PAT_PSEUDO_CLASS_SPECIAL}(?P<values>{VALUE}(?:{WSC}*,{WSC}*{VALUE})*){WSC}*\)'
|
|
150
|
-
# Pseudo class direction (`:dir(ltr)`)
|
|
151
|
-
PAT_PSEUDO_DIR = fr'{PAT_PSEUDO_CLASS_SPECIAL}(?P<dir>ltr|rtl){WSC}*\)'
|
|
152
|
-
# Combining characters (`>`, `~`, ` `, `+`, `,`)
|
|
153
|
-
PAT_COMBINE = fr'{WSC}*?(?P<relation>[,+>~]|{WS}(?![,+>~])){WSC}*'
|
|
154
|
-
# Extra: Contains (`:contains(text)`)
|
|
155
|
-
PAT_PSEUDO_CONTAINS = fr'{PAT_PSEUDO_CLASS_SPECIAL}(?P<values>{VALUE}(?:{WSC}*,{WSC}*{VALUE})*){WSC}*\)'
|
|
156
|
-
|
|
157
|
-
# Regular expressions
|
|
158
|
-
# CSS escape pattern
|
|
159
|
-
RE_CSS_ESC = re.compile(fr'(?:(\\[a-f0-9]{{1,6}}{WSC}?)|(\\[^\r\n\f])|(\\$))', re.I)
|
|
160
|
-
RE_CSS_STR_ESC = re.compile(fr'(?:(\\[a-f0-9]{{1,6}}{WS}?)|(\\[^\r\n\f])|(\\$)|(\\{NEWLINE}))', re.I)
|
|
161
|
-
# Pattern to break up `nth` specifiers
|
|
162
|
-
RE_NTH = re.compile(fr'(?P<s1>[-+])?(?P<a>[0-9]+n?|n)(?:(?<=n){WSC}*(?P<s2>[-+]){WSC}*(?P<b>[0-9]+))?', re.I)
|
|
163
|
-
# Pattern to iterate multiple values.
|
|
164
|
-
RE_VALUES = re.compile(fr'(?:(?P<value>{VALUE})|(?P<split>{WSC}*,{WSC}*))', re.X)
|
|
165
|
-
# Whitespace checks
|
|
166
|
-
RE_WS = re.compile(WS)
|
|
167
|
-
RE_WS_BEGIN = re.compile(fr'^{WSC}*')
|
|
168
|
-
RE_WS_END = re.compile(fr'{WSC}*$')
|
|
169
|
-
RE_CUSTOM = re.compile(fr'^{PAT_PSEUDO_CLASS_CUSTOM}$', re.X)
|
|
170
|
-
|
|
171
|
-
# Constants
|
|
172
|
-
# List split token
|
|
173
|
-
COMMA_COMBINATOR = ','
|
|
174
|
-
# Relation token for descendant
|
|
175
|
-
WS_COMBINATOR = " "
|
|
176
|
-
|
|
177
|
-
# Parse flags
|
|
178
|
-
FLG_PSEUDO = 0x01
|
|
179
|
-
FLG_NOT = 0x02
|
|
180
|
-
FLG_RELATIVE = 0x04
|
|
181
|
-
FLG_DEFAULT = 0x08
|
|
182
|
-
FLG_HTML = 0x10
|
|
183
|
-
FLG_INDETERMINATE = 0x20
|
|
184
|
-
FLG_OPEN = 0x40
|
|
185
|
-
FLG_IN_RANGE = 0x80
|
|
186
|
-
FLG_OUT_OF_RANGE = 0x100
|
|
187
|
-
FLG_PLACEHOLDER_SHOWN = 0x200
|
|
188
|
-
FLG_FORGIVE = 0x400
|
|
189
|
-
|
|
190
|
-
# Maximum cached patterns to store
|
|
191
|
-
_MAXCACHE = 500
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
@lru_cache(maxsize=_MAXCACHE)
|
|
195
|
-
def _cached_css_compile(
|
|
196
|
-
pattern: str,
|
|
197
|
-
namespaces: ct.Namespaces | None,
|
|
198
|
-
custom: ct.CustomSelectors | None,
|
|
199
|
-
flags: int
|
|
200
|
-
) -> cm.SoupSieve:
|
|
201
|
-
"""Cached CSS compile."""
|
|
202
|
-
|
|
203
|
-
custom_selectors = process_custom(custom)
|
|
204
|
-
return cm.SoupSieve(
|
|
205
|
-
pattern,
|
|
206
|
-
CSSParser(
|
|
207
|
-
pattern,
|
|
208
|
-
custom=custom_selectors,
|
|
209
|
-
flags=flags
|
|
210
|
-
).process_selectors(),
|
|
211
|
-
namespaces,
|
|
212
|
-
custom,
|
|
213
|
-
flags
|
|
214
|
-
)
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
def _purge_cache() -> None:
|
|
218
|
-
"""Purge the cache."""
|
|
219
|
-
|
|
220
|
-
_cached_css_compile.cache_clear()
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
def process_custom(custom: ct.CustomSelectors | None) -> dict[str, str | ct.SelectorList]:
|
|
224
|
-
"""Process custom."""
|
|
225
|
-
|
|
226
|
-
custom_selectors = {}
|
|
227
|
-
if custom is not None:
|
|
228
|
-
for key, value in custom.items():
|
|
229
|
-
name = util.lower(key)
|
|
230
|
-
if RE_CUSTOM.match(name) is None:
|
|
231
|
-
raise SelectorSyntaxError(f"The name '{name}' is not a valid custom pseudo-class name")
|
|
232
|
-
if name in custom_selectors:
|
|
233
|
-
raise KeyError(f"The custom selector '{name}' has already been registered")
|
|
234
|
-
custom_selectors[css_unescape(name)] = value
|
|
235
|
-
return custom_selectors
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
def css_unescape(content: str, string: bool = False) -> str:
|
|
239
|
-
"""
|
|
240
|
-
Unescape CSS value.
|
|
241
|
-
|
|
242
|
-
Strings allow for spanning the value on multiple strings by escaping a new line.
|
|
243
|
-
"""
|
|
244
|
-
|
|
245
|
-
def replace(m: Match[str]) -> str:
|
|
246
|
-
"""Replace with the appropriate substitute."""
|
|
247
|
-
|
|
248
|
-
if m.group(1):
|
|
249
|
-
codepoint = int(m.group(1)[1:], 16)
|
|
250
|
-
if codepoint == 0:
|
|
251
|
-
codepoint = UNICODE_REPLACEMENT_CHAR
|
|
252
|
-
value = chr(codepoint)
|
|
253
|
-
elif m.group(2):
|
|
254
|
-
value = m.group(2)[1:]
|
|
255
|
-
elif m.group(3):
|
|
256
|
-
value = '\ufffd'
|
|
257
|
-
else:
|
|
258
|
-
value = ''
|
|
259
|
-
|
|
260
|
-
return value
|
|
261
|
-
|
|
262
|
-
return (RE_CSS_ESC if not string else RE_CSS_STR_ESC).sub(replace, content)
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
def escape(ident: str) -> str:
|
|
266
|
-
"""Escape identifier."""
|
|
267
|
-
|
|
268
|
-
string = []
|
|
269
|
-
length = len(ident)
|
|
270
|
-
start_dash = length > 0 and ident[0] == '-'
|
|
271
|
-
if length == 1 and start_dash:
|
|
272
|
-
# Need to escape identifier that is a single `-` with no other characters
|
|
273
|
-
string.append(f'\\{ident}')
|
|
274
|
-
else:
|
|
275
|
-
for index, c in enumerate(ident):
|
|
276
|
-
codepoint = ord(c)
|
|
277
|
-
if codepoint == 0x00:
|
|
278
|
-
string.append('\ufffd')
|
|
279
|
-
elif (0x01 <= codepoint <= 0x1F) or codepoint == 0x7F:
|
|
280
|
-
string.append(f'\\{codepoint:x} ')
|
|
281
|
-
elif (index == 0 or (start_dash and index == 1)) and (0x30 <= codepoint <= 0x39):
|
|
282
|
-
string.append(f'\\{codepoint:x} ')
|
|
283
|
-
elif (
|
|
284
|
-
codepoint in (0x2D, 0x5F) or codepoint >= 0x80 or (0x30 <= codepoint <= 0x39) or
|
|
285
|
-
(0x30 <= codepoint <= 0x39) or (0x41 <= codepoint <= 0x5A) or (0x61 <= codepoint <= 0x7A)
|
|
286
|
-
):
|
|
287
|
-
string.append(c)
|
|
288
|
-
else:
|
|
289
|
-
string.append(f'\\{c}')
|
|
290
|
-
return ''.join(string)
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
class SelectorPattern:
|
|
294
|
-
"""Selector pattern."""
|
|
295
|
-
|
|
296
|
-
def __init__(self, name: str, pattern: str) -> None:
|
|
297
|
-
"""Initialize."""
|
|
298
|
-
|
|
299
|
-
self.name = name
|
|
300
|
-
self.re_pattern = re.compile(pattern, re.I | re.X | re.U)
|
|
301
|
-
|
|
302
|
-
def get_name(self) -> str:
|
|
303
|
-
"""Get name."""
|
|
304
|
-
|
|
305
|
-
return self.name
|
|
306
|
-
|
|
307
|
-
def match(self, selector: str, index: int, flags: int) -> Match[str] | None:
|
|
308
|
-
"""Match the selector."""
|
|
309
|
-
|
|
310
|
-
return self.re_pattern.match(selector, index)
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
class SpecialPseudoPattern(SelectorPattern):
|
|
314
|
-
"""Selector pattern."""
|
|
315
|
-
|
|
316
|
-
def __init__(self, patterns: tuple[tuple[str, tuple[str, ...], str, type[SelectorPattern]], ...]) -> None:
|
|
317
|
-
"""Initialize."""
|
|
318
|
-
|
|
319
|
-
self.patterns = {}
|
|
320
|
-
for p in patterns:
|
|
321
|
-
name = p[0]
|
|
322
|
-
pattern = p[3](name, p[2])
|
|
323
|
-
for pseudo in p[1]:
|
|
324
|
-
self.patterns[pseudo] = pattern
|
|
325
|
-
|
|
326
|
-
self.matched_name = None # type: SelectorPattern | None
|
|
327
|
-
self.re_pseudo_name = re.compile(PAT_PSEUDO_CLASS_SPECIAL, re.I | re.X | re.U)
|
|
328
|
-
|
|
329
|
-
def get_name(self) -> str:
|
|
330
|
-
"""Get name."""
|
|
331
|
-
|
|
332
|
-
return '' if self.matched_name is None else self.matched_name.get_name()
|
|
333
|
-
|
|
334
|
-
def match(self, selector: str, index: int, flags: int) -> Match[str] | None:
|
|
335
|
-
"""Match the selector."""
|
|
336
|
-
|
|
337
|
-
pseudo = None
|
|
338
|
-
m = self.re_pseudo_name.match(selector, index)
|
|
339
|
-
if m:
|
|
340
|
-
name = util.lower(css_unescape(m.group('name')))
|
|
341
|
-
pattern = self.patterns.get(name)
|
|
342
|
-
if pattern:
|
|
343
|
-
pseudo = pattern.match(selector, index, flags)
|
|
344
|
-
if pseudo:
|
|
345
|
-
self.matched_name = pattern
|
|
346
|
-
|
|
347
|
-
return pseudo
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
class _Selector:
|
|
351
|
-
"""
|
|
352
|
-
Intermediate selector class.
|
|
353
|
-
|
|
354
|
-
This stores selector data for a compound selector as we are acquiring them.
|
|
355
|
-
Once we are done collecting the data for a compound selector, we freeze
|
|
356
|
-
the data in an object that can be pickled and hashed.
|
|
357
|
-
"""
|
|
358
|
-
|
|
359
|
-
def __init__(self, **kwargs: Any) -> None:
|
|
360
|
-
"""Initialize."""
|
|
361
|
-
|
|
362
|
-
self.tag = kwargs.get('tag', None) # type: ct.SelectorTag | None
|
|
363
|
-
self.ids = kwargs.get('ids', []) # type: list[str]
|
|
364
|
-
self.classes = kwargs.get('classes', []) # type: list[str]
|
|
365
|
-
self.attributes = kwargs.get('attributes', []) # type: list[ct.SelectorAttribute]
|
|
366
|
-
self.nth = kwargs.get('nth', []) # type: list[ct.SelectorNth]
|
|
367
|
-
self.selectors = kwargs.get('selectors', []) # type: list[ct.SelectorList]
|
|
368
|
-
self.relations = kwargs.get('relations', []) # type: list[_Selector]
|
|
369
|
-
self.rel_type = kwargs.get('rel_type', None) # type: str | None
|
|
370
|
-
self.contains = kwargs.get('contains', []) # type: list[ct.SelectorContains]
|
|
371
|
-
self.lang = kwargs.get('lang', []) # type: list[ct.SelectorLang]
|
|
372
|
-
self.flags = kwargs.get('flags', 0) # type: int
|
|
373
|
-
self.no_match = kwargs.get('no_match', False) # type: bool
|
|
374
|
-
|
|
375
|
-
def _freeze_relations(self, relations: list[_Selector]) -> ct.SelectorList:
|
|
376
|
-
"""Freeze relation."""
|
|
377
|
-
|
|
378
|
-
if relations:
|
|
379
|
-
sel = relations[0]
|
|
380
|
-
sel.relations.extend(relations[1:])
|
|
381
|
-
return ct.SelectorList([sel.freeze()])
|
|
382
|
-
else:
|
|
383
|
-
return ct.SelectorList()
|
|
384
|
-
|
|
385
|
-
def freeze(self) -> ct.Selector | ct.SelectorNull:
|
|
386
|
-
"""Freeze self."""
|
|
387
|
-
|
|
388
|
-
if self.no_match:
|
|
389
|
-
return ct.SelectorNull()
|
|
390
|
-
else:
|
|
391
|
-
return ct.Selector(
|
|
392
|
-
self.tag,
|
|
393
|
-
tuple(self.ids),
|
|
394
|
-
tuple(self.classes),
|
|
395
|
-
tuple(self.attributes),
|
|
396
|
-
tuple(self.nth),
|
|
397
|
-
tuple(self.selectors),
|
|
398
|
-
self._freeze_relations(self.relations),
|
|
399
|
-
self.rel_type,
|
|
400
|
-
tuple(self.contains),
|
|
401
|
-
tuple(self.lang),
|
|
402
|
-
self.flags
|
|
403
|
-
)
|
|
404
|
-
|
|
405
|
-
def __str__(self) -> str: # pragma: no cover
|
|
406
|
-
"""String representation."""
|
|
407
|
-
|
|
408
|
-
return (
|
|
409
|
-
f'_Selector(tag={self.tag!r}, ids={self.ids!r}, classes={self.classes!r}, attributes={self.attributes!r}, '
|
|
410
|
-
f'nth={self.nth!r}, selectors={self.selectors!r}, relations={self.relations!r}, '
|
|
411
|
-
f'rel_type={self.rel_type!r}, contains={self.contains!r}, lang={self.lang!r}, flags={self.flags!r}, '
|
|
412
|
-
f'no_match={self.no_match!r})'
|
|
413
|
-
)
|
|
414
|
-
|
|
415
|
-
__repr__ = __str__
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
class CSSParser:
|
|
419
|
-
"""Parse CSS selectors."""
|
|
420
|
-
|
|
421
|
-
css_tokens = (
|
|
422
|
-
SelectorPattern("pseudo_close", PAT_PSEUDO_CLOSE),
|
|
423
|
-
SpecialPseudoPattern(
|
|
424
|
-
(
|
|
425
|
-
(
|
|
426
|
-
"pseudo_contains",
|
|
427
|
-
(':contains', ':-soup-contains', ':-soup-contains-own'),
|
|
428
|
-
PAT_PSEUDO_CONTAINS,
|
|
429
|
-
SelectorPattern
|
|
430
|
-
),
|
|
431
|
-
("pseudo_nth_child", (':nth-child', ':nth-last-child'), PAT_PSEUDO_NTH_CHILD, SelectorPattern),
|
|
432
|
-
("pseudo_nth_type", (':nth-of-type', ':nth-last-of-type'), PAT_PSEUDO_NTH_TYPE, SelectorPattern),
|
|
433
|
-
("pseudo_lang", (':lang',), PAT_PSEUDO_LANG, SelectorPattern),
|
|
434
|
-
("pseudo_dir", (':dir',), PAT_PSEUDO_DIR, SelectorPattern)
|
|
435
|
-
)
|
|
436
|
-
),
|
|
437
|
-
SelectorPattern("pseudo_class_custom", PAT_PSEUDO_CLASS_CUSTOM),
|
|
438
|
-
SelectorPattern("pseudo_class", PAT_PSEUDO_CLASS),
|
|
439
|
-
SelectorPattern("pseudo_element", PAT_PSEUDO_ELEMENT),
|
|
440
|
-
SelectorPattern("amp", PAT_AMP),
|
|
441
|
-
SelectorPattern("at_rule", PAT_AT_RULE),
|
|
442
|
-
SelectorPattern("id", PAT_ID),
|
|
443
|
-
SelectorPattern("class", PAT_CLASS),
|
|
444
|
-
SelectorPattern("tag", PAT_TAG),
|
|
445
|
-
SelectorPattern("attribute", PAT_ATTR),
|
|
446
|
-
SelectorPattern("combine", PAT_COMBINE)
|
|
447
|
-
)
|
|
448
|
-
|
|
449
|
-
def __init__(
|
|
450
|
-
self,
|
|
451
|
-
selector: str,
|
|
452
|
-
custom: dict[str, str | ct.SelectorList] | None = None,
|
|
453
|
-
flags: int = 0
|
|
454
|
-
) -> None:
|
|
455
|
-
"""Initialize."""
|
|
456
|
-
|
|
457
|
-
self.pattern = selector.replace('\x00', '\ufffd')
|
|
458
|
-
self.flags = flags
|
|
459
|
-
self.debug = self.flags & util.DEBUG
|
|
460
|
-
self.custom = {} if custom is None else custom
|
|
461
|
-
|
|
462
|
-
def parse_attribute_selector(self, sel: _Selector, m: Match[str], has_selector: bool) -> bool:
|
|
463
|
-
"""Create attribute selector from the returned regex match."""
|
|
464
|
-
|
|
465
|
-
inverse = False
|
|
466
|
-
op = m.group('cmp')
|
|
467
|
-
case = util.lower(m.group('case')) if m.group('case') else None
|
|
468
|
-
ns = css_unescape(m.group('attr_ns')[:-1]) if m.group('attr_ns') else ''
|
|
469
|
-
attr = css_unescape(m.group('attr_name'))
|
|
470
|
-
is_type = False
|
|
471
|
-
pattern2 = None
|
|
472
|
-
value = ''
|
|
473
|
-
|
|
474
|
-
if case:
|
|
475
|
-
flags = (re.I if case == 'i' else 0) | re.DOTALL
|
|
476
|
-
elif util.lower(attr) == 'type':
|
|
477
|
-
flags = re.I | re.DOTALL
|
|
478
|
-
is_type = True
|
|
479
|
-
else:
|
|
480
|
-
flags = re.DOTALL
|
|
481
|
-
|
|
482
|
-
if op:
|
|
483
|
-
if m.group('value').startswith(('"', "'")):
|
|
484
|
-
value = css_unescape(m.group('value')[1:-1], True)
|
|
485
|
-
else:
|
|
486
|
-
value = css_unescape(m.group('value'))
|
|
487
|
-
|
|
488
|
-
if not op:
|
|
489
|
-
# Attribute name
|
|
490
|
-
pattern = None
|
|
491
|
-
elif op.startswith('^'):
|
|
492
|
-
# Value start with
|
|
493
|
-
pattern = re.compile(r'^%s.*' % re.escape(value), flags)
|
|
494
|
-
elif op.startswith('$'):
|
|
495
|
-
# Value ends with
|
|
496
|
-
pattern = re.compile(r'.*?%s$' % re.escape(value), flags)
|
|
497
|
-
elif op.startswith('*'):
|
|
498
|
-
# Value contains
|
|
499
|
-
pattern = re.compile(r'.*?%s.*' % re.escape(value), flags)
|
|
500
|
-
elif op.startswith('~'):
|
|
501
|
-
# Value contains word within space separated list
|
|
502
|
-
# `~=` should match nothing if it is empty or contains whitespace,
|
|
503
|
-
# so if either of these cases is present, use `[^\s\S]` which cannot be matched.
|
|
504
|
-
value = r'[^\s\S]' if not value or RE_WS.search(value) else re.escape(value)
|
|
505
|
-
pattern = re.compile(r'.*?(?:(?<=^)|(?<=[ \t\r\n\f]))%s(?=(?:[ \t\r\n\f]|$)).*' % value, flags)
|
|
506
|
-
elif op.startswith('|'):
|
|
507
|
-
# Value starts with word in dash separated list
|
|
508
|
-
pattern = re.compile(r'^%s(?:-.*)?$' % re.escape(value), flags)
|
|
509
|
-
else:
|
|
510
|
-
# Value matches
|
|
511
|
-
pattern = re.compile(r'^%s$' % re.escape(value), flags)
|
|
512
|
-
if op.startswith('!'):
|
|
513
|
-
# Equivalent to `:not([attr=value])`
|
|
514
|
-
inverse = True
|
|
515
|
-
if is_type and pattern:
|
|
516
|
-
pattern2 = re.compile(pattern.pattern)
|
|
517
|
-
|
|
518
|
-
# Append the attribute selector
|
|
519
|
-
sel_attr = ct.SelectorAttribute(attr, ns, pattern, pattern2)
|
|
520
|
-
if inverse:
|
|
521
|
-
# If we are using `!=`, we need to nest the pattern under a `:not()`.
|
|
522
|
-
sub_sel = _Selector()
|
|
523
|
-
sub_sel.attributes.append(sel_attr)
|
|
524
|
-
not_list = ct.SelectorList([sub_sel.freeze()], True, False)
|
|
525
|
-
sel.selectors.append(not_list)
|
|
526
|
-
else:
|
|
527
|
-
sel.attributes.append(sel_attr)
|
|
528
|
-
|
|
529
|
-
has_selector = True
|
|
530
|
-
return has_selector
|
|
531
|
-
|
|
532
|
-
def parse_tag_pattern(self, sel: _Selector, m: Match[str], has_selector: bool) -> bool:
|
|
533
|
-
"""Parse tag pattern from regex match."""
|
|
534
|
-
|
|
535
|
-
prefix = css_unescape(m.group('tag_ns')[:-1]) if m.group('tag_ns') else None
|
|
536
|
-
tag = css_unescape(m.group('tag_name'))
|
|
537
|
-
sel.tag = ct.SelectorTag(tag, prefix)
|
|
538
|
-
has_selector = True
|
|
539
|
-
return has_selector
|
|
540
|
-
|
|
541
|
-
def parse_pseudo_class_custom(self, sel: _Selector, m: Match[str], has_selector: bool) -> bool:
|
|
542
|
-
"""
|
|
543
|
-
Parse custom pseudo class alias.
|
|
544
|
-
|
|
545
|
-
Compile custom selectors as we need them. When compiling a custom selector,
|
|
546
|
-
set it to `None` in the dictionary so we can avoid an infinite loop.
|
|
547
|
-
"""
|
|
548
|
-
|
|
549
|
-
pseudo = util.lower(css_unescape(m.group('name')))
|
|
550
|
-
selector = self.custom.get(pseudo)
|
|
551
|
-
if selector is None:
|
|
552
|
-
raise SelectorSyntaxError(
|
|
553
|
-
f"Undefined custom selector '{pseudo}' found at position {m.end(0)}",
|
|
554
|
-
self.pattern,
|
|
555
|
-
m.end(0)
|
|
556
|
-
)
|
|
557
|
-
|
|
558
|
-
if not isinstance(selector, ct.SelectorList):
|
|
559
|
-
del self.custom[pseudo]
|
|
560
|
-
selector = CSSParser(
|
|
561
|
-
selector, custom=self.custom, flags=self.flags
|
|
562
|
-
).process_selectors(flags=FLG_PSEUDO)
|
|
563
|
-
self.custom[pseudo] = selector
|
|
564
|
-
|
|
565
|
-
sel.selectors.append(selector)
|
|
566
|
-
has_selector = True
|
|
567
|
-
return has_selector
|
|
568
|
-
|
|
569
|
-
def parse_pseudo_class(
|
|
570
|
-
self,
|
|
571
|
-
sel: _Selector,
|
|
572
|
-
m: Match[str],
|
|
573
|
-
has_selector: bool,
|
|
574
|
-
iselector: Iterator[tuple[str, Match[str]]],
|
|
575
|
-
is_html: bool
|
|
576
|
-
) -> tuple[bool, bool]:
|
|
577
|
-
"""Parse pseudo class."""
|
|
578
|
-
|
|
579
|
-
complex_pseudo = False
|
|
580
|
-
pseudo = util.lower(css_unescape(m.group('name')))
|
|
581
|
-
if m.group('open'):
|
|
582
|
-
complex_pseudo = True
|
|
583
|
-
if complex_pseudo and pseudo in PSEUDO_COMPLEX:
|
|
584
|
-
has_selector = self.parse_pseudo_open(sel, pseudo, has_selector, iselector, m.end(0))
|
|
585
|
-
elif not complex_pseudo and pseudo in PSEUDO_SIMPLE:
|
|
586
|
-
if pseudo == ':root':
|
|
587
|
-
sel.flags |= ct.SEL_ROOT
|
|
588
|
-
elif pseudo == ':defined':
|
|
589
|
-
sel.flags |= ct.SEL_DEFINED
|
|
590
|
-
is_html = True
|
|
591
|
-
elif pseudo == ':scope':
|
|
592
|
-
sel.flags |= ct.SEL_SCOPE
|
|
593
|
-
elif pseudo == ':empty':
|
|
594
|
-
sel.flags |= ct.SEL_EMPTY
|
|
595
|
-
elif pseudo in (':link', ':any-link'):
|
|
596
|
-
sel.selectors.append(CSS_LINK)
|
|
597
|
-
elif pseudo == ':checked':
|
|
598
|
-
sel.selectors.append(CSS_CHECKED)
|
|
599
|
-
elif pseudo == ':default':
|
|
600
|
-
sel.selectors.append(CSS_DEFAULT)
|
|
601
|
-
elif pseudo == ':indeterminate':
|
|
602
|
-
sel.selectors.append(CSS_INDETERMINATE)
|
|
603
|
-
elif pseudo == ":disabled":
|
|
604
|
-
sel.selectors.append(CSS_DISABLED)
|
|
605
|
-
elif pseudo == ":enabled":
|
|
606
|
-
sel.selectors.append(CSS_ENABLED)
|
|
607
|
-
elif pseudo == ":required":
|
|
608
|
-
sel.selectors.append(CSS_REQUIRED)
|
|
609
|
-
elif pseudo == ":optional":
|
|
610
|
-
sel.selectors.append(CSS_OPTIONAL)
|
|
611
|
-
elif pseudo == ":read-only":
|
|
612
|
-
sel.selectors.append(CSS_READ_ONLY)
|
|
613
|
-
elif pseudo == ":read-write":
|
|
614
|
-
sel.selectors.append(CSS_READ_WRITE)
|
|
615
|
-
elif pseudo == ":in-range":
|
|
616
|
-
sel.selectors.append(CSS_IN_RANGE)
|
|
617
|
-
elif pseudo == ":out-of-range":
|
|
618
|
-
sel.selectors.append(CSS_OUT_OF_RANGE)
|
|
619
|
-
elif pseudo == ":placeholder-shown":
|
|
620
|
-
sel.selectors.append(CSS_PLACEHOLDER_SHOWN)
|
|
621
|
-
elif pseudo == ':first-child':
|
|
622
|
-
sel.nth.append(ct.SelectorNth(1, False, 0, False, False, ct.SelectorList()))
|
|
623
|
-
elif pseudo == ':last-child':
|
|
624
|
-
sel.nth.append(ct.SelectorNth(1, False, 0, False, True, ct.SelectorList()))
|
|
625
|
-
elif pseudo == ':first-of-type':
|
|
626
|
-
sel.nth.append(ct.SelectorNth(1, False, 0, True, False, ct.SelectorList()))
|
|
627
|
-
elif pseudo == ':last-of-type':
|
|
628
|
-
sel.nth.append(ct.SelectorNth(1, False, 0, True, True, ct.SelectorList()))
|
|
629
|
-
elif pseudo == ':only-child':
|
|
630
|
-
sel.nth.extend(
|
|
631
|
-
[
|
|
632
|
-
ct.SelectorNth(1, False, 0, False, False, ct.SelectorList()),
|
|
633
|
-
ct.SelectorNth(1, False, 0, False, True, ct.SelectorList())
|
|
634
|
-
]
|
|
635
|
-
)
|
|
636
|
-
elif pseudo == ':only-of-type':
|
|
637
|
-
sel.nth.extend(
|
|
638
|
-
[
|
|
639
|
-
ct.SelectorNth(1, False, 0, True, False, ct.SelectorList()),
|
|
640
|
-
ct.SelectorNth(1, False, 0, True, True, ct.SelectorList())
|
|
641
|
-
]
|
|
642
|
-
)
|
|
643
|
-
has_selector = True
|
|
644
|
-
elif complex_pseudo and pseudo in PSEUDO_COMPLEX_NO_MATCH:
|
|
645
|
-
self.parse_selectors(iselector, m.end(0), FLG_PSEUDO | FLG_OPEN)
|
|
646
|
-
sel.no_match = True
|
|
647
|
-
has_selector = True
|
|
648
|
-
elif not complex_pseudo and pseudo in PSEUDO_SIMPLE_NO_MATCH:
|
|
649
|
-
sel.no_match = True
|
|
650
|
-
has_selector = True
|
|
651
|
-
elif pseudo in PSEUDO_SUPPORTED:
|
|
652
|
-
raise SelectorSyntaxError(
|
|
653
|
-
f"Invalid syntax for pseudo class '{pseudo}'",
|
|
654
|
-
self.pattern,
|
|
655
|
-
m.start(0)
|
|
656
|
-
)
|
|
657
|
-
else:
|
|
658
|
-
raise SelectorSyntaxError(
|
|
659
|
-
f"'{pseudo}' was detected as a pseudo-class and is either unsupported or invalid. "
|
|
660
|
-
"If the syntax was not intended to be recognized as a pseudo-class, please escape the colon.",
|
|
661
|
-
self.pattern,
|
|
662
|
-
m.start(0)
|
|
663
|
-
)
|
|
664
|
-
|
|
665
|
-
return has_selector, is_html
|
|
666
|
-
|
|
667
|
-
def parse_pseudo_nth(
|
|
668
|
-
self,
|
|
669
|
-
sel: _Selector,
|
|
670
|
-
m: Match[str],
|
|
671
|
-
has_selector: bool,
|
|
672
|
-
iselector: Iterator[tuple[str, Match[str]]]
|
|
673
|
-
) -> bool:
|
|
674
|
-
"""Parse `nth` pseudo."""
|
|
675
|
-
|
|
676
|
-
mdict = m.groupdict()
|
|
677
|
-
if mdict.get('pseudo_nth_child'):
|
|
678
|
-
postfix = '_child'
|
|
679
|
-
else:
|
|
680
|
-
postfix = '_type'
|
|
681
|
-
mdict['name'] = util.lower(css_unescape(mdict['name']))
|
|
682
|
-
content = util.lower(mdict.get('nth' + postfix))
|
|
683
|
-
if content == 'even':
|
|
684
|
-
# 2n
|
|
685
|
-
s1 = 2
|
|
686
|
-
s2 = 0
|
|
687
|
-
var = True
|
|
688
|
-
elif content == 'odd':
|
|
689
|
-
# 2n+1
|
|
690
|
-
s1 = 2
|
|
691
|
-
s2 = 1
|
|
692
|
-
var = True
|
|
693
|
-
else:
|
|
694
|
-
nth_parts = cast(Match[str], RE_NTH.match(content))
|
|
695
|
-
_s1 = '-' if nth_parts.group('s1') and nth_parts.group('s1') == '-' else ''
|
|
696
|
-
a = nth_parts.group('a')
|
|
697
|
-
var = a.endswith('n')
|
|
698
|
-
if a.startswith('n'):
|
|
699
|
-
_s1 += '1'
|
|
700
|
-
elif var:
|
|
701
|
-
_s1 += a[:-1]
|
|
702
|
-
else:
|
|
703
|
-
_s1 += a
|
|
704
|
-
_s2 = '-' if nth_parts.group('s2') and nth_parts.group('s2') == '-' else ''
|
|
705
|
-
if nth_parts.group('b'):
|
|
706
|
-
_s2 += nth_parts.group('b')
|
|
707
|
-
else:
|
|
708
|
-
_s2 = '0'
|
|
709
|
-
s1 = int(_s1, 10)
|
|
710
|
-
s2 = int(_s2, 10)
|
|
711
|
-
|
|
712
|
-
pseudo_sel = mdict['name']
|
|
713
|
-
if postfix == '_child':
|
|
714
|
-
if m.group('of'):
|
|
715
|
-
# Parse the rest of `of S`.
|
|
716
|
-
nth_sel = self.parse_selectors(iselector, m.end(0), FLG_PSEUDO | FLG_OPEN)
|
|
717
|
-
else:
|
|
718
|
-
# Use default `*|*` for `of S`.
|
|
719
|
-
nth_sel = CSS_NTH_OF_S_DEFAULT
|
|
720
|
-
if pseudo_sel == ':nth-child':
|
|
721
|
-
sel.nth.append(ct.SelectorNth(s1, var, s2, False, False, nth_sel))
|
|
722
|
-
elif pseudo_sel == ':nth-last-child':
|
|
723
|
-
sel.nth.append(ct.SelectorNth(s1, var, s2, False, True, nth_sel))
|
|
724
|
-
else:
|
|
725
|
-
if pseudo_sel == ':nth-of-type':
|
|
726
|
-
sel.nth.append(ct.SelectorNth(s1, var, s2, True, False, ct.SelectorList()))
|
|
727
|
-
elif pseudo_sel == ':nth-last-of-type':
|
|
728
|
-
sel.nth.append(ct.SelectorNth(s1, var, s2, True, True, ct.SelectorList()))
|
|
729
|
-
has_selector = True
|
|
730
|
-
return has_selector
|
|
731
|
-
|
|
732
|
-
def parse_pseudo_open(
|
|
733
|
-
self,
|
|
734
|
-
sel: _Selector,
|
|
735
|
-
name: str,
|
|
736
|
-
has_selector: bool,
|
|
737
|
-
iselector: Iterator[tuple[str, Match[str]]],
|
|
738
|
-
index: int
|
|
739
|
-
) -> bool:
|
|
740
|
-
"""Parse pseudo with opening bracket."""
|
|
741
|
-
|
|
742
|
-
flags = FLG_PSEUDO | FLG_OPEN
|
|
743
|
-
if name == ':not':
|
|
744
|
-
flags |= FLG_NOT
|
|
745
|
-
elif name == ':has':
|
|
746
|
-
flags |= FLG_RELATIVE
|
|
747
|
-
elif name in (':where', ':is'):
|
|
748
|
-
flags |= FLG_FORGIVE
|
|
749
|
-
|
|
750
|
-
sel.selectors.append(self.parse_selectors(iselector, index, flags))
|
|
751
|
-
has_selector = True
|
|
752
|
-
|
|
753
|
-
return has_selector
|
|
754
|
-
|
|
755
|
-
def parse_has_combinator(
|
|
756
|
-
self,
|
|
757
|
-
sel: _Selector,
|
|
758
|
-
m: Match[str],
|
|
759
|
-
has_selector: bool,
|
|
760
|
-
selectors: list[_Selector],
|
|
761
|
-
rel_type: str,
|
|
762
|
-
index: int
|
|
763
|
-
) -> tuple[bool, _Selector, str]:
|
|
764
|
-
"""Parse combinator tokens."""
|
|
765
|
-
|
|
766
|
-
combinator = m.group('relation').strip()
|
|
767
|
-
if not combinator:
|
|
768
|
-
combinator = WS_COMBINATOR
|
|
769
|
-
if combinator == COMMA_COMBINATOR:
|
|
770
|
-
sel.rel_type = rel_type
|
|
771
|
-
selectors[-1].relations.append(sel)
|
|
772
|
-
rel_type = ":" + WS_COMBINATOR
|
|
773
|
-
selectors.append(_Selector())
|
|
774
|
-
else:
|
|
775
|
-
if has_selector:
|
|
776
|
-
# End the current selector and associate the leading combinator with this selector.
|
|
777
|
-
sel.rel_type = rel_type
|
|
778
|
-
selectors[-1].relations.append(sel)
|
|
779
|
-
elif rel_type[1:] != WS_COMBINATOR:
|
|
780
|
-
# It's impossible to have two whitespace combinators after each other as the patterns
|
|
781
|
-
# will gobble up trailing whitespace. It is also impossible to have a whitespace
|
|
782
|
-
# combinator after any other kind for the same reason. But we could have
|
|
783
|
-
# multiple non-whitespace combinators. So if the current combinator is not a whitespace,
|
|
784
|
-
# then we've hit the multiple combinator case, so we should fail.
|
|
785
|
-
raise SelectorSyntaxError(
|
|
786
|
-
f'The multiple combinators at position {index}',
|
|
787
|
-
self.pattern,
|
|
788
|
-
index
|
|
789
|
-
)
|
|
790
|
-
|
|
791
|
-
# Set the leading combinator for the next selector.
|
|
792
|
-
rel_type = ':' + combinator
|
|
793
|
-
|
|
794
|
-
sel = _Selector()
|
|
795
|
-
has_selector = False
|
|
796
|
-
return has_selector, sel, rel_type
|
|
797
|
-
|
|
798
|
-
def parse_combinator(
|
|
799
|
-
self,
|
|
800
|
-
sel: _Selector,
|
|
801
|
-
m: Match[str],
|
|
802
|
-
has_selector: bool,
|
|
803
|
-
selectors: list[_Selector],
|
|
804
|
-
relations: list[_Selector],
|
|
805
|
-
is_pseudo: bool,
|
|
806
|
-
is_forgive: bool,
|
|
807
|
-
index: int
|
|
808
|
-
) -> tuple[bool, _Selector]:
|
|
809
|
-
"""Parse combinator tokens."""
|
|
810
|
-
|
|
811
|
-
combinator = m.group('relation').strip()
|
|
812
|
-
if not combinator:
|
|
813
|
-
combinator = WS_COMBINATOR
|
|
814
|
-
if not has_selector:
|
|
815
|
-
if not is_forgive or combinator != COMMA_COMBINATOR:
|
|
816
|
-
raise SelectorSyntaxError(
|
|
817
|
-
f"The combinator '{combinator}' at position {index}, must have a selector before it",
|
|
818
|
-
self.pattern,
|
|
819
|
-
index
|
|
820
|
-
)
|
|
821
|
-
|
|
822
|
-
# If we are in a forgiving pseudo class, just make the selector a "no match"
|
|
823
|
-
if combinator == COMMA_COMBINATOR:
|
|
824
|
-
sel.no_match = True
|
|
825
|
-
del relations[:]
|
|
826
|
-
selectors.append(sel)
|
|
827
|
-
else:
|
|
828
|
-
if combinator == COMMA_COMBINATOR:
|
|
829
|
-
if not sel.tag and not is_pseudo:
|
|
830
|
-
# Implied `*`
|
|
831
|
-
sel.tag = ct.SelectorTag('*', None)
|
|
832
|
-
sel.relations.extend(relations)
|
|
833
|
-
selectors.append(sel)
|
|
834
|
-
del relations[:]
|
|
835
|
-
else:
|
|
836
|
-
sel.relations.extend(relations)
|
|
837
|
-
sel.rel_type = combinator
|
|
838
|
-
del relations[:]
|
|
839
|
-
relations.append(sel)
|
|
840
|
-
|
|
841
|
-
sel = _Selector()
|
|
842
|
-
has_selector = False
|
|
843
|
-
|
|
844
|
-
return has_selector, sel
|
|
845
|
-
|
|
846
|
-
def parse_class_id(self, sel: _Selector, m: Match[str], has_selector: bool) -> bool:
|
|
847
|
-
"""Parse HTML classes and ids."""
|
|
848
|
-
|
|
849
|
-
selector = m.group(0)
|
|
850
|
-
if selector.startswith('.'):
|
|
851
|
-
sel.classes.append(css_unescape(selector[1:]))
|
|
852
|
-
else:
|
|
853
|
-
sel.ids.append(css_unescape(selector[1:]))
|
|
854
|
-
has_selector = True
|
|
855
|
-
return has_selector
|
|
856
|
-
|
|
857
|
-
def parse_pseudo_contains(self, sel: _Selector, m: Match[str], has_selector: bool) -> bool:
|
|
858
|
-
"""Parse contains."""
|
|
859
|
-
|
|
860
|
-
pseudo = util.lower(css_unescape(m.group('name')))
|
|
861
|
-
if pseudo == ":contains":
|
|
862
|
-
warnings.warn( # noqa: B028
|
|
863
|
-
"The pseudo class ':contains' is deprecated, ':-soup-contains' should be used moving forward.",
|
|
864
|
-
FutureWarning
|
|
865
|
-
)
|
|
866
|
-
contains_own = pseudo == ":-soup-contains-own"
|
|
867
|
-
values = css_unescape(m.group('values'))
|
|
868
|
-
patterns = []
|
|
869
|
-
for token in RE_VALUES.finditer(values):
|
|
870
|
-
if token.group('split'):
|
|
871
|
-
continue
|
|
872
|
-
value = token.group('value')
|
|
873
|
-
if value.startswith(("'", '"')):
|
|
874
|
-
value = css_unescape(value[1:-1], True)
|
|
875
|
-
else:
|
|
876
|
-
value = css_unescape(value)
|
|
877
|
-
patterns.append(value)
|
|
878
|
-
sel.contains.append(ct.SelectorContains(patterns, contains_own))
|
|
879
|
-
has_selector = True
|
|
880
|
-
return has_selector
|
|
881
|
-
|
|
882
|
-
def parse_pseudo_lang(self, sel: _Selector, m: Match[str], has_selector: bool) -> bool:
|
|
883
|
-
"""Parse pseudo language."""
|
|
884
|
-
|
|
885
|
-
values = m.group('values')
|
|
886
|
-
patterns = []
|
|
887
|
-
for token in RE_VALUES.finditer(values):
|
|
888
|
-
if token.group('split'):
|
|
889
|
-
continue
|
|
890
|
-
value = token.group('value')
|
|
891
|
-
if value.startswith(('"', "'")):
|
|
892
|
-
value = css_unescape(value[1:-1], True)
|
|
893
|
-
else:
|
|
894
|
-
value = css_unescape(value)
|
|
895
|
-
|
|
896
|
-
patterns.append(value)
|
|
897
|
-
|
|
898
|
-
sel.lang.append(ct.SelectorLang(patterns))
|
|
899
|
-
has_selector = True
|
|
900
|
-
|
|
901
|
-
return has_selector
|
|
902
|
-
|
|
903
|
-
def parse_pseudo_dir(self, sel: _Selector, m: Match[str], has_selector: bool) -> bool:
|
|
904
|
-
"""Parse pseudo direction."""
|
|
905
|
-
|
|
906
|
-
value = ct.SEL_DIR_LTR if util.lower(m.group('dir')) == 'ltr' else ct.SEL_DIR_RTL
|
|
907
|
-
sel.flags |= value
|
|
908
|
-
has_selector = True
|
|
909
|
-
return has_selector
|
|
910
|
-
|
|
911
|
-
def parse_selectors(
|
|
912
|
-
self,
|
|
913
|
-
iselector: Iterator[tuple[str, Match[str]]],
|
|
914
|
-
index: int = 0,
|
|
915
|
-
flags: int = 0
|
|
916
|
-
) -> ct.SelectorList:
|
|
917
|
-
"""Parse selectors."""
|
|
918
|
-
|
|
919
|
-
# Initialize important variables
|
|
920
|
-
sel = _Selector()
|
|
921
|
-
selectors = []
|
|
922
|
-
has_selector = False
|
|
923
|
-
closed = False
|
|
924
|
-
relations = [] # type: list[_Selector]
|
|
925
|
-
rel_type = ":" + WS_COMBINATOR
|
|
926
|
-
|
|
927
|
-
# Setup various flags
|
|
928
|
-
is_open = bool(flags & FLG_OPEN)
|
|
929
|
-
is_pseudo = bool(flags & FLG_PSEUDO)
|
|
930
|
-
is_relative = bool(flags & FLG_RELATIVE)
|
|
931
|
-
is_not = bool(flags & FLG_NOT)
|
|
932
|
-
is_html = bool(flags & FLG_HTML)
|
|
933
|
-
is_default = bool(flags & FLG_DEFAULT)
|
|
934
|
-
is_indeterminate = bool(flags & FLG_INDETERMINATE)
|
|
935
|
-
is_in_range = bool(flags & FLG_IN_RANGE)
|
|
936
|
-
is_out_of_range = bool(flags & FLG_OUT_OF_RANGE)
|
|
937
|
-
is_placeholder_shown = bool(flags & FLG_PLACEHOLDER_SHOWN)
|
|
938
|
-
is_forgive = bool(flags & FLG_FORGIVE)
|
|
939
|
-
|
|
940
|
-
# Print out useful debug stuff
|
|
941
|
-
if self.debug: # pragma: no cover
|
|
942
|
-
if is_pseudo:
|
|
943
|
-
print(' is_pseudo: True')
|
|
944
|
-
if is_open:
|
|
945
|
-
print(' is_open: True')
|
|
946
|
-
if is_relative:
|
|
947
|
-
print(' is_relative: True')
|
|
948
|
-
if is_not:
|
|
949
|
-
print(' is_not: True')
|
|
950
|
-
if is_html:
|
|
951
|
-
print(' is_html: True')
|
|
952
|
-
if is_default:
|
|
953
|
-
print(' is_default: True')
|
|
954
|
-
if is_indeterminate:
|
|
955
|
-
print(' is_indeterminate: True')
|
|
956
|
-
if is_in_range:
|
|
957
|
-
print(' is_in_range: True')
|
|
958
|
-
if is_out_of_range:
|
|
959
|
-
print(' is_out_of_range: True')
|
|
960
|
-
if is_placeholder_shown:
|
|
961
|
-
print(' is_placeholder_shown: True')
|
|
962
|
-
if is_forgive:
|
|
963
|
-
print(' is_forgive: True')
|
|
964
|
-
|
|
965
|
-
# The algorithm for relative selectors require an initial selector in the selector list
|
|
966
|
-
if is_relative:
|
|
967
|
-
selectors.append(_Selector())
|
|
968
|
-
|
|
969
|
-
try:
|
|
970
|
-
while True:
|
|
971
|
-
key, m = next(iselector)
|
|
972
|
-
|
|
973
|
-
# Handle parts
|
|
974
|
-
if key == "at_rule":
|
|
975
|
-
raise NotImplementedError(f"At-rules found at position {m.start(0)}")
|
|
976
|
-
elif key == "amp":
|
|
977
|
-
sel.flags |= ct.SEL_SCOPE
|
|
978
|
-
has_selector = True
|
|
979
|
-
elif key == 'pseudo_class_custom':
|
|
980
|
-
has_selector = self.parse_pseudo_class_custom(sel, m, has_selector)
|
|
981
|
-
elif key == 'pseudo_class':
|
|
982
|
-
has_selector, is_html = self.parse_pseudo_class(sel, m, has_selector, iselector, is_html)
|
|
983
|
-
elif key == 'pseudo_element':
|
|
984
|
-
raise NotImplementedError(f"Pseudo-element found at position {m.start(0)}")
|
|
985
|
-
elif key == 'pseudo_contains':
|
|
986
|
-
has_selector = self.parse_pseudo_contains(sel, m, has_selector)
|
|
987
|
-
elif key in ('pseudo_nth_type', 'pseudo_nth_child'):
|
|
988
|
-
has_selector = self.parse_pseudo_nth(sel, m, has_selector, iselector)
|
|
989
|
-
elif key == 'pseudo_lang':
|
|
990
|
-
has_selector = self.parse_pseudo_lang(sel, m, has_selector)
|
|
991
|
-
elif key == 'pseudo_dir':
|
|
992
|
-
has_selector = self.parse_pseudo_dir(sel, m, has_selector)
|
|
993
|
-
# Currently only supports HTML
|
|
994
|
-
is_html = True
|
|
995
|
-
elif key == 'pseudo_close':
|
|
996
|
-
if not has_selector:
|
|
997
|
-
if not is_forgive:
|
|
998
|
-
raise SelectorSyntaxError(
|
|
999
|
-
f"Expected a selector at position {m.start(0)}",
|
|
1000
|
-
self.pattern,
|
|
1001
|
-
m.start(0)
|
|
1002
|
-
)
|
|
1003
|
-
sel.no_match = True
|
|
1004
|
-
if is_open:
|
|
1005
|
-
closed = True
|
|
1006
|
-
break
|
|
1007
|
-
else:
|
|
1008
|
-
raise SelectorSyntaxError(
|
|
1009
|
-
f"Unmatched pseudo-class close at position {m.start(0)}",
|
|
1010
|
-
self.pattern,
|
|
1011
|
-
m.start(0)
|
|
1012
|
-
)
|
|
1013
|
-
elif key == 'combine':
|
|
1014
|
-
if is_relative:
|
|
1015
|
-
has_selector, sel, rel_type = self.parse_has_combinator(
|
|
1016
|
-
sel, m, has_selector, selectors, rel_type, index
|
|
1017
|
-
)
|
|
1018
|
-
else:
|
|
1019
|
-
has_selector, sel = self.parse_combinator(
|
|
1020
|
-
sel, m, has_selector, selectors, relations, is_pseudo, is_forgive, index
|
|
1021
|
-
)
|
|
1022
|
-
elif key == 'attribute':
|
|
1023
|
-
has_selector = self.parse_attribute_selector(sel, m, has_selector)
|
|
1024
|
-
elif key == 'tag':
|
|
1025
|
-
if has_selector:
|
|
1026
|
-
raise SelectorSyntaxError(
|
|
1027
|
-
f"Tag name found at position {m.start(0)} instead of at the start",
|
|
1028
|
-
self.pattern,
|
|
1029
|
-
m.start(0)
|
|
1030
|
-
)
|
|
1031
|
-
has_selector = self.parse_tag_pattern(sel, m, has_selector)
|
|
1032
|
-
elif key in ('class', 'id'):
|
|
1033
|
-
has_selector = self.parse_class_id(sel, m, has_selector)
|
|
1034
|
-
|
|
1035
|
-
index = m.end(0)
|
|
1036
|
-
except StopIteration:
|
|
1037
|
-
pass
|
|
1038
|
-
|
|
1039
|
-
# Handle selectors that are not closed
|
|
1040
|
-
if is_open and not closed:
|
|
1041
|
-
raise SelectorSyntaxError(
|
|
1042
|
-
f"Unclosed pseudo-class at position {index}",
|
|
1043
|
-
self.pattern,
|
|
1044
|
-
index
|
|
1045
|
-
)
|
|
1046
|
-
|
|
1047
|
-
# Cleanup completed selector piece
|
|
1048
|
-
if has_selector:
|
|
1049
|
-
if not sel.tag and not is_pseudo:
|
|
1050
|
-
# Implied `*`
|
|
1051
|
-
sel.tag = ct.SelectorTag('*', None)
|
|
1052
|
-
if is_relative:
|
|
1053
|
-
sel.rel_type = rel_type
|
|
1054
|
-
selectors[-1].relations.append(sel)
|
|
1055
|
-
else:
|
|
1056
|
-
sel.relations.extend(relations)
|
|
1057
|
-
del relations[:]
|
|
1058
|
-
selectors.append(sel)
|
|
1059
|
-
|
|
1060
|
-
# Forgive empty slots in pseudo-classes that have lists (and are forgiving)
|
|
1061
|
-
elif is_forgive and (not selectors or not relations):
|
|
1062
|
-
# Handle normal pseudo-classes with empty slots like `:is()` etc.
|
|
1063
|
-
sel.no_match = True
|
|
1064
|
-
del relations[:]
|
|
1065
|
-
selectors.append(sel)
|
|
1066
|
-
has_selector = True
|
|
1067
|
-
|
|
1068
|
-
if not has_selector:
|
|
1069
|
-
# We will always need to finish a selector when `:has()` is used as it leads with combining.
|
|
1070
|
-
# May apply to others as well.
|
|
1071
|
-
raise SelectorSyntaxError(
|
|
1072
|
-
f'Expected a selector at position {index}',
|
|
1073
|
-
self.pattern,
|
|
1074
|
-
index
|
|
1075
|
-
)
|
|
1076
|
-
|
|
1077
|
-
# Some patterns require additional logic, such as default. We try to make these the
|
|
1078
|
-
# last pattern, and append the appropriate flag to that selector which communicates
|
|
1079
|
-
# to the matcher what additional logic is required.
|
|
1080
|
-
if is_default:
|
|
1081
|
-
selectors[-1].flags = ct.SEL_DEFAULT
|
|
1082
|
-
if is_indeterminate:
|
|
1083
|
-
selectors[-1].flags = ct.SEL_INDETERMINATE
|
|
1084
|
-
if is_in_range:
|
|
1085
|
-
selectors[-1].flags = ct.SEL_IN_RANGE
|
|
1086
|
-
if is_out_of_range:
|
|
1087
|
-
selectors[-1].flags = ct.SEL_OUT_OF_RANGE
|
|
1088
|
-
if is_placeholder_shown:
|
|
1089
|
-
selectors[-1].flags = ct.SEL_PLACEHOLDER_SHOWN
|
|
1090
|
-
|
|
1091
|
-
# Return selector list
|
|
1092
|
-
return ct.SelectorList([s.freeze() for s in selectors], is_not, is_html)
|
|
1093
|
-
|
|
1094
|
-
def selector_iter(self, pattern: str) -> Iterator[tuple[str, Match[str]]]:
|
|
1095
|
-
"""Iterate selector tokens."""
|
|
1096
|
-
|
|
1097
|
-
# Ignore whitespace and comments at start and end of pattern
|
|
1098
|
-
m = RE_WS_BEGIN.search(pattern)
|
|
1099
|
-
index = m.end(0) if m else 0
|
|
1100
|
-
m = RE_WS_END.search(pattern)
|
|
1101
|
-
end = (m.start(0) - 1) if m else (len(pattern) - 1)
|
|
1102
|
-
|
|
1103
|
-
if self.debug: # pragma: no cover
|
|
1104
|
-
print(f'## PARSING: {pattern!r}')
|
|
1105
|
-
while index <= end:
|
|
1106
|
-
m = None
|
|
1107
|
-
for v in self.css_tokens:
|
|
1108
|
-
m = v.match(pattern, index, self.flags)
|
|
1109
|
-
if m:
|
|
1110
|
-
name = v.get_name()
|
|
1111
|
-
if self.debug: # pragma: no cover
|
|
1112
|
-
print(f"TOKEN: '{name}' --> {m.group(0)!r} at position {m.start(0)}")
|
|
1113
|
-
index = m.end(0)
|
|
1114
|
-
yield name, m
|
|
1115
|
-
break
|
|
1116
|
-
if m is None:
|
|
1117
|
-
c = pattern[index]
|
|
1118
|
-
# If the character represents the start of one of the known selector types,
|
|
1119
|
-
# throw an exception mentioning that the known selector type is in error;
|
|
1120
|
-
# otherwise, report the invalid character.
|
|
1121
|
-
if c == '[':
|
|
1122
|
-
msg = f"Malformed attribute selector at position {index}"
|
|
1123
|
-
elif c == '.':
|
|
1124
|
-
msg = f"Malformed class selector at position {index}"
|
|
1125
|
-
elif c == '#':
|
|
1126
|
-
msg = f"Malformed id selector at position {index}"
|
|
1127
|
-
elif c == ':':
|
|
1128
|
-
msg = f"Malformed pseudo-class selector at position {index}"
|
|
1129
|
-
else:
|
|
1130
|
-
msg = f"Invalid character {c!r} position {index}"
|
|
1131
|
-
raise SelectorSyntaxError(msg, self.pattern, index)
|
|
1132
|
-
if self.debug: # pragma: no cover
|
|
1133
|
-
print('## END PARSING')
|
|
1134
|
-
|
|
1135
|
-
def process_selectors(self, index: int = 0, flags: int = 0) -> ct.SelectorList:
|
|
1136
|
-
"""Process selectors."""
|
|
1137
|
-
|
|
1138
|
-
return self.parse_selectors(self.selector_iter(self.pattern), index, flags)
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
# Precompile CSS selector lists for pseudo-classes (additional logic may be required beyond the pattern)
|
|
1142
|
-
# A few patterns are order dependent as they use patterns previous compiled.
|
|
1143
|
-
|
|
1144
|
-
# CSS pattern for `:link` and `:any-link`
|
|
1145
|
-
CSS_LINK = CSSParser(
|
|
1146
|
-
'html|*:is(a, area)[href]'
|
|
1147
|
-
).process_selectors(flags=FLG_PSEUDO | FLG_HTML)
|
|
1148
|
-
# CSS pattern for `:checked`
|
|
1149
|
-
CSS_CHECKED = CSSParser(
|
|
1150
|
-
'''
|
|
1151
|
-
html|*:is(input[type=checkbox], input[type=radio])[checked], html|option[selected]
|
|
1152
|
-
'''
|
|
1153
|
-
).process_selectors(flags=FLG_PSEUDO | FLG_HTML)
|
|
1154
|
-
# CSS pattern for `:default` (must compile CSS_CHECKED first)
|
|
1155
|
-
CSS_DEFAULT = CSSParser(
|
|
1156
|
-
'''
|
|
1157
|
-
:checked,
|
|
1158
|
-
|
|
1159
|
-
/*
|
|
1160
|
-
This pattern must be at the end.
|
|
1161
|
-
Special logic is applied to the last selector.
|
|
1162
|
-
*/
|
|
1163
|
-
html|form html|*:is(button, input)[type="submit"]
|
|
1164
|
-
'''
|
|
1165
|
-
).process_selectors(flags=FLG_PSEUDO | FLG_HTML | FLG_DEFAULT)
|
|
1166
|
-
# CSS pattern for `:indeterminate`
|
|
1167
|
-
CSS_INDETERMINATE = CSSParser(
|
|
1168
|
-
'''
|
|
1169
|
-
html|input[type="checkbox"][indeterminate],
|
|
1170
|
-
html|input[type="radio"]:is(:not([name]), [name=""]):not([checked]),
|
|
1171
|
-
html|progress:not([value]),
|
|
1172
|
-
|
|
1173
|
-
/*
|
|
1174
|
-
This pattern must be at the end.
|
|
1175
|
-
Special logic is applied to the last selector.
|
|
1176
|
-
*/
|
|
1177
|
-
html|input[type="radio"][name]:not([name='']):not([checked])
|
|
1178
|
-
'''
|
|
1179
|
-
).process_selectors(flags=FLG_PSEUDO | FLG_HTML | FLG_INDETERMINATE)
|
|
1180
|
-
# CSS pattern for `:disabled`
|
|
1181
|
-
CSS_DISABLED = CSSParser(
|
|
1182
|
-
'''
|
|
1183
|
-
html|*:is(input:not([type=hidden]), button, select, textarea, fieldset, optgroup, option, fieldset)[disabled],
|
|
1184
|
-
html|optgroup[disabled] > html|option,
|
|
1185
|
-
html|fieldset[disabled] > html|*:is(input:not([type=hidden]), button, select, textarea, fieldset),
|
|
1186
|
-
html|fieldset[disabled] >
|
|
1187
|
-
html|*:not(legend:nth-of-type(1)) html|*:is(input:not([type=hidden]), button, select, textarea, fieldset)
|
|
1188
|
-
'''
|
|
1189
|
-
).process_selectors(flags=FLG_PSEUDO | FLG_HTML)
|
|
1190
|
-
# CSS pattern for `:enabled`
|
|
1191
|
-
CSS_ENABLED = CSSParser(
|
|
1192
|
-
'''
|
|
1193
|
-
html|*:is(input:not([type=hidden]), button, select, textarea, fieldset, optgroup, option, fieldset):not(:disabled)
|
|
1194
|
-
'''
|
|
1195
|
-
).process_selectors(flags=FLG_PSEUDO | FLG_HTML)
|
|
1196
|
-
# CSS pattern for `:required`
|
|
1197
|
-
CSS_REQUIRED = CSSParser(
|
|
1198
|
-
'html|*:is(input, textarea, select)[required]'
|
|
1199
|
-
).process_selectors(flags=FLG_PSEUDO | FLG_HTML)
|
|
1200
|
-
# CSS pattern for `:optional`
|
|
1201
|
-
CSS_OPTIONAL = CSSParser(
|
|
1202
|
-
'html|*:is(input, textarea, select):not([required])'
|
|
1203
|
-
).process_selectors(flags=FLG_PSEUDO | FLG_HTML)
|
|
1204
|
-
# CSS pattern for `:placeholder-shown`
|
|
1205
|
-
CSS_PLACEHOLDER_SHOWN = CSSParser(
|
|
1206
|
-
'''
|
|
1207
|
-
html|input:is(
|
|
1208
|
-
:not([type]),
|
|
1209
|
-
[type=""],
|
|
1210
|
-
[type=text],
|
|
1211
|
-
[type=search],
|
|
1212
|
-
[type=url],
|
|
1213
|
-
[type=tel],
|
|
1214
|
-
[type=email],
|
|
1215
|
-
[type=password],
|
|
1216
|
-
[type=number]
|
|
1217
|
-
)[placeholder]:not([placeholder='']):is(:not([value]), [value=""]),
|
|
1218
|
-
html|textarea[placeholder]:not([placeholder=''])
|
|
1219
|
-
'''
|
|
1220
|
-
).process_selectors(flags=FLG_PSEUDO | FLG_HTML | FLG_PLACEHOLDER_SHOWN)
|
|
1221
|
-
# CSS pattern default for `:nth-child` "of S" feature
|
|
1222
|
-
CSS_NTH_OF_S_DEFAULT = CSSParser(
|
|
1223
|
-
'*|*'
|
|
1224
|
-
).process_selectors(flags=FLG_PSEUDO)
|
|
1225
|
-
# CSS pattern for `:read-write` (CSS_DISABLED must be compiled first)
|
|
1226
|
-
CSS_READ_WRITE = CSSParser(
|
|
1227
|
-
'''
|
|
1228
|
-
html|*:is(
|
|
1229
|
-
textarea,
|
|
1230
|
-
input:is(
|
|
1231
|
-
:not([type]),
|
|
1232
|
-
[type=""],
|
|
1233
|
-
[type=text],
|
|
1234
|
-
[type=search],
|
|
1235
|
-
[type=url],
|
|
1236
|
-
[type=tel],
|
|
1237
|
-
[type=email],
|
|
1238
|
-
[type=number],
|
|
1239
|
-
[type=password],
|
|
1240
|
-
[type=date],
|
|
1241
|
-
[type=datetime-local],
|
|
1242
|
-
[type=month],
|
|
1243
|
-
[type=time],
|
|
1244
|
-
[type=week]
|
|
1245
|
-
)
|
|
1246
|
-
):not([readonly], :disabled),
|
|
1247
|
-
html|*:is([contenteditable=""], [contenteditable="true" i])
|
|
1248
|
-
'''
|
|
1249
|
-
).process_selectors(flags=FLG_PSEUDO | FLG_HTML)
|
|
1250
|
-
# CSS pattern for `:read-only`
|
|
1251
|
-
CSS_READ_ONLY = CSSParser(
|
|
1252
|
-
'''
|
|
1253
|
-
html|*:not(:read-write)
|
|
1254
|
-
'''
|
|
1255
|
-
).process_selectors(flags=FLG_PSEUDO | FLG_HTML)
|
|
1256
|
-
# CSS pattern for `:in-range`
|
|
1257
|
-
CSS_IN_RANGE = CSSParser(
|
|
1258
|
-
'''
|
|
1259
|
-
html|input:is(
|
|
1260
|
-
[type="date"],
|
|
1261
|
-
[type="month"],
|
|
1262
|
-
[type="week"],
|
|
1263
|
-
[type="time"],
|
|
1264
|
-
[type="datetime-local"],
|
|
1265
|
-
[type="number"],
|
|
1266
|
-
[type="range"]
|
|
1267
|
-
):is(
|
|
1268
|
-
[min],
|
|
1269
|
-
[max]
|
|
1270
|
-
)
|
|
1271
|
-
'''
|
|
1272
|
-
).process_selectors(flags=FLG_PSEUDO | FLG_IN_RANGE | FLG_HTML)
|
|
1273
|
-
# CSS pattern for `:out-of-range`
|
|
1274
|
-
CSS_OUT_OF_RANGE = CSSParser(
|
|
1275
|
-
'''
|
|
1276
|
-
html|input:is(
|
|
1277
|
-
[type="date"],
|
|
1278
|
-
[type="month"],
|
|
1279
|
-
[type="week"],
|
|
1280
|
-
[type="time"],
|
|
1281
|
-
[type="datetime-local"],
|
|
1282
|
-
[type="number"],
|
|
1283
|
-
[type="range"]
|
|
1284
|
-
):is(
|
|
1285
|
-
[min],
|
|
1286
|
-
[max]
|
|
1287
|
-
)
|
|
1288
|
-
'''
|
|
1289
|
-
).process_selectors(flags=FLG_PSEUDO | FLG_OUT_OF_RANGE | FLG_HTML)
|