@scrypted/arlo 0.11.24 → 0.11.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/plugin.zip +0 -0
- package/package.json +9 -1
- package/venv/bin/Activate.ps1 +247 -0
- package/venv/bin/activate +69 -0
- package/venv/bin/activate.csh +26 -0
- package/venv/bin/activate.fish +69 -0
- package/venv/bin/normalizer +8 -0
- package/venv/bin/pip +8 -0
- package/venv/bin/pip3 +8 -0
- package/venv/bin/pip3.10 +8 -0
- package/venv/lib/python3.10/site-packages/_cffi_backend.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/_distutils_hack/__init__.py +132 -0
- package/venv/lib/python3.10/site-packages/_distutils_hack/override.py +1 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/__init__.py +13 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/_staggered.py +202 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/impl.py +210 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/types.py +12 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/utils.py +97 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/LICENSE +279 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/METADATA +123 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/RECORD +16 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/aiohttp/.hash/_cparser.pxd.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/.hash/_find_header.pxd.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/.hash/_http_parser.pyx.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/.hash/_http_writer.pyx.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/.hash/hdrs.py.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/__init__.py +264 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_cparser.pxd +158 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_find_header.pxd +2 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_headers.pxi +83 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_http_parser.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_http_parser.pyx +837 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_http_writer.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_http_writer.pyx +162 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/.hash/mask.pxd.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/.hash/mask.pyx.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/.hash/reader_c.pxd.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/__init__.py +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/helpers.py +147 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/mask.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/mask.pxd +3 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/mask.pyx +48 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/models.py +84 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader.py +31 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader_c.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader_c.pxd +102 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader_c.py +468 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader_py.py +468 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/writer.py +177 -0
- package/venv/lib/python3.10/site-packages/aiohttp/abc.py +253 -0
- package/venv/lib/python3.10/site-packages/aiohttp/base_protocol.py +100 -0
- package/venv/lib/python3.10/site-packages/aiohttp/client.py +1550 -0
- package/venv/lib/python3.10/site-packages/aiohttp/client_exceptions.py +421 -0
- package/venv/lib/python3.10/site-packages/aiohttp/client_proto.py +307 -0
- package/venv/lib/python3.10/site-packages/aiohttp/client_reqrep.py +1315 -0
- package/venv/lib/python3.10/site-packages/aiohttp/client_ws.py +426 -0
- package/venv/lib/python3.10/site-packages/aiohttp/compression_utils.py +173 -0
- package/venv/lib/python3.10/site-packages/aiohttp/connector.py +1652 -0
- package/venv/lib/python3.10/site-packages/aiohttp/cookiejar.py +495 -0
- package/venv/lib/python3.10/site-packages/aiohttp/formdata.py +182 -0
- package/venv/lib/python3.10/site-packages/aiohttp/hdrs.py +121 -0
- package/venv/lib/python3.10/site-packages/aiohttp/helpers.py +944 -0
- package/venv/lib/python3.10/site-packages/aiohttp/http.py +72 -0
- package/venv/lib/python3.10/site-packages/aiohttp/http_exceptions.py +112 -0
- package/venv/lib/python3.10/site-packages/aiohttp/http_parser.py +1046 -0
- package/venv/lib/python3.10/site-packages/aiohttp/http_websocket.py +36 -0
- package/venv/lib/python3.10/site-packages/aiohttp/http_writer.py +249 -0
- package/venv/lib/python3.10/site-packages/aiohttp/log.py +8 -0
- package/venv/lib/python3.10/site-packages/aiohttp/multipart.py +1071 -0
- package/venv/lib/python3.10/site-packages/aiohttp/payload.py +519 -0
- package/venv/lib/python3.10/site-packages/aiohttp/payload_streamer.py +78 -0
- package/venv/lib/python3.10/site-packages/aiohttp/py.typed +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/pytest_plugin.py +436 -0
- package/venv/lib/python3.10/site-packages/aiohttp/resolver.py +187 -0
- package/venv/lib/python3.10/site-packages/aiohttp/streams.py +727 -0
- package/venv/lib/python3.10/site-packages/aiohttp/tcp_helpers.py +37 -0
- package/venv/lib/python3.10/site-packages/aiohttp/test_utils.py +770 -0
- package/venv/lib/python3.10/site-packages/aiohttp/tracing.py +470 -0
- package/venv/lib/python3.10/site-packages/aiohttp/typedefs.py +69 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web.py +605 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_app.py +620 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_exceptions.py +452 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_fileresponse.py +418 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_log.py +216 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_middlewares.py +121 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_protocol.py +750 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_request.py +916 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_response.py +840 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_routedef.py +214 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_runner.py +399 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_server.py +84 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_urldispatcher.py +1301 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_ws.py +622 -0
- package/venv/lib/python3.10/site-packages/aiohttp/worker.py +252 -0
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/LICENSE.txt +13 -0
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/METADATA +250 -0
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/RECORD +132 -0
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/aiosignal/__init__.py +36 -0
- package/venv/lib/python3.10/site-packages/aiosignal/__init__.pyi +12 -0
- package/venv/lib/python3.10/site-packages/aiosignal/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/LICENSE +201 -0
- package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/METADATA +123 -0
- package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/RECORD +10 -0
- package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/async_timeout/__init__.py +276 -0
- package/venv/lib/python3.10/site-packages/async_timeout/py.typed +1 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/LICENSE +13 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/METADATA +163 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/RECORD +11 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/WHEEL +5 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/zip-safe +1 -0
- package/venv/lib/python3.10/site-packages/attr/__init__.py +104 -0
- package/venv/lib/python3.10/site-packages/attr/__init__.pyi +389 -0
- package/venv/lib/python3.10/site-packages/attr/_cmp.py +160 -0
- package/venv/lib/python3.10/site-packages/attr/_cmp.pyi +13 -0
- package/venv/lib/python3.10/site-packages/attr/_compat.py +94 -0
- package/venv/lib/python3.10/site-packages/attr/_config.py +31 -0
- package/venv/lib/python3.10/site-packages/attr/_funcs.py +468 -0
- package/venv/lib/python3.10/site-packages/attr/_make.py +3055 -0
- package/venv/lib/python3.10/site-packages/attr/_next_gen.py +623 -0
- package/venv/lib/python3.10/site-packages/attr/_typing_compat.pyi +15 -0
- package/venv/lib/python3.10/site-packages/attr/_version_info.py +86 -0
- package/venv/lib/python3.10/site-packages/attr/_version_info.pyi +9 -0
- package/venv/lib/python3.10/site-packages/attr/converters.py +162 -0
- package/venv/lib/python3.10/site-packages/attr/converters.pyi +19 -0
- package/venv/lib/python3.10/site-packages/attr/exceptions.py +95 -0
- package/venv/lib/python3.10/site-packages/attr/exceptions.pyi +17 -0
- package/venv/lib/python3.10/site-packages/attr/filters.py +72 -0
- package/venv/lib/python3.10/site-packages/attr/filters.pyi +6 -0
- package/venv/lib/python3.10/site-packages/attr/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/attr/setters.py +79 -0
- package/venv/lib/python3.10/site-packages/attr/setters.pyi +20 -0
- package/venv/lib/python3.10/site-packages/attr/validators.py +710 -0
- package/venv/lib/python3.10/site-packages/attr/validators.pyi +86 -0
- package/venv/lib/python3.10/site-packages/attrs/__init__.py +69 -0
- package/venv/lib/python3.10/site-packages/attrs/__init__.pyi +263 -0
- package/venv/lib/python3.10/site-packages/attrs/converters.py +3 -0
- package/venv/lib/python3.10/site-packages/attrs/exceptions.py +3 -0
- package/venv/lib/python3.10/site-packages/attrs/filters.py +3 -0
- package/venv/lib/python3.10/site-packages/attrs/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/attrs/setters.py +3 -0
- package/venv/lib/python3.10/site-packages/attrs/validators.py +3 -0
- package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/METADATA +232 -0
- package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/RECORD +55 -0
- package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/licenses/LICENSE +21 -0
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/METADATA +123 -0
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/RECORD +90 -0
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/licenses/AUTHORS +49 -0
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/licenses/LICENSE +31 -0
- package/venv/lib/python3.10/site-packages/bs4/__init__.py +1170 -0
- package/venv/lib/python3.10/site-packages/bs4/_deprecation.py +80 -0
- package/venv/lib/python3.10/site-packages/bs4/_typing.py +196 -0
- package/venv/lib/python3.10/site-packages/bs4/_warnings.py +98 -0
- package/venv/lib/python3.10/site-packages/bs4/builder/__init__.py +848 -0
- package/venv/lib/python3.10/site-packages/bs4/builder/_html5lib.py +594 -0
- package/venv/lib/python3.10/site-packages/bs4/builder/_htmlparser.py +474 -0
- package/venv/lib/python3.10/site-packages/bs4/builder/_lxml.py +490 -0
- package/venv/lib/python3.10/site-packages/bs4/css.py +338 -0
- package/venv/lib/python3.10/site-packages/bs4/dammit.py +1408 -0
- package/venv/lib/python3.10/site-packages/bs4/diagnose.py +268 -0
- package/venv/lib/python3.10/site-packages/bs4/element.py +2886 -0
- package/venv/lib/python3.10/site-packages/bs4/exceptions.py +28 -0
- package/venv/lib/python3.10/site-packages/bs4/filter.py +755 -0
- package/venv/lib/python3.10/site-packages/bs4/formatter.py +276 -0
- package/venv/lib/python3.10/site-packages/bs4/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/__init__.py +1305 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4670634698080256.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4818336571064320.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4999465949331456.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5000587759190016.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5167584867909632.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5270998950477824.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5375146639360000.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5492400320282624.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5703933063462912.testcase +2 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5843991618256896.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5984173902397440.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6124268085182464.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6241471367348224.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6306874195312640.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6450958476902400.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6600557255327744.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/crash-0d306a50c8ed8bcd0785b67000fcd5dea1d33f08.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/crash-ffbdfa8a2b26f13537b68d3794b0478a4090ee4a.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_builder.py +28 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_builder_registry.py +139 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_css.py +536 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_dammit.py +433 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_element.py +138 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_filter.py +674 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_formatter.py +170 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_fuzz.py +181 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_html5lib.py +264 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_htmlparser.py +161 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_lxml.py +196 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_navigablestring.py +144 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_pageelement.py +437 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_soup.py +602 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_tag.py +241 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_tree.py +1452 -0
- package/venv/lib/python3.10/site-packages/cachetools/__init__.py +859 -0
- package/venv/lib/python3.10/site-packages/cachetools/func.py +121 -0
- package/venv/lib/python3.10/site-packages/cachetools/keys.py +62 -0
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/LICENSE +20 -0
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/METADATA +151 -0
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/RECORD +13 -0
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/WHEEL +5 -0
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/certifi/__init__.py +4 -0
- package/venv/lib/python3.10/site-packages/certifi/__main__.py +12 -0
- package/venv/lib/python3.10/site-packages/certifi/cacert.pem +4897 -0
- package/venv/lib/python3.10/site-packages/certifi/core.py +114 -0
- package/venv/lib/python3.10/site-packages/certifi/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/LICENSE +20 -0
- package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/METADATA +77 -0
- package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/RECORD +14 -0
- package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/WHEEL +5 -0
- package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/cffi/__init__.py +14 -0
- package/venv/lib/python3.10/site-packages/cffi/_cffi_errors.h +149 -0
- package/venv/lib/python3.10/site-packages/cffi/_cffi_include.h +389 -0
- package/venv/lib/python3.10/site-packages/cffi/_embedding.h +550 -0
- package/venv/lib/python3.10/site-packages/cffi/_imp_emulation.py +83 -0
- package/venv/lib/python3.10/site-packages/cffi/_shimmed_dist_utils.py +45 -0
- package/venv/lib/python3.10/site-packages/cffi/api.py +967 -0
- package/venv/lib/python3.10/site-packages/cffi/backend_ctypes.py +1121 -0
- package/venv/lib/python3.10/site-packages/cffi/cffi_opcode.py +187 -0
- package/venv/lib/python3.10/site-packages/cffi/commontypes.py +82 -0
- package/venv/lib/python3.10/site-packages/cffi/cparser.py +1015 -0
- package/venv/lib/python3.10/site-packages/cffi/error.py +31 -0
- package/venv/lib/python3.10/site-packages/cffi/ffiplatform.py +113 -0
- package/venv/lib/python3.10/site-packages/cffi/lock.py +30 -0
- package/venv/lib/python3.10/site-packages/cffi/model.py +618 -0
- package/venv/lib/python3.10/site-packages/cffi/parse_c_type.h +181 -0
- package/venv/lib/python3.10/site-packages/cffi/pkgconfig.py +121 -0
- package/venv/lib/python3.10/site-packages/cffi/recompiler.py +1598 -0
- package/venv/lib/python3.10/site-packages/cffi/setuptools_ext.py +216 -0
- package/venv/lib/python3.10/site-packages/cffi/vengine_cpy.py +1084 -0
- package/venv/lib/python3.10/site-packages/cffi/vengine_gen.py +679 -0
- package/venv/lib/python3.10/site-packages/cffi/verifier.py +306 -0
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/LICENSE +26 -0
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/METADATA +40 -0
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/RECORD +48 -0
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/entry_points.txt +2 -0
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/top_level.txt +2 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/__init__.py +48 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/__main__.py +6 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/api.py +668 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/cd.py +395 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/cli/__init__.py +8 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/cli/__main__.py +321 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/constant.py +1998 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/legacy.py +66 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/md.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/md.py +630 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/md__mypyc.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/models.py +360 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/utils.py +408 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/version.py +8 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/LICENSE +21 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/METADATA +721 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/RECORD +35 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/entry_points.txt +2 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/__init__.py +407 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/2captcha.py +258 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/9kw.py +214 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/__init__.py +47 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/anticaptcha.py +199 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/capmonster.py +199 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/capsolver.py +188 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/deathbycaptcha.py +276 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/cloudflare.py +490 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/exceptions.py +111 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/help.py +72 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/__init__.py +56 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/chakracore.py +103 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/encapsulated.py +62 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/js2py.py +44 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/jsunfuck.py +97 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/native.py +233 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/nodejs.py +49 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/v8.py +33 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/user_agent/__init__.py +124 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/user_agent/browsers.json +7913 -0
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/LICENSE +22 -0
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/METADATA +674 -0
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/RECORD +48 -0
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/__init__.py +37 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/__version__.py +8 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/_asyncio_selector.py +344 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/_wrapper.abi3.so +0 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/aio.py +257 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/const.py +581 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/curl.py +548 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/py.typed +1 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/__init__.py +146 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/cookies.py +355 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/errors.py +7 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/exceptions.py +219 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/headers.py +348 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/impersonate.py +360 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/models.py +292 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/session.py +1021 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/utils.py +663 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/websockets.py +711 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/utils.py +13 -0
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/LICENSE +21 -0
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/METADATA +333 -0
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/RECORD +43 -0
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/distutils-precedence.pth +1 -0
- package/venv/lib/python3.10/site-packages/frozenlist/__init__.py +98 -0
- package/venv/lib/python3.10/site-packages/frozenlist/__init__.pyi +47 -0
- package/venv/lib/python3.10/site-packages/frozenlist/_frozenlist.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/frozenlist/_frozenlist.pyx +123 -0
- package/venv/lib/python3.10/site-packages/frozenlist/py.typed +1 -0
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/LICENSE +201 -0
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/METADATA +477 -0
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/RECORD +12 -0
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/WHEEL +8 -0
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/idna/__init__.py +45 -0
- package/venv/lib/python3.10/site-packages/idna/codec.py +122 -0
- package/venv/lib/python3.10/site-packages/idna/compat.py +15 -0
- package/venv/lib/python3.10/site-packages/idna/core.py +437 -0
- package/venv/lib/python3.10/site-packages/idna/idnadata.py +4243 -0
- package/venv/lib/python3.10/site-packages/idna/intranges.py +57 -0
- package/venv/lib/python3.10/site-packages/idna/package_data.py +1 -0
- package/venv/lib/python3.10/site-packages/idna/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/idna/uts46data.py +8681 -0
- package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/LICENSE.md +31 -0
- package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/METADATA +250 -0
- package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/RECORD +22 -0
- package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/multidict/__init__.py +48 -0
- package/venv/lib/python3.10/site-packages/multidict/__init__.pyi +152 -0
- package/venv/lib/python3.10/site-packages/multidict/_abc.py +48 -0
- package/venv/lib/python3.10/site-packages/multidict/_compat.py +14 -0
- package/venv/lib/python3.10/site-packages/multidict/_multidict.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/multidict/_multidict_base.py +152 -0
- package/venv/lib/python3.10/site-packages/multidict/_multidict_py.py +527 -0
- package/venv/lib/python3.10/site-packages/multidict/py.typed +1 -0
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/LICENSE +13 -0
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/METADATA +140 -0
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/RECORD +19 -0
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/paho/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/__init__.py +5 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/client.py +5004 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/enums.py +113 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/matcher.py +78 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/packettypes.py +43 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/properties.py +421 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/publish.py +306 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/reasoncodes.py +223 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/subscribe.py +281 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/subscribeoptions.py +113 -0
- package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/METADATA +635 -0
- package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/RECORD +29 -0
- package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/licenses/LICENSE.txt +3 -0
- package/venv/lib/python3.10/site-packages/pip/__init__.py +13 -0
- package/venv/lib/python3.10/site-packages/pip/__main__.py +31 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/__init__.py +19 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/build_env.py +296 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cache.py +264 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/__init__.py +4 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/autocompletion.py +171 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/base_command.py +220 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/cmdoptions.py +1018 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/command_context.py +27 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/main.py +70 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/main_parser.py +87 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/parser.py +292 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/progress_bars.py +321 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/req_command.py +506 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/spinners.py +157 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/status_codes.py +6 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/__init__.py +127 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/cache.py +223 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/check.py +53 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/completion.py +96 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/configuration.py +266 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/debug.py +202 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/download.py +140 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/freeze.py +97 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/hash.py +59 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/help.py +41 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/index.py +139 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/install.py +771 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/list.py +363 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/search.py +174 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/show.py +178 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/uninstall.py +105 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/wheel.py +178 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/configuration.py +366 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/distributions/__init__.py +21 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/distributions/base.py +36 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/distributions/installed.py +20 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/distributions/sdist.py +127 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/distributions/wheel.py +31 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/exceptions.py +658 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/index/__init__.py +2 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/index/collector.py +648 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/index/package_finder.py +1004 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/index/sources.py +224 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/locations/__init__.py +520 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/locations/_distutils.py +169 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/locations/_sysconfig.py +219 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/locations/base.py +52 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/main.py +12 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/metadata/__init__.py +62 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/metadata/base.py +546 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/metadata/pkg_resources.py +256 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/__init__.py +2 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/candidate.py +34 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/direct_url.py +220 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/format_control.py +80 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/index.py +28 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/link.py +288 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/scheme.py +31 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/search_scope.py +129 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/selection_prefs.py +51 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/target_python.py +110 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/wheel.py +89 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/__init__.py +2 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/auth.py +323 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/cache.py +69 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/download.py +185 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/lazy_wheel.py +210 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/session.py +454 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/utils.py +96 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/xmlrpc.py +60 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/metadata.py +39 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/metadata_editable.py +41 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/metadata_legacy.py +74 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/wheel.py +37 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/wheel_editable.py +46 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/wheel_legacy.py +102 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/check.py +149 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/freeze.py +254 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/__init__.py +2 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/editable_legacy.py +47 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/legacy.py +120 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/wheel.py +738 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/prepare.py +642 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/pyproject.py +168 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/req/__init__.py +94 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/req/constructors.py +490 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/req/req_file.py +536 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/req/req_install.py +858 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/req/req_set.py +189 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/req/req_tracker.py +124 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/req/req_uninstall.py +633 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/base.py +20 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/legacy/resolver.py +467 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/base.py +141 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py +547 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py +739 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +155 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/provider.py +248 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/reporter.py +68 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/requirements.py +166 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py +292 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/self_outdated_check.py +189 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/_log.py +38 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/appdirs.py +52 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/compat.py +63 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/compatibility_tags.py +165 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/datetime.py +11 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/deprecation.py +120 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/direct_url_helpers.py +87 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/distutils_args.py +42 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/egg_link.py +75 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/encoding.py +36 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/entrypoints.py +27 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/filesystem.py +182 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/filetypes.py +27 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/glibc.py +88 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/hashes.py +144 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/inject_securetransport.py +35 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/logging.py +343 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/misc.py +653 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/models.py +39 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/packaging.py +57 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/setuptools_build.py +195 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/subprocess.py +260 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/temp_dir.py +246 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/unpacking.py +258 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/urls.py +62 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/virtualenv.py +104 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/wheel.py +136 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/__init__.py +15 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/bazaar.py +101 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/git.py +526 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/mercurial.py +163 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/subversion.py +324 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/versioncontrol.py +705 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/wheel_builder.py +377 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/__init__.py +111 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/__init__.py +18 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/_cmd.py +61 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/adapter.py +137 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/cache.py +43 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +6 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +150 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +37 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/compat.py +32 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/controller.py +415 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/filewrapper.py +111 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/heuristics.py +139 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/serialize.py +186 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/wrapper.py +33 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/__init__.py +3 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/__main__.py +12 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/cacert.pem +4362 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/core.py +76 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/__init__.py +83 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/big5freq.py +386 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/big5prober.py +47 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/chardistribution.py +233 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/charsetgroupprober.py +107 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/charsetprober.py +145 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/cli/__init__.py +1 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/cli/chardetect.py +84 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/codingstatemachine.py +88 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/compat.py +36 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/cp949prober.py +49 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/enums.py +76 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/escprober.py +101 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/escsm.py +246 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/eucjpprober.py +92 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euckrfreq.py +195 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euckrprober.py +47 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euctwfreq.py +387 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euctwprober.py +46 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/gb2312freq.py +283 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/gb2312prober.py +46 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/hebrewprober.py +292 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/jisfreq.py +325 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/jpcntx.py +233 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langbulgarianmodel.py +4650 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langgreekmodel.py +4398 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langhebrewmodel.py +4383 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langhungarianmodel.py +4650 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langrussianmodel.py +5718 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langthaimodel.py +4383 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langturkishmodel.py +4383 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/latin1prober.py +145 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/mbcharsetprober.py +91 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/mbcsgroupprober.py +54 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/mbcssm.py +572 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/metadata/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/metadata/languages.py +310 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/sbcharsetprober.py +145 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/sbcsgroupprober.py +83 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/sjisprober.py +92 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/universaldetector.py +286 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/utf8prober.py +82 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/version.py +9 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/__init__.py +6 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/ansi.py +102 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/ansitowin32.py +258 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/initialise.py +80 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/win32.py +152 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/winterm.py +169 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/__init__.py +23 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/compat.py +1116 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/database.py +1345 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/index.py +509 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/locators.py +1300 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/manifest.py +393 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/markers.py +152 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/metadata.py +1058 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/resources.py +358 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/scripts.py +429 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/util.py +1932 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/version.py +739 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/wheel.py +1053 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distro.py +1386 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/__init__.py +35 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_ihatexml.py +289 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_inputstream.py +918 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_tokenizer.py +1735 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/__init__.py +5 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/_base.py +40 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/py.py +67 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_utils.py +159 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/constants.py +2946 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/alphabeticalattributes.py +29 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/base.py +12 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/inject_meta_charset.py +73 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/lint.py +93 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/optionaltags.py +207 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/sanitizer.py +916 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/whitespace.py +38 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/html5parser.py +2795 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/serializer.py +409 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treeadapters/__init__.py +30 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treeadapters/genshi.py +54 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treeadapters/sax.py +50 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/__init__.py +88 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/base.py +417 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/dom.py +239 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/etree.py +343 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/etree_lxml.py +392 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/__init__.py +154 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/base.py +252 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/dom.py +43 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/etree.py +131 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.py +215 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/genshi.py +69 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/__init__.py +44 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/codec.py +112 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/compat.py +13 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/core.py +397 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/idnadata.py +2137 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/intranges.py +54 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/package_data.py +2 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/uts46data.py +8512 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/__init__.py +54 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/_version.py +1 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/exceptions.py +48 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/ext.py +193 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/fallback.py +1012 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/__about__.py +26 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/__init__.py +25 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_manylinux.py +301 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_musllinux.py +136 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_structures.py +61 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/markers.py +304 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/requirements.py +146 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/specifiers.py +802 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/tags.py +487 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/utils.py +136 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/version.py +504 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/__init__.py +6 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/build.py +127 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/check.py +207 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/colorlog.py +115 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/compat.py +51 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/dirtools.py +44 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/envbuild.py +171 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/__init__.py +17 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py +363 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/meta.py +92 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/wrappers.py +375 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py +3296 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pkg_resources/py31compat.py +23 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/__init__.py +331 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/__main__.py +46 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/android.py +119 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/api.py +156 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/macos.py +64 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/unix.py +181 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/version.py +4 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/windows.py +182 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/progress/__init__.py +189 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/progress/bar.py +93 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/progress/colors.py +79 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/progress/counter.py +47 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/progress/spinner.py +45 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/__init__.py +83 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/__main__.py +17 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/cmdline.py +663 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/console.py +70 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/filter.py +71 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/filters/__init__.py +937 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatter.py +94 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/__init__.py +153 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/_mapping.py +84 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/bbcode.py +108 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/groff.py +168 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/html.py +983 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/img.py +641 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/irc.py +179 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/latex.py +511 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/other.py +161 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/pangomarkup.py +83 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/rtf.py +146 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/svg.py +188 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/terminal.py +127 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/terminal256.py +338 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexer.py +879 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexers/__init__.py +341 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexers/_mapping.py +580 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexers/python.py +1188 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/modeline.py +43 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/plugin.py +69 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/regexopt.py +91 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/scanner.py +104 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/sphinxext.py +155 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/style.py +197 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/styles/__init__.py +93 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/token.py +212 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/unistring.py +153 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/util.py +308 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/__init__.py +328 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/actions.py +207 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/common.py +424 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/core.py +5789 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/diagram/__init__.py +593 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/exceptions.py +267 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/helpers.py +1069 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/results.py +760 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/testing.py +331 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/unicode.py +332 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/util.py +235 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/__init__.py +154 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/__version__.py +14 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/_internal_utils.py +42 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/adapters.py +538 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/api.py +159 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/auth.py +305 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/certs.py +18 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/compat.py +77 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/cookies.py +549 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/exceptions.py +133 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/help.py +132 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/hooks.py +34 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/models.py +973 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/packages.py +16 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/sessions.py +771 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/status_codes.py +123 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/structures.py +105 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/utils.py +1060 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/__init__.py +26 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/compat/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py +6 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/providers.py +133 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/reporters.py +43 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py +482 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/structs.py +165 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/__init__.py +172 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/__main__.py +280 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_cell_widths.py +451 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_emoji_codes.py +3610 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_emoji_replace.py +32 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_extension.py +10 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_inspect.py +210 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_log_render.py +94 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_loop.py +43 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_lru_cache.py +34 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_palettes.py +309 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_pick.py +17 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_ratio.py +160 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_spinners.py +848 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_stack.py +16 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_timer.py +19 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_windows.py +72 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_wrap.py +55 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/abc.py +33 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/align.py +312 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/ansi.py +228 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/bar.py +94 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/box.py +483 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/cells.py +147 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/color.py +581 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/color_triplet.py +38 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/columns.py +187 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/console.py +2211 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/constrain.py +37 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/containers.py +167 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/control.py +175 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/default_styles.py +183 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/diagnose.py +6 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/emoji.py +96 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/errors.py +34 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/file_proxy.py +54 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/filesize.py +89 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/highlighter.py +147 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/json.py +140 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/jupyter.py +92 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/layout.py +444 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/live.py +365 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/live_render.py +113 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/logging.py +268 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/markup.py +244 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/measure.py +149 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/padding.py +141 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/pager.py +34 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/palette.py +100 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/panel.py +250 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/pretty.py +903 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/progress.py +1036 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/progress_bar.py +216 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/prompt.py +376 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/protocol.py +42 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/region.py +10 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/repr.py +151 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/rule.py +115 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/scope.py +86 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/screen.py +54 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/segment.py +720 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/spinner.py +134 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/status.py +132 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/style.py +785 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/styled.py +42 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/syntax.py +735 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/table.py +968 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/tabulate.py +51 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/terminal_theme.py +55 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/text.py +1282 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/theme.py +112 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/themes.py +5 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/traceback.py +678 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/tree.py +249 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/six.py +998 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/__init__.py +517 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/_asyncio.py +92 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/_utils.py +68 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/after.py +46 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/before.py +41 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/before_sleep.py +58 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/nap.py +43 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/retry.py +213 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/stop.py +96 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/tornadoweb.py +59 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/wait.py +191 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tomli/__init__.py +6 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tomli/_parser.py +703 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tomli/_re.py +83 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/typing_extensions.py +2296 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/__init__.py +85 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/_collections.py +355 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/_version.py +2 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/connection.py +569 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/connectionpool.py +1113 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py +36 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +519 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +397 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/appengine.py +314 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +130 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +511 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +922 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/socks.py +216 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/exceptions.py +323 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/fields.py +274 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/filepost.py +98 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/packages/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +51 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/packages/six.py +1077 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/poolmanager.py +539 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/request.py +170 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py +821 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/__init__.py +49 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/connection.py +149 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/proxy.py +57 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/queue.py +22 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/request.py +143 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/response.py +107 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/retry.py +622 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/ssl_.py +495 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py +161 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/ssltransport.py +221 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/timeout.py +268 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/url.py +432 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/wait.py +153 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/vendor.txt +25 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/__init__.py +342 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/labels.py +231 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/mklabels.py +59 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/tests.py +153 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/x_user_defined.py +325 -0
- package/venv/lib/python3.10/site-packages/pip/py.typed +4 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/LICENSE.txt +20 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/METADATA +92 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/RECORD +1037 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/WHEEL +5 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/entry_points.txt +5 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/__init__.py +3303 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/appdirs.py +608 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__about__.py +26 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__init__.py +25 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/_manylinux.py +301 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/_musllinux.py +136 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/_structures.py +67 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/markers.py +304 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/requirements.py +146 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/specifiers.py +828 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/tags.py +484 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/utils.py +136 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/version.py +504 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/pyparsing.py +5742 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/extern/__init__.py +73 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/tests/data/my-test-package-source/setup.py +6 -0
- package/venv/lib/python3.10/site-packages/propcache/__init__.py +32 -0
- package/venv/lib/python3.10/site-packages/propcache/_helpers.py +39 -0
- package/venv/lib/python3.10/site-packages/propcache/_helpers_c.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/propcache/_helpers_c.pyx +84 -0
- package/venv/lib/python3.10/site-packages/propcache/_helpers_py.py +56 -0
- package/venv/lib/python3.10/site-packages/propcache/api.py +8 -0
- package/venv/lib/python3.10/site-packages/propcache/py.typed +1 -0
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/LICENSE +202 -0
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/METADATA +275 -0
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/NOTICE +13 -0
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/RECORD +18 -0
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/pycparser/__init__.py +93 -0
- package/venv/lib/python3.10/site-packages/pycparser/_ast_gen.py +336 -0
- package/venv/lib/python3.10/site-packages/pycparser/_build_tables.py +40 -0
- package/venv/lib/python3.10/site-packages/pycparser/_c_ast.cfg +195 -0
- package/venv/lib/python3.10/site-packages/pycparser/ast_transforms.py +164 -0
- package/venv/lib/python3.10/site-packages/pycparser/c_ast.py +1125 -0
- package/venv/lib/python3.10/site-packages/pycparser/c_generator.py +502 -0
- package/venv/lib/python3.10/site-packages/pycparser/c_lexer.py +555 -0
- package/venv/lib/python3.10/site-packages/pycparser/c_parser.py +1950 -0
- package/venv/lib/python3.10/site-packages/pycparser/lextab.py +10 -0
- package/venv/lib/python3.10/site-packages/pycparser/ply/__init__.py +5 -0
- package/venv/lib/python3.10/site-packages/pycparser/ply/cpp.py +905 -0
- package/venv/lib/python3.10/site-packages/pycparser/ply/ctokens.py +133 -0
- package/venv/lib/python3.10/site-packages/pycparser/ply/lex.py +1099 -0
- package/venv/lib/python3.10/site-packages/pycparser/ply/yacc.py +3494 -0
- package/venv/lib/python3.10/site-packages/pycparser/ply/ygen.py +74 -0
- package/venv/lib/python3.10/site-packages/pycparser/plyparser.py +133 -0
- package/venv/lib/python3.10/site-packages/pycparser/yacctab.py +369 -0
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/LICENSE +27 -0
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/METADATA +28 -0
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/RECORD +41 -0
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/WHEEL +5 -0
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/pyparsing/__init__.py +326 -0
- package/venv/lib/python3.10/site-packages/pyparsing/actions.py +219 -0
- package/venv/lib/python3.10/site-packages/pyparsing/common.py +434 -0
- package/venv/lib/python3.10/site-packages/pyparsing/core.py +6226 -0
- package/venv/lib/python3.10/site-packages/pyparsing/diagram/__init__.py +744 -0
- package/venv/lib/python3.10/site-packages/pyparsing/exceptions.py +314 -0
- package/venv/lib/python3.10/site-packages/pyparsing/helpers.py +1102 -0
- package/venv/lib/python3.10/site-packages/pyparsing/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/pyparsing/results.py +816 -0
- package/venv/lib/python3.10/site-packages/pyparsing/testing.py +362 -0
- package/venv/lib/python3.10/site-packages/pyparsing/unicode.py +356 -0
- package/venv/lib/python3.10/site-packages/pyparsing/util.py +398 -0
- package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/LICENSE +18 -0
- package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/METADATA +124 -0
- package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/RECORD +28 -0
- package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/requests/__init__.py +184 -0
- package/venv/lib/python3.10/site-packages/requests/__version__.py +14 -0
- package/venv/lib/python3.10/site-packages/requests/_internal_utils.py +50 -0
- package/venv/lib/python3.10/site-packages/requests/adapters.py +719 -0
- package/venv/lib/python3.10/site-packages/requests/api.py +157 -0
- package/venv/lib/python3.10/site-packages/requests/auth.py +314 -0
- package/venv/lib/python3.10/site-packages/requests/certs.py +17 -0
- package/venv/lib/python3.10/site-packages/requests/compat.py +94 -0
- package/venv/lib/python3.10/site-packages/requests/cookies.py +561 -0
- package/venv/lib/python3.10/site-packages/requests/exceptions.py +151 -0
- package/venv/lib/python3.10/site-packages/requests/help.py +134 -0
- package/venv/lib/python3.10/site-packages/requests/hooks.py +33 -0
- package/venv/lib/python3.10/site-packages/requests/models.py +1037 -0
- package/venv/lib/python3.10/site-packages/requests/packages.py +23 -0
- package/venv/lib/python3.10/site-packages/requests/sessions.py +831 -0
- package/venv/lib/python3.10/site-packages/requests/status_codes.py +128 -0
- package/venv/lib/python3.10/site-packages/requests/structures.py +99 -0
- package/venv/lib/python3.10/site-packages/requests/utils.py +1096 -0
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/LICENSE +175 -0
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/METADATA +119 -0
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/RECORD +43 -0
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/WHEEL +5 -0
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/__init__.py +34 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/_compat.py +302 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/__init__.py +15 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/appengine.py +206 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/fingerprint.py +48 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/host_header_ssl.py +43 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/socket_options.py +129 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/source.py +67 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/ssl.py +66 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/x509.py +196 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/_digest_auth_compat.py +29 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/guess.py +146 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/handler.py +142 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/http_proxy_digest.py +103 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/cookies/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/cookies/forgetful.py +7 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/downloadutils/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/downloadutils/stream.py +176 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/downloadutils/tee.py +123 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/exceptions.py +25 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/multipart/__init__.py +31 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/multipart/decoder.py +156 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/multipart/encoder.py +655 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/sessions.py +89 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/streaming_iterator.py +116 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/threaded/__init__.py +97 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/threaded/pool.py +211 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/threaded/thread.py +53 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/deprecated.py +91 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/dump.py +198 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/formdata.py +108 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/user_agent.py +143 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/AUTHORS.rst +57 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/LICENSE +13 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/METADATA +521 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/RECORD +75 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/__init__.py +1 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/_scrypted_arlo_go.cpython-310-x86_64-linux-gnu.h +555 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/_scrypted_arlo_go.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/build.py +344 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/go.py +2215 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go.c +6019 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go.go +3612 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go.py +1910 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go_go.h +555 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/METADATA +11 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/RECORD +19 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/WHEEL +8 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/setuptools/__init__.py +242 -0
- package/venv/lib/python3.10/site-packages/setuptools/_deprecation_warning.py +7 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/__init__.py +24 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/_msvccompiler.py +561 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/archive_util.py +256 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/bcppcompiler.py +393 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/ccompiler.py +1123 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/cmd.py +403 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/__init__.py +31 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist.py +143 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_dumb.py +123 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_msi.py +749 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_rpm.py +579 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_wininst.py +377 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build.py +157 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_clib.py +209 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py +755 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_py.py +392 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_scripts.py +152 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/check.py +148 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/clean.py +76 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/config.py +344 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install.py +721 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_data.py +79 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_egg_info.py +84 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_headers.py +47 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_lib.py +217 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_scripts.py +60 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/py37compat.py +30 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/register.py +304 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py +494 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/upload.py +214 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/config.py +130 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/core.py +249 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/cygwinccompiler.py +425 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/debug.py +5 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/dep_util.py +92 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/dir_util.py +210 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/dist.py +1257 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/errors.py +97 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/extension.py +240 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/fancy_getopt.py +457 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/file_util.py +238 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/filelist.py +355 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/log.py +77 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/msvc9compiler.py +788 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/msvccompiler.py +643 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/py35compat.py +19 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/py38compat.py +7 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/spawn.py +106 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/sysconfig.py +601 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/text_file.py +286 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/unixccompiler.py +325 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/util.py +548 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/version.py +363 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/versionpredicate.py +169 -0
- package/venv/lib/python3.10/site-packages/setuptools/_imp.py +82 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/more_itertools/__init__.py +4 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/more_itertools/more.py +3825 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/more_itertools/recipes.py +620 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/ordered_set.py +488 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/__about__.py +26 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/__init__.py +25 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/_manylinux.py +301 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/_musllinux.py +136 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/_structures.py +67 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/markers.py +304 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/requirements.py +146 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/specifiers.py +828 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/tags.py +484 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/utils.py +136 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/version.py +504 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/pyparsing.py +5742 -0
- package/venv/lib/python3.10/site-packages/setuptools/archive_util.py +205 -0
- package/venv/lib/python3.10/site-packages/setuptools/build_meta.py +290 -0
- package/venv/lib/python3.10/site-packages/setuptools/cli-32.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/cli-64.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/cli-arm64.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/cli.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/__init__.py +8 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/alias.py +78 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/bdist_egg.py +456 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/bdist_rpm.py +40 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/build_clib.py +101 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/build_ext.py +328 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/build_py.py +242 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/develop.py +193 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/dist_info.py +36 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/easy_install.py +2354 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/egg_info.py +755 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/install.py +132 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/install_egg_info.py +82 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/install_lib.py +148 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/install_scripts.py +69 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/launcher manifest.xml +15 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/py36compat.py +134 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/register.py +18 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/rotate.py +64 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/saveopts.py +22 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/sdist.py +196 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/setopt.py +149 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/test.py +252 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/upload.py +17 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/upload_docs.py +202 -0
- package/venv/lib/python3.10/site-packages/setuptools/config.py +751 -0
- package/venv/lib/python3.10/site-packages/setuptools/dep_util.py +25 -0
- package/venv/lib/python3.10/site-packages/setuptools/depends.py +176 -0
- package/venv/lib/python3.10/site-packages/setuptools/dist.py +1156 -0
- package/venv/lib/python3.10/site-packages/setuptools/errors.py +40 -0
- package/venv/lib/python3.10/site-packages/setuptools/extension.py +55 -0
- package/venv/lib/python3.10/site-packages/setuptools/extern/__init__.py +73 -0
- package/venv/lib/python3.10/site-packages/setuptools/glob.py +167 -0
- package/venv/lib/python3.10/site-packages/setuptools/gui-32.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/gui-64.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/gui-arm64.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/gui.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/installer.py +104 -0
- package/venv/lib/python3.10/site-packages/setuptools/launch.py +36 -0
- package/venv/lib/python3.10/site-packages/setuptools/monkey.py +177 -0
- package/venv/lib/python3.10/site-packages/setuptools/msvc.py +1805 -0
- package/venv/lib/python3.10/site-packages/setuptools/namespaces.py +107 -0
- package/venv/lib/python3.10/site-packages/setuptools/package_index.py +1150 -0
- package/venv/lib/python3.10/site-packages/setuptools/py34compat.py +13 -0
- package/venv/lib/python3.10/site-packages/setuptools/sandbox.py +530 -0
- package/venv/lib/python3.10/site-packages/setuptools/script (dev).tmpl +6 -0
- package/venv/lib/python3.10/site-packages/setuptools/script.tmpl +3 -0
- package/venv/lib/python3.10/site-packages/setuptools/unicode_utils.py +42 -0
- package/venv/lib/python3.10/site-packages/setuptools/version.py +6 -0
- package/venv/lib/python3.10/site-packages/setuptools/wheel.py +213 -0
- package/venv/lib/python3.10/site-packages/setuptools/windows_support.py +29 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/LICENSE +19 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/METADATA +125 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/RECORD +298 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/WHEEL +5 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/entry_points.txt +56 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/top_level.txt +4 -0
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/LICENSE +18 -0
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/METADATA +43 -0
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/RECORD +8 -0
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/six.py +1003 -0
- package/venv/lib/python3.10/site-packages/soupsieve/__init__.py +168 -0
- package/venv/lib/python3.10/site-packages/soupsieve/__meta__.py +197 -0
- package/venv/lib/python3.10/site-packages/soupsieve/css_match.py +1582 -0
- package/venv/lib/python3.10/site-packages/soupsieve/css_parser.py +1289 -0
- package/venv/lib/python3.10/site-packages/soupsieve/css_types.py +407 -0
- package/venv/lib/python3.10/site-packages/soupsieve/pretty.py +139 -0
- package/venv/lib/python3.10/site-packages/soupsieve/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/soupsieve/util.py +117 -0
- package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/METADATA +114 -0
- package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/RECORD +20 -0
- package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/licenses/LICENSE.md +21 -0
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/PKG-INFO +98 -0
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/SOURCES.txt +12 -0
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/dependency_links.txt +1 -0
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/installed-files.txt +7 -0
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/requires.txt +2 -0
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/sseclient.py +165 -0
- package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/LICENSE +279 -0
- package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/METADATA +67 -0
- package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/RECORD +7 -0
- package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/typing_extensions.py +3641 -0
- package/venv/lib/python3.10/site-packages/urllib3/__init__.py +211 -0
- package/venv/lib/python3.10/site-packages/urllib3/_base_connection.py +165 -0
- package/venv/lib/python3.10/site-packages/urllib3/_collections.py +479 -0
- package/venv/lib/python3.10/site-packages/urllib3/_request_methods.py +278 -0
- package/venv/lib/python3.10/site-packages/urllib3/_version.py +16 -0
- package/venv/lib/python3.10/site-packages/urllib3/connection.py +1044 -0
- package/venv/lib/python3.10/site-packages/urllib3/connectionpool.py +1178 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/__init__.py +16 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/connection.py +255 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/emscripten_fetch_worker.js +110 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/fetch.py +708 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/request.py +22 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/response.py +285 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/pyopenssl.py +554 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/socks.py +228 -0
- package/venv/lib/python3.10/site-packages/urllib3/exceptions.py +327 -0
- package/venv/lib/python3.10/site-packages/urllib3/fields.py +341 -0
- package/venv/lib/python3.10/site-packages/urllib3/filepost.py +89 -0
- package/venv/lib/python3.10/site-packages/urllib3/http2/__init__.py +53 -0
- package/venv/lib/python3.10/site-packages/urllib3/http2/connection.py +356 -0
- package/venv/lib/python3.10/site-packages/urllib3/http2/probe.py +87 -0
- package/venv/lib/python3.10/site-packages/urllib3/poolmanager.py +637 -0
- package/venv/lib/python3.10/site-packages/urllib3/py.typed +2 -0
- package/venv/lib/python3.10/site-packages/urllib3/response.py +1278 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/__init__.py +42 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/connection.py +137 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/proxy.py +43 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/request.py +258 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/response.py +101 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/retry.py +533 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/ssl_.py +504 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/ssl_match_hostname.py +159 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/ssltransport.py +271 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/timeout.py +275 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/url.py +469 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/util.py +42 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/wait.py +124 -0
- package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/METADATA +154 -0
- package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/RECORD +80 -0
- package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/licenses/LICENSE.txt +21 -0
- package/venv/lib/python3.10/site-packages/yarl/__init__.py +14 -0
- package/venv/lib/python3.10/site-packages/yarl/_parse.py +189 -0
- package/venv/lib/python3.10/site-packages/yarl/_path.py +41 -0
- package/venv/lib/python3.10/site-packages/yarl/_query.py +118 -0
- package/venv/lib/python3.10/site-packages/yarl/_quoters.py +32 -0
- package/venv/lib/python3.10/site-packages/yarl/_quoting.py +18 -0
- package/venv/lib/python3.10/site-packages/yarl/_quoting_c.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/yarl/_quoting_c.pyi +16 -0
- package/venv/lib/python3.10/site-packages/yarl/_quoting_c.pyx +423 -0
- package/venv/lib/python3.10/site-packages/yarl/_quoting_py.py +197 -0
- package/venv/lib/python3.10/site-packages/yarl/_url.py +1584 -0
- package/venv/lib/python3.10/site-packages/yarl/py.typed +1 -0
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/LICENSE +202 -0
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/METADATA +2279 -0
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/NOTICE +13 -0
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/RECORD +27 -0
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/top_level.txt +1 -0
- package/venv/pyvenv.cfg +3 -0
|
@@ -0,0 +1,1150 @@
|
|
|
1
|
+
"""PyPI and direct package downloading"""
|
|
2
|
+
import sys
|
|
3
|
+
import subprocess
|
|
4
|
+
import os
|
|
5
|
+
import re
|
|
6
|
+
import io
|
|
7
|
+
import shutil
|
|
8
|
+
import socket
|
|
9
|
+
import base64
|
|
10
|
+
import hashlib
|
|
11
|
+
import itertools
|
|
12
|
+
import warnings
|
|
13
|
+
import configparser
|
|
14
|
+
import html
|
|
15
|
+
import http.client
|
|
16
|
+
import urllib.parse
|
|
17
|
+
import urllib.request
|
|
18
|
+
import urllib.error
|
|
19
|
+
from functools import wraps
|
|
20
|
+
|
|
21
|
+
import setuptools
|
|
22
|
+
from pkg_resources import (
|
|
23
|
+
CHECKOUT_DIST, Distribution, BINARY_DIST, normalize_path, SOURCE_DIST,
|
|
24
|
+
Environment, find_distributions, safe_name, safe_version,
|
|
25
|
+
to_filename, Requirement, DEVELOP_DIST, EGG_DIST, parse_version,
|
|
26
|
+
)
|
|
27
|
+
from distutils import log
|
|
28
|
+
from distutils.errors import DistutilsError
|
|
29
|
+
from fnmatch import translate
|
|
30
|
+
from setuptools.wheel import Wheel
|
|
31
|
+
from setuptools.extern.more_itertools import unique_everseen
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
EGG_FRAGMENT = re.compile(r'^egg=([-A-Za-z0-9_.+!]+)$')
|
|
35
|
+
HREF = re.compile(r"""href\s*=\s*['"]?([^'"> ]+)""", re.I)
|
|
36
|
+
PYPI_MD5 = re.compile(
|
|
37
|
+
r'<a href="([^"#]+)">([^<]+)</a>\n\s+\(<a (?:title="MD5 hash"\n\s+)'
|
|
38
|
+
r'href="[^?]+\?:action=show_md5&digest=([0-9a-f]{32})">md5</a>\)'
|
|
39
|
+
)
|
|
40
|
+
URL_SCHEME = re.compile('([-+.a-z0-9]{2,}):', re.I).match
|
|
41
|
+
EXTENSIONS = ".tar.gz .tar.bz2 .tar .zip .tgz".split()
|
|
42
|
+
|
|
43
|
+
__all__ = [
|
|
44
|
+
'PackageIndex', 'distros_for_url', 'parse_bdist_wininst',
|
|
45
|
+
'interpret_distro_name',
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
_SOCKET_TIMEOUT = 15
|
|
49
|
+
|
|
50
|
+
_tmpl = "setuptools/{setuptools.__version__} Python-urllib/{py_major}"
|
|
51
|
+
user_agent = _tmpl.format(
|
|
52
|
+
py_major='{}.{}'.format(*sys.version_info), setuptools=setuptools)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
def parse_requirement_arg(spec):
|
|
56
|
+
try:
|
|
57
|
+
return Requirement.parse(spec)
|
|
58
|
+
except ValueError as e:
|
|
59
|
+
raise DistutilsError(
|
|
60
|
+
"Not a URL, existing file, or requirement spec: %r" % (spec,)
|
|
61
|
+
) from e
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
def parse_bdist_wininst(name):
|
|
65
|
+
"""Return (base,pyversion) or (None,None) for possible .exe name"""
|
|
66
|
+
|
|
67
|
+
lower = name.lower()
|
|
68
|
+
base, py_ver, plat = None, None, None
|
|
69
|
+
|
|
70
|
+
if lower.endswith('.exe'):
|
|
71
|
+
if lower.endswith('.win32.exe'):
|
|
72
|
+
base = name[:-10]
|
|
73
|
+
plat = 'win32'
|
|
74
|
+
elif lower.startswith('.win32-py', -16):
|
|
75
|
+
py_ver = name[-7:-4]
|
|
76
|
+
base = name[:-16]
|
|
77
|
+
plat = 'win32'
|
|
78
|
+
elif lower.endswith('.win-amd64.exe'):
|
|
79
|
+
base = name[:-14]
|
|
80
|
+
plat = 'win-amd64'
|
|
81
|
+
elif lower.startswith('.win-amd64-py', -20):
|
|
82
|
+
py_ver = name[-7:-4]
|
|
83
|
+
base = name[:-20]
|
|
84
|
+
plat = 'win-amd64'
|
|
85
|
+
return base, py_ver, plat
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
def egg_info_for_url(url):
|
|
89
|
+
parts = urllib.parse.urlparse(url)
|
|
90
|
+
scheme, server, path, parameters, query, fragment = parts
|
|
91
|
+
base = urllib.parse.unquote(path.split('/')[-1])
|
|
92
|
+
if server == 'sourceforge.net' and base == 'download': # XXX Yuck
|
|
93
|
+
base = urllib.parse.unquote(path.split('/')[-2])
|
|
94
|
+
if '#' in base:
|
|
95
|
+
base, fragment = base.split('#', 1)
|
|
96
|
+
return base, fragment
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
def distros_for_url(url, metadata=None):
|
|
100
|
+
"""Yield egg or source distribution objects that might be found at a URL"""
|
|
101
|
+
base, fragment = egg_info_for_url(url)
|
|
102
|
+
for dist in distros_for_location(url, base, metadata):
|
|
103
|
+
yield dist
|
|
104
|
+
if fragment:
|
|
105
|
+
match = EGG_FRAGMENT.match(fragment)
|
|
106
|
+
if match:
|
|
107
|
+
for dist in interpret_distro_name(
|
|
108
|
+
url, match.group(1), metadata, precedence=CHECKOUT_DIST
|
|
109
|
+
):
|
|
110
|
+
yield dist
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
def distros_for_location(location, basename, metadata=None):
|
|
114
|
+
"""Yield egg or source distribution objects based on basename"""
|
|
115
|
+
if basename.endswith('.egg.zip'):
|
|
116
|
+
basename = basename[:-4] # strip the .zip
|
|
117
|
+
if basename.endswith('.egg') and '-' in basename:
|
|
118
|
+
# only one, unambiguous interpretation
|
|
119
|
+
return [Distribution.from_location(location, basename, metadata)]
|
|
120
|
+
if basename.endswith('.whl') and '-' in basename:
|
|
121
|
+
wheel = Wheel(basename)
|
|
122
|
+
if not wheel.is_compatible():
|
|
123
|
+
return []
|
|
124
|
+
return [Distribution(
|
|
125
|
+
location=location,
|
|
126
|
+
project_name=wheel.project_name,
|
|
127
|
+
version=wheel.version,
|
|
128
|
+
# Increase priority over eggs.
|
|
129
|
+
precedence=EGG_DIST + 1,
|
|
130
|
+
)]
|
|
131
|
+
if basename.endswith('.exe'):
|
|
132
|
+
win_base, py_ver, platform = parse_bdist_wininst(basename)
|
|
133
|
+
if win_base is not None:
|
|
134
|
+
return interpret_distro_name(
|
|
135
|
+
location, win_base, metadata, py_ver, BINARY_DIST, platform
|
|
136
|
+
)
|
|
137
|
+
# Try source distro extensions (.zip, .tgz, etc.)
|
|
138
|
+
#
|
|
139
|
+
for ext in EXTENSIONS:
|
|
140
|
+
if basename.endswith(ext):
|
|
141
|
+
basename = basename[:-len(ext)]
|
|
142
|
+
return interpret_distro_name(location, basename, metadata)
|
|
143
|
+
return [] # no extension matched
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
def distros_for_filename(filename, metadata=None):
|
|
147
|
+
"""Yield possible egg or source distribution objects based on a filename"""
|
|
148
|
+
return distros_for_location(
|
|
149
|
+
normalize_path(filename), os.path.basename(filename), metadata
|
|
150
|
+
)
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
def interpret_distro_name(
|
|
154
|
+
location, basename, metadata, py_version=None, precedence=SOURCE_DIST,
|
|
155
|
+
platform=None
|
|
156
|
+
):
|
|
157
|
+
"""Generate alternative interpretations of a source distro name
|
|
158
|
+
|
|
159
|
+
Note: if `location` is a filesystem filename, you should call
|
|
160
|
+
``pkg_resources.normalize_path()`` on it before passing it to this
|
|
161
|
+
routine!
|
|
162
|
+
"""
|
|
163
|
+
# Generate alternative interpretations of a source distro name
|
|
164
|
+
# Because some packages are ambiguous as to name/versions split
|
|
165
|
+
# e.g. "adns-python-1.1.0", "egenix-mx-commercial", etc.
|
|
166
|
+
# So, we generate each possible interpretation (e.g. "adns, python-1.1.0"
|
|
167
|
+
# "adns-python, 1.1.0", and "adns-python-1.1.0, no version"). In practice,
|
|
168
|
+
# the spurious interpretations should be ignored, because in the event
|
|
169
|
+
# there's also an "adns" package, the spurious "python-1.1.0" version will
|
|
170
|
+
# compare lower than any numeric version number, and is therefore unlikely
|
|
171
|
+
# to match a request for it. It's still a potential problem, though, and
|
|
172
|
+
# in the long run PyPI and the distutils should go for "safe" names and
|
|
173
|
+
# versions in distribution archive names (sdist and bdist).
|
|
174
|
+
|
|
175
|
+
parts = basename.split('-')
|
|
176
|
+
if not py_version and any(re.match(r'py\d\.\d$', p) for p in parts[2:]):
|
|
177
|
+
# it is a bdist_dumb, not an sdist -- bail out
|
|
178
|
+
return
|
|
179
|
+
|
|
180
|
+
for p in range(1, len(parts) + 1):
|
|
181
|
+
yield Distribution(
|
|
182
|
+
location, metadata, '-'.join(parts[:p]), '-'.join(parts[p:]),
|
|
183
|
+
py_version=py_version, precedence=precedence,
|
|
184
|
+
platform=platform
|
|
185
|
+
)
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
def unique_values(func):
|
|
189
|
+
"""
|
|
190
|
+
Wrap a function returning an iterable such that the resulting iterable
|
|
191
|
+
only ever yields unique items.
|
|
192
|
+
"""
|
|
193
|
+
|
|
194
|
+
@wraps(func)
|
|
195
|
+
def wrapper(*args, **kwargs):
|
|
196
|
+
return unique_everseen(func(*args, **kwargs))
|
|
197
|
+
|
|
198
|
+
return wrapper
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
REL = re.compile(r"""<([^>]*\srel\s{0,10}=\s{0,10}['"]?([^'" >]+)[^>]*)>""", re.I)
|
|
202
|
+
# this line is here to fix emacs' cruddy broken syntax highlighting
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
@unique_values
|
|
206
|
+
def find_external_links(url, page):
|
|
207
|
+
"""Find rel="homepage" and rel="download" links in `page`, yielding URLs"""
|
|
208
|
+
|
|
209
|
+
for match in REL.finditer(page):
|
|
210
|
+
tag, rel = match.groups()
|
|
211
|
+
rels = set(map(str.strip, rel.lower().split(',')))
|
|
212
|
+
if 'homepage' in rels or 'download' in rels:
|
|
213
|
+
for match in HREF.finditer(tag):
|
|
214
|
+
yield urllib.parse.urljoin(url, htmldecode(match.group(1)))
|
|
215
|
+
|
|
216
|
+
for tag in ("<th>Home Page", "<th>Download URL"):
|
|
217
|
+
pos = page.find(tag)
|
|
218
|
+
if pos != -1:
|
|
219
|
+
match = HREF.search(page, pos)
|
|
220
|
+
if match:
|
|
221
|
+
yield urllib.parse.urljoin(url, htmldecode(match.group(1)))
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
class ContentChecker:
|
|
225
|
+
"""
|
|
226
|
+
A null content checker that defines the interface for checking content
|
|
227
|
+
"""
|
|
228
|
+
|
|
229
|
+
def feed(self, block):
|
|
230
|
+
"""
|
|
231
|
+
Feed a block of data to the hash.
|
|
232
|
+
"""
|
|
233
|
+
return
|
|
234
|
+
|
|
235
|
+
def is_valid(self):
|
|
236
|
+
"""
|
|
237
|
+
Check the hash. Return False if validation fails.
|
|
238
|
+
"""
|
|
239
|
+
return True
|
|
240
|
+
|
|
241
|
+
def report(self, reporter, template):
|
|
242
|
+
"""
|
|
243
|
+
Call reporter with information about the checker (hash name)
|
|
244
|
+
substituted into the template.
|
|
245
|
+
"""
|
|
246
|
+
return
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
class HashChecker(ContentChecker):
|
|
250
|
+
pattern = re.compile(
|
|
251
|
+
r'(?P<hash_name>sha1|sha224|sha384|sha256|sha512|md5)='
|
|
252
|
+
r'(?P<expected>[a-f0-9]+)'
|
|
253
|
+
)
|
|
254
|
+
|
|
255
|
+
def __init__(self, hash_name, expected):
|
|
256
|
+
self.hash_name = hash_name
|
|
257
|
+
self.hash = hashlib.new(hash_name)
|
|
258
|
+
self.expected = expected
|
|
259
|
+
|
|
260
|
+
@classmethod
|
|
261
|
+
def from_url(cls, url):
|
|
262
|
+
"Construct a (possibly null) ContentChecker from a URL"
|
|
263
|
+
fragment = urllib.parse.urlparse(url)[-1]
|
|
264
|
+
if not fragment:
|
|
265
|
+
return ContentChecker()
|
|
266
|
+
match = cls.pattern.search(fragment)
|
|
267
|
+
if not match:
|
|
268
|
+
return ContentChecker()
|
|
269
|
+
return cls(**match.groupdict())
|
|
270
|
+
|
|
271
|
+
def feed(self, block):
|
|
272
|
+
self.hash.update(block)
|
|
273
|
+
|
|
274
|
+
def is_valid(self):
|
|
275
|
+
return self.hash.hexdigest() == self.expected
|
|
276
|
+
|
|
277
|
+
def report(self, reporter, template):
|
|
278
|
+
msg = template % self.hash_name
|
|
279
|
+
return reporter(msg)
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
class PackageIndex(Environment):
|
|
283
|
+
"""A distribution index that scans web pages for download URLs"""
|
|
284
|
+
|
|
285
|
+
def __init__(
|
|
286
|
+
self, index_url="https://pypi.org/simple/", hosts=('*',),
|
|
287
|
+
ca_bundle=None, verify_ssl=True, *args, **kw
|
|
288
|
+
):
|
|
289
|
+
Environment.__init__(self, *args, **kw)
|
|
290
|
+
self.index_url = index_url + "/" [:not index_url.endswith('/')]
|
|
291
|
+
self.scanned_urls = {}
|
|
292
|
+
self.fetched_urls = {}
|
|
293
|
+
self.package_pages = {}
|
|
294
|
+
self.allows = re.compile('|'.join(map(translate, hosts))).match
|
|
295
|
+
self.to_scan = []
|
|
296
|
+
self.opener = urllib.request.urlopen
|
|
297
|
+
|
|
298
|
+
def add(self, dist):
|
|
299
|
+
# ignore invalid versions
|
|
300
|
+
try:
|
|
301
|
+
parse_version(dist.version)
|
|
302
|
+
except Exception:
|
|
303
|
+
return
|
|
304
|
+
return super().add(dist)
|
|
305
|
+
|
|
306
|
+
# FIXME: 'PackageIndex.process_url' is too complex (14)
|
|
307
|
+
def process_url(self, url, retrieve=False): # noqa: C901
|
|
308
|
+
"""Evaluate a URL as a possible download, and maybe retrieve it"""
|
|
309
|
+
if url in self.scanned_urls and not retrieve:
|
|
310
|
+
return
|
|
311
|
+
self.scanned_urls[url] = True
|
|
312
|
+
if not URL_SCHEME(url):
|
|
313
|
+
self.process_filename(url)
|
|
314
|
+
return
|
|
315
|
+
else:
|
|
316
|
+
dists = list(distros_for_url(url))
|
|
317
|
+
if dists:
|
|
318
|
+
if not self.url_ok(url):
|
|
319
|
+
return
|
|
320
|
+
self.debug("Found link: %s", url)
|
|
321
|
+
|
|
322
|
+
if dists or not retrieve or url in self.fetched_urls:
|
|
323
|
+
list(map(self.add, dists))
|
|
324
|
+
return # don't need the actual page
|
|
325
|
+
|
|
326
|
+
if not self.url_ok(url):
|
|
327
|
+
self.fetched_urls[url] = True
|
|
328
|
+
return
|
|
329
|
+
|
|
330
|
+
self.info("Reading %s", url)
|
|
331
|
+
self.fetched_urls[url] = True # prevent multiple fetch attempts
|
|
332
|
+
tmpl = "Download error on %s: %%s -- Some packages may not be found!"
|
|
333
|
+
f = self.open_url(url, tmpl % url)
|
|
334
|
+
if f is None:
|
|
335
|
+
return
|
|
336
|
+
if isinstance(f, urllib.error.HTTPError) and f.code == 401:
|
|
337
|
+
self.info("Authentication error: %s" % f.msg)
|
|
338
|
+
self.fetched_urls[f.url] = True
|
|
339
|
+
if 'html' not in f.headers.get('content-type', '').lower():
|
|
340
|
+
f.close() # not html, we can't process it
|
|
341
|
+
return
|
|
342
|
+
|
|
343
|
+
base = f.url # handle redirects
|
|
344
|
+
page = f.read()
|
|
345
|
+
if not isinstance(page, str):
|
|
346
|
+
# In Python 3 and got bytes but want str.
|
|
347
|
+
if isinstance(f, urllib.error.HTTPError):
|
|
348
|
+
# Errors have no charset, assume latin1:
|
|
349
|
+
charset = 'latin-1'
|
|
350
|
+
else:
|
|
351
|
+
charset = f.headers.get_param('charset') or 'latin-1'
|
|
352
|
+
page = page.decode(charset, "ignore")
|
|
353
|
+
f.close()
|
|
354
|
+
for match in HREF.finditer(page):
|
|
355
|
+
link = urllib.parse.urljoin(base, htmldecode(match.group(1)))
|
|
356
|
+
self.process_url(link)
|
|
357
|
+
if url.startswith(self.index_url) and getattr(f, 'code', None) != 404:
|
|
358
|
+
page = self.process_index(url, page)
|
|
359
|
+
|
|
360
|
+
def process_filename(self, fn, nested=False):
|
|
361
|
+
# process filenames or directories
|
|
362
|
+
if not os.path.exists(fn):
|
|
363
|
+
self.warn("Not found: %s", fn)
|
|
364
|
+
return
|
|
365
|
+
|
|
366
|
+
if os.path.isdir(fn) and not nested:
|
|
367
|
+
path = os.path.realpath(fn)
|
|
368
|
+
for item in os.listdir(path):
|
|
369
|
+
self.process_filename(os.path.join(path, item), True)
|
|
370
|
+
|
|
371
|
+
dists = distros_for_filename(fn)
|
|
372
|
+
if dists:
|
|
373
|
+
self.debug("Found: %s", fn)
|
|
374
|
+
list(map(self.add, dists))
|
|
375
|
+
|
|
376
|
+
def url_ok(self, url, fatal=False):
|
|
377
|
+
s = URL_SCHEME(url)
|
|
378
|
+
is_file = s and s.group(1).lower() == 'file'
|
|
379
|
+
if is_file or self.allows(urllib.parse.urlparse(url)[1]):
|
|
380
|
+
return True
|
|
381
|
+
msg = (
|
|
382
|
+
"\nNote: Bypassing %s (disallowed host; see "
|
|
383
|
+
"http://bit.ly/2hrImnY for details).\n")
|
|
384
|
+
if fatal:
|
|
385
|
+
raise DistutilsError(msg % url)
|
|
386
|
+
else:
|
|
387
|
+
self.warn(msg, url)
|
|
388
|
+
|
|
389
|
+
def scan_egg_links(self, search_path):
|
|
390
|
+
dirs = filter(os.path.isdir, search_path)
|
|
391
|
+
egg_links = (
|
|
392
|
+
(path, entry)
|
|
393
|
+
for path in dirs
|
|
394
|
+
for entry in os.listdir(path)
|
|
395
|
+
if entry.endswith('.egg-link')
|
|
396
|
+
)
|
|
397
|
+
list(itertools.starmap(self.scan_egg_link, egg_links))
|
|
398
|
+
|
|
399
|
+
def scan_egg_link(self, path, entry):
|
|
400
|
+
with open(os.path.join(path, entry)) as raw_lines:
|
|
401
|
+
# filter non-empty lines
|
|
402
|
+
lines = list(filter(None, map(str.strip, raw_lines)))
|
|
403
|
+
|
|
404
|
+
if len(lines) != 2:
|
|
405
|
+
# format is not recognized; punt
|
|
406
|
+
return
|
|
407
|
+
|
|
408
|
+
egg_path, setup_path = lines
|
|
409
|
+
|
|
410
|
+
for dist in find_distributions(os.path.join(path, egg_path)):
|
|
411
|
+
dist.location = os.path.join(path, *lines)
|
|
412
|
+
dist.precedence = SOURCE_DIST
|
|
413
|
+
self.add(dist)
|
|
414
|
+
|
|
415
|
+
def _scan(self, link):
|
|
416
|
+
# Process a URL to see if it's for a package page
|
|
417
|
+
NO_MATCH_SENTINEL = None, None
|
|
418
|
+
if not link.startswith(self.index_url):
|
|
419
|
+
return NO_MATCH_SENTINEL
|
|
420
|
+
|
|
421
|
+
parts = list(map(
|
|
422
|
+
urllib.parse.unquote, link[len(self.index_url):].split('/')
|
|
423
|
+
))
|
|
424
|
+
if len(parts) != 2 or '#' in parts[1]:
|
|
425
|
+
return NO_MATCH_SENTINEL
|
|
426
|
+
|
|
427
|
+
# it's a package page, sanitize and index it
|
|
428
|
+
pkg = safe_name(parts[0])
|
|
429
|
+
ver = safe_version(parts[1])
|
|
430
|
+
self.package_pages.setdefault(pkg.lower(), {})[link] = True
|
|
431
|
+
return to_filename(pkg), to_filename(ver)
|
|
432
|
+
|
|
433
|
+
def process_index(self, url, page):
|
|
434
|
+
"""Process the contents of a PyPI page"""
|
|
435
|
+
|
|
436
|
+
# process an index page into the package-page index
|
|
437
|
+
for match in HREF.finditer(page):
|
|
438
|
+
try:
|
|
439
|
+
self._scan(urllib.parse.urljoin(url, htmldecode(match.group(1))))
|
|
440
|
+
except ValueError:
|
|
441
|
+
pass
|
|
442
|
+
|
|
443
|
+
pkg, ver = self._scan(url) # ensure this page is in the page index
|
|
444
|
+
if not pkg:
|
|
445
|
+
return "" # no sense double-scanning non-package pages
|
|
446
|
+
|
|
447
|
+
# process individual package page
|
|
448
|
+
for new_url in find_external_links(url, page):
|
|
449
|
+
# Process the found URL
|
|
450
|
+
base, frag = egg_info_for_url(new_url)
|
|
451
|
+
if base.endswith('.py') and not frag:
|
|
452
|
+
if ver:
|
|
453
|
+
new_url += '#egg=%s-%s' % (pkg, ver)
|
|
454
|
+
else:
|
|
455
|
+
self.need_version_info(url)
|
|
456
|
+
self.scan_url(new_url)
|
|
457
|
+
|
|
458
|
+
return PYPI_MD5.sub(
|
|
459
|
+
lambda m: '<a href="%s#md5=%s">%s</a>' % m.group(1, 3, 2), page
|
|
460
|
+
)
|
|
461
|
+
|
|
462
|
+
def need_version_info(self, url):
|
|
463
|
+
self.scan_all(
|
|
464
|
+
"Page at %s links to .py file(s) without version info; an index "
|
|
465
|
+
"scan is required.", url
|
|
466
|
+
)
|
|
467
|
+
|
|
468
|
+
def scan_all(self, msg=None, *args):
|
|
469
|
+
if self.index_url not in self.fetched_urls:
|
|
470
|
+
if msg:
|
|
471
|
+
self.warn(msg, *args)
|
|
472
|
+
self.info(
|
|
473
|
+
"Scanning index of all packages (this may take a while)"
|
|
474
|
+
)
|
|
475
|
+
self.scan_url(self.index_url)
|
|
476
|
+
|
|
477
|
+
def find_packages(self, requirement):
|
|
478
|
+
self.scan_url(self.index_url + requirement.unsafe_name + '/')
|
|
479
|
+
|
|
480
|
+
if not self.package_pages.get(requirement.key):
|
|
481
|
+
# Fall back to safe version of the name
|
|
482
|
+
self.scan_url(self.index_url + requirement.project_name + '/')
|
|
483
|
+
|
|
484
|
+
if not self.package_pages.get(requirement.key):
|
|
485
|
+
# We couldn't find the target package, so search the index page too
|
|
486
|
+
self.not_found_in_index(requirement)
|
|
487
|
+
|
|
488
|
+
for url in list(self.package_pages.get(requirement.key, ())):
|
|
489
|
+
# scan each page that might be related to the desired package
|
|
490
|
+
self.scan_url(url)
|
|
491
|
+
|
|
492
|
+
def obtain(self, requirement, installer=None):
|
|
493
|
+
self.prescan()
|
|
494
|
+
self.find_packages(requirement)
|
|
495
|
+
for dist in self[requirement.key]:
|
|
496
|
+
if dist in requirement:
|
|
497
|
+
return dist
|
|
498
|
+
self.debug("%s does not match %s", requirement, dist)
|
|
499
|
+
return super(PackageIndex, self).obtain(requirement, installer)
|
|
500
|
+
|
|
501
|
+
def check_hash(self, checker, filename, tfp):
|
|
502
|
+
"""
|
|
503
|
+
checker is a ContentChecker
|
|
504
|
+
"""
|
|
505
|
+
checker.report(
|
|
506
|
+
self.debug,
|
|
507
|
+
"Validating %%s checksum for %s" % filename)
|
|
508
|
+
if not checker.is_valid():
|
|
509
|
+
tfp.close()
|
|
510
|
+
os.unlink(filename)
|
|
511
|
+
raise DistutilsError(
|
|
512
|
+
"%s validation failed for %s; "
|
|
513
|
+
"possible download problem?"
|
|
514
|
+
% (checker.hash.name, os.path.basename(filename))
|
|
515
|
+
)
|
|
516
|
+
|
|
517
|
+
def add_find_links(self, urls):
|
|
518
|
+
"""Add `urls` to the list that will be prescanned for searches"""
|
|
519
|
+
for url in urls:
|
|
520
|
+
if (
|
|
521
|
+
self.to_scan is None # if we have already "gone online"
|
|
522
|
+
or not URL_SCHEME(url) # or it's a local file/directory
|
|
523
|
+
or url.startswith('file:')
|
|
524
|
+
or list(distros_for_url(url)) # or a direct package link
|
|
525
|
+
):
|
|
526
|
+
# then go ahead and process it now
|
|
527
|
+
self.scan_url(url)
|
|
528
|
+
else:
|
|
529
|
+
# otherwise, defer retrieval till later
|
|
530
|
+
self.to_scan.append(url)
|
|
531
|
+
|
|
532
|
+
def prescan(self):
|
|
533
|
+
"""Scan urls scheduled for prescanning (e.g. --find-links)"""
|
|
534
|
+
if self.to_scan:
|
|
535
|
+
list(map(self.scan_url, self.to_scan))
|
|
536
|
+
self.to_scan = None # from now on, go ahead and process immediately
|
|
537
|
+
|
|
538
|
+
def not_found_in_index(self, requirement):
|
|
539
|
+
if self[requirement.key]: # we've seen at least one distro
|
|
540
|
+
meth, msg = self.info, "Couldn't retrieve index page for %r"
|
|
541
|
+
else: # no distros seen for this name, might be misspelled
|
|
542
|
+
meth, msg = (
|
|
543
|
+
self.warn,
|
|
544
|
+
"Couldn't find index page for %r (maybe misspelled?)")
|
|
545
|
+
meth(msg, requirement.unsafe_name)
|
|
546
|
+
self.scan_all()
|
|
547
|
+
|
|
548
|
+
def download(self, spec, tmpdir):
|
|
549
|
+
"""Locate and/or download `spec` to `tmpdir`, returning a local path
|
|
550
|
+
|
|
551
|
+
`spec` may be a ``Requirement`` object, or a string containing a URL,
|
|
552
|
+
an existing local filename, or a project/version requirement spec
|
|
553
|
+
(i.e. the string form of a ``Requirement`` object). If it is the URL
|
|
554
|
+
of a .py file with an unambiguous ``#egg=name-version`` tag (i.e., one
|
|
555
|
+
that escapes ``-`` as ``_`` throughout), a trivial ``setup.py`` is
|
|
556
|
+
automatically created alongside the downloaded file.
|
|
557
|
+
|
|
558
|
+
If `spec` is a ``Requirement`` object or a string containing a
|
|
559
|
+
project/version requirement spec, this method returns the location of
|
|
560
|
+
a matching distribution (possibly after downloading it to `tmpdir`).
|
|
561
|
+
If `spec` is a locally existing file or directory name, it is simply
|
|
562
|
+
returned unchanged. If `spec` is a URL, it is downloaded to a subpath
|
|
563
|
+
of `tmpdir`, and the local filename is returned. Various errors may be
|
|
564
|
+
raised if a problem occurs during downloading.
|
|
565
|
+
"""
|
|
566
|
+
if not isinstance(spec, Requirement):
|
|
567
|
+
scheme = URL_SCHEME(spec)
|
|
568
|
+
if scheme:
|
|
569
|
+
# It's a url, download it to tmpdir
|
|
570
|
+
found = self._download_url(spec, tmpdir)
|
|
571
|
+
base, fragment = egg_info_for_url(spec)
|
|
572
|
+
if base.endswith('.py'):
|
|
573
|
+
found = self.gen_setup(found, fragment, tmpdir)
|
|
574
|
+
return found
|
|
575
|
+
elif os.path.exists(spec):
|
|
576
|
+
# Existing file or directory, just return it
|
|
577
|
+
return spec
|
|
578
|
+
else:
|
|
579
|
+
spec = parse_requirement_arg(spec)
|
|
580
|
+
return getattr(self.fetch_distribution(spec, tmpdir), 'location', None)
|
|
581
|
+
|
|
582
|
+
def fetch_distribution( # noqa: C901 # is too complex (14) # FIXME
|
|
583
|
+
self, requirement, tmpdir, force_scan=False, source=False,
|
|
584
|
+
develop_ok=False, local_index=None):
|
|
585
|
+
"""Obtain a distribution suitable for fulfilling `requirement`
|
|
586
|
+
|
|
587
|
+
`requirement` must be a ``pkg_resources.Requirement`` instance.
|
|
588
|
+
If necessary, or if the `force_scan` flag is set, the requirement is
|
|
589
|
+
searched for in the (online) package index as well as the locally
|
|
590
|
+
installed packages. If a distribution matching `requirement` is found,
|
|
591
|
+
the returned distribution's ``location`` is the value you would have
|
|
592
|
+
gotten from calling the ``download()`` method with the matching
|
|
593
|
+
distribution's URL or filename. If no matching distribution is found,
|
|
594
|
+
``None`` is returned.
|
|
595
|
+
|
|
596
|
+
If the `source` flag is set, only source distributions and source
|
|
597
|
+
checkout links will be considered. Unless the `develop_ok` flag is
|
|
598
|
+
set, development and system eggs (i.e., those using the ``.egg-info``
|
|
599
|
+
format) will be ignored.
|
|
600
|
+
"""
|
|
601
|
+
# process a Requirement
|
|
602
|
+
self.info("Searching for %s", requirement)
|
|
603
|
+
skipped = {}
|
|
604
|
+
dist = None
|
|
605
|
+
|
|
606
|
+
def find(req, env=None):
|
|
607
|
+
if env is None:
|
|
608
|
+
env = self
|
|
609
|
+
# Find a matching distribution; may be called more than once
|
|
610
|
+
|
|
611
|
+
for dist in env[req.key]:
|
|
612
|
+
|
|
613
|
+
if dist.precedence == DEVELOP_DIST and not develop_ok:
|
|
614
|
+
if dist not in skipped:
|
|
615
|
+
self.warn(
|
|
616
|
+
"Skipping development or system egg: %s", dist,
|
|
617
|
+
)
|
|
618
|
+
skipped[dist] = 1
|
|
619
|
+
continue
|
|
620
|
+
|
|
621
|
+
test = (
|
|
622
|
+
dist in req
|
|
623
|
+
and (dist.precedence <= SOURCE_DIST or not source)
|
|
624
|
+
)
|
|
625
|
+
if test:
|
|
626
|
+
loc = self.download(dist.location, tmpdir)
|
|
627
|
+
dist.download_location = loc
|
|
628
|
+
if os.path.exists(dist.download_location):
|
|
629
|
+
return dist
|
|
630
|
+
|
|
631
|
+
if force_scan:
|
|
632
|
+
self.prescan()
|
|
633
|
+
self.find_packages(requirement)
|
|
634
|
+
dist = find(requirement)
|
|
635
|
+
|
|
636
|
+
if not dist and local_index is not None:
|
|
637
|
+
dist = find(requirement, local_index)
|
|
638
|
+
|
|
639
|
+
if dist is None:
|
|
640
|
+
if self.to_scan is not None:
|
|
641
|
+
self.prescan()
|
|
642
|
+
dist = find(requirement)
|
|
643
|
+
|
|
644
|
+
if dist is None and not force_scan:
|
|
645
|
+
self.find_packages(requirement)
|
|
646
|
+
dist = find(requirement)
|
|
647
|
+
|
|
648
|
+
if dist is None:
|
|
649
|
+
self.warn(
|
|
650
|
+
"No local packages or working download links found for %s%s",
|
|
651
|
+
(source and "a source distribution of " or ""),
|
|
652
|
+
requirement,
|
|
653
|
+
)
|
|
654
|
+
else:
|
|
655
|
+
self.info("Best match: %s", dist)
|
|
656
|
+
return dist.clone(location=dist.download_location)
|
|
657
|
+
|
|
658
|
+
def fetch(self, requirement, tmpdir, force_scan=False, source=False):
|
|
659
|
+
"""Obtain a file suitable for fulfilling `requirement`
|
|
660
|
+
|
|
661
|
+
DEPRECATED; use the ``fetch_distribution()`` method now instead. For
|
|
662
|
+
backward compatibility, this routine is identical but returns the
|
|
663
|
+
``location`` of the downloaded distribution instead of a distribution
|
|
664
|
+
object.
|
|
665
|
+
"""
|
|
666
|
+
dist = self.fetch_distribution(requirement, tmpdir, force_scan, source)
|
|
667
|
+
if dist is not None:
|
|
668
|
+
return dist.location
|
|
669
|
+
return None
|
|
670
|
+
|
|
671
|
+
def gen_setup(self, filename, fragment, tmpdir):
|
|
672
|
+
match = EGG_FRAGMENT.match(fragment)
|
|
673
|
+
dists = match and [
|
|
674
|
+
d for d in
|
|
675
|
+
interpret_distro_name(filename, match.group(1), None) if d.version
|
|
676
|
+
] or []
|
|
677
|
+
|
|
678
|
+
if len(dists) == 1: # unambiguous ``#egg`` fragment
|
|
679
|
+
basename = os.path.basename(filename)
|
|
680
|
+
|
|
681
|
+
# Make sure the file has been downloaded to the temp dir.
|
|
682
|
+
if os.path.dirname(filename) != tmpdir:
|
|
683
|
+
dst = os.path.join(tmpdir, basename)
|
|
684
|
+
from setuptools.command.easy_install import samefile
|
|
685
|
+
if not samefile(filename, dst):
|
|
686
|
+
shutil.copy2(filename, dst)
|
|
687
|
+
filename = dst
|
|
688
|
+
|
|
689
|
+
with open(os.path.join(tmpdir, 'setup.py'), 'w') as file:
|
|
690
|
+
file.write(
|
|
691
|
+
"from setuptools import setup\n"
|
|
692
|
+
"setup(name=%r, version=%r, py_modules=[%r])\n"
|
|
693
|
+
% (
|
|
694
|
+
dists[0].project_name, dists[0].version,
|
|
695
|
+
os.path.splitext(basename)[0]
|
|
696
|
+
)
|
|
697
|
+
)
|
|
698
|
+
return filename
|
|
699
|
+
|
|
700
|
+
elif match:
|
|
701
|
+
raise DistutilsError(
|
|
702
|
+
"Can't unambiguously interpret project/version identifier %r; "
|
|
703
|
+
"any dashes in the name or version should be escaped using "
|
|
704
|
+
"underscores. %r" % (fragment, dists)
|
|
705
|
+
)
|
|
706
|
+
else:
|
|
707
|
+
raise DistutilsError(
|
|
708
|
+
"Can't process plain .py files without an '#egg=name-version'"
|
|
709
|
+
" suffix to enable automatic setup script generation."
|
|
710
|
+
)
|
|
711
|
+
|
|
712
|
+
dl_blocksize = 8192
|
|
713
|
+
|
|
714
|
+
def _download_to(self, url, filename):
|
|
715
|
+
self.info("Downloading %s", url)
|
|
716
|
+
# Download the file
|
|
717
|
+
fp = None
|
|
718
|
+
try:
|
|
719
|
+
checker = HashChecker.from_url(url)
|
|
720
|
+
fp = self.open_url(url)
|
|
721
|
+
if isinstance(fp, urllib.error.HTTPError):
|
|
722
|
+
raise DistutilsError(
|
|
723
|
+
"Can't download %s: %s %s" % (url, fp.code, fp.msg)
|
|
724
|
+
)
|
|
725
|
+
headers = fp.info()
|
|
726
|
+
blocknum = 0
|
|
727
|
+
bs = self.dl_blocksize
|
|
728
|
+
size = -1
|
|
729
|
+
if "content-length" in headers:
|
|
730
|
+
# Some servers return multiple Content-Length headers :(
|
|
731
|
+
sizes = headers.get_all('Content-Length')
|
|
732
|
+
size = max(map(int, sizes))
|
|
733
|
+
self.reporthook(url, filename, blocknum, bs, size)
|
|
734
|
+
with open(filename, 'wb') as tfp:
|
|
735
|
+
while True:
|
|
736
|
+
block = fp.read(bs)
|
|
737
|
+
if block:
|
|
738
|
+
checker.feed(block)
|
|
739
|
+
tfp.write(block)
|
|
740
|
+
blocknum += 1
|
|
741
|
+
self.reporthook(url, filename, blocknum, bs, size)
|
|
742
|
+
else:
|
|
743
|
+
break
|
|
744
|
+
self.check_hash(checker, filename, tfp)
|
|
745
|
+
return headers
|
|
746
|
+
finally:
|
|
747
|
+
if fp:
|
|
748
|
+
fp.close()
|
|
749
|
+
|
|
750
|
+
def reporthook(self, url, filename, blocknum, blksize, size):
|
|
751
|
+
pass # no-op
|
|
752
|
+
|
|
753
|
+
# FIXME:
|
|
754
|
+
def open_url(self, url, warning=None): # noqa: C901 # is too complex (12)
|
|
755
|
+
if url.startswith('file:'):
|
|
756
|
+
return local_open(url)
|
|
757
|
+
try:
|
|
758
|
+
return open_with_auth(url, self.opener)
|
|
759
|
+
except (ValueError, http.client.InvalidURL) as v:
|
|
760
|
+
msg = ' '.join([str(arg) for arg in v.args])
|
|
761
|
+
if warning:
|
|
762
|
+
self.warn(warning, msg)
|
|
763
|
+
else:
|
|
764
|
+
raise DistutilsError('%s %s' % (url, msg)) from v
|
|
765
|
+
except urllib.error.HTTPError as v:
|
|
766
|
+
return v
|
|
767
|
+
except urllib.error.URLError as v:
|
|
768
|
+
if warning:
|
|
769
|
+
self.warn(warning, v.reason)
|
|
770
|
+
else:
|
|
771
|
+
raise DistutilsError("Download error for %s: %s"
|
|
772
|
+
% (url, v.reason)) from v
|
|
773
|
+
except http.client.BadStatusLine as v:
|
|
774
|
+
if warning:
|
|
775
|
+
self.warn(warning, v.line)
|
|
776
|
+
else:
|
|
777
|
+
raise DistutilsError(
|
|
778
|
+
'%s returned a bad status line. The server might be '
|
|
779
|
+
'down, %s' %
|
|
780
|
+
(url, v.line)
|
|
781
|
+
) from v
|
|
782
|
+
except (http.client.HTTPException, socket.error) as v:
|
|
783
|
+
if warning:
|
|
784
|
+
self.warn(warning, v)
|
|
785
|
+
else:
|
|
786
|
+
raise DistutilsError("Download error for %s: %s"
|
|
787
|
+
% (url, v)) from v
|
|
788
|
+
|
|
789
|
+
def _download_url(self, url, tmpdir):
|
|
790
|
+
# Determine download filename
|
|
791
|
+
#
|
|
792
|
+
name, fragment = egg_info_for_url(url)
|
|
793
|
+
if name:
|
|
794
|
+
while '..' in name:
|
|
795
|
+
name = name.replace('..', '.').replace('\\', '_')
|
|
796
|
+
else:
|
|
797
|
+
name = "__downloaded__" # default if URL has no path contents
|
|
798
|
+
|
|
799
|
+
if name.endswith('.egg.zip'):
|
|
800
|
+
name = name[:-4] # strip the extra .zip before download
|
|
801
|
+
|
|
802
|
+
filename = os.path.join(tmpdir, name)
|
|
803
|
+
|
|
804
|
+
return self._download_vcs(url, filename) or self._download_other(url, filename)
|
|
805
|
+
|
|
806
|
+
@staticmethod
|
|
807
|
+
def _resolve_vcs(url):
|
|
808
|
+
"""
|
|
809
|
+
>>> rvcs = PackageIndex._resolve_vcs
|
|
810
|
+
>>> rvcs('git+http://foo/bar')
|
|
811
|
+
'git'
|
|
812
|
+
>>> rvcs('hg+https://foo/bar')
|
|
813
|
+
'hg'
|
|
814
|
+
>>> rvcs('git:myhost')
|
|
815
|
+
'git'
|
|
816
|
+
>>> rvcs('hg:myhost')
|
|
817
|
+
>>> rvcs('http://foo/bar')
|
|
818
|
+
"""
|
|
819
|
+
scheme = urllib.parse.urlsplit(url).scheme
|
|
820
|
+
pre, sep, post = scheme.partition('+')
|
|
821
|
+
# svn and git have their own protocol; hg does not
|
|
822
|
+
allowed = set(['svn', 'git'] + ['hg'] * bool(sep))
|
|
823
|
+
return next(iter({pre} & allowed), None)
|
|
824
|
+
|
|
825
|
+
def _download_vcs(self, url, spec_filename):
|
|
826
|
+
vcs = self._resolve_vcs(url)
|
|
827
|
+
if not vcs:
|
|
828
|
+
return
|
|
829
|
+
if vcs == 'svn':
|
|
830
|
+
return self._download_svn(url, spec_filename)
|
|
831
|
+
|
|
832
|
+
filename, _, _ = spec_filename.partition('#')
|
|
833
|
+
url, rev = self._vcs_split_rev_from_url(url)
|
|
834
|
+
|
|
835
|
+
self.info(f"Doing {vcs} clone from {url} to {filename}")
|
|
836
|
+
subprocess.check_call([vcs, 'clone', '--quiet', url, filename])
|
|
837
|
+
|
|
838
|
+
co_commands = dict(
|
|
839
|
+
git=[vcs, '-C', filename, 'checkout', '--quiet', rev],
|
|
840
|
+
hg=[vcs, '--cwd', filename, 'up', '-C', '-r', rev, '-q'],
|
|
841
|
+
)
|
|
842
|
+
if rev is not None:
|
|
843
|
+
self.info(f"Checking out {rev}")
|
|
844
|
+
subprocess.check_call(co_commands[vcs])
|
|
845
|
+
|
|
846
|
+
return filename
|
|
847
|
+
|
|
848
|
+
def _download_other(self, url, filename):
|
|
849
|
+
scheme = urllib.parse.urlsplit(url).scheme
|
|
850
|
+
if scheme == 'file': # pragma: no cover
|
|
851
|
+
return urllib.request.url2pathname(urllib.parse.urlparse(url).path)
|
|
852
|
+
# raise error if not allowed
|
|
853
|
+
self.url_ok(url, True)
|
|
854
|
+
return self._attempt_download(url, filename)
|
|
855
|
+
|
|
856
|
+
def scan_url(self, url):
|
|
857
|
+
self.process_url(url, True)
|
|
858
|
+
|
|
859
|
+
def _attempt_download(self, url, filename):
|
|
860
|
+
headers = self._download_to(url, filename)
|
|
861
|
+
if 'html' in headers.get('content-type', '').lower():
|
|
862
|
+
return self._download_html(url, headers, filename)
|
|
863
|
+
else:
|
|
864
|
+
return filename
|
|
865
|
+
|
|
866
|
+
def _download_html(self, url, headers, filename):
|
|
867
|
+
file = open(filename)
|
|
868
|
+
for line in file:
|
|
869
|
+
if line.strip():
|
|
870
|
+
# Check for a subversion index page
|
|
871
|
+
if re.search(r'<title>([^- ]+ - )?Revision \d+:', line):
|
|
872
|
+
# it's a subversion index page:
|
|
873
|
+
file.close()
|
|
874
|
+
os.unlink(filename)
|
|
875
|
+
return self._download_svn(url, filename)
|
|
876
|
+
break # not an index page
|
|
877
|
+
file.close()
|
|
878
|
+
os.unlink(filename)
|
|
879
|
+
raise DistutilsError("Unexpected HTML page found at " + url)
|
|
880
|
+
|
|
881
|
+
def _download_svn(self, url, filename):
|
|
882
|
+
warnings.warn("SVN download support is deprecated", UserWarning)
|
|
883
|
+
url = url.split('#', 1)[0] # remove any fragment for svn's sake
|
|
884
|
+
creds = []
|
|
885
|
+
if url.lower().startswith('svn:') and '@' in url:
|
|
886
|
+
scheme, netloc, path, p, q, f = urllib.parse.urlparse(url)
|
|
887
|
+
if not netloc and path.startswith('//') and '/' in path[2:]:
|
|
888
|
+
netloc, path = path[2:].split('/', 1)
|
|
889
|
+
auth, host = _splituser(netloc)
|
|
890
|
+
if auth:
|
|
891
|
+
if ':' in auth:
|
|
892
|
+
user, pw = auth.split(':', 1)
|
|
893
|
+
creds.extend(["--username", user, "--password", pw])
|
|
894
|
+
else:
|
|
895
|
+
creds.extend(["--username", auth])
|
|
896
|
+
netloc = host
|
|
897
|
+
parts = scheme, netloc, url, p, q, f
|
|
898
|
+
url = urllib.parse.urlunparse(parts)
|
|
899
|
+
self.info("Doing subversion checkout from %s to %s", url, filename)
|
|
900
|
+
cmd = ["svn", "checkout", "-q"] + creds + [url, filename]
|
|
901
|
+
subprocess.check_call(cmd)
|
|
902
|
+
|
|
903
|
+
return filename
|
|
904
|
+
|
|
905
|
+
@staticmethod
|
|
906
|
+
def _vcs_split_rev_from_url(url):
|
|
907
|
+
"""
|
|
908
|
+
Given a possible VCS URL, return a clean URL and resolved revision if any.
|
|
909
|
+
|
|
910
|
+
>>> vsrfu = PackageIndex._vcs_split_rev_from_url
|
|
911
|
+
>>> vsrfu('git+https://github.com/pypa/setuptools@v69.0.0#egg-info=setuptools')
|
|
912
|
+
('https://github.com/pypa/setuptools', 'v69.0.0')
|
|
913
|
+
>>> vsrfu('git+https://github.com/pypa/setuptools#egg-info=setuptools')
|
|
914
|
+
('https://github.com/pypa/setuptools', None)
|
|
915
|
+
>>> vsrfu('http://foo/bar')
|
|
916
|
+
('http://foo/bar', None)
|
|
917
|
+
"""
|
|
918
|
+
parts = urllib.parse.urlsplit(url)
|
|
919
|
+
|
|
920
|
+
clean_scheme = parts.scheme.split('+', 1)[-1]
|
|
921
|
+
|
|
922
|
+
# Some fragment identification fails
|
|
923
|
+
no_fragment_path, _, _ = parts.path.partition('#')
|
|
924
|
+
|
|
925
|
+
pre, sep, post = no_fragment_path.rpartition('@')
|
|
926
|
+
clean_path, rev = (pre, post) if sep else (post, None)
|
|
927
|
+
|
|
928
|
+
resolved = parts._replace(
|
|
929
|
+
scheme=clean_scheme,
|
|
930
|
+
path=clean_path,
|
|
931
|
+
# discard the fragment
|
|
932
|
+
fragment='',
|
|
933
|
+
).geturl()
|
|
934
|
+
|
|
935
|
+
return resolved, rev
|
|
936
|
+
|
|
937
|
+
def debug(self, msg, *args):
|
|
938
|
+
log.debug(msg, *args)
|
|
939
|
+
|
|
940
|
+
def info(self, msg, *args):
|
|
941
|
+
log.info(msg, *args)
|
|
942
|
+
|
|
943
|
+
def warn(self, msg, *args):
|
|
944
|
+
log.warn(msg, *args)
|
|
945
|
+
|
|
946
|
+
|
|
947
|
+
# This pattern matches a character entity reference (a decimal numeric
|
|
948
|
+
# references, a hexadecimal numeric reference, or a named reference).
|
|
949
|
+
entity_sub = re.compile(r'&(#(\d+|x[\da-fA-F]+)|[\w.:-]+);?').sub
|
|
950
|
+
|
|
951
|
+
|
|
952
|
+
def decode_entity(match):
|
|
953
|
+
what = match.group(0)
|
|
954
|
+
return html.unescape(what)
|
|
955
|
+
|
|
956
|
+
|
|
957
|
+
def htmldecode(text):
|
|
958
|
+
"""
|
|
959
|
+
Decode HTML entities in the given text.
|
|
960
|
+
|
|
961
|
+
>>> htmldecode(
|
|
962
|
+
... 'https://../package_name-0.1.2.tar.gz'
|
|
963
|
+
... '?tokena=A&tokenb=B">package_name-0.1.2.tar.gz')
|
|
964
|
+
'https://../package_name-0.1.2.tar.gz?tokena=A&tokenb=B">package_name-0.1.2.tar.gz'
|
|
965
|
+
"""
|
|
966
|
+
return entity_sub(decode_entity, text)
|
|
967
|
+
|
|
968
|
+
|
|
969
|
+
def socket_timeout(timeout=15):
|
|
970
|
+
def _socket_timeout(func):
|
|
971
|
+
def _socket_timeout(*args, **kwargs):
|
|
972
|
+
old_timeout = socket.getdefaulttimeout()
|
|
973
|
+
socket.setdefaulttimeout(timeout)
|
|
974
|
+
try:
|
|
975
|
+
return func(*args, **kwargs)
|
|
976
|
+
finally:
|
|
977
|
+
socket.setdefaulttimeout(old_timeout)
|
|
978
|
+
|
|
979
|
+
return _socket_timeout
|
|
980
|
+
|
|
981
|
+
return _socket_timeout
|
|
982
|
+
|
|
983
|
+
|
|
984
|
+
def _encode_auth(auth):
|
|
985
|
+
"""
|
|
986
|
+
Encode auth from a URL suitable for an HTTP header.
|
|
987
|
+
>>> str(_encode_auth('username%3Apassword'))
|
|
988
|
+
'dXNlcm5hbWU6cGFzc3dvcmQ='
|
|
989
|
+
|
|
990
|
+
Long auth strings should not cause a newline to be inserted.
|
|
991
|
+
>>> long_auth = 'username:' + 'password'*10
|
|
992
|
+
>>> chr(10) in str(_encode_auth(long_auth))
|
|
993
|
+
False
|
|
994
|
+
"""
|
|
995
|
+
auth_s = urllib.parse.unquote(auth)
|
|
996
|
+
# convert to bytes
|
|
997
|
+
auth_bytes = auth_s.encode()
|
|
998
|
+
encoded_bytes = base64.b64encode(auth_bytes)
|
|
999
|
+
# convert back to a string
|
|
1000
|
+
encoded = encoded_bytes.decode()
|
|
1001
|
+
# strip the trailing carriage return
|
|
1002
|
+
return encoded.replace('\n', '')
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
class Credential:
|
|
1006
|
+
"""
|
|
1007
|
+
A username/password pair. Use like a namedtuple.
|
|
1008
|
+
"""
|
|
1009
|
+
|
|
1010
|
+
def __init__(self, username, password):
|
|
1011
|
+
self.username = username
|
|
1012
|
+
self.password = password
|
|
1013
|
+
|
|
1014
|
+
def __iter__(self):
|
|
1015
|
+
yield self.username
|
|
1016
|
+
yield self.password
|
|
1017
|
+
|
|
1018
|
+
def __str__(self):
|
|
1019
|
+
return '%(username)s:%(password)s' % vars(self)
|
|
1020
|
+
|
|
1021
|
+
|
|
1022
|
+
class PyPIConfig(configparser.RawConfigParser):
|
|
1023
|
+
def __init__(self):
|
|
1024
|
+
"""
|
|
1025
|
+
Load from ~/.pypirc
|
|
1026
|
+
"""
|
|
1027
|
+
defaults = dict.fromkeys(['username', 'password', 'repository'], '')
|
|
1028
|
+
configparser.RawConfigParser.__init__(self, defaults)
|
|
1029
|
+
|
|
1030
|
+
rc = os.path.join(os.path.expanduser('~'), '.pypirc')
|
|
1031
|
+
if os.path.exists(rc):
|
|
1032
|
+
self.read(rc)
|
|
1033
|
+
|
|
1034
|
+
@property
|
|
1035
|
+
def creds_by_repository(self):
|
|
1036
|
+
sections_with_repositories = [
|
|
1037
|
+
section for section in self.sections()
|
|
1038
|
+
if self.get(section, 'repository').strip()
|
|
1039
|
+
]
|
|
1040
|
+
|
|
1041
|
+
return dict(map(self._get_repo_cred, sections_with_repositories))
|
|
1042
|
+
|
|
1043
|
+
def _get_repo_cred(self, section):
|
|
1044
|
+
repo = self.get(section, 'repository').strip()
|
|
1045
|
+
return repo, Credential(
|
|
1046
|
+
self.get(section, 'username').strip(),
|
|
1047
|
+
self.get(section, 'password').strip(),
|
|
1048
|
+
)
|
|
1049
|
+
|
|
1050
|
+
def find_credential(self, url):
|
|
1051
|
+
"""
|
|
1052
|
+
If the URL indicated appears to be a repository defined in this
|
|
1053
|
+
config, return the credential for that repository.
|
|
1054
|
+
"""
|
|
1055
|
+
for repository, cred in self.creds_by_repository.items():
|
|
1056
|
+
if url.startswith(repository):
|
|
1057
|
+
return cred
|
|
1058
|
+
|
|
1059
|
+
|
|
1060
|
+
def open_with_auth(url, opener=urllib.request.urlopen):
|
|
1061
|
+
"""Open a urllib2 request, handling HTTP authentication"""
|
|
1062
|
+
|
|
1063
|
+
parsed = urllib.parse.urlparse(url)
|
|
1064
|
+
scheme, netloc, path, params, query, frag = parsed
|
|
1065
|
+
|
|
1066
|
+
# Double scheme does not raise on macOS as revealed by a
|
|
1067
|
+
# failing test. We would expect "nonnumeric port". Refs #20.
|
|
1068
|
+
if netloc.endswith(':'):
|
|
1069
|
+
raise http.client.InvalidURL("nonnumeric port: ''")
|
|
1070
|
+
|
|
1071
|
+
if scheme in ('http', 'https'):
|
|
1072
|
+
auth, address = _splituser(netloc)
|
|
1073
|
+
else:
|
|
1074
|
+
auth = None
|
|
1075
|
+
|
|
1076
|
+
if not auth:
|
|
1077
|
+
cred = PyPIConfig().find_credential(url)
|
|
1078
|
+
if cred:
|
|
1079
|
+
auth = str(cred)
|
|
1080
|
+
info = cred.username, url
|
|
1081
|
+
log.info('Authenticating as %s for %s (from .pypirc)', *info)
|
|
1082
|
+
|
|
1083
|
+
if auth:
|
|
1084
|
+
auth = "Basic " + _encode_auth(auth)
|
|
1085
|
+
parts = scheme, address, path, params, query, frag
|
|
1086
|
+
new_url = urllib.parse.urlunparse(parts)
|
|
1087
|
+
request = urllib.request.Request(new_url)
|
|
1088
|
+
request.add_header("Authorization", auth)
|
|
1089
|
+
else:
|
|
1090
|
+
request = urllib.request.Request(url)
|
|
1091
|
+
|
|
1092
|
+
request.add_header('User-Agent', user_agent)
|
|
1093
|
+
fp = opener(request)
|
|
1094
|
+
|
|
1095
|
+
if auth:
|
|
1096
|
+
# Put authentication info back into request URL if same host,
|
|
1097
|
+
# so that links found on the page will work
|
|
1098
|
+
s2, h2, path2, param2, query2, frag2 = urllib.parse.urlparse(fp.url)
|
|
1099
|
+
if s2 == scheme and h2 == address:
|
|
1100
|
+
parts = s2, netloc, path2, param2, query2, frag2
|
|
1101
|
+
fp.url = urllib.parse.urlunparse(parts)
|
|
1102
|
+
|
|
1103
|
+
return fp
|
|
1104
|
+
|
|
1105
|
+
|
|
1106
|
+
# copy of urllib.parse._splituser from Python 3.8
|
|
1107
|
+
def _splituser(host):
|
|
1108
|
+
"""splituser('user[:passwd]@host[:port]')
|
|
1109
|
+
--> 'user[:passwd]', 'host[:port]'."""
|
|
1110
|
+
user, delim, host = host.rpartition('@')
|
|
1111
|
+
return (user if delim else None), host
|
|
1112
|
+
|
|
1113
|
+
|
|
1114
|
+
# adding a timeout to avoid freezing package_index
|
|
1115
|
+
open_with_auth = socket_timeout(_SOCKET_TIMEOUT)(open_with_auth)
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
def fix_sf_url(url):
|
|
1119
|
+
return url # backward compatibility
|
|
1120
|
+
|
|
1121
|
+
|
|
1122
|
+
def local_open(url):
|
|
1123
|
+
"""Read a local path, with special support for directories"""
|
|
1124
|
+
scheme, server, path, param, query, frag = urllib.parse.urlparse(url)
|
|
1125
|
+
filename = urllib.request.url2pathname(path)
|
|
1126
|
+
if os.path.isfile(filename):
|
|
1127
|
+
return urllib.request.urlopen(url)
|
|
1128
|
+
elif path.endswith('/') and os.path.isdir(filename):
|
|
1129
|
+
files = []
|
|
1130
|
+
for f in os.listdir(filename):
|
|
1131
|
+
filepath = os.path.join(filename, f)
|
|
1132
|
+
if f == 'index.html':
|
|
1133
|
+
with open(filepath, 'r') as fp:
|
|
1134
|
+
body = fp.read()
|
|
1135
|
+
break
|
|
1136
|
+
elif os.path.isdir(filepath):
|
|
1137
|
+
f += '/'
|
|
1138
|
+
files.append('<a href="{name}">{name}</a>'.format(name=f))
|
|
1139
|
+
else:
|
|
1140
|
+
tmpl = (
|
|
1141
|
+
"<html><head><title>{url}</title>"
|
|
1142
|
+
"</head><body>{files}</body></html>")
|
|
1143
|
+
body = tmpl.format(url=url, files='\n'.join(files))
|
|
1144
|
+
status, message = 200, "OK"
|
|
1145
|
+
else:
|
|
1146
|
+
status, message, body = 404, "Path not found", "Not found"
|
|
1147
|
+
|
|
1148
|
+
headers = {'content-type': 'text/html'}
|
|
1149
|
+
body_stream = io.StringIO(body)
|
|
1150
|
+
return urllib.error.HTTPError(url, status, message, headers, body_stream)
|