@scrypted/arlo 0.11.24 → 0.11.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/plugin.zip +0 -0
- package/package.json +9 -1
- package/venv/bin/Activate.ps1 +247 -0
- package/venv/bin/activate +69 -0
- package/venv/bin/activate.csh +26 -0
- package/venv/bin/activate.fish +69 -0
- package/venv/bin/normalizer +8 -0
- package/venv/bin/pip +8 -0
- package/venv/bin/pip3 +8 -0
- package/venv/bin/pip3.10 +8 -0
- package/venv/lib/python3.10/site-packages/_cffi_backend.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/_distutils_hack/__init__.py +132 -0
- package/venv/lib/python3.10/site-packages/_distutils_hack/override.py +1 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/__init__.py +13 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/_staggered.py +202 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/impl.py +210 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/types.py +12 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs/utils.py +97 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/LICENSE +279 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/METADATA +123 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/RECORD +16 -0
- package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/aiohttp/.hash/_cparser.pxd.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/.hash/_find_header.pxd.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/.hash/_http_parser.pyx.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/.hash/_http_writer.pyx.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/.hash/hdrs.py.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/__init__.py +264 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_cparser.pxd +158 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_find_header.pxd +2 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_headers.pxi +83 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_http_parser.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_http_parser.pyx +837 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_http_writer.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_http_writer.pyx +162 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/.hash/mask.pxd.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/.hash/mask.pyx.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/.hash/reader_c.pxd.hash +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/__init__.py +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/helpers.py +147 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/mask.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/mask.pxd +3 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/mask.pyx +48 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/models.py +84 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader.py +31 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader_c.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader_c.pxd +102 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader_c.py +468 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader_py.py +468 -0
- package/venv/lib/python3.10/site-packages/aiohttp/_websocket/writer.py +177 -0
- package/venv/lib/python3.10/site-packages/aiohttp/abc.py +253 -0
- package/venv/lib/python3.10/site-packages/aiohttp/base_protocol.py +100 -0
- package/venv/lib/python3.10/site-packages/aiohttp/client.py +1550 -0
- package/venv/lib/python3.10/site-packages/aiohttp/client_exceptions.py +421 -0
- package/venv/lib/python3.10/site-packages/aiohttp/client_proto.py +307 -0
- package/venv/lib/python3.10/site-packages/aiohttp/client_reqrep.py +1315 -0
- package/venv/lib/python3.10/site-packages/aiohttp/client_ws.py +426 -0
- package/venv/lib/python3.10/site-packages/aiohttp/compression_utils.py +173 -0
- package/venv/lib/python3.10/site-packages/aiohttp/connector.py +1652 -0
- package/venv/lib/python3.10/site-packages/aiohttp/cookiejar.py +495 -0
- package/venv/lib/python3.10/site-packages/aiohttp/formdata.py +182 -0
- package/venv/lib/python3.10/site-packages/aiohttp/hdrs.py +121 -0
- package/venv/lib/python3.10/site-packages/aiohttp/helpers.py +944 -0
- package/venv/lib/python3.10/site-packages/aiohttp/http.py +72 -0
- package/venv/lib/python3.10/site-packages/aiohttp/http_exceptions.py +112 -0
- package/venv/lib/python3.10/site-packages/aiohttp/http_parser.py +1046 -0
- package/venv/lib/python3.10/site-packages/aiohttp/http_websocket.py +36 -0
- package/venv/lib/python3.10/site-packages/aiohttp/http_writer.py +249 -0
- package/venv/lib/python3.10/site-packages/aiohttp/log.py +8 -0
- package/venv/lib/python3.10/site-packages/aiohttp/multipart.py +1071 -0
- package/venv/lib/python3.10/site-packages/aiohttp/payload.py +519 -0
- package/venv/lib/python3.10/site-packages/aiohttp/payload_streamer.py +78 -0
- package/venv/lib/python3.10/site-packages/aiohttp/py.typed +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp/pytest_plugin.py +436 -0
- package/venv/lib/python3.10/site-packages/aiohttp/resolver.py +187 -0
- package/venv/lib/python3.10/site-packages/aiohttp/streams.py +727 -0
- package/venv/lib/python3.10/site-packages/aiohttp/tcp_helpers.py +37 -0
- package/venv/lib/python3.10/site-packages/aiohttp/test_utils.py +770 -0
- package/venv/lib/python3.10/site-packages/aiohttp/tracing.py +470 -0
- package/venv/lib/python3.10/site-packages/aiohttp/typedefs.py +69 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web.py +605 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_app.py +620 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_exceptions.py +452 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_fileresponse.py +418 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_log.py +216 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_middlewares.py +121 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_protocol.py +750 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_request.py +916 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_response.py +840 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_routedef.py +214 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_runner.py +399 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_server.py +84 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_urldispatcher.py +1301 -0
- package/venv/lib/python3.10/site-packages/aiohttp/web_ws.py +622 -0
- package/venv/lib/python3.10/site-packages/aiohttp/worker.py +252 -0
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/LICENSE.txt +13 -0
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/METADATA +250 -0
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/RECORD +132 -0
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/aiosignal/__init__.py +36 -0
- package/venv/lib/python3.10/site-packages/aiosignal/__init__.pyi +12 -0
- package/venv/lib/python3.10/site-packages/aiosignal/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/LICENSE +201 -0
- package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/METADATA +123 -0
- package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/RECORD +10 -0
- package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/async_timeout/__init__.py +276 -0
- package/venv/lib/python3.10/site-packages/async_timeout/py.typed +1 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/LICENSE +13 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/METADATA +163 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/RECORD +11 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/WHEEL +5 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/zip-safe +1 -0
- package/venv/lib/python3.10/site-packages/attr/__init__.py +104 -0
- package/venv/lib/python3.10/site-packages/attr/__init__.pyi +389 -0
- package/venv/lib/python3.10/site-packages/attr/_cmp.py +160 -0
- package/venv/lib/python3.10/site-packages/attr/_cmp.pyi +13 -0
- package/venv/lib/python3.10/site-packages/attr/_compat.py +94 -0
- package/venv/lib/python3.10/site-packages/attr/_config.py +31 -0
- package/venv/lib/python3.10/site-packages/attr/_funcs.py +468 -0
- package/venv/lib/python3.10/site-packages/attr/_make.py +3055 -0
- package/venv/lib/python3.10/site-packages/attr/_next_gen.py +623 -0
- package/venv/lib/python3.10/site-packages/attr/_typing_compat.pyi +15 -0
- package/venv/lib/python3.10/site-packages/attr/_version_info.py +86 -0
- package/venv/lib/python3.10/site-packages/attr/_version_info.pyi +9 -0
- package/venv/lib/python3.10/site-packages/attr/converters.py +162 -0
- package/venv/lib/python3.10/site-packages/attr/converters.pyi +19 -0
- package/venv/lib/python3.10/site-packages/attr/exceptions.py +95 -0
- package/venv/lib/python3.10/site-packages/attr/exceptions.pyi +17 -0
- package/venv/lib/python3.10/site-packages/attr/filters.py +72 -0
- package/venv/lib/python3.10/site-packages/attr/filters.pyi +6 -0
- package/venv/lib/python3.10/site-packages/attr/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/attr/setters.py +79 -0
- package/venv/lib/python3.10/site-packages/attr/setters.pyi +20 -0
- package/venv/lib/python3.10/site-packages/attr/validators.py +710 -0
- package/venv/lib/python3.10/site-packages/attr/validators.pyi +86 -0
- package/venv/lib/python3.10/site-packages/attrs/__init__.py +69 -0
- package/venv/lib/python3.10/site-packages/attrs/__init__.pyi +263 -0
- package/venv/lib/python3.10/site-packages/attrs/converters.py +3 -0
- package/venv/lib/python3.10/site-packages/attrs/exceptions.py +3 -0
- package/venv/lib/python3.10/site-packages/attrs/filters.py +3 -0
- package/venv/lib/python3.10/site-packages/attrs/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/attrs/setters.py +3 -0
- package/venv/lib/python3.10/site-packages/attrs/validators.py +3 -0
- package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/METADATA +232 -0
- package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/RECORD +55 -0
- package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/licenses/LICENSE +21 -0
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/METADATA +123 -0
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/RECORD +90 -0
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/licenses/AUTHORS +49 -0
- package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/licenses/LICENSE +31 -0
- package/venv/lib/python3.10/site-packages/bs4/__init__.py +1170 -0
- package/venv/lib/python3.10/site-packages/bs4/_deprecation.py +80 -0
- package/venv/lib/python3.10/site-packages/bs4/_typing.py +196 -0
- package/venv/lib/python3.10/site-packages/bs4/_warnings.py +98 -0
- package/venv/lib/python3.10/site-packages/bs4/builder/__init__.py +848 -0
- package/venv/lib/python3.10/site-packages/bs4/builder/_html5lib.py +594 -0
- package/venv/lib/python3.10/site-packages/bs4/builder/_htmlparser.py +474 -0
- package/venv/lib/python3.10/site-packages/bs4/builder/_lxml.py +490 -0
- package/venv/lib/python3.10/site-packages/bs4/css.py +338 -0
- package/venv/lib/python3.10/site-packages/bs4/dammit.py +1408 -0
- package/venv/lib/python3.10/site-packages/bs4/diagnose.py +268 -0
- package/venv/lib/python3.10/site-packages/bs4/element.py +2886 -0
- package/venv/lib/python3.10/site-packages/bs4/exceptions.py +28 -0
- package/venv/lib/python3.10/site-packages/bs4/filter.py +755 -0
- package/venv/lib/python3.10/site-packages/bs4/formatter.py +276 -0
- package/venv/lib/python3.10/site-packages/bs4/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/__init__.py +1305 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4670634698080256.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4818336571064320.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4999465949331456.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5000587759190016.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5167584867909632.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5270998950477824.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5375146639360000.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5492400320282624.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5703933063462912.testcase +2 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5843991618256896.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5984173902397440.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6124268085182464.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6241471367348224.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6306874195312640.testcase +1 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6450958476902400.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6600557255327744.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/crash-0d306a50c8ed8bcd0785b67000fcd5dea1d33f08.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/crash-ffbdfa8a2b26f13537b68d3794b0478a4090ee4a.testcase +0 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_builder.py +28 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_builder_registry.py +139 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_css.py +536 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_dammit.py +433 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_element.py +138 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_filter.py +674 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_formatter.py +170 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_fuzz.py +181 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_html5lib.py +264 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_htmlparser.py +161 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_lxml.py +196 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_navigablestring.py +144 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_pageelement.py +437 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_soup.py +602 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_tag.py +241 -0
- package/venv/lib/python3.10/site-packages/bs4/tests/test_tree.py +1452 -0
- package/venv/lib/python3.10/site-packages/cachetools/__init__.py +859 -0
- package/venv/lib/python3.10/site-packages/cachetools/func.py +121 -0
- package/venv/lib/python3.10/site-packages/cachetools/keys.py +62 -0
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/LICENSE +20 -0
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/METADATA +151 -0
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/RECORD +13 -0
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/WHEEL +5 -0
- package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/certifi/__init__.py +4 -0
- package/venv/lib/python3.10/site-packages/certifi/__main__.py +12 -0
- package/venv/lib/python3.10/site-packages/certifi/cacert.pem +4897 -0
- package/venv/lib/python3.10/site-packages/certifi/core.py +114 -0
- package/venv/lib/python3.10/site-packages/certifi/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/LICENSE +20 -0
- package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/METADATA +77 -0
- package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/RECORD +14 -0
- package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/WHEEL +5 -0
- package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/cffi/__init__.py +14 -0
- package/venv/lib/python3.10/site-packages/cffi/_cffi_errors.h +149 -0
- package/venv/lib/python3.10/site-packages/cffi/_cffi_include.h +389 -0
- package/venv/lib/python3.10/site-packages/cffi/_embedding.h +550 -0
- package/venv/lib/python3.10/site-packages/cffi/_imp_emulation.py +83 -0
- package/venv/lib/python3.10/site-packages/cffi/_shimmed_dist_utils.py +45 -0
- package/venv/lib/python3.10/site-packages/cffi/api.py +967 -0
- package/venv/lib/python3.10/site-packages/cffi/backend_ctypes.py +1121 -0
- package/venv/lib/python3.10/site-packages/cffi/cffi_opcode.py +187 -0
- package/venv/lib/python3.10/site-packages/cffi/commontypes.py +82 -0
- package/venv/lib/python3.10/site-packages/cffi/cparser.py +1015 -0
- package/venv/lib/python3.10/site-packages/cffi/error.py +31 -0
- package/venv/lib/python3.10/site-packages/cffi/ffiplatform.py +113 -0
- package/venv/lib/python3.10/site-packages/cffi/lock.py +30 -0
- package/venv/lib/python3.10/site-packages/cffi/model.py +618 -0
- package/venv/lib/python3.10/site-packages/cffi/parse_c_type.h +181 -0
- package/venv/lib/python3.10/site-packages/cffi/pkgconfig.py +121 -0
- package/venv/lib/python3.10/site-packages/cffi/recompiler.py +1598 -0
- package/venv/lib/python3.10/site-packages/cffi/setuptools_ext.py +216 -0
- package/venv/lib/python3.10/site-packages/cffi/vengine_cpy.py +1084 -0
- package/venv/lib/python3.10/site-packages/cffi/vengine_gen.py +679 -0
- package/venv/lib/python3.10/site-packages/cffi/verifier.py +306 -0
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/LICENSE +26 -0
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/METADATA +40 -0
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/RECORD +48 -0
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/entry_points.txt +2 -0
- package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/top_level.txt +2 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/__init__.py +48 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/__main__.py +6 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/api.py +668 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/cd.py +395 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/cli/__init__.py +8 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/cli/__main__.py +321 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/constant.py +1998 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/legacy.py +66 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/md.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/md.py +630 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/md__mypyc.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/models.py +360 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/utils.py +408 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer/version.py +8 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/LICENSE +21 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/METADATA +721 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/RECORD +35 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/entry_points.txt +2 -0
- package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/__init__.py +407 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/2captcha.py +258 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/9kw.py +214 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/__init__.py +47 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/anticaptcha.py +199 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/capmonster.py +199 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/capsolver.py +188 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/captcha/deathbycaptcha.py +276 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/cloudflare.py +490 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/exceptions.py +111 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/help.py +72 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/__init__.py +56 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/chakracore.py +103 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/encapsulated.py +62 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/js2py.py +44 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/jsunfuck.py +97 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/native.py +233 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/nodejs.py +49 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/v8.py +33 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/user_agent/__init__.py +124 -0
- package/venv/lib/python3.10/site-packages/cloudscraper/user_agent/browsers.json +7913 -0
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/LICENSE +22 -0
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/METADATA +674 -0
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/RECORD +48 -0
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/__init__.py +37 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/__version__.py +8 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/_asyncio_selector.py +344 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/_wrapper.abi3.so +0 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/aio.py +257 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/const.py +581 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/curl.py +548 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/py.typed +1 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/__init__.py +146 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/cookies.py +355 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/errors.py +7 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/exceptions.py +219 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/headers.py +348 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/impersonate.py +360 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/models.py +292 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/session.py +1021 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/utils.py +663 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/requests/websockets.py +711 -0
- package/venv/lib/python3.10/site-packages/curl_cffi/utils.py +13 -0
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/LICENSE +21 -0
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/METADATA +333 -0
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/RECORD +43 -0
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/distutils-precedence.pth +1 -0
- package/venv/lib/python3.10/site-packages/frozenlist/__init__.py +98 -0
- package/venv/lib/python3.10/site-packages/frozenlist/__init__.pyi +47 -0
- package/venv/lib/python3.10/site-packages/frozenlist/_frozenlist.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/frozenlist/_frozenlist.pyx +123 -0
- package/venv/lib/python3.10/site-packages/frozenlist/py.typed +1 -0
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/LICENSE +201 -0
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/METADATA +477 -0
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/RECORD +12 -0
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/WHEEL +8 -0
- package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/idna/__init__.py +45 -0
- package/venv/lib/python3.10/site-packages/idna/codec.py +122 -0
- package/venv/lib/python3.10/site-packages/idna/compat.py +15 -0
- package/venv/lib/python3.10/site-packages/idna/core.py +437 -0
- package/venv/lib/python3.10/site-packages/idna/idnadata.py +4243 -0
- package/venv/lib/python3.10/site-packages/idna/intranges.py +57 -0
- package/venv/lib/python3.10/site-packages/idna/package_data.py +1 -0
- package/venv/lib/python3.10/site-packages/idna/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/idna/uts46data.py +8681 -0
- package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/LICENSE.md +31 -0
- package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/METADATA +250 -0
- package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/RECORD +22 -0
- package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/multidict/__init__.py +48 -0
- package/venv/lib/python3.10/site-packages/multidict/__init__.pyi +152 -0
- package/venv/lib/python3.10/site-packages/multidict/_abc.py +48 -0
- package/venv/lib/python3.10/site-packages/multidict/_compat.py +14 -0
- package/venv/lib/python3.10/site-packages/multidict/_multidict.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/multidict/_multidict_base.py +152 -0
- package/venv/lib/python3.10/site-packages/multidict/_multidict_py.py +527 -0
- package/venv/lib/python3.10/site-packages/multidict/py.typed +1 -0
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/LICENSE +13 -0
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/METADATA +140 -0
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/RECORD +19 -0
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/paho/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/__init__.py +5 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/client.py +5004 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/enums.py +113 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/matcher.py +78 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/packettypes.py +43 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/properties.py +421 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/publish.py +306 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/reasoncodes.py +223 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/subscribe.py +281 -0
- package/venv/lib/python3.10/site-packages/paho/mqtt/subscribeoptions.py +113 -0
- package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/METADATA +635 -0
- package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/RECORD +29 -0
- package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/licenses/LICENSE.txt +3 -0
- package/venv/lib/python3.10/site-packages/pip/__init__.py +13 -0
- package/venv/lib/python3.10/site-packages/pip/__main__.py +31 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/__init__.py +19 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/build_env.py +296 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cache.py +264 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/__init__.py +4 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/autocompletion.py +171 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/base_command.py +220 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/cmdoptions.py +1018 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/command_context.py +27 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/main.py +70 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/main_parser.py +87 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/parser.py +292 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/progress_bars.py +321 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/req_command.py +506 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/spinners.py +157 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/cli/status_codes.py +6 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/__init__.py +127 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/cache.py +223 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/check.py +53 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/completion.py +96 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/configuration.py +266 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/debug.py +202 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/download.py +140 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/freeze.py +97 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/hash.py +59 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/help.py +41 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/index.py +139 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/install.py +771 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/list.py +363 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/search.py +174 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/show.py +178 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/uninstall.py +105 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/commands/wheel.py +178 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/configuration.py +366 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/distributions/__init__.py +21 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/distributions/base.py +36 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/distributions/installed.py +20 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/distributions/sdist.py +127 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/distributions/wheel.py +31 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/exceptions.py +658 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/index/__init__.py +2 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/index/collector.py +648 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/index/package_finder.py +1004 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/index/sources.py +224 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/locations/__init__.py +520 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/locations/_distutils.py +169 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/locations/_sysconfig.py +219 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/locations/base.py +52 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/main.py +12 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/metadata/__init__.py +62 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/metadata/base.py +546 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/metadata/pkg_resources.py +256 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/__init__.py +2 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/candidate.py +34 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/direct_url.py +220 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/format_control.py +80 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/index.py +28 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/link.py +288 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/scheme.py +31 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/search_scope.py +129 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/selection_prefs.py +51 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/target_python.py +110 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/models/wheel.py +89 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/__init__.py +2 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/auth.py +323 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/cache.py +69 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/download.py +185 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/lazy_wheel.py +210 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/session.py +454 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/utils.py +96 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/network/xmlrpc.py +60 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/metadata.py +39 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/metadata_editable.py +41 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/metadata_legacy.py +74 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/wheel.py +37 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/wheel_editable.py +46 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/wheel_legacy.py +102 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/check.py +149 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/freeze.py +254 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/__init__.py +2 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/editable_legacy.py +47 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/legacy.py +120 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/wheel.py +738 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/operations/prepare.py +642 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/pyproject.py +168 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/req/__init__.py +94 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/req/constructors.py +490 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/req/req_file.py +536 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/req/req_install.py +858 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/req/req_set.py +189 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/req/req_tracker.py +124 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/req/req_uninstall.py +633 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/base.py +20 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/legacy/resolver.py +467 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/base.py +141 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py +547 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py +739 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +155 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/provider.py +248 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/reporter.py +68 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/requirements.py +166 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py +292 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/self_outdated_check.py +189 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/_log.py +38 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/appdirs.py +52 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/compat.py +63 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/compatibility_tags.py +165 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/datetime.py +11 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/deprecation.py +120 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/direct_url_helpers.py +87 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/distutils_args.py +42 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/egg_link.py +75 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/encoding.py +36 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/entrypoints.py +27 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/filesystem.py +182 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/filetypes.py +27 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/glibc.py +88 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/hashes.py +144 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/inject_securetransport.py +35 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/logging.py +343 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/misc.py +653 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/models.py +39 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/packaging.py +57 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/setuptools_build.py +195 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/subprocess.py +260 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/temp_dir.py +246 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/unpacking.py +258 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/urls.py +62 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/virtualenv.py +104 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/utils/wheel.py +136 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/__init__.py +15 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/bazaar.py +101 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/git.py +526 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/mercurial.py +163 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/subversion.py +324 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/vcs/versioncontrol.py +705 -0
- package/venv/lib/python3.10/site-packages/pip/_internal/wheel_builder.py +377 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/__init__.py +111 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/__init__.py +18 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/_cmd.py +61 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/adapter.py +137 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/cache.py +43 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +6 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +150 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +37 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/compat.py +32 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/controller.py +415 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/filewrapper.py +111 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/heuristics.py +139 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/serialize.py +186 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/wrapper.py +33 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/__init__.py +3 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/__main__.py +12 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/cacert.pem +4362 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/core.py +76 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/__init__.py +83 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/big5freq.py +386 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/big5prober.py +47 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/chardistribution.py +233 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/charsetgroupprober.py +107 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/charsetprober.py +145 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/cli/__init__.py +1 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/cli/chardetect.py +84 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/codingstatemachine.py +88 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/compat.py +36 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/cp949prober.py +49 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/enums.py +76 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/escprober.py +101 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/escsm.py +246 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/eucjpprober.py +92 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euckrfreq.py +195 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euckrprober.py +47 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euctwfreq.py +387 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euctwprober.py +46 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/gb2312freq.py +283 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/gb2312prober.py +46 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/hebrewprober.py +292 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/jisfreq.py +325 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/jpcntx.py +233 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langbulgarianmodel.py +4650 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langgreekmodel.py +4398 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langhebrewmodel.py +4383 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langhungarianmodel.py +4650 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langrussianmodel.py +5718 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langthaimodel.py +4383 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langturkishmodel.py +4383 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/latin1prober.py +145 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/mbcharsetprober.py +91 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/mbcsgroupprober.py +54 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/mbcssm.py +572 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/metadata/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/metadata/languages.py +310 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/sbcharsetprober.py +145 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/sbcsgroupprober.py +83 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/sjisprober.py +92 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/universaldetector.py +286 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/utf8prober.py +82 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/version.py +9 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/__init__.py +6 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/ansi.py +102 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/ansitowin32.py +258 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/initialise.py +80 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/win32.py +152 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/winterm.py +169 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/__init__.py +23 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/compat.py +1116 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/database.py +1345 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/index.py +509 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/locators.py +1300 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/manifest.py +393 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/markers.py +152 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/metadata.py +1058 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/resources.py +358 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/scripts.py +429 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/util.py +1932 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/version.py +739 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/wheel.py +1053 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/distro.py +1386 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/__init__.py +35 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_ihatexml.py +289 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_inputstream.py +918 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_tokenizer.py +1735 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/__init__.py +5 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/_base.py +40 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/py.py +67 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_utils.py +159 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/constants.py +2946 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/alphabeticalattributes.py +29 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/base.py +12 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/inject_meta_charset.py +73 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/lint.py +93 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/optionaltags.py +207 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/sanitizer.py +916 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/whitespace.py +38 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/html5parser.py +2795 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/serializer.py +409 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treeadapters/__init__.py +30 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treeadapters/genshi.py +54 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treeadapters/sax.py +50 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/__init__.py +88 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/base.py +417 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/dom.py +239 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/etree.py +343 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/etree_lxml.py +392 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/__init__.py +154 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/base.py +252 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/dom.py +43 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/etree.py +131 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.py +215 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/genshi.py +69 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/__init__.py +44 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/codec.py +112 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/compat.py +13 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/core.py +397 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/idnadata.py +2137 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/intranges.py +54 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/package_data.py +2 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/idna/uts46data.py +8512 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/__init__.py +54 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/_version.py +1 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/exceptions.py +48 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/ext.py +193 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/fallback.py +1012 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/__about__.py +26 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/__init__.py +25 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_manylinux.py +301 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_musllinux.py +136 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_structures.py +61 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/markers.py +304 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/requirements.py +146 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/specifiers.py +802 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/tags.py +487 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/utils.py +136 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/version.py +504 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/__init__.py +6 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/build.py +127 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/check.py +207 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/colorlog.py +115 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/compat.py +51 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/dirtools.py +44 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/envbuild.py +171 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/__init__.py +17 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py +363 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/meta.py +92 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/wrappers.py +375 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py +3296 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pkg_resources/py31compat.py +23 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/__init__.py +331 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/__main__.py +46 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/android.py +119 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/api.py +156 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/macos.py +64 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/unix.py +181 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/version.py +4 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/windows.py +182 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/progress/__init__.py +189 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/progress/bar.py +93 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/progress/colors.py +79 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/progress/counter.py +47 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/progress/spinner.py +45 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/__init__.py +83 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/__main__.py +17 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/cmdline.py +663 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/console.py +70 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/filter.py +71 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/filters/__init__.py +937 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatter.py +94 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/__init__.py +153 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/_mapping.py +84 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/bbcode.py +108 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/groff.py +168 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/html.py +983 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/img.py +641 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/irc.py +179 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/latex.py +511 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/other.py +161 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/pangomarkup.py +83 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/rtf.py +146 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/svg.py +188 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/terminal.py +127 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/terminal256.py +338 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexer.py +879 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexers/__init__.py +341 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexers/_mapping.py +580 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexers/python.py +1188 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/modeline.py +43 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/plugin.py +69 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/regexopt.py +91 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/scanner.py +104 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/sphinxext.py +155 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/style.py +197 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/styles/__init__.py +93 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/token.py +212 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/unistring.py +153 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/util.py +308 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/__init__.py +328 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/actions.py +207 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/common.py +424 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/core.py +5789 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/diagram/__init__.py +593 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/exceptions.py +267 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/helpers.py +1069 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/results.py +760 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/testing.py +331 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/unicode.py +332 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/util.py +235 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/__init__.py +154 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/__version__.py +14 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/_internal_utils.py +42 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/adapters.py +538 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/api.py +159 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/auth.py +305 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/certs.py +18 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/compat.py +77 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/cookies.py +549 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/exceptions.py +133 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/help.py +132 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/hooks.py +34 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/models.py +973 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/packages.py +16 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/sessions.py +771 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/status_codes.py +123 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/structures.py +105 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/requests/utils.py +1060 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/__init__.py +26 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/compat/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py +6 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/providers.py +133 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/reporters.py +43 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py +482 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/structs.py +165 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/__init__.py +172 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/__main__.py +280 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_cell_widths.py +451 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_emoji_codes.py +3610 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_emoji_replace.py +32 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_extension.py +10 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_inspect.py +210 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_log_render.py +94 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_loop.py +43 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_lru_cache.py +34 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_palettes.py +309 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_pick.py +17 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_ratio.py +160 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_spinners.py +848 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_stack.py +16 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_timer.py +19 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_windows.py +72 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_wrap.py +55 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/abc.py +33 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/align.py +312 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/ansi.py +228 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/bar.py +94 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/box.py +483 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/cells.py +147 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/color.py +581 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/color_triplet.py +38 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/columns.py +187 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/console.py +2211 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/constrain.py +37 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/containers.py +167 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/control.py +175 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/default_styles.py +183 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/diagnose.py +6 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/emoji.py +96 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/errors.py +34 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/file_proxy.py +54 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/filesize.py +89 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/highlighter.py +147 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/json.py +140 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/jupyter.py +92 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/layout.py +444 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/live.py +365 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/live_render.py +113 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/logging.py +268 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/markup.py +244 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/measure.py +149 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/padding.py +141 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/pager.py +34 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/palette.py +100 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/panel.py +250 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/pretty.py +903 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/progress.py +1036 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/progress_bar.py +216 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/prompt.py +376 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/protocol.py +42 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/region.py +10 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/repr.py +151 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/rule.py +115 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/scope.py +86 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/screen.py +54 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/segment.py +720 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/spinner.py +134 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/status.py +132 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/style.py +785 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/styled.py +42 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/syntax.py +735 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/table.py +968 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/tabulate.py +51 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/terminal_theme.py +55 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/text.py +1282 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/theme.py +112 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/themes.py +5 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/traceback.py +678 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/rich/tree.py +249 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/six.py +998 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/__init__.py +517 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/_asyncio.py +92 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/_utils.py +68 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/after.py +46 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/before.py +41 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/before_sleep.py +58 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/nap.py +43 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/retry.py +213 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/stop.py +96 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/tornadoweb.py +59 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/wait.py +191 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tomli/__init__.py +6 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tomli/_parser.py +703 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/tomli/_re.py +83 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/typing_extensions.py +2296 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/__init__.py +85 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/_collections.py +355 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/_version.py +2 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/connection.py +569 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/connectionpool.py +1113 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py +36 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +519 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +397 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/appengine.py +314 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +130 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +511 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +922 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/socks.py +216 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/exceptions.py +323 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/fields.py +274 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/filepost.py +98 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/packages/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +51 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/packages/six.py +1077 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/poolmanager.py +539 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/request.py +170 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py +821 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/__init__.py +49 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/connection.py +149 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/proxy.py +57 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/queue.py +22 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/request.py +143 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/response.py +107 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/retry.py +622 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/ssl_.py +495 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py +161 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/ssltransport.py +221 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/timeout.py +268 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/url.py +432 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/wait.py +153 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/vendor.txt +25 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/__init__.py +342 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/labels.py +231 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/mklabels.py +59 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/tests.py +153 -0
- package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/x_user_defined.py +325 -0
- package/venv/lib/python3.10/site-packages/pip/py.typed +4 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/LICENSE.txt +20 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/METADATA +92 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/RECORD +1037 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/WHEEL +5 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/entry_points.txt +5 -0
- package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/__init__.py +3303 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/appdirs.py +608 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__about__.py +26 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__init__.py +25 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/_manylinux.py +301 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/_musllinux.py +136 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/_structures.py +67 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/markers.py +304 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/requirements.py +146 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/specifiers.py +828 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/tags.py +484 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/utils.py +136 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/version.py +504 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/pyparsing.py +5742 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/extern/__init__.py +73 -0
- package/venv/lib/python3.10/site-packages/pkg_resources/tests/data/my-test-package-source/setup.py +6 -0
- package/venv/lib/python3.10/site-packages/propcache/__init__.py +32 -0
- package/venv/lib/python3.10/site-packages/propcache/_helpers.py +39 -0
- package/venv/lib/python3.10/site-packages/propcache/_helpers_c.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/propcache/_helpers_c.pyx +84 -0
- package/venv/lib/python3.10/site-packages/propcache/_helpers_py.py +56 -0
- package/venv/lib/python3.10/site-packages/propcache/api.py +8 -0
- package/venv/lib/python3.10/site-packages/propcache/py.typed +1 -0
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/LICENSE +202 -0
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/METADATA +275 -0
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/NOTICE +13 -0
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/RECORD +18 -0
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/pycparser/__init__.py +93 -0
- package/venv/lib/python3.10/site-packages/pycparser/_ast_gen.py +336 -0
- package/venv/lib/python3.10/site-packages/pycparser/_build_tables.py +40 -0
- package/venv/lib/python3.10/site-packages/pycparser/_c_ast.cfg +195 -0
- package/venv/lib/python3.10/site-packages/pycparser/ast_transforms.py +164 -0
- package/venv/lib/python3.10/site-packages/pycparser/c_ast.py +1125 -0
- package/venv/lib/python3.10/site-packages/pycparser/c_generator.py +502 -0
- package/venv/lib/python3.10/site-packages/pycparser/c_lexer.py +555 -0
- package/venv/lib/python3.10/site-packages/pycparser/c_parser.py +1950 -0
- package/venv/lib/python3.10/site-packages/pycparser/lextab.py +10 -0
- package/venv/lib/python3.10/site-packages/pycparser/ply/__init__.py +5 -0
- package/venv/lib/python3.10/site-packages/pycparser/ply/cpp.py +905 -0
- package/venv/lib/python3.10/site-packages/pycparser/ply/ctokens.py +133 -0
- package/venv/lib/python3.10/site-packages/pycparser/ply/lex.py +1099 -0
- package/venv/lib/python3.10/site-packages/pycparser/ply/yacc.py +3494 -0
- package/venv/lib/python3.10/site-packages/pycparser/ply/ygen.py +74 -0
- package/venv/lib/python3.10/site-packages/pycparser/plyparser.py +133 -0
- package/venv/lib/python3.10/site-packages/pycparser/yacctab.py +369 -0
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/LICENSE +27 -0
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/METADATA +28 -0
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/RECORD +41 -0
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/WHEEL +5 -0
- package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/pyparsing/__init__.py +326 -0
- package/venv/lib/python3.10/site-packages/pyparsing/actions.py +219 -0
- package/venv/lib/python3.10/site-packages/pyparsing/common.py +434 -0
- package/venv/lib/python3.10/site-packages/pyparsing/core.py +6226 -0
- package/venv/lib/python3.10/site-packages/pyparsing/diagram/__init__.py +744 -0
- package/venv/lib/python3.10/site-packages/pyparsing/exceptions.py +314 -0
- package/venv/lib/python3.10/site-packages/pyparsing/helpers.py +1102 -0
- package/venv/lib/python3.10/site-packages/pyparsing/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/pyparsing/results.py +816 -0
- package/venv/lib/python3.10/site-packages/pyparsing/testing.py +362 -0
- package/venv/lib/python3.10/site-packages/pyparsing/unicode.py +356 -0
- package/venv/lib/python3.10/site-packages/pyparsing/util.py +398 -0
- package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/LICENSE +18 -0
- package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/METADATA +124 -0
- package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/RECORD +28 -0
- package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/requests/__init__.py +184 -0
- package/venv/lib/python3.10/site-packages/requests/__version__.py +14 -0
- package/venv/lib/python3.10/site-packages/requests/_internal_utils.py +50 -0
- package/venv/lib/python3.10/site-packages/requests/adapters.py +719 -0
- package/venv/lib/python3.10/site-packages/requests/api.py +157 -0
- package/venv/lib/python3.10/site-packages/requests/auth.py +314 -0
- package/venv/lib/python3.10/site-packages/requests/certs.py +17 -0
- package/venv/lib/python3.10/site-packages/requests/compat.py +94 -0
- package/venv/lib/python3.10/site-packages/requests/cookies.py +561 -0
- package/venv/lib/python3.10/site-packages/requests/exceptions.py +151 -0
- package/venv/lib/python3.10/site-packages/requests/help.py +134 -0
- package/venv/lib/python3.10/site-packages/requests/hooks.py +33 -0
- package/venv/lib/python3.10/site-packages/requests/models.py +1037 -0
- package/venv/lib/python3.10/site-packages/requests/packages.py +23 -0
- package/venv/lib/python3.10/site-packages/requests/sessions.py +831 -0
- package/venv/lib/python3.10/site-packages/requests/status_codes.py +128 -0
- package/venv/lib/python3.10/site-packages/requests/structures.py +99 -0
- package/venv/lib/python3.10/site-packages/requests/utils.py +1096 -0
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/LICENSE +175 -0
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/METADATA +119 -0
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/RECORD +43 -0
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/WHEEL +5 -0
- package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/__init__.py +34 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/_compat.py +302 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/__init__.py +15 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/appengine.py +206 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/fingerprint.py +48 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/host_header_ssl.py +43 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/socket_options.py +129 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/source.py +67 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/ssl.py +66 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/x509.py +196 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/_digest_auth_compat.py +29 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/guess.py +146 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/handler.py +142 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/http_proxy_digest.py +103 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/cookies/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/cookies/forgetful.py +7 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/downloadutils/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/downloadutils/stream.py +176 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/downloadutils/tee.py +123 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/exceptions.py +25 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/multipart/__init__.py +31 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/multipart/decoder.py +156 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/multipart/encoder.py +655 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/sessions.py +89 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/streaming_iterator.py +116 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/threaded/__init__.py +97 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/threaded/pool.py +211 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/threaded/thread.py +53 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/deprecated.py +91 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/dump.py +198 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/formdata.py +108 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/user_agent.py +143 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/AUTHORS.rst +57 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/LICENSE +13 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/METADATA +521 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/RECORD +75 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/__init__.py +1 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/_scrypted_arlo_go.cpython-310-x86_64-linux-gnu.h +555 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/_scrypted_arlo_go.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/build.py +344 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/go.py +2215 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go.c +6019 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go.go +3612 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go.py +1910 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go_go.h +555 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/METADATA +11 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/RECORD +19 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/WHEEL +8 -0
- package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/setuptools/__init__.py +242 -0
- package/venv/lib/python3.10/site-packages/setuptools/_deprecation_warning.py +7 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/__init__.py +24 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/_msvccompiler.py +561 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/archive_util.py +256 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/bcppcompiler.py +393 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/ccompiler.py +1123 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/cmd.py +403 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/__init__.py +31 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist.py +143 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_dumb.py +123 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_msi.py +749 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_rpm.py +579 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_wininst.py +377 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build.py +157 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_clib.py +209 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py +755 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_py.py +392 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_scripts.py +152 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/check.py +148 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/clean.py +76 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/config.py +344 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install.py +721 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_data.py +79 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_egg_info.py +84 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_headers.py +47 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_lib.py +217 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_scripts.py +60 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/py37compat.py +30 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/register.py +304 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py +494 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/upload.py +214 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/config.py +130 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/core.py +249 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/cygwinccompiler.py +425 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/debug.py +5 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/dep_util.py +92 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/dir_util.py +210 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/dist.py +1257 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/errors.py +97 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/extension.py +240 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/fancy_getopt.py +457 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/file_util.py +238 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/filelist.py +355 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/log.py +77 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/msvc9compiler.py +788 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/msvccompiler.py +643 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/py35compat.py +19 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/py38compat.py +7 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/spawn.py +106 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/sysconfig.py +601 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/text_file.py +286 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/unixccompiler.py +325 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/util.py +548 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/version.py +363 -0
- package/venv/lib/python3.10/site-packages/setuptools/_distutils/versionpredicate.py +169 -0
- package/venv/lib/python3.10/site-packages/setuptools/_imp.py +82 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/more_itertools/__init__.py +4 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/more_itertools/more.py +3825 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/more_itertools/recipes.py +620 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/ordered_set.py +488 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/__about__.py +26 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/__init__.py +25 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/_manylinux.py +301 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/_musllinux.py +136 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/_structures.py +67 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/markers.py +304 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/requirements.py +146 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/specifiers.py +828 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/tags.py +484 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/utils.py +136 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/version.py +504 -0
- package/venv/lib/python3.10/site-packages/setuptools/_vendor/pyparsing.py +5742 -0
- package/venv/lib/python3.10/site-packages/setuptools/archive_util.py +205 -0
- package/venv/lib/python3.10/site-packages/setuptools/build_meta.py +290 -0
- package/venv/lib/python3.10/site-packages/setuptools/cli-32.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/cli-64.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/cli-arm64.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/cli.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/__init__.py +8 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/alias.py +78 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/bdist_egg.py +456 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/bdist_rpm.py +40 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/build_clib.py +101 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/build_ext.py +328 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/build_py.py +242 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/develop.py +193 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/dist_info.py +36 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/easy_install.py +2354 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/egg_info.py +755 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/install.py +132 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/install_egg_info.py +82 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/install_lib.py +148 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/install_scripts.py +69 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/launcher manifest.xml +15 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/py36compat.py +134 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/register.py +18 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/rotate.py +64 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/saveopts.py +22 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/sdist.py +196 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/setopt.py +149 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/test.py +252 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/upload.py +17 -0
- package/venv/lib/python3.10/site-packages/setuptools/command/upload_docs.py +202 -0
- package/venv/lib/python3.10/site-packages/setuptools/config.py +751 -0
- package/venv/lib/python3.10/site-packages/setuptools/dep_util.py +25 -0
- package/venv/lib/python3.10/site-packages/setuptools/depends.py +176 -0
- package/venv/lib/python3.10/site-packages/setuptools/dist.py +1156 -0
- package/venv/lib/python3.10/site-packages/setuptools/errors.py +40 -0
- package/venv/lib/python3.10/site-packages/setuptools/extension.py +55 -0
- package/venv/lib/python3.10/site-packages/setuptools/extern/__init__.py +73 -0
- package/venv/lib/python3.10/site-packages/setuptools/glob.py +167 -0
- package/venv/lib/python3.10/site-packages/setuptools/gui-32.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/gui-64.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/gui-arm64.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/gui.exe +0 -0
- package/venv/lib/python3.10/site-packages/setuptools/installer.py +104 -0
- package/venv/lib/python3.10/site-packages/setuptools/launch.py +36 -0
- package/venv/lib/python3.10/site-packages/setuptools/monkey.py +177 -0
- package/venv/lib/python3.10/site-packages/setuptools/msvc.py +1805 -0
- package/venv/lib/python3.10/site-packages/setuptools/namespaces.py +107 -0
- package/venv/lib/python3.10/site-packages/setuptools/package_index.py +1150 -0
- package/venv/lib/python3.10/site-packages/setuptools/py34compat.py +13 -0
- package/venv/lib/python3.10/site-packages/setuptools/sandbox.py +530 -0
- package/venv/lib/python3.10/site-packages/setuptools/script (dev).tmpl +6 -0
- package/venv/lib/python3.10/site-packages/setuptools/script.tmpl +3 -0
- package/venv/lib/python3.10/site-packages/setuptools/unicode_utils.py +42 -0
- package/venv/lib/python3.10/site-packages/setuptools/version.py +6 -0
- package/venv/lib/python3.10/site-packages/setuptools/wheel.py +213 -0
- package/venv/lib/python3.10/site-packages/setuptools/windows_support.py +29 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/LICENSE +19 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/METADATA +125 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/RECORD +298 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/WHEEL +5 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/entry_points.txt +56 -0
- package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/top_level.txt +4 -0
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/LICENSE +18 -0
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/METADATA +43 -0
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/RECORD +8 -0
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/six.py +1003 -0
- package/venv/lib/python3.10/site-packages/soupsieve/__init__.py +168 -0
- package/venv/lib/python3.10/site-packages/soupsieve/__meta__.py +197 -0
- package/venv/lib/python3.10/site-packages/soupsieve/css_match.py +1582 -0
- package/venv/lib/python3.10/site-packages/soupsieve/css_parser.py +1289 -0
- package/venv/lib/python3.10/site-packages/soupsieve/css_types.py +407 -0
- package/venv/lib/python3.10/site-packages/soupsieve/pretty.py +139 -0
- package/venv/lib/python3.10/site-packages/soupsieve/py.typed +0 -0
- package/venv/lib/python3.10/site-packages/soupsieve/util.py +117 -0
- package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/METADATA +114 -0
- package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/RECORD +20 -0
- package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/licenses/LICENSE.md +21 -0
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/PKG-INFO +98 -0
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/SOURCES.txt +12 -0
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/dependency_links.txt +1 -0
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/installed-files.txt +7 -0
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/requires.txt +2 -0
- package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/top_level.txt +1 -0
- package/venv/lib/python3.10/site-packages/sseclient.py +165 -0
- package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/LICENSE +279 -0
- package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/METADATA +67 -0
- package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/RECORD +7 -0
- package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/typing_extensions.py +3641 -0
- package/venv/lib/python3.10/site-packages/urllib3/__init__.py +211 -0
- package/venv/lib/python3.10/site-packages/urllib3/_base_connection.py +165 -0
- package/venv/lib/python3.10/site-packages/urllib3/_collections.py +479 -0
- package/venv/lib/python3.10/site-packages/urllib3/_request_methods.py +278 -0
- package/venv/lib/python3.10/site-packages/urllib3/_version.py +16 -0
- package/venv/lib/python3.10/site-packages/urllib3/connection.py +1044 -0
- package/venv/lib/python3.10/site-packages/urllib3/connectionpool.py +1178 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/__init__.py +0 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/__init__.py +16 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/connection.py +255 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/emscripten_fetch_worker.js +110 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/fetch.py +708 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/request.py +22 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/response.py +285 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/pyopenssl.py +554 -0
- package/venv/lib/python3.10/site-packages/urllib3/contrib/socks.py +228 -0
- package/venv/lib/python3.10/site-packages/urllib3/exceptions.py +327 -0
- package/venv/lib/python3.10/site-packages/urllib3/fields.py +341 -0
- package/venv/lib/python3.10/site-packages/urllib3/filepost.py +89 -0
- package/venv/lib/python3.10/site-packages/urllib3/http2/__init__.py +53 -0
- package/venv/lib/python3.10/site-packages/urllib3/http2/connection.py +356 -0
- package/venv/lib/python3.10/site-packages/urllib3/http2/probe.py +87 -0
- package/venv/lib/python3.10/site-packages/urllib3/poolmanager.py +637 -0
- package/venv/lib/python3.10/site-packages/urllib3/py.typed +2 -0
- package/venv/lib/python3.10/site-packages/urllib3/response.py +1278 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/__init__.py +42 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/connection.py +137 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/proxy.py +43 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/request.py +258 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/response.py +101 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/retry.py +533 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/ssl_.py +504 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/ssl_match_hostname.py +159 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/ssltransport.py +271 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/timeout.py +275 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/url.py +469 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/util.py +42 -0
- package/venv/lib/python3.10/site-packages/urllib3/util/wait.py +124 -0
- package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/METADATA +154 -0
- package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/RECORD +80 -0
- package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/REQUESTED +0 -0
- package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/WHEEL +4 -0
- package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/licenses/LICENSE.txt +21 -0
- package/venv/lib/python3.10/site-packages/yarl/__init__.py +14 -0
- package/venv/lib/python3.10/site-packages/yarl/_parse.py +189 -0
- package/venv/lib/python3.10/site-packages/yarl/_path.py +41 -0
- package/venv/lib/python3.10/site-packages/yarl/_query.py +118 -0
- package/venv/lib/python3.10/site-packages/yarl/_quoters.py +32 -0
- package/venv/lib/python3.10/site-packages/yarl/_quoting.py +18 -0
- package/venv/lib/python3.10/site-packages/yarl/_quoting_c.cpython-310-x86_64-linux-gnu.so +0 -0
- package/venv/lib/python3.10/site-packages/yarl/_quoting_c.pyi +16 -0
- package/venv/lib/python3.10/site-packages/yarl/_quoting_c.pyx +423 -0
- package/venv/lib/python3.10/site-packages/yarl/_quoting_py.py +197 -0
- package/venv/lib/python3.10/site-packages/yarl/_url.py +1584 -0
- package/venv/lib/python3.10/site-packages/yarl/py.typed +1 -0
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/INSTALLER +1 -0
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/LICENSE +202 -0
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/METADATA +2279 -0
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/NOTICE +13 -0
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/RECORD +27 -0
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/WHEEL +6 -0
- package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/top_level.txt +1 -0
- package/venv/pyvenv.cfg +3 -0
|
@@ -0,0 +1,967 @@
|
|
|
1
|
+
import sys, types
|
|
2
|
+
from .lock import allocate_lock
|
|
3
|
+
from .error import CDefError
|
|
4
|
+
from . import model
|
|
5
|
+
|
|
6
|
+
try:
|
|
7
|
+
callable
|
|
8
|
+
except NameError:
|
|
9
|
+
# Python 3.1
|
|
10
|
+
from collections import Callable
|
|
11
|
+
callable = lambda x: isinstance(x, Callable)
|
|
12
|
+
|
|
13
|
+
try:
|
|
14
|
+
basestring
|
|
15
|
+
except NameError:
|
|
16
|
+
# Python 3.x
|
|
17
|
+
basestring = str
|
|
18
|
+
|
|
19
|
+
_unspecified = object()
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class FFI(object):
|
|
24
|
+
r'''
|
|
25
|
+
The main top-level class that you instantiate once, or once per module.
|
|
26
|
+
|
|
27
|
+
Example usage:
|
|
28
|
+
|
|
29
|
+
ffi = FFI()
|
|
30
|
+
ffi.cdef("""
|
|
31
|
+
int printf(const char *, ...);
|
|
32
|
+
""")
|
|
33
|
+
|
|
34
|
+
C = ffi.dlopen(None) # standard library
|
|
35
|
+
-or-
|
|
36
|
+
C = ffi.verify() # use a C compiler: verify the decl above is right
|
|
37
|
+
|
|
38
|
+
C.printf("hello, %s!\n", ffi.new("char[]", "world"))
|
|
39
|
+
'''
|
|
40
|
+
|
|
41
|
+
def __init__(self, backend=None):
|
|
42
|
+
"""Create an FFI instance. The 'backend' argument is used to
|
|
43
|
+
select a non-default backend, mostly for tests.
|
|
44
|
+
"""
|
|
45
|
+
if backend is None:
|
|
46
|
+
# You need PyPy (>= 2.0 beta), or a CPython (>= 2.6) with
|
|
47
|
+
# _cffi_backend.so compiled.
|
|
48
|
+
import _cffi_backend as backend
|
|
49
|
+
from . import __version__
|
|
50
|
+
if backend.__version__ != __version__:
|
|
51
|
+
# bad version! Try to be as explicit as possible.
|
|
52
|
+
if hasattr(backend, '__file__'):
|
|
53
|
+
# CPython
|
|
54
|
+
raise Exception("Version mismatch: this is the 'cffi' package version %s, located in %r. When we import the top-level '_cffi_backend' extension module, we get version %s, located in %r. The two versions should be equal; check your installation." % (
|
|
55
|
+
__version__, __file__,
|
|
56
|
+
backend.__version__, backend.__file__))
|
|
57
|
+
else:
|
|
58
|
+
# PyPy
|
|
59
|
+
raise Exception("Version mismatch: this is the 'cffi' package version %s, located in %r. This interpreter comes with a built-in '_cffi_backend' module, which is version %s. The two versions should be equal; check your installation." % (
|
|
60
|
+
__version__, __file__, backend.__version__))
|
|
61
|
+
# (If you insist you can also try to pass the option
|
|
62
|
+
# 'backend=backend_ctypes.CTypesBackend()', but don't
|
|
63
|
+
# rely on it! It's probably not going to work well.)
|
|
64
|
+
|
|
65
|
+
from . import cparser
|
|
66
|
+
self._backend = backend
|
|
67
|
+
self._lock = allocate_lock()
|
|
68
|
+
self._parser = cparser.Parser()
|
|
69
|
+
self._cached_btypes = {}
|
|
70
|
+
self._parsed_types = types.ModuleType('parsed_types').__dict__
|
|
71
|
+
self._new_types = types.ModuleType('new_types').__dict__
|
|
72
|
+
self._function_caches = []
|
|
73
|
+
self._libraries = []
|
|
74
|
+
self._cdefsources = []
|
|
75
|
+
self._included_ffis = []
|
|
76
|
+
self._windows_unicode = None
|
|
77
|
+
self._init_once_cache = {}
|
|
78
|
+
self._cdef_version = None
|
|
79
|
+
self._embedding = None
|
|
80
|
+
self._typecache = model.get_typecache(backend)
|
|
81
|
+
if hasattr(backend, 'set_ffi'):
|
|
82
|
+
backend.set_ffi(self)
|
|
83
|
+
for name in list(backend.__dict__):
|
|
84
|
+
if name.startswith('RTLD_'):
|
|
85
|
+
setattr(self, name, getattr(backend, name))
|
|
86
|
+
#
|
|
87
|
+
with self._lock:
|
|
88
|
+
self.BVoidP = self._get_cached_btype(model.voidp_type)
|
|
89
|
+
self.BCharA = self._get_cached_btype(model.char_array_type)
|
|
90
|
+
if isinstance(backend, types.ModuleType):
|
|
91
|
+
# _cffi_backend: attach these constants to the class
|
|
92
|
+
if not hasattr(FFI, 'NULL'):
|
|
93
|
+
FFI.NULL = self.cast(self.BVoidP, 0)
|
|
94
|
+
FFI.CData, FFI.CType = backend._get_types()
|
|
95
|
+
else:
|
|
96
|
+
# ctypes backend: attach these constants to the instance
|
|
97
|
+
self.NULL = self.cast(self.BVoidP, 0)
|
|
98
|
+
self.CData, self.CType = backend._get_types()
|
|
99
|
+
self.buffer = backend.buffer
|
|
100
|
+
|
|
101
|
+
def cdef(self, csource, override=False, packed=False, pack=None):
|
|
102
|
+
"""Parse the given C source. This registers all declared functions,
|
|
103
|
+
types, and global variables. The functions and global variables can
|
|
104
|
+
then be accessed via either 'ffi.dlopen()' or 'ffi.verify()'.
|
|
105
|
+
The types can be used in 'ffi.new()' and other functions.
|
|
106
|
+
If 'packed' is specified as True, all structs declared inside this
|
|
107
|
+
cdef are packed, i.e. laid out without any field alignment at all.
|
|
108
|
+
Alternatively, 'pack' can be a small integer, and requests for
|
|
109
|
+
alignment greater than that are ignored (pack=1 is equivalent to
|
|
110
|
+
packed=True).
|
|
111
|
+
"""
|
|
112
|
+
self._cdef(csource, override=override, packed=packed, pack=pack)
|
|
113
|
+
|
|
114
|
+
def embedding_api(self, csource, packed=False, pack=None):
|
|
115
|
+
self._cdef(csource, packed=packed, pack=pack, dllexport=True)
|
|
116
|
+
if self._embedding is None:
|
|
117
|
+
self._embedding = ''
|
|
118
|
+
|
|
119
|
+
def _cdef(self, csource, override=False, **options):
|
|
120
|
+
if not isinstance(csource, str): # unicode, on Python 2
|
|
121
|
+
if not isinstance(csource, basestring):
|
|
122
|
+
raise TypeError("cdef() argument must be a string")
|
|
123
|
+
csource = csource.encode('ascii')
|
|
124
|
+
with self._lock:
|
|
125
|
+
self._cdef_version = object()
|
|
126
|
+
self._parser.parse(csource, override=override, **options)
|
|
127
|
+
self._cdefsources.append(csource)
|
|
128
|
+
if override:
|
|
129
|
+
for cache in self._function_caches:
|
|
130
|
+
cache.clear()
|
|
131
|
+
finishlist = self._parser._recomplete
|
|
132
|
+
if finishlist:
|
|
133
|
+
self._parser._recomplete = []
|
|
134
|
+
for tp in finishlist:
|
|
135
|
+
tp.finish_backend_type(self, finishlist)
|
|
136
|
+
|
|
137
|
+
def dlopen(self, name, flags=0):
|
|
138
|
+
"""Load and return a dynamic library identified by 'name'.
|
|
139
|
+
The standard C library can be loaded by passing None.
|
|
140
|
+
Note that functions and types declared by 'ffi.cdef()' are not
|
|
141
|
+
linked to a particular library, just like C headers; in the
|
|
142
|
+
library we only look for the actual (untyped) symbols.
|
|
143
|
+
"""
|
|
144
|
+
if not (isinstance(name, basestring) or
|
|
145
|
+
name is None or
|
|
146
|
+
isinstance(name, self.CData)):
|
|
147
|
+
raise TypeError("dlopen(name): name must be a file name, None, "
|
|
148
|
+
"or an already-opened 'void *' handle")
|
|
149
|
+
with self._lock:
|
|
150
|
+
lib, function_cache = _make_ffi_library(self, name, flags)
|
|
151
|
+
self._function_caches.append(function_cache)
|
|
152
|
+
self._libraries.append(lib)
|
|
153
|
+
return lib
|
|
154
|
+
|
|
155
|
+
def dlclose(self, lib):
|
|
156
|
+
"""Close a library obtained with ffi.dlopen(). After this call,
|
|
157
|
+
access to functions or variables from the library will fail
|
|
158
|
+
(possibly with a segmentation fault).
|
|
159
|
+
"""
|
|
160
|
+
type(lib).__cffi_close__(lib)
|
|
161
|
+
|
|
162
|
+
def _typeof_locked(self, cdecl):
|
|
163
|
+
# call me with the lock!
|
|
164
|
+
key = cdecl
|
|
165
|
+
if key in self._parsed_types:
|
|
166
|
+
return self._parsed_types[key]
|
|
167
|
+
#
|
|
168
|
+
if not isinstance(cdecl, str): # unicode, on Python 2
|
|
169
|
+
cdecl = cdecl.encode('ascii')
|
|
170
|
+
#
|
|
171
|
+
type = self._parser.parse_type(cdecl)
|
|
172
|
+
really_a_function_type = type.is_raw_function
|
|
173
|
+
if really_a_function_type:
|
|
174
|
+
type = type.as_function_pointer()
|
|
175
|
+
btype = self._get_cached_btype(type)
|
|
176
|
+
result = btype, really_a_function_type
|
|
177
|
+
self._parsed_types[key] = result
|
|
178
|
+
return result
|
|
179
|
+
|
|
180
|
+
def _typeof(self, cdecl, consider_function_as_funcptr=False):
|
|
181
|
+
# string -> ctype object
|
|
182
|
+
try:
|
|
183
|
+
result = self._parsed_types[cdecl]
|
|
184
|
+
except KeyError:
|
|
185
|
+
with self._lock:
|
|
186
|
+
result = self._typeof_locked(cdecl)
|
|
187
|
+
#
|
|
188
|
+
btype, really_a_function_type = result
|
|
189
|
+
if really_a_function_type and not consider_function_as_funcptr:
|
|
190
|
+
raise CDefError("the type %r is a function type, not a "
|
|
191
|
+
"pointer-to-function type" % (cdecl,))
|
|
192
|
+
return btype
|
|
193
|
+
|
|
194
|
+
def typeof(self, cdecl):
|
|
195
|
+
"""Parse the C type given as a string and return the
|
|
196
|
+
corresponding <ctype> object.
|
|
197
|
+
It can also be used on 'cdata' instance to get its C type.
|
|
198
|
+
"""
|
|
199
|
+
if isinstance(cdecl, basestring):
|
|
200
|
+
return self._typeof(cdecl)
|
|
201
|
+
if isinstance(cdecl, self.CData):
|
|
202
|
+
return self._backend.typeof(cdecl)
|
|
203
|
+
if isinstance(cdecl, types.BuiltinFunctionType):
|
|
204
|
+
res = _builtin_function_type(cdecl)
|
|
205
|
+
if res is not None:
|
|
206
|
+
return res
|
|
207
|
+
if (isinstance(cdecl, types.FunctionType)
|
|
208
|
+
and hasattr(cdecl, '_cffi_base_type')):
|
|
209
|
+
with self._lock:
|
|
210
|
+
return self._get_cached_btype(cdecl._cffi_base_type)
|
|
211
|
+
raise TypeError(type(cdecl))
|
|
212
|
+
|
|
213
|
+
def sizeof(self, cdecl):
|
|
214
|
+
"""Return the size in bytes of the argument. It can be a
|
|
215
|
+
string naming a C type, or a 'cdata' instance.
|
|
216
|
+
"""
|
|
217
|
+
if isinstance(cdecl, basestring):
|
|
218
|
+
BType = self._typeof(cdecl)
|
|
219
|
+
return self._backend.sizeof(BType)
|
|
220
|
+
else:
|
|
221
|
+
return self._backend.sizeof(cdecl)
|
|
222
|
+
|
|
223
|
+
def alignof(self, cdecl):
|
|
224
|
+
"""Return the natural alignment size in bytes of the C type
|
|
225
|
+
given as a string.
|
|
226
|
+
"""
|
|
227
|
+
if isinstance(cdecl, basestring):
|
|
228
|
+
cdecl = self._typeof(cdecl)
|
|
229
|
+
return self._backend.alignof(cdecl)
|
|
230
|
+
|
|
231
|
+
def offsetof(self, cdecl, *fields_or_indexes):
|
|
232
|
+
"""Return the offset of the named field inside the given
|
|
233
|
+
structure or array, which must be given as a C type name.
|
|
234
|
+
You can give several field names in case of nested structures.
|
|
235
|
+
You can also give numeric values which correspond to array
|
|
236
|
+
items, in case of an array type.
|
|
237
|
+
"""
|
|
238
|
+
if isinstance(cdecl, basestring):
|
|
239
|
+
cdecl = self._typeof(cdecl)
|
|
240
|
+
return self._typeoffsetof(cdecl, *fields_or_indexes)[1]
|
|
241
|
+
|
|
242
|
+
def new(self, cdecl, init=None):
|
|
243
|
+
"""Allocate an instance according to the specified C type and
|
|
244
|
+
return a pointer to it. The specified C type must be either a
|
|
245
|
+
pointer or an array: ``new('X *')`` allocates an X and returns
|
|
246
|
+
a pointer to it, whereas ``new('X[n]')`` allocates an array of
|
|
247
|
+
n X'es and returns an array referencing it (which works
|
|
248
|
+
mostly like a pointer, like in C). You can also use
|
|
249
|
+
``new('X[]', n)`` to allocate an array of a non-constant
|
|
250
|
+
length n.
|
|
251
|
+
|
|
252
|
+
The memory is initialized following the rules of declaring a
|
|
253
|
+
global variable in C: by default it is zero-initialized, but
|
|
254
|
+
an explicit initializer can be given which can be used to
|
|
255
|
+
fill all or part of the memory.
|
|
256
|
+
|
|
257
|
+
When the returned <cdata> object goes out of scope, the memory
|
|
258
|
+
is freed. In other words the returned <cdata> object has
|
|
259
|
+
ownership of the value of type 'cdecl' that it points to. This
|
|
260
|
+
means that the raw data can be used as long as this object is
|
|
261
|
+
kept alive, but must not be used for a longer time. Be careful
|
|
262
|
+
about that when copying the pointer to the memory somewhere
|
|
263
|
+
else, e.g. into another structure.
|
|
264
|
+
"""
|
|
265
|
+
if isinstance(cdecl, basestring):
|
|
266
|
+
cdecl = self._typeof(cdecl)
|
|
267
|
+
return self._backend.newp(cdecl, init)
|
|
268
|
+
|
|
269
|
+
def new_allocator(self, alloc=None, free=None,
|
|
270
|
+
should_clear_after_alloc=True):
|
|
271
|
+
"""Return a new allocator, i.e. a function that behaves like ffi.new()
|
|
272
|
+
but uses the provided low-level 'alloc' and 'free' functions.
|
|
273
|
+
|
|
274
|
+
'alloc' is called with the size as argument. If it returns NULL, a
|
|
275
|
+
MemoryError is raised. 'free' is called with the result of 'alloc'
|
|
276
|
+
as argument. Both can be either Python function or directly C
|
|
277
|
+
functions. If 'free' is None, then no free function is called.
|
|
278
|
+
If both 'alloc' and 'free' are None, the default is used.
|
|
279
|
+
|
|
280
|
+
If 'should_clear_after_alloc' is set to False, then the memory
|
|
281
|
+
returned by 'alloc' is assumed to be already cleared (or you are
|
|
282
|
+
fine with garbage); otherwise CFFI will clear it.
|
|
283
|
+
"""
|
|
284
|
+
compiled_ffi = self._backend.FFI()
|
|
285
|
+
allocator = compiled_ffi.new_allocator(alloc, free,
|
|
286
|
+
should_clear_after_alloc)
|
|
287
|
+
def allocate(cdecl, init=None):
|
|
288
|
+
if isinstance(cdecl, basestring):
|
|
289
|
+
cdecl = self._typeof(cdecl)
|
|
290
|
+
return allocator(cdecl, init)
|
|
291
|
+
return allocate
|
|
292
|
+
|
|
293
|
+
def cast(self, cdecl, source):
|
|
294
|
+
"""Similar to a C cast: returns an instance of the named C
|
|
295
|
+
type initialized with the given 'source'. The source is
|
|
296
|
+
casted between integers or pointers of any type.
|
|
297
|
+
"""
|
|
298
|
+
if isinstance(cdecl, basestring):
|
|
299
|
+
cdecl = self._typeof(cdecl)
|
|
300
|
+
return self._backend.cast(cdecl, source)
|
|
301
|
+
|
|
302
|
+
def string(self, cdata, maxlen=-1):
|
|
303
|
+
"""Return a Python string (or unicode string) from the 'cdata'.
|
|
304
|
+
If 'cdata' is a pointer or array of characters or bytes, returns
|
|
305
|
+
the null-terminated string. The returned string extends until
|
|
306
|
+
the first null character, or at most 'maxlen' characters. If
|
|
307
|
+
'cdata' is an array then 'maxlen' defaults to its length.
|
|
308
|
+
|
|
309
|
+
If 'cdata' is a pointer or array of wchar_t, returns a unicode
|
|
310
|
+
string following the same rules.
|
|
311
|
+
|
|
312
|
+
If 'cdata' is a single character or byte or a wchar_t, returns
|
|
313
|
+
it as a string or unicode string.
|
|
314
|
+
|
|
315
|
+
If 'cdata' is an enum, returns the value of the enumerator as a
|
|
316
|
+
string, or 'NUMBER' if the value is out of range.
|
|
317
|
+
"""
|
|
318
|
+
return self._backend.string(cdata, maxlen)
|
|
319
|
+
|
|
320
|
+
def unpack(self, cdata, length):
|
|
321
|
+
"""Unpack an array of C data of the given length,
|
|
322
|
+
returning a Python string/unicode/list.
|
|
323
|
+
|
|
324
|
+
If 'cdata' is a pointer to 'char', returns a byte string.
|
|
325
|
+
It does not stop at the first null. This is equivalent to:
|
|
326
|
+
ffi.buffer(cdata, length)[:]
|
|
327
|
+
|
|
328
|
+
If 'cdata' is a pointer to 'wchar_t', returns a unicode string.
|
|
329
|
+
'length' is measured in wchar_t's; it is not the size in bytes.
|
|
330
|
+
|
|
331
|
+
If 'cdata' is a pointer to anything else, returns a list of
|
|
332
|
+
'length' items. This is a faster equivalent to:
|
|
333
|
+
[cdata[i] for i in range(length)]
|
|
334
|
+
"""
|
|
335
|
+
return self._backend.unpack(cdata, length)
|
|
336
|
+
|
|
337
|
+
#def buffer(self, cdata, size=-1):
|
|
338
|
+
# """Return a read-write buffer object that references the raw C data
|
|
339
|
+
# pointed to by the given 'cdata'. The 'cdata' must be a pointer or
|
|
340
|
+
# an array. Can be passed to functions expecting a buffer, or directly
|
|
341
|
+
# manipulated with:
|
|
342
|
+
#
|
|
343
|
+
# buf[:] get a copy of it in a regular string, or
|
|
344
|
+
# buf[idx] as a single character
|
|
345
|
+
# buf[:] = ...
|
|
346
|
+
# buf[idx] = ... change the content
|
|
347
|
+
# """
|
|
348
|
+
# note that 'buffer' is a type, set on this instance by __init__
|
|
349
|
+
|
|
350
|
+
def from_buffer(self, cdecl, python_buffer=_unspecified,
|
|
351
|
+
require_writable=False):
|
|
352
|
+
"""Return a cdata of the given type pointing to the data of the
|
|
353
|
+
given Python object, which must support the buffer interface.
|
|
354
|
+
Note that this is not meant to be used on the built-in types
|
|
355
|
+
str or unicode (you can build 'char[]' arrays explicitly)
|
|
356
|
+
but only on objects containing large quantities of raw data
|
|
357
|
+
in some other format, like 'array.array' or numpy arrays.
|
|
358
|
+
|
|
359
|
+
The first argument is optional and default to 'char[]'.
|
|
360
|
+
"""
|
|
361
|
+
if python_buffer is _unspecified:
|
|
362
|
+
cdecl, python_buffer = self.BCharA, cdecl
|
|
363
|
+
elif isinstance(cdecl, basestring):
|
|
364
|
+
cdecl = self._typeof(cdecl)
|
|
365
|
+
return self._backend.from_buffer(cdecl, python_buffer,
|
|
366
|
+
require_writable)
|
|
367
|
+
|
|
368
|
+
def memmove(self, dest, src, n):
|
|
369
|
+
"""ffi.memmove(dest, src, n) copies n bytes of memory from src to dest.
|
|
370
|
+
|
|
371
|
+
Like the C function memmove(), the memory areas may overlap;
|
|
372
|
+
apart from that it behaves like the C function memcpy().
|
|
373
|
+
|
|
374
|
+
'src' can be any cdata ptr or array, or any Python buffer object.
|
|
375
|
+
'dest' can be any cdata ptr or array, or a writable Python buffer
|
|
376
|
+
object. The size to copy, 'n', is always measured in bytes.
|
|
377
|
+
|
|
378
|
+
Unlike other methods, this one supports all Python buffer including
|
|
379
|
+
byte strings and bytearrays---but it still does not support
|
|
380
|
+
non-contiguous buffers.
|
|
381
|
+
"""
|
|
382
|
+
return self._backend.memmove(dest, src, n)
|
|
383
|
+
|
|
384
|
+
def callback(self, cdecl, python_callable=None, error=None, onerror=None):
|
|
385
|
+
"""Return a callback object or a decorator making such a
|
|
386
|
+
callback object. 'cdecl' must name a C function pointer type.
|
|
387
|
+
The callback invokes the specified 'python_callable' (which may
|
|
388
|
+
be provided either directly or via a decorator). Important: the
|
|
389
|
+
callback object must be manually kept alive for as long as the
|
|
390
|
+
callback may be invoked from the C level.
|
|
391
|
+
"""
|
|
392
|
+
def callback_decorator_wrap(python_callable):
|
|
393
|
+
if not callable(python_callable):
|
|
394
|
+
raise TypeError("the 'python_callable' argument "
|
|
395
|
+
"is not callable")
|
|
396
|
+
return self._backend.callback(cdecl, python_callable,
|
|
397
|
+
error, onerror)
|
|
398
|
+
if isinstance(cdecl, basestring):
|
|
399
|
+
cdecl = self._typeof(cdecl, consider_function_as_funcptr=True)
|
|
400
|
+
if python_callable is None:
|
|
401
|
+
return callback_decorator_wrap # decorator mode
|
|
402
|
+
else:
|
|
403
|
+
return callback_decorator_wrap(python_callable) # direct mode
|
|
404
|
+
|
|
405
|
+
def getctype(self, cdecl, replace_with=''):
|
|
406
|
+
"""Return a string giving the C type 'cdecl', which may be itself
|
|
407
|
+
a string or a <ctype> object. If 'replace_with' is given, it gives
|
|
408
|
+
extra text to append (or insert for more complicated C types), like
|
|
409
|
+
a variable name, or '*' to get actually the C type 'pointer-to-cdecl'.
|
|
410
|
+
"""
|
|
411
|
+
if isinstance(cdecl, basestring):
|
|
412
|
+
cdecl = self._typeof(cdecl)
|
|
413
|
+
replace_with = replace_with.strip()
|
|
414
|
+
if (replace_with.startswith('*')
|
|
415
|
+
and '&[' in self._backend.getcname(cdecl, '&')):
|
|
416
|
+
replace_with = '(%s)' % replace_with
|
|
417
|
+
elif replace_with and not replace_with[0] in '[(':
|
|
418
|
+
replace_with = ' ' + replace_with
|
|
419
|
+
return self._backend.getcname(cdecl, replace_with)
|
|
420
|
+
|
|
421
|
+
def gc(self, cdata, destructor, size=0):
|
|
422
|
+
"""Return a new cdata object that points to the same
|
|
423
|
+
data. Later, when this new cdata object is garbage-collected,
|
|
424
|
+
'destructor(old_cdata_object)' will be called.
|
|
425
|
+
|
|
426
|
+
The optional 'size' gives an estimate of the size, used to
|
|
427
|
+
trigger the garbage collection more eagerly. So far only used
|
|
428
|
+
on PyPy. It tells the GC that the returned object keeps alive
|
|
429
|
+
roughly 'size' bytes of external memory.
|
|
430
|
+
"""
|
|
431
|
+
return self._backend.gcp(cdata, destructor, size)
|
|
432
|
+
|
|
433
|
+
def _get_cached_btype(self, type):
|
|
434
|
+
assert self._lock.acquire(False) is False
|
|
435
|
+
# call me with the lock!
|
|
436
|
+
try:
|
|
437
|
+
BType = self._cached_btypes[type]
|
|
438
|
+
except KeyError:
|
|
439
|
+
finishlist = []
|
|
440
|
+
BType = type.get_cached_btype(self, finishlist)
|
|
441
|
+
for type in finishlist:
|
|
442
|
+
type.finish_backend_type(self, finishlist)
|
|
443
|
+
return BType
|
|
444
|
+
|
|
445
|
+
def verify(self, source='', tmpdir=None, **kwargs):
|
|
446
|
+
"""Verify that the current ffi signatures compile on this
|
|
447
|
+
machine, and return a dynamic library object. The dynamic
|
|
448
|
+
library can be used to call functions and access global
|
|
449
|
+
variables declared in this 'ffi'. The library is compiled
|
|
450
|
+
by the C compiler: it gives you C-level API compatibility
|
|
451
|
+
(including calling macros). This is unlike 'ffi.dlopen()',
|
|
452
|
+
which requires binary compatibility in the signatures.
|
|
453
|
+
"""
|
|
454
|
+
from .verifier import Verifier, _caller_dir_pycache
|
|
455
|
+
#
|
|
456
|
+
# If set_unicode(True) was called, insert the UNICODE and
|
|
457
|
+
# _UNICODE macro declarations
|
|
458
|
+
if self._windows_unicode:
|
|
459
|
+
self._apply_windows_unicode(kwargs)
|
|
460
|
+
#
|
|
461
|
+
# Set the tmpdir here, and not in Verifier.__init__: it picks
|
|
462
|
+
# up the caller's directory, which we want to be the caller of
|
|
463
|
+
# ffi.verify(), as opposed to the caller of Veritier().
|
|
464
|
+
tmpdir = tmpdir or _caller_dir_pycache()
|
|
465
|
+
#
|
|
466
|
+
# Make a Verifier() and use it to load the library.
|
|
467
|
+
self.verifier = Verifier(self, source, tmpdir, **kwargs)
|
|
468
|
+
lib = self.verifier.load_library()
|
|
469
|
+
#
|
|
470
|
+
# Save the loaded library for keep-alive purposes, even
|
|
471
|
+
# if the caller doesn't keep it alive itself (it should).
|
|
472
|
+
self._libraries.append(lib)
|
|
473
|
+
return lib
|
|
474
|
+
|
|
475
|
+
def _get_errno(self):
|
|
476
|
+
return self._backend.get_errno()
|
|
477
|
+
def _set_errno(self, errno):
|
|
478
|
+
self._backend.set_errno(errno)
|
|
479
|
+
errno = property(_get_errno, _set_errno, None,
|
|
480
|
+
"the value of 'errno' from/to the C calls")
|
|
481
|
+
|
|
482
|
+
def getwinerror(self, code=-1):
|
|
483
|
+
return self._backend.getwinerror(code)
|
|
484
|
+
|
|
485
|
+
def _pointer_to(self, ctype):
|
|
486
|
+
with self._lock:
|
|
487
|
+
return model.pointer_cache(self, ctype)
|
|
488
|
+
|
|
489
|
+
def addressof(self, cdata, *fields_or_indexes):
|
|
490
|
+
"""Return the address of a <cdata 'struct-or-union'>.
|
|
491
|
+
If 'fields_or_indexes' are given, returns the address of that
|
|
492
|
+
field or array item in the structure or array, recursively in
|
|
493
|
+
case of nested structures.
|
|
494
|
+
"""
|
|
495
|
+
try:
|
|
496
|
+
ctype = self._backend.typeof(cdata)
|
|
497
|
+
except TypeError:
|
|
498
|
+
if '__addressof__' in type(cdata).__dict__:
|
|
499
|
+
return type(cdata).__addressof__(cdata, *fields_or_indexes)
|
|
500
|
+
raise
|
|
501
|
+
if fields_or_indexes:
|
|
502
|
+
ctype, offset = self._typeoffsetof(ctype, *fields_or_indexes)
|
|
503
|
+
else:
|
|
504
|
+
if ctype.kind == "pointer":
|
|
505
|
+
raise TypeError("addressof(pointer)")
|
|
506
|
+
offset = 0
|
|
507
|
+
ctypeptr = self._pointer_to(ctype)
|
|
508
|
+
return self._backend.rawaddressof(ctypeptr, cdata, offset)
|
|
509
|
+
|
|
510
|
+
def _typeoffsetof(self, ctype, field_or_index, *fields_or_indexes):
|
|
511
|
+
ctype, offset = self._backend.typeoffsetof(ctype, field_or_index)
|
|
512
|
+
for field1 in fields_or_indexes:
|
|
513
|
+
ctype, offset1 = self._backend.typeoffsetof(ctype, field1, 1)
|
|
514
|
+
offset += offset1
|
|
515
|
+
return ctype, offset
|
|
516
|
+
|
|
517
|
+
def include(self, ffi_to_include):
|
|
518
|
+
"""Includes the typedefs, structs, unions and enums defined
|
|
519
|
+
in another FFI instance. Usage is similar to a #include in C,
|
|
520
|
+
where a part of the program might include types defined in
|
|
521
|
+
another part for its own usage. Note that the include()
|
|
522
|
+
method has no effect on functions, constants and global
|
|
523
|
+
variables, which must anyway be accessed directly from the
|
|
524
|
+
lib object returned by the original FFI instance.
|
|
525
|
+
"""
|
|
526
|
+
if not isinstance(ffi_to_include, FFI):
|
|
527
|
+
raise TypeError("ffi.include() expects an argument that is also of"
|
|
528
|
+
" type cffi.FFI, not %r" % (
|
|
529
|
+
type(ffi_to_include).__name__,))
|
|
530
|
+
if ffi_to_include is self:
|
|
531
|
+
raise ValueError("self.include(self)")
|
|
532
|
+
with ffi_to_include._lock:
|
|
533
|
+
with self._lock:
|
|
534
|
+
self._parser.include(ffi_to_include._parser)
|
|
535
|
+
self._cdefsources.append('[')
|
|
536
|
+
self._cdefsources.extend(ffi_to_include._cdefsources)
|
|
537
|
+
self._cdefsources.append(']')
|
|
538
|
+
self._included_ffis.append(ffi_to_include)
|
|
539
|
+
|
|
540
|
+
def new_handle(self, x):
|
|
541
|
+
return self._backend.newp_handle(self.BVoidP, x)
|
|
542
|
+
|
|
543
|
+
def from_handle(self, x):
|
|
544
|
+
return self._backend.from_handle(x)
|
|
545
|
+
|
|
546
|
+
def release(self, x):
|
|
547
|
+
self._backend.release(x)
|
|
548
|
+
|
|
549
|
+
def set_unicode(self, enabled_flag):
|
|
550
|
+
"""Windows: if 'enabled_flag' is True, enable the UNICODE and
|
|
551
|
+
_UNICODE defines in C, and declare the types like TCHAR and LPTCSTR
|
|
552
|
+
to be (pointers to) wchar_t. If 'enabled_flag' is False,
|
|
553
|
+
declare these types to be (pointers to) plain 8-bit characters.
|
|
554
|
+
This is mostly for backward compatibility; you usually want True.
|
|
555
|
+
"""
|
|
556
|
+
if self._windows_unicode is not None:
|
|
557
|
+
raise ValueError("set_unicode() can only be called once")
|
|
558
|
+
enabled_flag = bool(enabled_flag)
|
|
559
|
+
if enabled_flag:
|
|
560
|
+
self.cdef("typedef wchar_t TBYTE;"
|
|
561
|
+
"typedef wchar_t TCHAR;"
|
|
562
|
+
"typedef const wchar_t *LPCTSTR;"
|
|
563
|
+
"typedef const wchar_t *PCTSTR;"
|
|
564
|
+
"typedef wchar_t *LPTSTR;"
|
|
565
|
+
"typedef wchar_t *PTSTR;"
|
|
566
|
+
"typedef TBYTE *PTBYTE;"
|
|
567
|
+
"typedef TCHAR *PTCHAR;")
|
|
568
|
+
else:
|
|
569
|
+
self.cdef("typedef char TBYTE;"
|
|
570
|
+
"typedef char TCHAR;"
|
|
571
|
+
"typedef const char *LPCTSTR;"
|
|
572
|
+
"typedef const char *PCTSTR;"
|
|
573
|
+
"typedef char *LPTSTR;"
|
|
574
|
+
"typedef char *PTSTR;"
|
|
575
|
+
"typedef TBYTE *PTBYTE;"
|
|
576
|
+
"typedef TCHAR *PTCHAR;")
|
|
577
|
+
self._windows_unicode = enabled_flag
|
|
578
|
+
|
|
579
|
+
def _apply_windows_unicode(self, kwds):
|
|
580
|
+
defmacros = kwds.get('define_macros', ())
|
|
581
|
+
if not isinstance(defmacros, (list, tuple)):
|
|
582
|
+
raise TypeError("'define_macros' must be a list or tuple")
|
|
583
|
+
defmacros = list(defmacros) + [('UNICODE', '1'),
|
|
584
|
+
('_UNICODE', '1')]
|
|
585
|
+
kwds['define_macros'] = defmacros
|
|
586
|
+
|
|
587
|
+
def _apply_embedding_fix(self, kwds):
|
|
588
|
+
# must include an argument like "-lpython2.7" for the compiler
|
|
589
|
+
def ensure(key, value):
|
|
590
|
+
lst = kwds.setdefault(key, [])
|
|
591
|
+
if value not in lst:
|
|
592
|
+
lst.append(value)
|
|
593
|
+
#
|
|
594
|
+
if '__pypy__' in sys.builtin_module_names:
|
|
595
|
+
import os
|
|
596
|
+
if sys.platform == "win32":
|
|
597
|
+
# we need 'libpypy-c.lib'. Current distributions of
|
|
598
|
+
# pypy (>= 4.1) contain it as 'libs/python27.lib'.
|
|
599
|
+
pythonlib = "python{0[0]}{0[1]}".format(sys.version_info)
|
|
600
|
+
if hasattr(sys, 'prefix'):
|
|
601
|
+
ensure('library_dirs', os.path.join(sys.prefix, 'libs'))
|
|
602
|
+
else:
|
|
603
|
+
# we need 'libpypy-c.{so,dylib}', which should be by
|
|
604
|
+
# default located in 'sys.prefix/bin' for installed
|
|
605
|
+
# systems.
|
|
606
|
+
if sys.version_info < (3,):
|
|
607
|
+
pythonlib = "pypy-c"
|
|
608
|
+
else:
|
|
609
|
+
pythonlib = "pypy3-c"
|
|
610
|
+
if hasattr(sys, 'prefix'):
|
|
611
|
+
ensure('library_dirs', os.path.join(sys.prefix, 'bin'))
|
|
612
|
+
# On uninstalled pypy's, the libpypy-c is typically found in
|
|
613
|
+
# .../pypy/goal/.
|
|
614
|
+
if hasattr(sys, 'prefix'):
|
|
615
|
+
ensure('library_dirs', os.path.join(sys.prefix, 'pypy', 'goal'))
|
|
616
|
+
else:
|
|
617
|
+
if sys.platform == "win32":
|
|
618
|
+
template = "python%d%d"
|
|
619
|
+
if hasattr(sys, 'gettotalrefcount'):
|
|
620
|
+
template += '_d'
|
|
621
|
+
else:
|
|
622
|
+
try:
|
|
623
|
+
import sysconfig
|
|
624
|
+
except ImportError: # 2.6
|
|
625
|
+
from cffi._shimmed_dist_utils import sysconfig
|
|
626
|
+
template = "python%d.%d"
|
|
627
|
+
if sysconfig.get_config_var('DEBUG_EXT'):
|
|
628
|
+
template += sysconfig.get_config_var('DEBUG_EXT')
|
|
629
|
+
pythonlib = (template %
|
|
630
|
+
(sys.hexversion >> 24, (sys.hexversion >> 16) & 0xff))
|
|
631
|
+
if hasattr(sys, 'abiflags'):
|
|
632
|
+
pythonlib += sys.abiflags
|
|
633
|
+
ensure('libraries', pythonlib)
|
|
634
|
+
if sys.platform == "win32":
|
|
635
|
+
ensure('extra_link_args', '/MANIFEST')
|
|
636
|
+
|
|
637
|
+
def set_source(self, module_name, source, source_extension='.c', **kwds):
|
|
638
|
+
import os
|
|
639
|
+
if hasattr(self, '_assigned_source'):
|
|
640
|
+
raise ValueError("set_source() cannot be called several times "
|
|
641
|
+
"per ffi object")
|
|
642
|
+
if not isinstance(module_name, basestring):
|
|
643
|
+
raise TypeError("'module_name' must be a string")
|
|
644
|
+
if os.sep in module_name or (os.altsep and os.altsep in module_name):
|
|
645
|
+
raise ValueError("'module_name' must not contain '/': use a dotted "
|
|
646
|
+
"name to make a 'package.module' location")
|
|
647
|
+
self._assigned_source = (str(module_name), source,
|
|
648
|
+
source_extension, kwds)
|
|
649
|
+
|
|
650
|
+
def set_source_pkgconfig(self, module_name, pkgconfig_libs, source,
|
|
651
|
+
source_extension='.c', **kwds):
|
|
652
|
+
from . import pkgconfig
|
|
653
|
+
if not isinstance(pkgconfig_libs, list):
|
|
654
|
+
raise TypeError("the pkgconfig_libs argument must be a list "
|
|
655
|
+
"of package names")
|
|
656
|
+
kwds2 = pkgconfig.flags_from_pkgconfig(pkgconfig_libs)
|
|
657
|
+
pkgconfig.merge_flags(kwds, kwds2)
|
|
658
|
+
self.set_source(module_name, source, source_extension, **kwds)
|
|
659
|
+
|
|
660
|
+
def distutils_extension(self, tmpdir='build', verbose=True):
|
|
661
|
+
from cffi._shimmed_dist_utils import mkpath
|
|
662
|
+
from .recompiler import recompile
|
|
663
|
+
#
|
|
664
|
+
if not hasattr(self, '_assigned_source'):
|
|
665
|
+
if hasattr(self, 'verifier'): # fallback, 'tmpdir' ignored
|
|
666
|
+
return self.verifier.get_extension()
|
|
667
|
+
raise ValueError("set_source() must be called before"
|
|
668
|
+
" distutils_extension()")
|
|
669
|
+
module_name, source, source_extension, kwds = self._assigned_source
|
|
670
|
+
if source is None:
|
|
671
|
+
raise TypeError("distutils_extension() is only for C extension "
|
|
672
|
+
"modules, not for dlopen()-style pure Python "
|
|
673
|
+
"modules")
|
|
674
|
+
mkpath(tmpdir)
|
|
675
|
+
ext, updated = recompile(self, module_name,
|
|
676
|
+
source, tmpdir=tmpdir, extradir=tmpdir,
|
|
677
|
+
source_extension=source_extension,
|
|
678
|
+
call_c_compiler=False, **kwds)
|
|
679
|
+
if verbose:
|
|
680
|
+
if updated:
|
|
681
|
+
sys.stderr.write("regenerated: %r\n" % (ext.sources[0],))
|
|
682
|
+
else:
|
|
683
|
+
sys.stderr.write("not modified: %r\n" % (ext.sources[0],))
|
|
684
|
+
return ext
|
|
685
|
+
|
|
686
|
+
def emit_c_code(self, filename):
|
|
687
|
+
from .recompiler import recompile
|
|
688
|
+
#
|
|
689
|
+
if not hasattr(self, '_assigned_source'):
|
|
690
|
+
raise ValueError("set_source() must be called before emit_c_code()")
|
|
691
|
+
module_name, source, source_extension, kwds = self._assigned_source
|
|
692
|
+
if source is None:
|
|
693
|
+
raise TypeError("emit_c_code() is only for C extension modules, "
|
|
694
|
+
"not for dlopen()-style pure Python modules")
|
|
695
|
+
recompile(self, module_name, source,
|
|
696
|
+
c_file=filename, call_c_compiler=False,
|
|
697
|
+
uses_ffiplatform=False, **kwds)
|
|
698
|
+
|
|
699
|
+
def emit_python_code(self, filename):
|
|
700
|
+
from .recompiler import recompile
|
|
701
|
+
#
|
|
702
|
+
if not hasattr(self, '_assigned_source'):
|
|
703
|
+
raise ValueError("set_source() must be called before emit_c_code()")
|
|
704
|
+
module_name, source, source_extension, kwds = self._assigned_source
|
|
705
|
+
if source is not None:
|
|
706
|
+
raise TypeError("emit_python_code() is only for dlopen()-style "
|
|
707
|
+
"pure Python modules, not for C extension modules")
|
|
708
|
+
recompile(self, module_name, source,
|
|
709
|
+
c_file=filename, call_c_compiler=False,
|
|
710
|
+
uses_ffiplatform=False, **kwds)
|
|
711
|
+
|
|
712
|
+
def compile(self, tmpdir='.', verbose=0, target=None, debug=None):
|
|
713
|
+
"""The 'target' argument gives the final file name of the
|
|
714
|
+
compiled DLL. Use '*' to force distutils' choice, suitable for
|
|
715
|
+
regular CPython C API modules. Use a file name ending in '.*'
|
|
716
|
+
to ask for the system's default extension for dynamic libraries
|
|
717
|
+
(.so/.dll/.dylib).
|
|
718
|
+
|
|
719
|
+
The default is '*' when building a non-embedded C API extension,
|
|
720
|
+
and (module_name + '.*') when building an embedded library.
|
|
721
|
+
"""
|
|
722
|
+
from .recompiler import recompile
|
|
723
|
+
#
|
|
724
|
+
if not hasattr(self, '_assigned_source'):
|
|
725
|
+
raise ValueError("set_source() must be called before compile()")
|
|
726
|
+
module_name, source, source_extension, kwds = self._assigned_source
|
|
727
|
+
return recompile(self, module_name, source, tmpdir=tmpdir,
|
|
728
|
+
target=target, source_extension=source_extension,
|
|
729
|
+
compiler_verbose=verbose, debug=debug, **kwds)
|
|
730
|
+
|
|
731
|
+
def init_once(self, func, tag):
|
|
732
|
+
# Read _init_once_cache[tag], which is either (False, lock) if
|
|
733
|
+
# we're calling the function now in some thread, or (True, result).
|
|
734
|
+
# Don't call setdefault() in most cases, to avoid allocating and
|
|
735
|
+
# immediately freeing a lock; but still use setdefaut() to avoid
|
|
736
|
+
# races.
|
|
737
|
+
try:
|
|
738
|
+
x = self._init_once_cache[tag]
|
|
739
|
+
except KeyError:
|
|
740
|
+
x = self._init_once_cache.setdefault(tag, (False, allocate_lock()))
|
|
741
|
+
# Common case: we got (True, result), so we return the result.
|
|
742
|
+
if x[0]:
|
|
743
|
+
return x[1]
|
|
744
|
+
# Else, it's a lock. Acquire it to serialize the following tests.
|
|
745
|
+
with x[1]:
|
|
746
|
+
# Read again from _init_once_cache the current status.
|
|
747
|
+
x = self._init_once_cache[tag]
|
|
748
|
+
if x[0]:
|
|
749
|
+
return x[1]
|
|
750
|
+
# Call the function and store the result back.
|
|
751
|
+
result = func()
|
|
752
|
+
self._init_once_cache[tag] = (True, result)
|
|
753
|
+
return result
|
|
754
|
+
|
|
755
|
+
def embedding_init_code(self, pysource):
|
|
756
|
+
if self._embedding:
|
|
757
|
+
raise ValueError("embedding_init_code() can only be called once")
|
|
758
|
+
# fix 'pysource' before it gets dumped into the C file:
|
|
759
|
+
# - remove empty lines at the beginning, so it starts at "line 1"
|
|
760
|
+
# - dedent, if all non-empty lines are indented
|
|
761
|
+
# - check for SyntaxErrors
|
|
762
|
+
import re
|
|
763
|
+
match = re.match(r'\s*\n', pysource)
|
|
764
|
+
if match:
|
|
765
|
+
pysource = pysource[match.end():]
|
|
766
|
+
lines = pysource.splitlines() or ['']
|
|
767
|
+
prefix = re.match(r'\s*', lines[0]).group()
|
|
768
|
+
for i in range(1, len(lines)):
|
|
769
|
+
line = lines[i]
|
|
770
|
+
if line.rstrip():
|
|
771
|
+
while not line.startswith(prefix):
|
|
772
|
+
prefix = prefix[:-1]
|
|
773
|
+
i = len(prefix)
|
|
774
|
+
lines = [line[i:]+'\n' for line in lines]
|
|
775
|
+
pysource = ''.join(lines)
|
|
776
|
+
#
|
|
777
|
+
compile(pysource, "cffi_init", "exec")
|
|
778
|
+
#
|
|
779
|
+
self._embedding = pysource
|
|
780
|
+
|
|
781
|
+
def def_extern(self, *args, **kwds):
|
|
782
|
+
raise ValueError("ffi.def_extern() is only available on API-mode FFI "
|
|
783
|
+
"objects")
|
|
784
|
+
|
|
785
|
+
def list_types(self):
|
|
786
|
+
"""Returns the user type names known to this FFI instance.
|
|
787
|
+
This returns a tuple containing three lists of names:
|
|
788
|
+
(typedef_names, names_of_structs, names_of_unions)
|
|
789
|
+
"""
|
|
790
|
+
typedefs = []
|
|
791
|
+
structs = []
|
|
792
|
+
unions = []
|
|
793
|
+
for key in self._parser._declarations:
|
|
794
|
+
if key.startswith('typedef '):
|
|
795
|
+
typedefs.append(key[8:])
|
|
796
|
+
elif key.startswith('struct '):
|
|
797
|
+
structs.append(key[7:])
|
|
798
|
+
elif key.startswith('union '):
|
|
799
|
+
unions.append(key[6:])
|
|
800
|
+
typedefs.sort()
|
|
801
|
+
structs.sort()
|
|
802
|
+
unions.sort()
|
|
803
|
+
return (typedefs, structs, unions)
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
def _load_backend_lib(backend, name, flags):
|
|
807
|
+
import os
|
|
808
|
+
if not isinstance(name, basestring):
|
|
809
|
+
if sys.platform != "win32" or name is not None:
|
|
810
|
+
return backend.load_library(name, flags)
|
|
811
|
+
name = "c" # Windows: load_library(None) fails, but this works
|
|
812
|
+
# on Python 2 (backward compatibility hack only)
|
|
813
|
+
first_error = None
|
|
814
|
+
if '.' in name or '/' in name or os.sep in name:
|
|
815
|
+
try:
|
|
816
|
+
return backend.load_library(name, flags)
|
|
817
|
+
except OSError as e:
|
|
818
|
+
first_error = e
|
|
819
|
+
import ctypes.util
|
|
820
|
+
path = ctypes.util.find_library(name)
|
|
821
|
+
if path is None:
|
|
822
|
+
if name == "c" and sys.platform == "win32" and sys.version_info >= (3,):
|
|
823
|
+
raise OSError("dlopen(None) cannot work on Windows for Python 3 "
|
|
824
|
+
"(see http://bugs.python.org/issue23606)")
|
|
825
|
+
msg = ("ctypes.util.find_library() did not manage "
|
|
826
|
+
"to locate a library called %r" % (name,))
|
|
827
|
+
if first_error is not None:
|
|
828
|
+
msg = "%s. Additionally, %s" % (first_error, msg)
|
|
829
|
+
raise OSError(msg)
|
|
830
|
+
return backend.load_library(path, flags)
|
|
831
|
+
|
|
832
|
+
def _make_ffi_library(ffi, libname, flags):
|
|
833
|
+
backend = ffi._backend
|
|
834
|
+
backendlib = _load_backend_lib(backend, libname, flags)
|
|
835
|
+
#
|
|
836
|
+
def accessor_function(name):
|
|
837
|
+
key = 'function ' + name
|
|
838
|
+
tp, _ = ffi._parser._declarations[key]
|
|
839
|
+
BType = ffi._get_cached_btype(tp)
|
|
840
|
+
value = backendlib.load_function(BType, name)
|
|
841
|
+
library.__dict__[name] = value
|
|
842
|
+
#
|
|
843
|
+
def accessor_variable(name):
|
|
844
|
+
key = 'variable ' + name
|
|
845
|
+
tp, _ = ffi._parser._declarations[key]
|
|
846
|
+
BType = ffi._get_cached_btype(tp)
|
|
847
|
+
read_variable = backendlib.read_variable
|
|
848
|
+
write_variable = backendlib.write_variable
|
|
849
|
+
setattr(FFILibrary, name, property(
|
|
850
|
+
lambda self: read_variable(BType, name),
|
|
851
|
+
lambda self, value: write_variable(BType, name, value)))
|
|
852
|
+
#
|
|
853
|
+
def addressof_var(name):
|
|
854
|
+
try:
|
|
855
|
+
return addr_variables[name]
|
|
856
|
+
except KeyError:
|
|
857
|
+
with ffi._lock:
|
|
858
|
+
if name not in addr_variables:
|
|
859
|
+
key = 'variable ' + name
|
|
860
|
+
tp, _ = ffi._parser._declarations[key]
|
|
861
|
+
BType = ffi._get_cached_btype(tp)
|
|
862
|
+
if BType.kind != 'array':
|
|
863
|
+
BType = model.pointer_cache(ffi, BType)
|
|
864
|
+
p = backendlib.load_function(BType, name)
|
|
865
|
+
addr_variables[name] = p
|
|
866
|
+
return addr_variables[name]
|
|
867
|
+
#
|
|
868
|
+
def accessor_constant(name):
|
|
869
|
+
raise NotImplementedError("non-integer constant '%s' cannot be "
|
|
870
|
+
"accessed from a dlopen() library" % (name,))
|
|
871
|
+
#
|
|
872
|
+
def accessor_int_constant(name):
|
|
873
|
+
library.__dict__[name] = ffi._parser._int_constants[name]
|
|
874
|
+
#
|
|
875
|
+
accessors = {}
|
|
876
|
+
accessors_version = [False]
|
|
877
|
+
addr_variables = {}
|
|
878
|
+
#
|
|
879
|
+
def update_accessors():
|
|
880
|
+
if accessors_version[0] is ffi._cdef_version:
|
|
881
|
+
return
|
|
882
|
+
#
|
|
883
|
+
for key, (tp, _) in ffi._parser._declarations.items():
|
|
884
|
+
if not isinstance(tp, model.EnumType):
|
|
885
|
+
tag, name = key.split(' ', 1)
|
|
886
|
+
if tag == 'function':
|
|
887
|
+
accessors[name] = accessor_function
|
|
888
|
+
elif tag == 'variable':
|
|
889
|
+
accessors[name] = accessor_variable
|
|
890
|
+
elif tag == 'constant':
|
|
891
|
+
accessors[name] = accessor_constant
|
|
892
|
+
else:
|
|
893
|
+
for i, enumname in enumerate(tp.enumerators):
|
|
894
|
+
def accessor_enum(name, tp=tp, i=i):
|
|
895
|
+
tp.check_not_partial()
|
|
896
|
+
library.__dict__[name] = tp.enumvalues[i]
|
|
897
|
+
accessors[enumname] = accessor_enum
|
|
898
|
+
for name in ffi._parser._int_constants:
|
|
899
|
+
accessors.setdefault(name, accessor_int_constant)
|
|
900
|
+
accessors_version[0] = ffi._cdef_version
|
|
901
|
+
#
|
|
902
|
+
def make_accessor(name):
|
|
903
|
+
with ffi._lock:
|
|
904
|
+
if name in library.__dict__ or name in FFILibrary.__dict__:
|
|
905
|
+
return # added by another thread while waiting for the lock
|
|
906
|
+
if name not in accessors:
|
|
907
|
+
update_accessors()
|
|
908
|
+
if name not in accessors:
|
|
909
|
+
raise AttributeError(name)
|
|
910
|
+
accessors[name](name)
|
|
911
|
+
#
|
|
912
|
+
class FFILibrary(object):
|
|
913
|
+
def __getattr__(self, name):
|
|
914
|
+
make_accessor(name)
|
|
915
|
+
return getattr(self, name)
|
|
916
|
+
def __setattr__(self, name, value):
|
|
917
|
+
try:
|
|
918
|
+
property = getattr(self.__class__, name)
|
|
919
|
+
except AttributeError:
|
|
920
|
+
make_accessor(name)
|
|
921
|
+
setattr(self, name, value)
|
|
922
|
+
else:
|
|
923
|
+
property.__set__(self, value)
|
|
924
|
+
def __dir__(self):
|
|
925
|
+
with ffi._lock:
|
|
926
|
+
update_accessors()
|
|
927
|
+
return accessors.keys()
|
|
928
|
+
def __addressof__(self, name):
|
|
929
|
+
if name in library.__dict__:
|
|
930
|
+
return library.__dict__[name]
|
|
931
|
+
if name in FFILibrary.__dict__:
|
|
932
|
+
return addressof_var(name)
|
|
933
|
+
make_accessor(name)
|
|
934
|
+
if name in library.__dict__:
|
|
935
|
+
return library.__dict__[name]
|
|
936
|
+
if name in FFILibrary.__dict__:
|
|
937
|
+
return addressof_var(name)
|
|
938
|
+
raise AttributeError("cffi library has no function or "
|
|
939
|
+
"global variable named '%s'" % (name,))
|
|
940
|
+
def __cffi_close__(self):
|
|
941
|
+
backendlib.close_lib()
|
|
942
|
+
self.__dict__.clear()
|
|
943
|
+
#
|
|
944
|
+
if isinstance(libname, basestring):
|
|
945
|
+
try:
|
|
946
|
+
if not isinstance(libname, str): # unicode, on Python 2
|
|
947
|
+
libname = libname.encode('utf-8')
|
|
948
|
+
FFILibrary.__name__ = 'FFILibrary_%s' % libname
|
|
949
|
+
except UnicodeError:
|
|
950
|
+
pass
|
|
951
|
+
library = FFILibrary()
|
|
952
|
+
return library, library.__dict__
|
|
953
|
+
|
|
954
|
+
def _builtin_function_type(func):
|
|
955
|
+
# a hack to make at least ffi.typeof(builtin_function) work,
|
|
956
|
+
# if the builtin function was obtained by 'vengine_cpy'.
|
|
957
|
+
import sys
|
|
958
|
+
try:
|
|
959
|
+
module = sys.modules[func.__module__]
|
|
960
|
+
ffi = module._cffi_original_ffi
|
|
961
|
+
types_of_builtin_funcs = module._cffi_types_of_builtin_funcs
|
|
962
|
+
tp = types_of_builtin_funcs[func]
|
|
963
|
+
except (KeyError, AttributeError, TypeError):
|
|
964
|
+
return None
|
|
965
|
+
else:
|
|
966
|
+
with ffi._lock:
|
|
967
|
+
return ffi._get_cached_btype(tp)
|