@scrypted/arlo 0.11.25 → 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 +0 -2
- 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,1188 @@
|
|
|
1
|
+
"""
|
|
2
|
+
pygments.lexers.python
|
|
3
|
+
~~~~~~~~~~~~~~~~~~~~~~
|
|
4
|
+
|
|
5
|
+
Lexers for Python and related languages.
|
|
6
|
+
|
|
7
|
+
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
|
8
|
+
:license: BSD, see LICENSE for details.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
import re
|
|
12
|
+
import keyword
|
|
13
|
+
|
|
14
|
+
from pip._vendor.pygments.lexer import Lexer, RegexLexer, include, bygroups, using, \
|
|
15
|
+
default, words, combined, do_insertions, this
|
|
16
|
+
from pip._vendor.pygments.util import get_bool_opt, shebang_matches
|
|
17
|
+
from pip._vendor.pygments.token import Text, Comment, Operator, Keyword, Name, String, \
|
|
18
|
+
Number, Punctuation, Generic, Other, Error
|
|
19
|
+
from pip._vendor.pygments import unistring as uni
|
|
20
|
+
|
|
21
|
+
__all__ = ['PythonLexer', 'PythonConsoleLexer', 'PythonTracebackLexer',
|
|
22
|
+
'Python2Lexer', 'Python2TracebackLexer',
|
|
23
|
+
'CythonLexer', 'DgLexer', 'NumPyLexer']
|
|
24
|
+
|
|
25
|
+
line_re = re.compile('.*?\n')
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class PythonLexer(RegexLexer):
|
|
29
|
+
"""
|
|
30
|
+
For `Python <http://www.python.org>`_ source code (version 3.x).
|
|
31
|
+
|
|
32
|
+
.. versionadded:: 0.10
|
|
33
|
+
|
|
34
|
+
.. versionchanged:: 2.5
|
|
35
|
+
This is now the default ``PythonLexer``. It is still available as the
|
|
36
|
+
alias ``Python3Lexer``.
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
name = 'Python'
|
|
40
|
+
aliases = ['python', 'py', 'sage', 'python3', 'py3']
|
|
41
|
+
filenames = [
|
|
42
|
+
'*.py',
|
|
43
|
+
'*.pyw',
|
|
44
|
+
# Jython
|
|
45
|
+
'*.jy',
|
|
46
|
+
# Sage
|
|
47
|
+
'*.sage',
|
|
48
|
+
# SCons
|
|
49
|
+
'*.sc',
|
|
50
|
+
'SConstruct',
|
|
51
|
+
'SConscript',
|
|
52
|
+
# Skylark/Starlark (used by Bazel, Buck, and Pants)
|
|
53
|
+
'*.bzl',
|
|
54
|
+
'BUCK',
|
|
55
|
+
'BUILD',
|
|
56
|
+
'BUILD.bazel',
|
|
57
|
+
'WORKSPACE',
|
|
58
|
+
# Twisted Application infrastructure
|
|
59
|
+
'*.tac',
|
|
60
|
+
]
|
|
61
|
+
mimetypes = ['text/x-python', 'application/x-python',
|
|
62
|
+
'text/x-python3', 'application/x-python3']
|
|
63
|
+
|
|
64
|
+
flags = re.MULTILINE | re.UNICODE
|
|
65
|
+
|
|
66
|
+
uni_name = "[%s][%s]*" % (uni.xid_start, uni.xid_continue)
|
|
67
|
+
|
|
68
|
+
def innerstring_rules(ttype):
|
|
69
|
+
return [
|
|
70
|
+
# the old style '%s' % (...) string formatting (still valid in Py3)
|
|
71
|
+
(r'%(\(\w+\))?[-#0 +]*([0-9]+|[*])?(\.([0-9]+|[*]))?'
|
|
72
|
+
'[hlL]?[E-GXc-giorsaux%]', String.Interpol),
|
|
73
|
+
# the new style '{}'.format(...) string formatting
|
|
74
|
+
(r'\{'
|
|
75
|
+
r'((\w+)((\.\w+)|(\[[^\]]+\]))*)?' # field name
|
|
76
|
+
r'(\![sra])?' # conversion
|
|
77
|
+
r'(\:(.?[<>=\^])?[-+ ]?#?0?(\d+)?,?(\.\d+)?[E-GXb-gnosx%]?)?'
|
|
78
|
+
r'\}', String.Interpol),
|
|
79
|
+
|
|
80
|
+
# backslashes, quotes and formatting signs must be parsed one at a time
|
|
81
|
+
(r'[^\\\'"%{\n]+', ttype),
|
|
82
|
+
(r'[\'"\\]', ttype),
|
|
83
|
+
# unhandled string formatting sign
|
|
84
|
+
(r'%|(\{{1,2})', ttype)
|
|
85
|
+
# newlines are an error (use "nl" state)
|
|
86
|
+
]
|
|
87
|
+
|
|
88
|
+
def fstring_rules(ttype):
|
|
89
|
+
return [
|
|
90
|
+
# Assuming that a '}' is the closing brace after format specifier.
|
|
91
|
+
# Sadly, this means that we won't detect syntax error. But it's
|
|
92
|
+
# more important to parse correct syntax correctly, than to
|
|
93
|
+
# highlight invalid syntax.
|
|
94
|
+
(r'\}', String.Interpol),
|
|
95
|
+
(r'\{', String.Interpol, 'expr-inside-fstring'),
|
|
96
|
+
# backslashes, quotes and formatting signs must be parsed one at a time
|
|
97
|
+
(r'[^\\\'"{}\n]+', ttype),
|
|
98
|
+
(r'[\'"\\]', ttype),
|
|
99
|
+
# newlines are an error (use "nl" state)
|
|
100
|
+
]
|
|
101
|
+
|
|
102
|
+
tokens = {
|
|
103
|
+
'root': [
|
|
104
|
+
(r'\n', Text),
|
|
105
|
+
(r'^(\s*)([rRuUbB]{,2})("""(?:.|\n)*?""")',
|
|
106
|
+
bygroups(Text, String.Affix, String.Doc)),
|
|
107
|
+
(r"^(\s*)([rRuUbB]{,2})('''(?:.|\n)*?''')",
|
|
108
|
+
bygroups(Text, String.Affix, String.Doc)),
|
|
109
|
+
(r'\A#!.+$', Comment.Hashbang),
|
|
110
|
+
(r'#.*$', Comment.Single),
|
|
111
|
+
(r'\\\n', Text),
|
|
112
|
+
(r'\\', Text),
|
|
113
|
+
include('keywords'),
|
|
114
|
+
include('soft-keywords'),
|
|
115
|
+
(r'(def)((?:\s|\\\s)+)', bygroups(Keyword, Text), 'funcname'),
|
|
116
|
+
(r'(class)((?:\s|\\\s)+)', bygroups(Keyword, Text), 'classname'),
|
|
117
|
+
(r'(from)((?:\s|\\\s)+)', bygroups(Keyword.Namespace, Text),
|
|
118
|
+
'fromimport'),
|
|
119
|
+
(r'(import)((?:\s|\\\s)+)', bygroups(Keyword.Namespace, Text),
|
|
120
|
+
'import'),
|
|
121
|
+
include('expr'),
|
|
122
|
+
],
|
|
123
|
+
'expr': [
|
|
124
|
+
# raw f-strings
|
|
125
|
+
('(?i)(rf|fr)(""")',
|
|
126
|
+
bygroups(String.Affix, String.Double),
|
|
127
|
+
combined('rfstringescape', 'tdqf')),
|
|
128
|
+
("(?i)(rf|fr)(''')",
|
|
129
|
+
bygroups(String.Affix, String.Single),
|
|
130
|
+
combined('rfstringescape', 'tsqf')),
|
|
131
|
+
('(?i)(rf|fr)(")',
|
|
132
|
+
bygroups(String.Affix, String.Double),
|
|
133
|
+
combined('rfstringescape', 'dqf')),
|
|
134
|
+
("(?i)(rf|fr)(')",
|
|
135
|
+
bygroups(String.Affix, String.Single),
|
|
136
|
+
combined('rfstringescape', 'sqf')),
|
|
137
|
+
# non-raw f-strings
|
|
138
|
+
('([fF])(""")', bygroups(String.Affix, String.Double),
|
|
139
|
+
combined('fstringescape', 'tdqf')),
|
|
140
|
+
("([fF])(''')", bygroups(String.Affix, String.Single),
|
|
141
|
+
combined('fstringescape', 'tsqf')),
|
|
142
|
+
('([fF])(")', bygroups(String.Affix, String.Double),
|
|
143
|
+
combined('fstringescape', 'dqf')),
|
|
144
|
+
("([fF])(')", bygroups(String.Affix, String.Single),
|
|
145
|
+
combined('fstringescape', 'sqf')),
|
|
146
|
+
# raw strings
|
|
147
|
+
('(?i)(rb|br|r)(""")',
|
|
148
|
+
bygroups(String.Affix, String.Double), 'tdqs'),
|
|
149
|
+
("(?i)(rb|br|r)(''')",
|
|
150
|
+
bygroups(String.Affix, String.Single), 'tsqs'),
|
|
151
|
+
('(?i)(rb|br|r)(")',
|
|
152
|
+
bygroups(String.Affix, String.Double), 'dqs'),
|
|
153
|
+
("(?i)(rb|br|r)(')",
|
|
154
|
+
bygroups(String.Affix, String.Single), 'sqs'),
|
|
155
|
+
# non-raw strings
|
|
156
|
+
('([uUbB]?)(""")', bygroups(String.Affix, String.Double),
|
|
157
|
+
combined('stringescape', 'tdqs')),
|
|
158
|
+
("([uUbB]?)(''')", bygroups(String.Affix, String.Single),
|
|
159
|
+
combined('stringescape', 'tsqs')),
|
|
160
|
+
('([uUbB]?)(")', bygroups(String.Affix, String.Double),
|
|
161
|
+
combined('stringescape', 'dqs')),
|
|
162
|
+
("([uUbB]?)(')", bygroups(String.Affix, String.Single),
|
|
163
|
+
combined('stringescape', 'sqs')),
|
|
164
|
+
(r'[^\S\n]+', Text),
|
|
165
|
+
include('numbers'),
|
|
166
|
+
(r'!=|==|<<|>>|:=|[-~+/*%=<>&^|.]', Operator),
|
|
167
|
+
(r'[]{}:(),;[]', Punctuation),
|
|
168
|
+
(r'(in|is|and|or|not)\b', Operator.Word),
|
|
169
|
+
include('expr-keywords'),
|
|
170
|
+
include('builtins'),
|
|
171
|
+
include('magicfuncs'),
|
|
172
|
+
include('magicvars'),
|
|
173
|
+
include('name'),
|
|
174
|
+
],
|
|
175
|
+
'expr-inside-fstring': [
|
|
176
|
+
(r'[{([]', Punctuation, 'expr-inside-fstring-inner'),
|
|
177
|
+
# without format specifier
|
|
178
|
+
(r'(=\s*)?' # debug (https://bugs.python.org/issue36817)
|
|
179
|
+
r'(\![sraf])?' # conversion
|
|
180
|
+
r'\}', String.Interpol, '#pop'),
|
|
181
|
+
# with format specifier
|
|
182
|
+
# we'll catch the remaining '}' in the outer scope
|
|
183
|
+
(r'(=\s*)?' # debug (https://bugs.python.org/issue36817)
|
|
184
|
+
r'(\![sraf])?' # conversion
|
|
185
|
+
r':', String.Interpol, '#pop'),
|
|
186
|
+
(r'\s+', Text), # allow new lines
|
|
187
|
+
include('expr'),
|
|
188
|
+
],
|
|
189
|
+
'expr-inside-fstring-inner': [
|
|
190
|
+
(r'[{([]', Punctuation, 'expr-inside-fstring-inner'),
|
|
191
|
+
(r'[])}]', Punctuation, '#pop'),
|
|
192
|
+
(r'\s+', Text), # allow new lines
|
|
193
|
+
include('expr'),
|
|
194
|
+
],
|
|
195
|
+
'expr-keywords': [
|
|
196
|
+
# Based on https://docs.python.org/3/reference/expressions.html
|
|
197
|
+
(words((
|
|
198
|
+
'async for', 'await', 'else', 'for', 'if', 'lambda',
|
|
199
|
+
'yield', 'yield from'), suffix=r'\b'),
|
|
200
|
+
Keyword),
|
|
201
|
+
(words(('True', 'False', 'None'), suffix=r'\b'), Keyword.Constant),
|
|
202
|
+
],
|
|
203
|
+
'keywords': [
|
|
204
|
+
(words((
|
|
205
|
+
'assert', 'async', 'await', 'break', 'continue', 'del', 'elif',
|
|
206
|
+
'else', 'except', 'finally', 'for', 'global', 'if', 'lambda',
|
|
207
|
+
'pass', 'raise', 'nonlocal', 'return', 'try', 'while', 'yield',
|
|
208
|
+
'yield from', 'as', 'with'), suffix=r'\b'),
|
|
209
|
+
Keyword),
|
|
210
|
+
(words(('True', 'False', 'None'), suffix=r'\b'), Keyword.Constant),
|
|
211
|
+
],
|
|
212
|
+
'soft-keywords': [
|
|
213
|
+
# `match`, `case` and `_` soft keywords
|
|
214
|
+
(r'(^[ \t]*)' # at beginning of line + possible indentation
|
|
215
|
+
r'(match|case)\b' # a possible keyword
|
|
216
|
+
r'(?![ \t]*(?:' # not followed by...
|
|
217
|
+
r'[:,;=^&|@~)\]}]|(?:' + # characters and keywords that mean this isn't
|
|
218
|
+
r'|'.join(keyword.kwlist) + r')\b))', # pattern matching
|
|
219
|
+
bygroups(Text, Keyword), 'soft-keywords-inner'),
|
|
220
|
+
],
|
|
221
|
+
'soft-keywords-inner': [
|
|
222
|
+
# optional `_` keyword
|
|
223
|
+
(r'(\s+)([^\n_]*)(_\b)', bygroups(Text, using(this), Keyword)),
|
|
224
|
+
default('#pop')
|
|
225
|
+
],
|
|
226
|
+
'builtins': [
|
|
227
|
+
(words((
|
|
228
|
+
'__import__', 'abs', 'all', 'any', 'bin', 'bool', 'bytearray',
|
|
229
|
+
'breakpoint', 'bytes', 'chr', 'classmethod', 'compile', 'complex',
|
|
230
|
+
'delattr', 'dict', 'dir', 'divmod', 'enumerate', 'eval', 'filter',
|
|
231
|
+
'float', 'format', 'frozenset', 'getattr', 'globals', 'hasattr',
|
|
232
|
+
'hash', 'hex', 'id', 'input', 'int', 'isinstance', 'issubclass',
|
|
233
|
+
'iter', 'len', 'list', 'locals', 'map', 'max', 'memoryview',
|
|
234
|
+
'min', 'next', 'object', 'oct', 'open', 'ord', 'pow', 'print',
|
|
235
|
+
'property', 'range', 'repr', 'reversed', 'round', 'set', 'setattr',
|
|
236
|
+
'slice', 'sorted', 'staticmethod', 'str', 'sum', 'super', 'tuple',
|
|
237
|
+
'type', 'vars', 'zip'), prefix=r'(?<!\.)', suffix=r'\b'),
|
|
238
|
+
Name.Builtin),
|
|
239
|
+
(r'(?<!\.)(self|Ellipsis|NotImplemented|cls)\b', Name.Builtin.Pseudo),
|
|
240
|
+
(words((
|
|
241
|
+
'ArithmeticError', 'AssertionError', 'AttributeError',
|
|
242
|
+
'BaseException', 'BufferError', 'BytesWarning', 'DeprecationWarning',
|
|
243
|
+
'EOFError', 'EnvironmentError', 'Exception', 'FloatingPointError',
|
|
244
|
+
'FutureWarning', 'GeneratorExit', 'IOError', 'ImportError',
|
|
245
|
+
'ImportWarning', 'IndentationError', 'IndexError', 'KeyError',
|
|
246
|
+
'KeyboardInterrupt', 'LookupError', 'MemoryError', 'NameError',
|
|
247
|
+
'NotImplementedError', 'OSError', 'OverflowError',
|
|
248
|
+
'PendingDeprecationWarning', 'ReferenceError', 'ResourceWarning',
|
|
249
|
+
'RuntimeError', 'RuntimeWarning', 'StopIteration',
|
|
250
|
+
'SyntaxError', 'SyntaxWarning', 'SystemError', 'SystemExit',
|
|
251
|
+
'TabError', 'TypeError', 'UnboundLocalError', 'UnicodeDecodeError',
|
|
252
|
+
'UnicodeEncodeError', 'UnicodeError', 'UnicodeTranslateError',
|
|
253
|
+
'UnicodeWarning', 'UserWarning', 'ValueError', 'VMSError',
|
|
254
|
+
'Warning', 'WindowsError', 'ZeroDivisionError',
|
|
255
|
+
# new builtin exceptions from PEP 3151
|
|
256
|
+
'BlockingIOError', 'ChildProcessError', 'ConnectionError',
|
|
257
|
+
'BrokenPipeError', 'ConnectionAbortedError', 'ConnectionRefusedError',
|
|
258
|
+
'ConnectionResetError', 'FileExistsError', 'FileNotFoundError',
|
|
259
|
+
'InterruptedError', 'IsADirectoryError', 'NotADirectoryError',
|
|
260
|
+
'PermissionError', 'ProcessLookupError', 'TimeoutError',
|
|
261
|
+
# others new in Python 3
|
|
262
|
+
'StopAsyncIteration', 'ModuleNotFoundError', 'RecursionError'),
|
|
263
|
+
prefix=r'(?<!\.)', suffix=r'\b'),
|
|
264
|
+
Name.Exception),
|
|
265
|
+
],
|
|
266
|
+
'magicfuncs': [
|
|
267
|
+
(words((
|
|
268
|
+
'__abs__', '__add__', '__aenter__', '__aexit__', '__aiter__',
|
|
269
|
+
'__and__', '__anext__', '__await__', '__bool__', '__bytes__',
|
|
270
|
+
'__call__', '__complex__', '__contains__', '__del__', '__delattr__',
|
|
271
|
+
'__delete__', '__delitem__', '__dir__', '__divmod__', '__enter__',
|
|
272
|
+
'__eq__', '__exit__', '__float__', '__floordiv__', '__format__',
|
|
273
|
+
'__ge__', '__get__', '__getattr__', '__getattribute__',
|
|
274
|
+
'__getitem__', '__gt__', '__hash__', '__iadd__', '__iand__',
|
|
275
|
+
'__ifloordiv__', '__ilshift__', '__imatmul__', '__imod__',
|
|
276
|
+
'__imul__', '__index__', '__init__', '__instancecheck__',
|
|
277
|
+
'__int__', '__invert__', '__ior__', '__ipow__', '__irshift__',
|
|
278
|
+
'__isub__', '__iter__', '__itruediv__', '__ixor__', '__le__',
|
|
279
|
+
'__len__', '__length_hint__', '__lshift__', '__lt__', '__matmul__',
|
|
280
|
+
'__missing__', '__mod__', '__mul__', '__ne__', '__neg__',
|
|
281
|
+
'__new__', '__next__', '__or__', '__pos__', '__pow__',
|
|
282
|
+
'__prepare__', '__radd__', '__rand__', '__rdivmod__', '__repr__',
|
|
283
|
+
'__reversed__', '__rfloordiv__', '__rlshift__', '__rmatmul__',
|
|
284
|
+
'__rmod__', '__rmul__', '__ror__', '__round__', '__rpow__',
|
|
285
|
+
'__rrshift__', '__rshift__', '__rsub__', '__rtruediv__',
|
|
286
|
+
'__rxor__', '__set__', '__setattr__', '__setitem__', '__str__',
|
|
287
|
+
'__sub__', '__subclasscheck__', '__truediv__',
|
|
288
|
+
'__xor__'), suffix=r'\b'),
|
|
289
|
+
Name.Function.Magic),
|
|
290
|
+
],
|
|
291
|
+
'magicvars': [
|
|
292
|
+
(words((
|
|
293
|
+
'__annotations__', '__bases__', '__class__', '__closure__',
|
|
294
|
+
'__code__', '__defaults__', '__dict__', '__doc__', '__file__',
|
|
295
|
+
'__func__', '__globals__', '__kwdefaults__', '__module__',
|
|
296
|
+
'__mro__', '__name__', '__objclass__', '__qualname__',
|
|
297
|
+
'__self__', '__slots__', '__weakref__'), suffix=r'\b'),
|
|
298
|
+
Name.Variable.Magic),
|
|
299
|
+
],
|
|
300
|
+
'numbers': [
|
|
301
|
+
(r'(\d(?:_?\d)*\.(?:\d(?:_?\d)*)?|(?:\d(?:_?\d)*)?\.\d(?:_?\d)*)'
|
|
302
|
+
r'([eE][+-]?\d(?:_?\d)*)?', Number.Float),
|
|
303
|
+
(r'\d(?:_?\d)*[eE][+-]?\d(?:_?\d)*j?', Number.Float),
|
|
304
|
+
(r'0[oO](?:_?[0-7])+', Number.Oct),
|
|
305
|
+
(r'0[bB](?:_?[01])+', Number.Bin),
|
|
306
|
+
(r'0[xX](?:_?[a-fA-F0-9])+', Number.Hex),
|
|
307
|
+
(r'\d(?:_?\d)*', Number.Integer),
|
|
308
|
+
],
|
|
309
|
+
'name': [
|
|
310
|
+
(r'@' + uni_name, Name.Decorator),
|
|
311
|
+
(r'@', Operator), # new matrix multiplication operator
|
|
312
|
+
(uni_name, Name),
|
|
313
|
+
],
|
|
314
|
+
'funcname': [
|
|
315
|
+
include('magicfuncs'),
|
|
316
|
+
(uni_name, Name.Function, '#pop'),
|
|
317
|
+
default('#pop'),
|
|
318
|
+
],
|
|
319
|
+
'classname': [
|
|
320
|
+
(uni_name, Name.Class, '#pop'),
|
|
321
|
+
],
|
|
322
|
+
'import': [
|
|
323
|
+
(r'(\s+)(as)(\s+)', bygroups(Text, Keyword, Text)),
|
|
324
|
+
(r'\.', Name.Namespace),
|
|
325
|
+
(uni_name, Name.Namespace),
|
|
326
|
+
(r'(\s*)(,)(\s*)', bygroups(Text, Operator, Text)),
|
|
327
|
+
default('#pop') # all else: go back
|
|
328
|
+
],
|
|
329
|
+
'fromimport': [
|
|
330
|
+
(r'(\s+)(import)\b', bygroups(Text, Keyword.Namespace), '#pop'),
|
|
331
|
+
(r'\.', Name.Namespace),
|
|
332
|
+
# if None occurs here, it's "raise x from None", since None can
|
|
333
|
+
# never be a module name
|
|
334
|
+
(r'None\b', Name.Builtin.Pseudo, '#pop'),
|
|
335
|
+
(uni_name, Name.Namespace),
|
|
336
|
+
default('#pop'),
|
|
337
|
+
],
|
|
338
|
+
'rfstringescape': [
|
|
339
|
+
(r'\{\{', String.Escape),
|
|
340
|
+
(r'\}\}', String.Escape),
|
|
341
|
+
],
|
|
342
|
+
'fstringescape': [
|
|
343
|
+
include('rfstringescape'),
|
|
344
|
+
include('stringescape'),
|
|
345
|
+
],
|
|
346
|
+
'stringescape': [
|
|
347
|
+
(r'\\([\\abfnrtv"\']|\n|N\{.*?\}|u[a-fA-F0-9]{4}|'
|
|
348
|
+
r'U[a-fA-F0-9]{8}|x[a-fA-F0-9]{2}|[0-7]{1,3})', String.Escape)
|
|
349
|
+
],
|
|
350
|
+
'fstrings-single': fstring_rules(String.Single),
|
|
351
|
+
'fstrings-double': fstring_rules(String.Double),
|
|
352
|
+
'strings-single': innerstring_rules(String.Single),
|
|
353
|
+
'strings-double': innerstring_rules(String.Double),
|
|
354
|
+
'dqf': [
|
|
355
|
+
(r'"', String.Double, '#pop'),
|
|
356
|
+
(r'\\\\|\\"|\\\n', String.Escape), # included here for raw strings
|
|
357
|
+
include('fstrings-double')
|
|
358
|
+
],
|
|
359
|
+
'sqf': [
|
|
360
|
+
(r"'", String.Single, '#pop'),
|
|
361
|
+
(r"\\\\|\\'|\\\n", String.Escape), # included here for raw strings
|
|
362
|
+
include('fstrings-single')
|
|
363
|
+
],
|
|
364
|
+
'dqs': [
|
|
365
|
+
(r'"', String.Double, '#pop'),
|
|
366
|
+
(r'\\\\|\\"|\\\n', String.Escape), # included here for raw strings
|
|
367
|
+
include('strings-double')
|
|
368
|
+
],
|
|
369
|
+
'sqs': [
|
|
370
|
+
(r"'", String.Single, '#pop'),
|
|
371
|
+
(r"\\\\|\\'|\\\n", String.Escape), # included here for raw strings
|
|
372
|
+
include('strings-single')
|
|
373
|
+
],
|
|
374
|
+
'tdqf': [
|
|
375
|
+
(r'"""', String.Double, '#pop'),
|
|
376
|
+
include('fstrings-double'),
|
|
377
|
+
(r'\n', String.Double)
|
|
378
|
+
],
|
|
379
|
+
'tsqf': [
|
|
380
|
+
(r"'''", String.Single, '#pop'),
|
|
381
|
+
include('fstrings-single'),
|
|
382
|
+
(r'\n', String.Single)
|
|
383
|
+
],
|
|
384
|
+
'tdqs': [
|
|
385
|
+
(r'"""', String.Double, '#pop'),
|
|
386
|
+
include('strings-double'),
|
|
387
|
+
(r'\n', String.Double)
|
|
388
|
+
],
|
|
389
|
+
'tsqs': [
|
|
390
|
+
(r"'''", String.Single, '#pop'),
|
|
391
|
+
include('strings-single'),
|
|
392
|
+
(r'\n', String.Single)
|
|
393
|
+
],
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
def analyse_text(text):
|
|
397
|
+
return shebang_matches(text, r'pythonw?(3(\.\d)?)?') or \
|
|
398
|
+
'import ' in text[:1000]
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
Python3Lexer = PythonLexer
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
class Python2Lexer(RegexLexer):
|
|
405
|
+
"""
|
|
406
|
+
For `Python 2.x <http://www.python.org>`_ source code.
|
|
407
|
+
|
|
408
|
+
.. versionchanged:: 2.5
|
|
409
|
+
This class has been renamed from ``PythonLexer``. ``PythonLexer`` now
|
|
410
|
+
refers to the Python 3 variant. File name patterns like ``*.py`` have
|
|
411
|
+
been moved to Python 3 as well.
|
|
412
|
+
"""
|
|
413
|
+
|
|
414
|
+
name = 'Python 2.x'
|
|
415
|
+
aliases = ['python2', 'py2']
|
|
416
|
+
filenames = [] # now taken over by PythonLexer (3.x)
|
|
417
|
+
mimetypes = ['text/x-python2', 'application/x-python2']
|
|
418
|
+
|
|
419
|
+
def innerstring_rules(ttype):
|
|
420
|
+
return [
|
|
421
|
+
# the old style '%s' % (...) string formatting
|
|
422
|
+
(r'%(\(\w+\))?[-#0 +]*([0-9]+|[*])?(\.([0-9]+|[*]))?'
|
|
423
|
+
'[hlL]?[E-GXc-giorsux%]', String.Interpol),
|
|
424
|
+
# backslashes, quotes and formatting signs must be parsed one at a time
|
|
425
|
+
(r'[^\\\'"%\n]+', ttype),
|
|
426
|
+
(r'[\'"\\]', ttype),
|
|
427
|
+
# unhandled string formatting sign
|
|
428
|
+
(r'%', ttype),
|
|
429
|
+
# newlines are an error (use "nl" state)
|
|
430
|
+
]
|
|
431
|
+
|
|
432
|
+
tokens = {
|
|
433
|
+
'root': [
|
|
434
|
+
(r'\n', Text),
|
|
435
|
+
(r'^(\s*)([rRuUbB]{,2})("""(?:.|\n)*?""")',
|
|
436
|
+
bygroups(Text, String.Affix, String.Doc)),
|
|
437
|
+
(r"^(\s*)([rRuUbB]{,2})('''(?:.|\n)*?''')",
|
|
438
|
+
bygroups(Text, String.Affix, String.Doc)),
|
|
439
|
+
(r'[^\S\n]+', Text),
|
|
440
|
+
(r'\A#!.+$', Comment.Hashbang),
|
|
441
|
+
(r'#.*$', Comment.Single),
|
|
442
|
+
(r'[]{}:(),;[]', Punctuation),
|
|
443
|
+
(r'\\\n', Text),
|
|
444
|
+
(r'\\', Text),
|
|
445
|
+
(r'(in|is|and|or|not)\b', Operator.Word),
|
|
446
|
+
(r'!=|==|<<|>>|[-~+/*%=<>&^|.]', Operator),
|
|
447
|
+
include('keywords'),
|
|
448
|
+
(r'(def)((?:\s|\\\s)+)', bygroups(Keyword, Text), 'funcname'),
|
|
449
|
+
(r'(class)((?:\s|\\\s)+)', bygroups(Keyword, Text), 'classname'),
|
|
450
|
+
(r'(from)((?:\s|\\\s)+)', bygroups(Keyword.Namespace, Text),
|
|
451
|
+
'fromimport'),
|
|
452
|
+
(r'(import)((?:\s|\\\s)+)', bygroups(Keyword.Namespace, Text),
|
|
453
|
+
'import'),
|
|
454
|
+
include('builtins'),
|
|
455
|
+
include('magicfuncs'),
|
|
456
|
+
include('magicvars'),
|
|
457
|
+
include('backtick'),
|
|
458
|
+
('([rR]|[uUbB][rR]|[rR][uUbB])(""")',
|
|
459
|
+
bygroups(String.Affix, String.Double), 'tdqs'),
|
|
460
|
+
("([rR]|[uUbB][rR]|[rR][uUbB])(''')",
|
|
461
|
+
bygroups(String.Affix, String.Single), 'tsqs'),
|
|
462
|
+
('([rR]|[uUbB][rR]|[rR][uUbB])(")',
|
|
463
|
+
bygroups(String.Affix, String.Double), 'dqs'),
|
|
464
|
+
("([rR]|[uUbB][rR]|[rR][uUbB])(')",
|
|
465
|
+
bygroups(String.Affix, String.Single), 'sqs'),
|
|
466
|
+
('([uUbB]?)(""")', bygroups(String.Affix, String.Double),
|
|
467
|
+
combined('stringescape', 'tdqs')),
|
|
468
|
+
("([uUbB]?)(''')", bygroups(String.Affix, String.Single),
|
|
469
|
+
combined('stringescape', 'tsqs')),
|
|
470
|
+
('([uUbB]?)(")', bygroups(String.Affix, String.Double),
|
|
471
|
+
combined('stringescape', 'dqs')),
|
|
472
|
+
("([uUbB]?)(')", bygroups(String.Affix, String.Single),
|
|
473
|
+
combined('stringescape', 'sqs')),
|
|
474
|
+
include('name'),
|
|
475
|
+
include('numbers'),
|
|
476
|
+
],
|
|
477
|
+
'keywords': [
|
|
478
|
+
(words((
|
|
479
|
+
'assert', 'break', 'continue', 'del', 'elif', 'else', 'except',
|
|
480
|
+
'exec', 'finally', 'for', 'global', 'if', 'lambda', 'pass',
|
|
481
|
+
'print', 'raise', 'return', 'try', 'while', 'yield',
|
|
482
|
+
'yield from', 'as', 'with'), suffix=r'\b'),
|
|
483
|
+
Keyword),
|
|
484
|
+
],
|
|
485
|
+
'builtins': [
|
|
486
|
+
(words((
|
|
487
|
+
'__import__', 'abs', 'all', 'any', 'apply', 'basestring', 'bin',
|
|
488
|
+
'bool', 'buffer', 'bytearray', 'bytes', 'callable', 'chr', 'classmethod',
|
|
489
|
+
'cmp', 'coerce', 'compile', 'complex', 'delattr', 'dict', 'dir', 'divmod',
|
|
490
|
+
'enumerate', 'eval', 'execfile', 'exit', 'file', 'filter', 'float',
|
|
491
|
+
'frozenset', 'getattr', 'globals', 'hasattr', 'hash', 'hex', 'id',
|
|
492
|
+
'input', 'int', 'intern', 'isinstance', 'issubclass', 'iter', 'len',
|
|
493
|
+
'list', 'locals', 'long', 'map', 'max', 'min', 'next', 'object',
|
|
494
|
+
'oct', 'open', 'ord', 'pow', 'property', 'range', 'raw_input', 'reduce',
|
|
495
|
+
'reload', 'repr', 'reversed', 'round', 'set', 'setattr', 'slice',
|
|
496
|
+
'sorted', 'staticmethod', 'str', 'sum', 'super', 'tuple', 'type',
|
|
497
|
+
'unichr', 'unicode', 'vars', 'xrange', 'zip'),
|
|
498
|
+
prefix=r'(?<!\.)', suffix=r'\b'),
|
|
499
|
+
Name.Builtin),
|
|
500
|
+
(r'(?<!\.)(self|None|Ellipsis|NotImplemented|False|True|cls'
|
|
501
|
+
r')\b', Name.Builtin.Pseudo),
|
|
502
|
+
(words((
|
|
503
|
+
'ArithmeticError', 'AssertionError', 'AttributeError',
|
|
504
|
+
'BaseException', 'DeprecationWarning', 'EOFError', 'EnvironmentError',
|
|
505
|
+
'Exception', 'FloatingPointError', 'FutureWarning', 'GeneratorExit',
|
|
506
|
+
'IOError', 'ImportError', 'ImportWarning', 'IndentationError',
|
|
507
|
+
'IndexError', 'KeyError', 'KeyboardInterrupt', 'LookupError',
|
|
508
|
+
'MemoryError', 'NameError',
|
|
509
|
+
'NotImplementedError', 'OSError', 'OverflowError', 'OverflowWarning',
|
|
510
|
+
'PendingDeprecationWarning', 'ReferenceError',
|
|
511
|
+
'RuntimeError', 'RuntimeWarning', 'StandardError', 'StopIteration',
|
|
512
|
+
'SyntaxError', 'SyntaxWarning', 'SystemError', 'SystemExit',
|
|
513
|
+
'TabError', 'TypeError', 'UnboundLocalError', 'UnicodeDecodeError',
|
|
514
|
+
'UnicodeEncodeError', 'UnicodeError', 'UnicodeTranslateError',
|
|
515
|
+
'UnicodeWarning', 'UserWarning', 'ValueError', 'VMSError', 'Warning',
|
|
516
|
+
'WindowsError', 'ZeroDivisionError'), prefix=r'(?<!\.)', suffix=r'\b'),
|
|
517
|
+
Name.Exception),
|
|
518
|
+
],
|
|
519
|
+
'magicfuncs': [
|
|
520
|
+
(words((
|
|
521
|
+
'__abs__', '__add__', '__and__', '__call__', '__cmp__', '__coerce__',
|
|
522
|
+
'__complex__', '__contains__', '__del__', '__delattr__', '__delete__',
|
|
523
|
+
'__delitem__', '__delslice__', '__div__', '__divmod__', '__enter__',
|
|
524
|
+
'__eq__', '__exit__', '__float__', '__floordiv__', '__ge__', '__get__',
|
|
525
|
+
'__getattr__', '__getattribute__', '__getitem__', '__getslice__', '__gt__',
|
|
526
|
+
'__hash__', '__hex__', '__iadd__', '__iand__', '__idiv__', '__ifloordiv__',
|
|
527
|
+
'__ilshift__', '__imod__', '__imul__', '__index__', '__init__',
|
|
528
|
+
'__instancecheck__', '__int__', '__invert__', '__iop__', '__ior__',
|
|
529
|
+
'__ipow__', '__irshift__', '__isub__', '__iter__', '__itruediv__',
|
|
530
|
+
'__ixor__', '__le__', '__len__', '__long__', '__lshift__', '__lt__',
|
|
531
|
+
'__missing__', '__mod__', '__mul__', '__ne__', '__neg__', '__new__',
|
|
532
|
+
'__nonzero__', '__oct__', '__op__', '__or__', '__pos__', '__pow__',
|
|
533
|
+
'__radd__', '__rand__', '__rcmp__', '__rdiv__', '__rdivmod__', '__repr__',
|
|
534
|
+
'__reversed__', '__rfloordiv__', '__rlshift__', '__rmod__', '__rmul__',
|
|
535
|
+
'__rop__', '__ror__', '__rpow__', '__rrshift__', '__rshift__', '__rsub__',
|
|
536
|
+
'__rtruediv__', '__rxor__', '__set__', '__setattr__', '__setitem__',
|
|
537
|
+
'__setslice__', '__str__', '__sub__', '__subclasscheck__', '__truediv__',
|
|
538
|
+
'__unicode__', '__xor__'), suffix=r'\b'),
|
|
539
|
+
Name.Function.Magic),
|
|
540
|
+
],
|
|
541
|
+
'magicvars': [
|
|
542
|
+
(words((
|
|
543
|
+
'__bases__', '__class__', '__closure__', '__code__', '__defaults__',
|
|
544
|
+
'__dict__', '__doc__', '__file__', '__func__', '__globals__',
|
|
545
|
+
'__metaclass__', '__module__', '__mro__', '__name__', '__self__',
|
|
546
|
+
'__slots__', '__weakref__'),
|
|
547
|
+
suffix=r'\b'),
|
|
548
|
+
Name.Variable.Magic),
|
|
549
|
+
],
|
|
550
|
+
'numbers': [
|
|
551
|
+
(r'(\d+\.\d*|\d*\.\d+)([eE][+-]?[0-9]+)?j?', Number.Float),
|
|
552
|
+
(r'\d+[eE][+-]?[0-9]+j?', Number.Float),
|
|
553
|
+
(r'0[0-7]+j?', Number.Oct),
|
|
554
|
+
(r'0[bB][01]+', Number.Bin),
|
|
555
|
+
(r'0[xX][a-fA-F0-9]+', Number.Hex),
|
|
556
|
+
(r'\d+L', Number.Integer.Long),
|
|
557
|
+
(r'\d+j?', Number.Integer)
|
|
558
|
+
],
|
|
559
|
+
'backtick': [
|
|
560
|
+
('`.*?`', String.Backtick),
|
|
561
|
+
],
|
|
562
|
+
'name': [
|
|
563
|
+
(r'@[\w.]+', Name.Decorator),
|
|
564
|
+
(r'[a-zA-Z_]\w*', Name),
|
|
565
|
+
],
|
|
566
|
+
'funcname': [
|
|
567
|
+
include('magicfuncs'),
|
|
568
|
+
(r'[a-zA-Z_]\w*', Name.Function, '#pop'),
|
|
569
|
+
default('#pop'),
|
|
570
|
+
],
|
|
571
|
+
'classname': [
|
|
572
|
+
(r'[a-zA-Z_]\w*', Name.Class, '#pop')
|
|
573
|
+
],
|
|
574
|
+
'import': [
|
|
575
|
+
(r'(?:[ \t]|\\\n)+', Text),
|
|
576
|
+
(r'as\b', Keyword.Namespace),
|
|
577
|
+
(r',', Operator),
|
|
578
|
+
(r'[a-zA-Z_][\w.]*', Name.Namespace),
|
|
579
|
+
default('#pop') # all else: go back
|
|
580
|
+
],
|
|
581
|
+
'fromimport': [
|
|
582
|
+
(r'(?:[ \t]|\\\n)+', Text),
|
|
583
|
+
(r'import\b', Keyword.Namespace, '#pop'),
|
|
584
|
+
# if None occurs here, it's "raise x from None", since None can
|
|
585
|
+
# never be a module name
|
|
586
|
+
(r'None\b', Name.Builtin.Pseudo, '#pop'),
|
|
587
|
+
# sadly, in "raise x from y" y will be highlighted as namespace too
|
|
588
|
+
(r'[a-zA-Z_.][\w.]*', Name.Namespace),
|
|
589
|
+
# anything else here also means "raise x from y" and is therefore
|
|
590
|
+
# not an error
|
|
591
|
+
default('#pop'),
|
|
592
|
+
],
|
|
593
|
+
'stringescape': [
|
|
594
|
+
(r'\\([\\abfnrtv"\']|\n|N\{.*?\}|u[a-fA-F0-9]{4}|'
|
|
595
|
+
r'U[a-fA-F0-9]{8}|x[a-fA-F0-9]{2}|[0-7]{1,3})', String.Escape)
|
|
596
|
+
],
|
|
597
|
+
'strings-single': innerstring_rules(String.Single),
|
|
598
|
+
'strings-double': innerstring_rules(String.Double),
|
|
599
|
+
'dqs': [
|
|
600
|
+
(r'"', String.Double, '#pop'),
|
|
601
|
+
(r'\\\\|\\"|\\\n', String.Escape), # included here for raw strings
|
|
602
|
+
include('strings-double')
|
|
603
|
+
],
|
|
604
|
+
'sqs': [
|
|
605
|
+
(r"'", String.Single, '#pop'),
|
|
606
|
+
(r"\\\\|\\'|\\\n", String.Escape), # included here for raw strings
|
|
607
|
+
include('strings-single')
|
|
608
|
+
],
|
|
609
|
+
'tdqs': [
|
|
610
|
+
(r'"""', String.Double, '#pop'),
|
|
611
|
+
include('strings-double'),
|
|
612
|
+
(r'\n', String.Double)
|
|
613
|
+
],
|
|
614
|
+
'tsqs': [
|
|
615
|
+
(r"'''", String.Single, '#pop'),
|
|
616
|
+
include('strings-single'),
|
|
617
|
+
(r'\n', String.Single)
|
|
618
|
+
],
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
def analyse_text(text):
|
|
622
|
+
return shebang_matches(text, r'pythonw?2(\.\d)?')
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
class PythonConsoleLexer(Lexer):
|
|
626
|
+
"""
|
|
627
|
+
For Python console output or doctests, such as:
|
|
628
|
+
|
|
629
|
+
.. sourcecode:: pycon
|
|
630
|
+
|
|
631
|
+
>>> a = 'foo'
|
|
632
|
+
>>> print a
|
|
633
|
+
foo
|
|
634
|
+
>>> 1 / 0
|
|
635
|
+
Traceback (most recent call last):
|
|
636
|
+
File "<stdin>", line 1, in <module>
|
|
637
|
+
ZeroDivisionError: integer division or modulo by zero
|
|
638
|
+
|
|
639
|
+
Additional options:
|
|
640
|
+
|
|
641
|
+
`python3`
|
|
642
|
+
Use Python 3 lexer for code. Default is ``True``.
|
|
643
|
+
|
|
644
|
+
.. versionadded:: 1.0
|
|
645
|
+
.. versionchanged:: 2.5
|
|
646
|
+
Now defaults to ``True``.
|
|
647
|
+
"""
|
|
648
|
+
name = 'Python console session'
|
|
649
|
+
aliases = ['pycon']
|
|
650
|
+
mimetypes = ['text/x-python-doctest']
|
|
651
|
+
|
|
652
|
+
def __init__(self, **options):
|
|
653
|
+
self.python3 = get_bool_opt(options, 'python3', True)
|
|
654
|
+
Lexer.__init__(self, **options)
|
|
655
|
+
|
|
656
|
+
def get_tokens_unprocessed(self, text):
|
|
657
|
+
if self.python3:
|
|
658
|
+
pylexer = PythonLexer(**self.options)
|
|
659
|
+
tblexer = PythonTracebackLexer(**self.options)
|
|
660
|
+
else:
|
|
661
|
+
pylexer = Python2Lexer(**self.options)
|
|
662
|
+
tblexer = Python2TracebackLexer(**self.options)
|
|
663
|
+
|
|
664
|
+
curcode = ''
|
|
665
|
+
insertions = []
|
|
666
|
+
curtb = ''
|
|
667
|
+
tbindex = 0
|
|
668
|
+
tb = 0
|
|
669
|
+
for match in line_re.finditer(text):
|
|
670
|
+
line = match.group()
|
|
671
|
+
if line.startswith('>>> ') or line.startswith('... '):
|
|
672
|
+
tb = 0
|
|
673
|
+
insertions.append((len(curcode),
|
|
674
|
+
[(0, Generic.Prompt, line[:4])]))
|
|
675
|
+
curcode += line[4:]
|
|
676
|
+
elif line.rstrip() == '...' and not tb:
|
|
677
|
+
# only a new >>> prompt can end an exception block
|
|
678
|
+
# otherwise an ellipsis in place of the traceback frames
|
|
679
|
+
# will be mishandled
|
|
680
|
+
insertions.append((len(curcode),
|
|
681
|
+
[(0, Generic.Prompt, '...')]))
|
|
682
|
+
curcode += line[3:]
|
|
683
|
+
else:
|
|
684
|
+
if curcode:
|
|
685
|
+
yield from do_insertions(
|
|
686
|
+
insertions, pylexer.get_tokens_unprocessed(curcode))
|
|
687
|
+
curcode = ''
|
|
688
|
+
insertions = []
|
|
689
|
+
if (line.startswith('Traceback (most recent call last):') or
|
|
690
|
+
re.match(' File "[^"]+", line \\d+\\n$', line)):
|
|
691
|
+
tb = 1
|
|
692
|
+
curtb = line
|
|
693
|
+
tbindex = match.start()
|
|
694
|
+
elif line == 'KeyboardInterrupt\n':
|
|
695
|
+
yield match.start(), Name.Class, line
|
|
696
|
+
elif tb:
|
|
697
|
+
curtb += line
|
|
698
|
+
if not (line.startswith(' ') or line.strip() == '...'):
|
|
699
|
+
tb = 0
|
|
700
|
+
for i, t, v in tblexer.get_tokens_unprocessed(curtb):
|
|
701
|
+
yield tbindex+i, t, v
|
|
702
|
+
curtb = ''
|
|
703
|
+
else:
|
|
704
|
+
yield match.start(), Generic.Output, line
|
|
705
|
+
if curcode:
|
|
706
|
+
yield from do_insertions(insertions,
|
|
707
|
+
pylexer.get_tokens_unprocessed(curcode))
|
|
708
|
+
if curtb:
|
|
709
|
+
for i, t, v in tblexer.get_tokens_unprocessed(curtb):
|
|
710
|
+
yield tbindex+i, t, v
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
class PythonTracebackLexer(RegexLexer):
|
|
714
|
+
"""
|
|
715
|
+
For Python 3.x tracebacks, with support for chained exceptions.
|
|
716
|
+
|
|
717
|
+
.. versionadded:: 1.0
|
|
718
|
+
|
|
719
|
+
.. versionchanged:: 2.5
|
|
720
|
+
This is now the default ``PythonTracebackLexer``. It is still available
|
|
721
|
+
as the alias ``Python3TracebackLexer``.
|
|
722
|
+
"""
|
|
723
|
+
|
|
724
|
+
name = 'Python Traceback'
|
|
725
|
+
aliases = ['pytb', 'py3tb']
|
|
726
|
+
filenames = ['*.pytb', '*.py3tb']
|
|
727
|
+
mimetypes = ['text/x-python-traceback', 'text/x-python3-traceback']
|
|
728
|
+
|
|
729
|
+
tokens = {
|
|
730
|
+
'root': [
|
|
731
|
+
(r'\n', Text),
|
|
732
|
+
(r'^Traceback \(most recent call last\):\n', Generic.Traceback, 'intb'),
|
|
733
|
+
(r'^During handling of the above exception, another '
|
|
734
|
+
r'exception occurred:\n\n', Generic.Traceback),
|
|
735
|
+
(r'^The above exception was the direct cause of the '
|
|
736
|
+
r'following exception:\n\n', Generic.Traceback),
|
|
737
|
+
(r'^(?= File "[^"]+", line \d+)', Generic.Traceback, 'intb'),
|
|
738
|
+
(r'^.*\n', Other),
|
|
739
|
+
],
|
|
740
|
+
'intb': [
|
|
741
|
+
(r'^( File )("[^"]+")(, line )(\d+)(, in )(.+)(\n)',
|
|
742
|
+
bygroups(Text, Name.Builtin, Text, Number, Text, Name, Text)),
|
|
743
|
+
(r'^( File )("[^"]+")(, line )(\d+)(\n)',
|
|
744
|
+
bygroups(Text, Name.Builtin, Text, Number, Text)),
|
|
745
|
+
(r'^( )(.+)(\n)',
|
|
746
|
+
bygroups(Text, using(PythonLexer), Text), 'markers'),
|
|
747
|
+
(r'^([ \t]*)(\.\.\.)(\n)',
|
|
748
|
+
bygroups(Text, Comment, Text)), # for doctests...
|
|
749
|
+
(r'^([^:]+)(: )(.+)(\n)',
|
|
750
|
+
bygroups(Generic.Error, Text, Name, Text), '#pop'),
|
|
751
|
+
(r'^([a-zA-Z_][\w.]*)(:?\n)',
|
|
752
|
+
bygroups(Generic.Error, Text), '#pop')
|
|
753
|
+
],
|
|
754
|
+
'markers': [
|
|
755
|
+
# Either `PEP 657 <https://www.python.org/dev/peps/pep-0657/>`
|
|
756
|
+
# error locations in Python 3.11+, or single-caret markers
|
|
757
|
+
# for syntax errors before that.
|
|
758
|
+
(r'^( {4,})([~^]+)(\n)',
|
|
759
|
+
bygroups(Text, Punctuation.Marker, Text),
|
|
760
|
+
'#pop'),
|
|
761
|
+
default('#pop'),
|
|
762
|
+
],
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
Python3TracebackLexer = PythonTracebackLexer
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
class Python2TracebackLexer(RegexLexer):
|
|
770
|
+
"""
|
|
771
|
+
For Python tracebacks.
|
|
772
|
+
|
|
773
|
+
.. versionadded:: 0.7
|
|
774
|
+
|
|
775
|
+
.. versionchanged:: 2.5
|
|
776
|
+
This class has been renamed from ``PythonTracebackLexer``.
|
|
777
|
+
``PythonTracebackLexer`` now refers to the Python 3 variant.
|
|
778
|
+
"""
|
|
779
|
+
|
|
780
|
+
name = 'Python 2.x Traceback'
|
|
781
|
+
aliases = ['py2tb']
|
|
782
|
+
filenames = ['*.py2tb']
|
|
783
|
+
mimetypes = ['text/x-python2-traceback']
|
|
784
|
+
|
|
785
|
+
tokens = {
|
|
786
|
+
'root': [
|
|
787
|
+
# Cover both (most recent call last) and (innermost last)
|
|
788
|
+
# The optional ^C allows us to catch keyboard interrupt signals.
|
|
789
|
+
(r'^(\^C)?(Traceback.*\n)',
|
|
790
|
+
bygroups(Text, Generic.Traceback), 'intb'),
|
|
791
|
+
# SyntaxError starts with this.
|
|
792
|
+
(r'^(?= File "[^"]+", line \d+)', Generic.Traceback, 'intb'),
|
|
793
|
+
(r'^.*\n', Other),
|
|
794
|
+
],
|
|
795
|
+
'intb': [
|
|
796
|
+
(r'^( File )("[^"]+")(, line )(\d+)(, in )(.+)(\n)',
|
|
797
|
+
bygroups(Text, Name.Builtin, Text, Number, Text, Name, Text)),
|
|
798
|
+
(r'^( File )("[^"]+")(, line )(\d+)(\n)',
|
|
799
|
+
bygroups(Text, Name.Builtin, Text, Number, Text)),
|
|
800
|
+
(r'^( )(.+)(\n)',
|
|
801
|
+
bygroups(Text, using(Python2Lexer), Text), 'marker'),
|
|
802
|
+
(r'^([ \t]*)(\.\.\.)(\n)',
|
|
803
|
+
bygroups(Text, Comment, Text)), # for doctests...
|
|
804
|
+
(r'^([^:]+)(: )(.+)(\n)',
|
|
805
|
+
bygroups(Generic.Error, Text, Name, Text), '#pop'),
|
|
806
|
+
(r'^([a-zA-Z_]\w*)(:?\n)',
|
|
807
|
+
bygroups(Generic.Error, Text), '#pop')
|
|
808
|
+
],
|
|
809
|
+
'marker': [
|
|
810
|
+
# For syntax errors.
|
|
811
|
+
(r'( {4,})(\^)', bygroups(Text, Punctuation.Marker), '#pop'),
|
|
812
|
+
default('#pop'),
|
|
813
|
+
],
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
class CythonLexer(RegexLexer):
|
|
818
|
+
"""
|
|
819
|
+
For Pyrex and `Cython <http://cython.org>`_ source code.
|
|
820
|
+
|
|
821
|
+
.. versionadded:: 1.1
|
|
822
|
+
"""
|
|
823
|
+
|
|
824
|
+
name = 'Cython'
|
|
825
|
+
aliases = ['cython', 'pyx', 'pyrex']
|
|
826
|
+
filenames = ['*.pyx', '*.pxd', '*.pxi']
|
|
827
|
+
mimetypes = ['text/x-cython', 'application/x-cython']
|
|
828
|
+
|
|
829
|
+
tokens = {
|
|
830
|
+
'root': [
|
|
831
|
+
(r'\n', Text),
|
|
832
|
+
(r'^(\s*)("""(?:.|\n)*?""")', bygroups(Text, String.Doc)),
|
|
833
|
+
(r"^(\s*)('''(?:.|\n)*?''')", bygroups(Text, String.Doc)),
|
|
834
|
+
(r'[^\S\n]+', Text),
|
|
835
|
+
(r'#.*$', Comment),
|
|
836
|
+
(r'[]{}:(),;[]', Punctuation),
|
|
837
|
+
(r'\\\n', Text),
|
|
838
|
+
(r'\\', Text),
|
|
839
|
+
(r'(in|is|and|or|not)\b', Operator.Word),
|
|
840
|
+
(r'(<)([a-zA-Z0-9.?]+)(>)',
|
|
841
|
+
bygroups(Punctuation, Keyword.Type, Punctuation)),
|
|
842
|
+
(r'!=|==|<<|>>|[-~+/*%=<>&^|.?]', Operator),
|
|
843
|
+
(r'(from)(\d+)(<=)(\s+)(<)(\d+)(:)',
|
|
844
|
+
bygroups(Keyword, Number.Integer, Operator, Name, Operator,
|
|
845
|
+
Name, Punctuation)),
|
|
846
|
+
include('keywords'),
|
|
847
|
+
(r'(def|property)(\s+)', bygroups(Keyword, Text), 'funcname'),
|
|
848
|
+
(r'(cp?def)(\s+)', bygroups(Keyword, Text), 'cdef'),
|
|
849
|
+
# (should actually start a block with only cdefs)
|
|
850
|
+
(r'(cdef)(:)', bygroups(Keyword, Punctuation)),
|
|
851
|
+
(r'(class|struct)(\s+)', bygroups(Keyword, Text), 'classname'),
|
|
852
|
+
(r'(from)(\s+)', bygroups(Keyword, Text), 'fromimport'),
|
|
853
|
+
(r'(c?import)(\s+)', bygroups(Keyword, Text), 'import'),
|
|
854
|
+
include('builtins'),
|
|
855
|
+
include('backtick'),
|
|
856
|
+
('(?:[rR]|[uU][rR]|[rR][uU])"""', String, 'tdqs'),
|
|
857
|
+
("(?:[rR]|[uU][rR]|[rR][uU])'''", String, 'tsqs'),
|
|
858
|
+
('(?:[rR]|[uU][rR]|[rR][uU])"', String, 'dqs'),
|
|
859
|
+
("(?:[rR]|[uU][rR]|[rR][uU])'", String, 'sqs'),
|
|
860
|
+
('[uU]?"""', String, combined('stringescape', 'tdqs')),
|
|
861
|
+
("[uU]?'''", String, combined('stringescape', 'tsqs')),
|
|
862
|
+
('[uU]?"', String, combined('stringescape', 'dqs')),
|
|
863
|
+
("[uU]?'", String, combined('stringescape', 'sqs')),
|
|
864
|
+
include('name'),
|
|
865
|
+
include('numbers'),
|
|
866
|
+
],
|
|
867
|
+
'keywords': [
|
|
868
|
+
(words((
|
|
869
|
+
'assert', 'async', 'await', 'break', 'by', 'continue', 'ctypedef', 'del', 'elif',
|
|
870
|
+
'else', 'except', 'except?', 'exec', 'finally', 'for', 'fused', 'gil',
|
|
871
|
+
'global', 'if', 'include', 'lambda', 'nogil', 'pass', 'print',
|
|
872
|
+
'raise', 'return', 'try', 'while', 'yield', 'as', 'with'), suffix=r'\b'),
|
|
873
|
+
Keyword),
|
|
874
|
+
(r'(DEF|IF|ELIF|ELSE)\b', Comment.Preproc),
|
|
875
|
+
],
|
|
876
|
+
'builtins': [
|
|
877
|
+
(words((
|
|
878
|
+
'__import__', 'abs', 'all', 'any', 'apply', 'basestring', 'bin', 'bint',
|
|
879
|
+
'bool', 'buffer', 'bytearray', 'bytes', 'callable', 'chr',
|
|
880
|
+
'classmethod', 'cmp', 'coerce', 'compile', 'complex', 'delattr',
|
|
881
|
+
'dict', 'dir', 'divmod', 'enumerate', 'eval', 'execfile', 'exit',
|
|
882
|
+
'file', 'filter', 'float', 'frozenset', 'getattr', 'globals',
|
|
883
|
+
'hasattr', 'hash', 'hex', 'id', 'input', 'int', 'intern', 'isinstance',
|
|
884
|
+
'issubclass', 'iter', 'len', 'list', 'locals', 'long', 'map', 'max',
|
|
885
|
+
'min', 'next', 'object', 'oct', 'open', 'ord', 'pow', 'property', 'Py_ssize_t',
|
|
886
|
+
'range', 'raw_input', 'reduce', 'reload', 'repr', 'reversed',
|
|
887
|
+
'round', 'set', 'setattr', 'slice', 'sorted', 'staticmethod',
|
|
888
|
+
'str', 'sum', 'super', 'tuple', 'type', 'unichr', 'unicode', 'unsigned',
|
|
889
|
+
'vars', 'xrange', 'zip'), prefix=r'(?<!\.)', suffix=r'\b'),
|
|
890
|
+
Name.Builtin),
|
|
891
|
+
(r'(?<!\.)(self|None|Ellipsis|NotImplemented|False|True|NULL'
|
|
892
|
+
r')\b', Name.Builtin.Pseudo),
|
|
893
|
+
(words((
|
|
894
|
+
'ArithmeticError', 'AssertionError', 'AttributeError',
|
|
895
|
+
'BaseException', 'DeprecationWarning', 'EOFError', 'EnvironmentError',
|
|
896
|
+
'Exception', 'FloatingPointError', 'FutureWarning', 'GeneratorExit',
|
|
897
|
+
'IOError', 'ImportError', 'ImportWarning', 'IndentationError',
|
|
898
|
+
'IndexError', 'KeyError', 'KeyboardInterrupt', 'LookupError',
|
|
899
|
+
'MemoryError', 'NameError', 'NotImplemented', 'NotImplementedError',
|
|
900
|
+
'OSError', 'OverflowError', 'OverflowWarning',
|
|
901
|
+
'PendingDeprecationWarning', 'ReferenceError', 'RuntimeError',
|
|
902
|
+
'RuntimeWarning', 'StandardError', 'StopIteration', 'SyntaxError',
|
|
903
|
+
'SyntaxWarning', 'SystemError', 'SystemExit', 'TabError',
|
|
904
|
+
'TypeError', 'UnboundLocalError', 'UnicodeDecodeError',
|
|
905
|
+
'UnicodeEncodeError', 'UnicodeError', 'UnicodeTranslateError',
|
|
906
|
+
'UnicodeWarning', 'UserWarning', 'ValueError', 'Warning',
|
|
907
|
+
'ZeroDivisionError'), prefix=r'(?<!\.)', suffix=r'\b'),
|
|
908
|
+
Name.Exception),
|
|
909
|
+
],
|
|
910
|
+
'numbers': [
|
|
911
|
+
(r'(\d+\.?\d*|\d*\.\d+)([eE][+-]?[0-9]+)?', Number.Float),
|
|
912
|
+
(r'0\d+', Number.Oct),
|
|
913
|
+
(r'0[xX][a-fA-F0-9]+', Number.Hex),
|
|
914
|
+
(r'\d+L', Number.Integer.Long),
|
|
915
|
+
(r'\d+', Number.Integer)
|
|
916
|
+
],
|
|
917
|
+
'backtick': [
|
|
918
|
+
('`.*?`', String.Backtick),
|
|
919
|
+
],
|
|
920
|
+
'name': [
|
|
921
|
+
(r'@\w+', Name.Decorator),
|
|
922
|
+
(r'[a-zA-Z_]\w*', Name),
|
|
923
|
+
],
|
|
924
|
+
'funcname': [
|
|
925
|
+
(r'[a-zA-Z_]\w*', Name.Function, '#pop')
|
|
926
|
+
],
|
|
927
|
+
'cdef': [
|
|
928
|
+
(r'(public|readonly|extern|api|inline)\b', Keyword.Reserved),
|
|
929
|
+
(r'(struct|enum|union|class)\b', Keyword),
|
|
930
|
+
(r'([a-zA-Z_]\w*)(\s*)(?=[(:#=]|$)',
|
|
931
|
+
bygroups(Name.Function, Text), '#pop'),
|
|
932
|
+
(r'([a-zA-Z_]\w*)(\s*)(,)',
|
|
933
|
+
bygroups(Name.Function, Text, Punctuation)),
|
|
934
|
+
(r'from\b', Keyword, '#pop'),
|
|
935
|
+
(r'as\b', Keyword),
|
|
936
|
+
(r':', Punctuation, '#pop'),
|
|
937
|
+
(r'(?=["\'])', Text, '#pop'),
|
|
938
|
+
(r'[a-zA-Z_]\w*', Keyword.Type),
|
|
939
|
+
(r'.', Text),
|
|
940
|
+
],
|
|
941
|
+
'classname': [
|
|
942
|
+
(r'[a-zA-Z_]\w*', Name.Class, '#pop')
|
|
943
|
+
],
|
|
944
|
+
'import': [
|
|
945
|
+
(r'(\s+)(as)(\s+)', bygroups(Text, Keyword, Text)),
|
|
946
|
+
(r'[a-zA-Z_][\w.]*', Name.Namespace),
|
|
947
|
+
(r'(\s*)(,)(\s*)', bygroups(Text, Operator, Text)),
|
|
948
|
+
default('#pop') # all else: go back
|
|
949
|
+
],
|
|
950
|
+
'fromimport': [
|
|
951
|
+
(r'(\s+)(c?import)\b', bygroups(Text, Keyword), '#pop'),
|
|
952
|
+
(r'[a-zA-Z_.][\w.]*', Name.Namespace),
|
|
953
|
+
# ``cdef foo from "header"``, or ``for foo from 0 < i < 10``
|
|
954
|
+
default('#pop'),
|
|
955
|
+
],
|
|
956
|
+
'stringescape': [
|
|
957
|
+
(r'\\([\\abfnrtv"\']|\n|N\{.*?\}|u[a-fA-F0-9]{4}|'
|
|
958
|
+
r'U[a-fA-F0-9]{8}|x[a-fA-F0-9]{2}|[0-7]{1,3})', String.Escape)
|
|
959
|
+
],
|
|
960
|
+
'strings': [
|
|
961
|
+
(r'%(\([a-zA-Z0-9]+\))?[-#0 +]*([0-9]+|[*])?(\.([0-9]+|[*]))?'
|
|
962
|
+
'[hlL]?[E-GXc-giorsux%]', String.Interpol),
|
|
963
|
+
(r'[^\\\'"%\n]+', String),
|
|
964
|
+
# quotes, percents and backslashes must be parsed one at a time
|
|
965
|
+
(r'[\'"\\]', String),
|
|
966
|
+
# unhandled string formatting sign
|
|
967
|
+
(r'%', String)
|
|
968
|
+
# newlines are an error (use "nl" state)
|
|
969
|
+
],
|
|
970
|
+
'nl': [
|
|
971
|
+
(r'\n', String)
|
|
972
|
+
],
|
|
973
|
+
'dqs': [
|
|
974
|
+
(r'"', String, '#pop'),
|
|
975
|
+
(r'\\\\|\\"|\\\n', String.Escape), # included here again for raw strings
|
|
976
|
+
include('strings')
|
|
977
|
+
],
|
|
978
|
+
'sqs': [
|
|
979
|
+
(r"'", String, '#pop'),
|
|
980
|
+
(r"\\\\|\\'|\\\n", String.Escape), # included here again for raw strings
|
|
981
|
+
include('strings')
|
|
982
|
+
],
|
|
983
|
+
'tdqs': [
|
|
984
|
+
(r'"""', String, '#pop'),
|
|
985
|
+
include('strings'),
|
|
986
|
+
include('nl')
|
|
987
|
+
],
|
|
988
|
+
'tsqs': [
|
|
989
|
+
(r"'''", String, '#pop'),
|
|
990
|
+
include('strings'),
|
|
991
|
+
include('nl')
|
|
992
|
+
],
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
class DgLexer(RegexLexer):
|
|
997
|
+
"""
|
|
998
|
+
Lexer for `dg <http://pyos.github.com/dg>`_,
|
|
999
|
+
a functional and object-oriented programming language
|
|
1000
|
+
running on the CPython 3 VM.
|
|
1001
|
+
|
|
1002
|
+
.. versionadded:: 1.6
|
|
1003
|
+
"""
|
|
1004
|
+
name = 'dg'
|
|
1005
|
+
aliases = ['dg']
|
|
1006
|
+
filenames = ['*.dg']
|
|
1007
|
+
mimetypes = ['text/x-dg']
|
|
1008
|
+
|
|
1009
|
+
tokens = {
|
|
1010
|
+
'root': [
|
|
1011
|
+
(r'\s+', Text),
|
|
1012
|
+
(r'#.*?$', Comment.Single),
|
|
1013
|
+
|
|
1014
|
+
(r'(?i)0b[01]+', Number.Bin),
|
|
1015
|
+
(r'(?i)0o[0-7]+', Number.Oct),
|
|
1016
|
+
(r'(?i)0x[0-9a-f]+', Number.Hex),
|
|
1017
|
+
(r'(?i)[+-]?[0-9]+\.[0-9]+(e[+-]?[0-9]+)?j?', Number.Float),
|
|
1018
|
+
(r'(?i)[+-]?[0-9]+e[+-]?\d+j?', Number.Float),
|
|
1019
|
+
(r'(?i)[+-]?[0-9]+j?', Number.Integer),
|
|
1020
|
+
|
|
1021
|
+
(r"(?i)(br|r?b?)'''", String, combined('stringescape', 'tsqs', 'string')),
|
|
1022
|
+
(r'(?i)(br|r?b?)"""', String, combined('stringescape', 'tdqs', 'string')),
|
|
1023
|
+
(r"(?i)(br|r?b?)'", String, combined('stringescape', 'sqs', 'string')),
|
|
1024
|
+
(r'(?i)(br|r?b?)"', String, combined('stringescape', 'dqs', 'string')),
|
|
1025
|
+
|
|
1026
|
+
(r"`\w+'*`", Operator),
|
|
1027
|
+
(r'\b(and|in|is|or|where)\b', Operator.Word),
|
|
1028
|
+
(r'[!$%&*+\-./:<-@\\^|~;,]+', Operator),
|
|
1029
|
+
|
|
1030
|
+
(words((
|
|
1031
|
+
'bool', 'bytearray', 'bytes', 'classmethod', 'complex', 'dict', 'dict\'',
|
|
1032
|
+
'float', 'frozenset', 'int', 'list', 'list\'', 'memoryview', 'object',
|
|
1033
|
+
'property', 'range', 'set', 'set\'', 'slice', 'staticmethod', 'str',
|
|
1034
|
+
'super', 'tuple', 'tuple\'', 'type'),
|
|
1035
|
+
prefix=r'(?<!\.)', suffix=r'(?![\'\w])'),
|
|
1036
|
+
Name.Builtin),
|
|
1037
|
+
(words((
|
|
1038
|
+
'__import__', 'abs', 'all', 'any', 'bin', 'bind', 'chr', 'cmp', 'compile',
|
|
1039
|
+
'complex', 'delattr', 'dir', 'divmod', 'drop', 'dropwhile', 'enumerate',
|
|
1040
|
+
'eval', 'exhaust', 'filter', 'flip', 'foldl1?', 'format', 'fst',
|
|
1041
|
+
'getattr', 'globals', 'hasattr', 'hash', 'head', 'hex', 'id', 'init',
|
|
1042
|
+
'input', 'isinstance', 'issubclass', 'iter', 'iterate', 'last', 'len',
|
|
1043
|
+
'locals', 'map', 'max', 'min', 'next', 'oct', 'open', 'ord', 'pow',
|
|
1044
|
+
'print', 'repr', 'reversed', 'round', 'setattr', 'scanl1?', 'snd',
|
|
1045
|
+
'sorted', 'sum', 'tail', 'take', 'takewhile', 'vars', 'zip'),
|
|
1046
|
+
prefix=r'(?<!\.)', suffix=r'(?![\'\w])'),
|
|
1047
|
+
Name.Builtin),
|
|
1048
|
+
(r"(?<!\.)(self|Ellipsis|NotImplemented|None|True|False)(?!['\w])",
|
|
1049
|
+
Name.Builtin.Pseudo),
|
|
1050
|
+
|
|
1051
|
+
(r"(?<!\.)[A-Z]\w*(Error|Exception|Warning)'*(?!['\w])",
|
|
1052
|
+
Name.Exception),
|
|
1053
|
+
(r"(?<!\.)(Exception|GeneratorExit|KeyboardInterrupt|StopIteration|"
|
|
1054
|
+
r"SystemExit)(?!['\w])", Name.Exception),
|
|
1055
|
+
|
|
1056
|
+
(r"(?<![\w.])(except|finally|for|if|import|not|otherwise|raise|"
|
|
1057
|
+
r"subclass|while|with|yield)(?!['\w])", Keyword.Reserved),
|
|
1058
|
+
|
|
1059
|
+
(r"[A-Z_]+'*(?!['\w])", Name),
|
|
1060
|
+
(r"[A-Z]\w+'*(?!['\w])", Keyword.Type),
|
|
1061
|
+
(r"\w+'*", Name),
|
|
1062
|
+
|
|
1063
|
+
(r'[()]', Punctuation),
|
|
1064
|
+
(r'.', Error),
|
|
1065
|
+
],
|
|
1066
|
+
'stringescape': [
|
|
1067
|
+
(r'\\([\\abfnrtv"\']|\n|N\{.*?\}|u[a-fA-F0-9]{4}|'
|
|
1068
|
+
r'U[a-fA-F0-9]{8}|x[a-fA-F0-9]{2}|[0-7]{1,3})', String.Escape)
|
|
1069
|
+
],
|
|
1070
|
+
'string': [
|
|
1071
|
+
(r'%(\(\w+\))?[-#0 +]*([0-9]+|[*])?(\.([0-9]+|[*]))?'
|
|
1072
|
+
'[hlL]?[E-GXc-giorsux%]', String.Interpol),
|
|
1073
|
+
(r'[^\\\'"%\n]+', String),
|
|
1074
|
+
# quotes, percents and backslashes must be parsed one at a time
|
|
1075
|
+
(r'[\'"\\]', String),
|
|
1076
|
+
# unhandled string formatting sign
|
|
1077
|
+
(r'%', String),
|
|
1078
|
+
(r'\n', String)
|
|
1079
|
+
],
|
|
1080
|
+
'dqs': [
|
|
1081
|
+
(r'"', String, '#pop')
|
|
1082
|
+
],
|
|
1083
|
+
'sqs': [
|
|
1084
|
+
(r"'", String, '#pop')
|
|
1085
|
+
],
|
|
1086
|
+
'tdqs': [
|
|
1087
|
+
(r'"""', String, '#pop')
|
|
1088
|
+
],
|
|
1089
|
+
'tsqs': [
|
|
1090
|
+
(r"'''", String, '#pop')
|
|
1091
|
+
],
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
|
|
1095
|
+
class NumPyLexer(PythonLexer):
|
|
1096
|
+
"""
|
|
1097
|
+
A Python lexer recognizing Numerical Python builtins.
|
|
1098
|
+
|
|
1099
|
+
.. versionadded:: 0.10
|
|
1100
|
+
"""
|
|
1101
|
+
|
|
1102
|
+
name = 'NumPy'
|
|
1103
|
+
aliases = ['numpy']
|
|
1104
|
+
|
|
1105
|
+
# override the mimetypes to not inherit them from python
|
|
1106
|
+
mimetypes = []
|
|
1107
|
+
filenames = []
|
|
1108
|
+
|
|
1109
|
+
EXTRA_KEYWORDS = {
|
|
1110
|
+
'abs', 'absolute', 'accumulate', 'add', 'alen', 'all', 'allclose',
|
|
1111
|
+
'alltrue', 'alterdot', 'amax', 'amin', 'angle', 'any', 'append',
|
|
1112
|
+
'apply_along_axis', 'apply_over_axes', 'arange', 'arccos', 'arccosh',
|
|
1113
|
+
'arcsin', 'arcsinh', 'arctan', 'arctan2', 'arctanh', 'argmax', 'argmin',
|
|
1114
|
+
'argsort', 'argwhere', 'around', 'array', 'array2string', 'array_equal',
|
|
1115
|
+
'array_equiv', 'array_repr', 'array_split', 'array_str', 'arrayrange',
|
|
1116
|
+
'asanyarray', 'asarray', 'asarray_chkfinite', 'ascontiguousarray',
|
|
1117
|
+
'asfarray', 'asfortranarray', 'asmatrix', 'asscalar', 'astype',
|
|
1118
|
+
'atleast_1d', 'atleast_2d', 'atleast_3d', 'average', 'bartlett',
|
|
1119
|
+
'base_repr', 'beta', 'binary_repr', 'bincount', 'binomial',
|
|
1120
|
+
'bitwise_and', 'bitwise_not', 'bitwise_or', 'bitwise_xor', 'blackman',
|
|
1121
|
+
'bmat', 'broadcast', 'byte_bounds', 'bytes', 'byteswap', 'c_',
|
|
1122
|
+
'can_cast', 'ceil', 'choose', 'clip', 'column_stack', 'common_type',
|
|
1123
|
+
'compare_chararrays', 'compress', 'concatenate', 'conj', 'conjugate',
|
|
1124
|
+
'convolve', 'copy', 'corrcoef', 'correlate', 'cos', 'cosh', 'cov',
|
|
1125
|
+
'cross', 'cumprod', 'cumproduct', 'cumsum', 'delete', 'deprecate',
|
|
1126
|
+
'diag', 'diagflat', 'diagonal', 'diff', 'digitize', 'disp', 'divide',
|
|
1127
|
+
'dot', 'dsplit', 'dstack', 'dtype', 'dump', 'dumps', 'ediff1d', 'empty',
|
|
1128
|
+
'empty_like', 'equal', 'exp', 'expand_dims', 'expm1', 'extract', 'eye',
|
|
1129
|
+
'fabs', 'fastCopyAndTranspose', 'fft', 'fftfreq', 'fftshift', 'fill',
|
|
1130
|
+
'finfo', 'fix', 'flat', 'flatnonzero', 'flatten', 'fliplr', 'flipud',
|
|
1131
|
+
'floor', 'floor_divide', 'fmod', 'frexp', 'fromarrays', 'frombuffer',
|
|
1132
|
+
'fromfile', 'fromfunction', 'fromiter', 'frompyfunc', 'fromstring',
|
|
1133
|
+
'generic', 'get_array_wrap', 'get_include', 'get_numarray_include',
|
|
1134
|
+
'get_numpy_include', 'get_printoptions', 'getbuffer', 'getbufsize',
|
|
1135
|
+
'geterr', 'geterrcall', 'geterrobj', 'getfield', 'gradient', 'greater',
|
|
1136
|
+
'greater_equal', 'gumbel', 'hamming', 'hanning', 'histogram',
|
|
1137
|
+
'histogram2d', 'histogramdd', 'hsplit', 'hstack', 'hypot', 'i0',
|
|
1138
|
+
'identity', 'ifft', 'imag', 'index_exp', 'indices', 'inf', 'info',
|
|
1139
|
+
'inner', 'insert', 'int_asbuffer', 'interp', 'intersect1d',
|
|
1140
|
+
'intersect1d_nu', 'inv', 'invert', 'iscomplex', 'iscomplexobj',
|
|
1141
|
+
'isfinite', 'isfortran', 'isinf', 'isnan', 'isneginf', 'isposinf',
|
|
1142
|
+
'isreal', 'isrealobj', 'isscalar', 'issctype', 'issubclass_',
|
|
1143
|
+
'issubdtype', 'issubsctype', 'item', 'itemset', 'iterable', 'ix_',
|
|
1144
|
+
'kaiser', 'kron', 'ldexp', 'left_shift', 'less', 'less_equal', 'lexsort',
|
|
1145
|
+
'linspace', 'load', 'loads', 'loadtxt', 'log', 'log10', 'log1p', 'log2',
|
|
1146
|
+
'logical_and', 'logical_not', 'logical_or', 'logical_xor', 'logspace',
|
|
1147
|
+
'lstsq', 'mat', 'matrix', 'max', 'maximum', 'maximum_sctype',
|
|
1148
|
+
'may_share_memory', 'mean', 'median', 'meshgrid', 'mgrid', 'min',
|
|
1149
|
+
'minimum', 'mintypecode', 'mod', 'modf', 'msort', 'multiply', 'nan',
|
|
1150
|
+
'nan_to_num', 'nanargmax', 'nanargmin', 'nanmax', 'nanmin', 'nansum',
|
|
1151
|
+
'ndenumerate', 'ndim', 'ndindex', 'negative', 'newaxis', 'newbuffer',
|
|
1152
|
+
'newbyteorder', 'nonzero', 'not_equal', 'obj2sctype', 'ogrid', 'ones',
|
|
1153
|
+
'ones_like', 'outer', 'permutation', 'piecewise', 'pinv', 'pkgload',
|
|
1154
|
+
'place', 'poisson', 'poly', 'poly1d', 'polyadd', 'polyder', 'polydiv',
|
|
1155
|
+
'polyfit', 'polyint', 'polymul', 'polysub', 'polyval', 'power', 'prod',
|
|
1156
|
+
'product', 'ptp', 'put', 'putmask', 'r_', 'randint', 'random_integers',
|
|
1157
|
+
'random_sample', 'ranf', 'rank', 'ravel', 'real', 'real_if_close',
|
|
1158
|
+
'recarray', 'reciprocal', 'reduce', 'remainder', 'repeat', 'require',
|
|
1159
|
+
'reshape', 'resize', 'restoredot', 'right_shift', 'rint', 'roll',
|
|
1160
|
+
'rollaxis', 'roots', 'rot90', 'round', 'round_', 'row_stack', 's_',
|
|
1161
|
+
'sample', 'savetxt', 'sctype2char', 'searchsorted', 'seed', 'select',
|
|
1162
|
+
'set_numeric_ops', 'set_printoptions', 'set_string_function',
|
|
1163
|
+
'setbufsize', 'setdiff1d', 'seterr', 'seterrcall', 'seterrobj',
|
|
1164
|
+
'setfield', 'setflags', 'setmember1d', 'setxor1d', 'shape',
|
|
1165
|
+
'show_config', 'shuffle', 'sign', 'signbit', 'sin', 'sinc', 'sinh',
|
|
1166
|
+
'size', 'slice', 'solve', 'sometrue', 'sort', 'sort_complex', 'source',
|
|
1167
|
+
'split', 'sqrt', 'square', 'squeeze', 'standard_normal', 'std',
|
|
1168
|
+
'subtract', 'sum', 'svd', 'swapaxes', 'take', 'tan', 'tanh', 'tensordot',
|
|
1169
|
+
'test', 'tile', 'tofile', 'tolist', 'tostring', 'trace', 'transpose',
|
|
1170
|
+
'trapz', 'tri', 'tril', 'trim_zeros', 'triu', 'true_divide', 'typeDict',
|
|
1171
|
+
'typename', 'uniform', 'union1d', 'unique', 'unique1d', 'unravel_index',
|
|
1172
|
+
'unwrap', 'vander', 'var', 'vdot', 'vectorize', 'view', 'vonmises',
|
|
1173
|
+
'vsplit', 'vstack', 'weibull', 'where', 'who', 'zeros', 'zeros_like'
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
def get_tokens_unprocessed(self, text):
|
|
1177
|
+
for index, token, value in \
|
|
1178
|
+
PythonLexer.get_tokens_unprocessed(self, text):
|
|
1179
|
+
if token is Name and value in self.EXTRA_KEYWORDS:
|
|
1180
|
+
yield index, Keyword.Pseudo, value
|
|
1181
|
+
else:
|
|
1182
|
+
yield index, token, value
|
|
1183
|
+
|
|
1184
|
+
def analyse_text(text):
|
|
1185
|
+
ltext = text[:1000]
|
|
1186
|
+
return (shebang_matches(text, r'pythonw?(3(\.\d)?)?') or
|
|
1187
|
+
'import ' in ltext) \
|
|
1188
|
+
and ('import numpy' in ltext or 'from numpy import' in ltext)
|