@scrypted/arlo 0.11.26 → 0.11.28

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.
Files changed (1312) hide show
  1. package/dist/plugin.zip +0 -0
  2. package/package.json +1 -1
  3. package/venv/bin/Activate.ps1 +0 -247
  4. package/venv/bin/activate +0 -69
  5. package/venv/bin/activate.csh +0 -26
  6. package/venv/bin/activate.fish +0 -69
  7. package/venv/bin/normalizer +0 -8
  8. package/venv/bin/pip +0 -8
  9. package/venv/bin/pip3 +0 -8
  10. package/venv/bin/pip3.10 +0 -8
  11. package/venv/lib/python3.10/site-packages/_cffi_backend.cpython-310-x86_64-linux-gnu.so +0 -0
  12. package/venv/lib/python3.10/site-packages/_distutils_hack/__init__.py +0 -132
  13. package/venv/lib/python3.10/site-packages/_distutils_hack/override.py +0 -1
  14. package/venv/lib/python3.10/site-packages/aiohappyeyeballs/__init__.py +0 -13
  15. package/venv/lib/python3.10/site-packages/aiohappyeyeballs/_staggered.py +0 -202
  16. package/venv/lib/python3.10/site-packages/aiohappyeyeballs/impl.py +0 -210
  17. package/venv/lib/python3.10/site-packages/aiohappyeyeballs/py.typed +0 -0
  18. package/venv/lib/python3.10/site-packages/aiohappyeyeballs/types.py +0 -12
  19. package/venv/lib/python3.10/site-packages/aiohappyeyeballs/utils.py +0 -97
  20. package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/INSTALLER +0 -1
  21. package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/LICENSE +0 -279
  22. package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/METADATA +0 -123
  23. package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/RECORD +0 -16
  24. package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/WHEEL +0 -4
  25. package/venv/lib/python3.10/site-packages/aiohttp/.hash/_cparser.pxd.hash +0 -1
  26. package/venv/lib/python3.10/site-packages/aiohttp/.hash/_find_header.pxd.hash +0 -1
  27. package/venv/lib/python3.10/site-packages/aiohttp/.hash/_http_parser.pyx.hash +0 -1
  28. package/venv/lib/python3.10/site-packages/aiohttp/.hash/_http_writer.pyx.hash +0 -1
  29. package/venv/lib/python3.10/site-packages/aiohttp/.hash/hdrs.py.hash +0 -1
  30. package/venv/lib/python3.10/site-packages/aiohttp/__init__.py +0 -264
  31. package/venv/lib/python3.10/site-packages/aiohttp/_cparser.pxd +0 -158
  32. package/venv/lib/python3.10/site-packages/aiohttp/_find_header.pxd +0 -2
  33. package/venv/lib/python3.10/site-packages/aiohttp/_headers.pxi +0 -83
  34. package/venv/lib/python3.10/site-packages/aiohttp/_http_parser.cpython-310-x86_64-linux-gnu.so +0 -0
  35. package/venv/lib/python3.10/site-packages/aiohttp/_http_parser.pyx +0 -837
  36. package/venv/lib/python3.10/site-packages/aiohttp/_http_writer.cpython-310-x86_64-linux-gnu.so +0 -0
  37. package/venv/lib/python3.10/site-packages/aiohttp/_http_writer.pyx +0 -162
  38. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/.hash/mask.pxd.hash +0 -1
  39. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/.hash/mask.pyx.hash +0 -1
  40. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/.hash/reader_c.pxd.hash +0 -1
  41. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/__init__.py +0 -1
  42. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/helpers.py +0 -147
  43. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/mask.cpython-310-x86_64-linux-gnu.so +0 -0
  44. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/mask.pxd +0 -3
  45. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/mask.pyx +0 -48
  46. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/models.py +0 -84
  47. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader.py +0 -31
  48. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader_c.cpython-310-x86_64-linux-gnu.so +0 -0
  49. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader_c.pxd +0 -102
  50. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader_c.py +0 -468
  51. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader_py.py +0 -468
  52. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/writer.py +0 -177
  53. package/venv/lib/python3.10/site-packages/aiohttp/abc.py +0 -253
  54. package/venv/lib/python3.10/site-packages/aiohttp/base_protocol.py +0 -100
  55. package/venv/lib/python3.10/site-packages/aiohttp/client.py +0 -1550
  56. package/venv/lib/python3.10/site-packages/aiohttp/client_exceptions.py +0 -421
  57. package/venv/lib/python3.10/site-packages/aiohttp/client_proto.py +0 -307
  58. package/venv/lib/python3.10/site-packages/aiohttp/client_reqrep.py +0 -1315
  59. package/venv/lib/python3.10/site-packages/aiohttp/client_ws.py +0 -426
  60. package/venv/lib/python3.10/site-packages/aiohttp/compression_utils.py +0 -173
  61. package/venv/lib/python3.10/site-packages/aiohttp/connector.py +0 -1652
  62. package/venv/lib/python3.10/site-packages/aiohttp/cookiejar.py +0 -495
  63. package/venv/lib/python3.10/site-packages/aiohttp/formdata.py +0 -182
  64. package/venv/lib/python3.10/site-packages/aiohttp/hdrs.py +0 -121
  65. package/venv/lib/python3.10/site-packages/aiohttp/helpers.py +0 -944
  66. package/venv/lib/python3.10/site-packages/aiohttp/http.py +0 -72
  67. package/venv/lib/python3.10/site-packages/aiohttp/http_exceptions.py +0 -112
  68. package/venv/lib/python3.10/site-packages/aiohttp/http_parser.py +0 -1046
  69. package/venv/lib/python3.10/site-packages/aiohttp/http_websocket.py +0 -36
  70. package/venv/lib/python3.10/site-packages/aiohttp/http_writer.py +0 -249
  71. package/venv/lib/python3.10/site-packages/aiohttp/log.py +0 -8
  72. package/venv/lib/python3.10/site-packages/aiohttp/multipart.py +0 -1071
  73. package/venv/lib/python3.10/site-packages/aiohttp/payload.py +0 -519
  74. package/venv/lib/python3.10/site-packages/aiohttp/payload_streamer.py +0 -78
  75. package/venv/lib/python3.10/site-packages/aiohttp/py.typed +0 -1
  76. package/venv/lib/python3.10/site-packages/aiohttp/pytest_plugin.py +0 -436
  77. package/venv/lib/python3.10/site-packages/aiohttp/resolver.py +0 -187
  78. package/venv/lib/python3.10/site-packages/aiohttp/streams.py +0 -727
  79. package/venv/lib/python3.10/site-packages/aiohttp/tcp_helpers.py +0 -37
  80. package/venv/lib/python3.10/site-packages/aiohttp/test_utils.py +0 -770
  81. package/venv/lib/python3.10/site-packages/aiohttp/tracing.py +0 -470
  82. package/venv/lib/python3.10/site-packages/aiohttp/typedefs.py +0 -69
  83. package/venv/lib/python3.10/site-packages/aiohttp/web.py +0 -605
  84. package/venv/lib/python3.10/site-packages/aiohttp/web_app.py +0 -620
  85. package/venv/lib/python3.10/site-packages/aiohttp/web_exceptions.py +0 -452
  86. package/venv/lib/python3.10/site-packages/aiohttp/web_fileresponse.py +0 -418
  87. package/venv/lib/python3.10/site-packages/aiohttp/web_log.py +0 -216
  88. package/venv/lib/python3.10/site-packages/aiohttp/web_middlewares.py +0 -121
  89. package/venv/lib/python3.10/site-packages/aiohttp/web_protocol.py +0 -750
  90. package/venv/lib/python3.10/site-packages/aiohttp/web_request.py +0 -916
  91. package/venv/lib/python3.10/site-packages/aiohttp/web_response.py +0 -840
  92. package/venv/lib/python3.10/site-packages/aiohttp/web_routedef.py +0 -214
  93. package/venv/lib/python3.10/site-packages/aiohttp/web_runner.py +0 -399
  94. package/venv/lib/python3.10/site-packages/aiohttp/web_server.py +0 -84
  95. package/venv/lib/python3.10/site-packages/aiohttp/web_urldispatcher.py +0 -1301
  96. package/venv/lib/python3.10/site-packages/aiohttp/web_ws.py +0 -622
  97. package/venv/lib/python3.10/site-packages/aiohttp/worker.py +0 -252
  98. package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/INSTALLER +0 -1
  99. package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/LICENSE.txt +0 -13
  100. package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/METADATA +0 -250
  101. package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/RECORD +0 -132
  102. package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/REQUESTED +0 -0
  103. package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/WHEEL +0 -6
  104. package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/top_level.txt +0 -1
  105. package/venv/lib/python3.10/site-packages/aiosignal/__init__.py +0 -36
  106. package/venv/lib/python3.10/site-packages/aiosignal/__init__.pyi +0 -12
  107. package/venv/lib/python3.10/site-packages/aiosignal/py.typed +0 -0
  108. package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/INSTALLER +0 -1
  109. package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/LICENSE +0 -201
  110. package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/METADATA +0 -123
  111. package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/RECORD +0 -10
  112. package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/WHEEL +0 -6
  113. package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/top_level.txt +0 -1
  114. package/venv/lib/python3.10/site-packages/async_timeout/__init__.py +0 -276
  115. package/venv/lib/python3.10/site-packages/async_timeout/py.typed +0 -1
  116. package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/INSTALLER +0 -1
  117. package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/LICENSE +0 -13
  118. package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/METADATA +0 -163
  119. package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/RECORD +0 -11
  120. package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/REQUESTED +0 -0
  121. package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/WHEEL +0 -5
  122. package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/top_level.txt +0 -1
  123. package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/zip-safe +0 -1
  124. package/venv/lib/python3.10/site-packages/attr/__init__.py +0 -104
  125. package/venv/lib/python3.10/site-packages/attr/__init__.pyi +0 -389
  126. package/venv/lib/python3.10/site-packages/attr/_cmp.py +0 -160
  127. package/venv/lib/python3.10/site-packages/attr/_cmp.pyi +0 -13
  128. package/venv/lib/python3.10/site-packages/attr/_compat.py +0 -94
  129. package/venv/lib/python3.10/site-packages/attr/_config.py +0 -31
  130. package/venv/lib/python3.10/site-packages/attr/_funcs.py +0 -468
  131. package/venv/lib/python3.10/site-packages/attr/_make.py +0 -3055
  132. package/venv/lib/python3.10/site-packages/attr/_next_gen.py +0 -623
  133. package/venv/lib/python3.10/site-packages/attr/_typing_compat.pyi +0 -15
  134. package/venv/lib/python3.10/site-packages/attr/_version_info.py +0 -86
  135. package/venv/lib/python3.10/site-packages/attr/_version_info.pyi +0 -9
  136. package/venv/lib/python3.10/site-packages/attr/converters.py +0 -162
  137. package/venv/lib/python3.10/site-packages/attr/converters.pyi +0 -19
  138. package/venv/lib/python3.10/site-packages/attr/exceptions.py +0 -95
  139. package/venv/lib/python3.10/site-packages/attr/exceptions.pyi +0 -17
  140. package/venv/lib/python3.10/site-packages/attr/filters.py +0 -72
  141. package/venv/lib/python3.10/site-packages/attr/filters.pyi +0 -6
  142. package/venv/lib/python3.10/site-packages/attr/py.typed +0 -0
  143. package/venv/lib/python3.10/site-packages/attr/setters.py +0 -79
  144. package/venv/lib/python3.10/site-packages/attr/setters.pyi +0 -20
  145. package/venv/lib/python3.10/site-packages/attr/validators.py +0 -710
  146. package/venv/lib/python3.10/site-packages/attr/validators.pyi +0 -86
  147. package/venv/lib/python3.10/site-packages/attrs/__init__.py +0 -69
  148. package/venv/lib/python3.10/site-packages/attrs/__init__.pyi +0 -263
  149. package/venv/lib/python3.10/site-packages/attrs/converters.py +0 -3
  150. package/venv/lib/python3.10/site-packages/attrs/exceptions.py +0 -3
  151. package/venv/lib/python3.10/site-packages/attrs/filters.py +0 -3
  152. package/venv/lib/python3.10/site-packages/attrs/py.typed +0 -0
  153. package/venv/lib/python3.10/site-packages/attrs/setters.py +0 -3
  154. package/venv/lib/python3.10/site-packages/attrs/validators.py +0 -3
  155. package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/INSTALLER +0 -1
  156. package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/METADATA +0 -232
  157. package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/RECORD +0 -55
  158. package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/WHEEL +0 -4
  159. package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/licenses/LICENSE +0 -21
  160. package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/INSTALLER +0 -1
  161. package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/METADATA +0 -123
  162. package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/RECORD +0 -90
  163. package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/REQUESTED +0 -0
  164. package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/WHEEL +0 -4
  165. package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/licenses/AUTHORS +0 -49
  166. package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/licenses/LICENSE +0 -31
  167. package/venv/lib/python3.10/site-packages/bs4/__init__.py +0 -1170
  168. package/venv/lib/python3.10/site-packages/bs4/_deprecation.py +0 -80
  169. package/venv/lib/python3.10/site-packages/bs4/_typing.py +0 -196
  170. package/venv/lib/python3.10/site-packages/bs4/_warnings.py +0 -98
  171. package/venv/lib/python3.10/site-packages/bs4/builder/__init__.py +0 -848
  172. package/venv/lib/python3.10/site-packages/bs4/builder/_html5lib.py +0 -594
  173. package/venv/lib/python3.10/site-packages/bs4/builder/_htmlparser.py +0 -474
  174. package/venv/lib/python3.10/site-packages/bs4/builder/_lxml.py +0 -490
  175. package/venv/lib/python3.10/site-packages/bs4/css.py +0 -338
  176. package/venv/lib/python3.10/site-packages/bs4/dammit.py +0 -1408
  177. package/venv/lib/python3.10/site-packages/bs4/diagnose.py +0 -268
  178. package/venv/lib/python3.10/site-packages/bs4/element.py +0 -2886
  179. package/venv/lib/python3.10/site-packages/bs4/exceptions.py +0 -28
  180. package/venv/lib/python3.10/site-packages/bs4/filter.py +0 -755
  181. package/venv/lib/python3.10/site-packages/bs4/formatter.py +0 -276
  182. package/venv/lib/python3.10/site-packages/bs4/py.typed +0 -0
  183. package/venv/lib/python3.10/site-packages/bs4/tests/__init__.py +0 -1305
  184. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4670634698080256.testcase +0 -1
  185. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4818336571064320.testcase +0 -1
  186. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4999465949331456.testcase +0 -1
  187. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5000587759190016.testcase +0 -0
  188. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5167584867909632.testcase +0 -0
  189. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5270998950477824.testcase +0 -0
  190. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5375146639360000.testcase +0 -1
  191. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5492400320282624.testcase +0 -0
  192. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5703933063462912.testcase +0 -2
  193. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5843991618256896.testcase +0 -1
  194. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5984173902397440.testcase +0 -0
  195. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6124268085182464.testcase +0 -1
  196. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6241471367348224.testcase +0 -1
  197. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6306874195312640.testcase +0 -1
  198. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6450958476902400.testcase +0 -0
  199. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6600557255327744.testcase +0 -0
  200. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/crash-0d306a50c8ed8bcd0785b67000fcd5dea1d33f08.testcase +0 -0
  201. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/crash-ffbdfa8a2b26f13537b68d3794b0478a4090ee4a.testcase +0 -0
  202. package/venv/lib/python3.10/site-packages/bs4/tests/test_builder.py +0 -28
  203. package/venv/lib/python3.10/site-packages/bs4/tests/test_builder_registry.py +0 -139
  204. package/venv/lib/python3.10/site-packages/bs4/tests/test_css.py +0 -536
  205. package/venv/lib/python3.10/site-packages/bs4/tests/test_dammit.py +0 -433
  206. package/venv/lib/python3.10/site-packages/bs4/tests/test_element.py +0 -138
  207. package/venv/lib/python3.10/site-packages/bs4/tests/test_filter.py +0 -674
  208. package/venv/lib/python3.10/site-packages/bs4/tests/test_formatter.py +0 -170
  209. package/venv/lib/python3.10/site-packages/bs4/tests/test_fuzz.py +0 -181
  210. package/venv/lib/python3.10/site-packages/bs4/tests/test_html5lib.py +0 -264
  211. package/venv/lib/python3.10/site-packages/bs4/tests/test_htmlparser.py +0 -161
  212. package/venv/lib/python3.10/site-packages/bs4/tests/test_lxml.py +0 -196
  213. package/venv/lib/python3.10/site-packages/bs4/tests/test_navigablestring.py +0 -144
  214. package/venv/lib/python3.10/site-packages/bs4/tests/test_pageelement.py +0 -437
  215. package/venv/lib/python3.10/site-packages/bs4/tests/test_soup.py +0 -602
  216. package/venv/lib/python3.10/site-packages/bs4/tests/test_tag.py +0 -241
  217. package/venv/lib/python3.10/site-packages/bs4/tests/test_tree.py +0 -1452
  218. package/venv/lib/python3.10/site-packages/cachetools/__init__.py +0 -859
  219. package/venv/lib/python3.10/site-packages/cachetools/func.py +0 -121
  220. package/venv/lib/python3.10/site-packages/cachetools/keys.py +0 -62
  221. package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/INSTALLER +0 -1
  222. package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/LICENSE +0 -20
  223. package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/METADATA +0 -151
  224. package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/RECORD +0 -13
  225. package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/REQUESTED +0 -0
  226. package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/WHEEL +0 -5
  227. package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/top_level.txt +0 -1
  228. package/venv/lib/python3.10/site-packages/certifi/__init__.py +0 -4
  229. package/venv/lib/python3.10/site-packages/certifi/__main__.py +0 -12
  230. package/venv/lib/python3.10/site-packages/certifi/cacert.pem +0 -4897
  231. package/venv/lib/python3.10/site-packages/certifi/core.py +0 -114
  232. package/venv/lib/python3.10/site-packages/certifi/py.typed +0 -0
  233. package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/INSTALLER +0 -1
  234. package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/LICENSE +0 -20
  235. package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/METADATA +0 -77
  236. package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/RECORD +0 -14
  237. package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/WHEEL +0 -5
  238. package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/top_level.txt +0 -1
  239. package/venv/lib/python3.10/site-packages/cffi/__init__.py +0 -14
  240. package/venv/lib/python3.10/site-packages/cffi/_cffi_errors.h +0 -149
  241. package/venv/lib/python3.10/site-packages/cffi/_cffi_include.h +0 -389
  242. package/venv/lib/python3.10/site-packages/cffi/_embedding.h +0 -550
  243. package/venv/lib/python3.10/site-packages/cffi/_imp_emulation.py +0 -83
  244. package/venv/lib/python3.10/site-packages/cffi/_shimmed_dist_utils.py +0 -45
  245. package/venv/lib/python3.10/site-packages/cffi/api.py +0 -967
  246. package/venv/lib/python3.10/site-packages/cffi/backend_ctypes.py +0 -1121
  247. package/venv/lib/python3.10/site-packages/cffi/cffi_opcode.py +0 -187
  248. package/venv/lib/python3.10/site-packages/cffi/commontypes.py +0 -82
  249. package/venv/lib/python3.10/site-packages/cffi/cparser.py +0 -1015
  250. package/venv/lib/python3.10/site-packages/cffi/error.py +0 -31
  251. package/venv/lib/python3.10/site-packages/cffi/ffiplatform.py +0 -113
  252. package/venv/lib/python3.10/site-packages/cffi/lock.py +0 -30
  253. package/venv/lib/python3.10/site-packages/cffi/model.py +0 -618
  254. package/venv/lib/python3.10/site-packages/cffi/parse_c_type.h +0 -181
  255. package/venv/lib/python3.10/site-packages/cffi/pkgconfig.py +0 -121
  256. package/venv/lib/python3.10/site-packages/cffi/recompiler.py +0 -1598
  257. package/venv/lib/python3.10/site-packages/cffi/setuptools_ext.py +0 -216
  258. package/venv/lib/python3.10/site-packages/cffi/vengine_cpy.py +0 -1084
  259. package/venv/lib/python3.10/site-packages/cffi/vengine_gen.py +0 -679
  260. package/venv/lib/python3.10/site-packages/cffi/verifier.py +0 -306
  261. package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/INSTALLER +0 -1
  262. package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/LICENSE +0 -26
  263. package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/METADATA +0 -40
  264. package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/RECORD +0 -48
  265. package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/WHEEL +0 -6
  266. package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/entry_points.txt +0 -2
  267. package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/top_level.txt +0 -2
  268. package/venv/lib/python3.10/site-packages/charset_normalizer/__init__.py +0 -48
  269. package/venv/lib/python3.10/site-packages/charset_normalizer/__main__.py +0 -6
  270. package/venv/lib/python3.10/site-packages/charset_normalizer/api.py +0 -668
  271. package/venv/lib/python3.10/site-packages/charset_normalizer/cd.py +0 -395
  272. package/venv/lib/python3.10/site-packages/charset_normalizer/cli/__init__.py +0 -8
  273. package/venv/lib/python3.10/site-packages/charset_normalizer/cli/__main__.py +0 -321
  274. package/venv/lib/python3.10/site-packages/charset_normalizer/constant.py +0 -1998
  275. package/venv/lib/python3.10/site-packages/charset_normalizer/legacy.py +0 -66
  276. package/venv/lib/python3.10/site-packages/charset_normalizer/md.cpython-310-x86_64-linux-gnu.so +0 -0
  277. package/venv/lib/python3.10/site-packages/charset_normalizer/md.py +0 -630
  278. package/venv/lib/python3.10/site-packages/charset_normalizer/md__mypyc.cpython-310-x86_64-linux-gnu.so +0 -0
  279. package/venv/lib/python3.10/site-packages/charset_normalizer/models.py +0 -360
  280. package/venv/lib/python3.10/site-packages/charset_normalizer/py.typed +0 -0
  281. package/venv/lib/python3.10/site-packages/charset_normalizer/utils.py +0 -408
  282. package/venv/lib/python3.10/site-packages/charset_normalizer/version.py +0 -8
  283. package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/INSTALLER +0 -1
  284. package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/LICENSE +0 -21
  285. package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/METADATA +0 -721
  286. package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/RECORD +0 -35
  287. package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/WHEEL +0 -6
  288. package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/entry_points.txt +0 -2
  289. package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/top_level.txt +0 -1
  290. package/venv/lib/python3.10/site-packages/cloudscraper/__init__.py +0 -407
  291. package/venv/lib/python3.10/site-packages/cloudscraper/captcha/2captcha.py +0 -258
  292. package/venv/lib/python3.10/site-packages/cloudscraper/captcha/9kw.py +0 -214
  293. package/venv/lib/python3.10/site-packages/cloudscraper/captcha/__init__.py +0 -47
  294. package/venv/lib/python3.10/site-packages/cloudscraper/captcha/anticaptcha.py +0 -199
  295. package/venv/lib/python3.10/site-packages/cloudscraper/captcha/capmonster.py +0 -199
  296. package/venv/lib/python3.10/site-packages/cloudscraper/captcha/capsolver.py +0 -188
  297. package/venv/lib/python3.10/site-packages/cloudscraper/captcha/deathbycaptcha.py +0 -276
  298. package/venv/lib/python3.10/site-packages/cloudscraper/cloudflare.py +0 -490
  299. package/venv/lib/python3.10/site-packages/cloudscraper/exceptions.py +0 -111
  300. package/venv/lib/python3.10/site-packages/cloudscraper/help.py +0 -72
  301. package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/__init__.py +0 -56
  302. package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/chakracore.py +0 -103
  303. package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/encapsulated.py +0 -62
  304. package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/js2py.py +0 -44
  305. package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/jsunfuck.py +0 -97
  306. package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/native.py +0 -233
  307. package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/nodejs.py +0 -49
  308. package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/v8.py +0 -33
  309. package/venv/lib/python3.10/site-packages/cloudscraper/user_agent/__init__.py +0 -124
  310. package/venv/lib/python3.10/site-packages/cloudscraper/user_agent/browsers.json +0 -7913
  311. package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/INSTALLER +0 -1
  312. package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/LICENSE +0 -22
  313. package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/METADATA +0 -674
  314. package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/RECORD +0 -48
  315. package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/REQUESTED +0 -0
  316. package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/WHEEL +0 -6
  317. package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/top_level.txt +0 -1
  318. package/venv/lib/python3.10/site-packages/curl_cffi/__init__.py +0 -37
  319. package/venv/lib/python3.10/site-packages/curl_cffi/__version__.py +0 -8
  320. package/venv/lib/python3.10/site-packages/curl_cffi/_asyncio_selector.py +0 -344
  321. package/venv/lib/python3.10/site-packages/curl_cffi/_wrapper.abi3.so +0 -0
  322. package/venv/lib/python3.10/site-packages/curl_cffi/aio.py +0 -257
  323. package/venv/lib/python3.10/site-packages/curl_cffi/const.py +0 -581
  324. package/venv/lib/python3.10/site-packages/curl_cffi/curl.py +0 -548
  325. package/venv/lib/python3.10/site-packages/curl_cffi/py.typed +0 -1
  326. package/venv/lib/python3.10/site-packages/curl_cffi/requests/__init__.py +0 -146
  327. package/venv/lib/python3.10/site-packages/curl_cffi/requests/cookies.py +0 -355
  328. package/venv/lib/python3.10/site-packages/curl_cffi/requests/errors.py +0 -7
  329. package/venv/lib/python3.10/site-packages/curl_cffi/requests/exceptions.py +0 -219
  330. package/venv/lib/python3.10/site-packages/curl_cffi/requests/headers.py +0 -348
  331. package/venv/lib/python3.10/site-packages/curl_cffi/requests/impersonate.py +0 -360
  332. package/venv/lib/python3.10/site-packages/curl_cffi/requests/models.py +0 -292
  333. package/venv/lib/python3.10/site-packages/curl_cffi/requests/session.py +0 -1021
  334. package/venv/lib/python3.10/site-packages/curl_cffi/requests/utils.py +0 -663
  335. package/venv/lib/python3.10/site-packages/curl_cffi/requests/websockets.py +0 -711
  336. package/venv/lib/python3.10/site-packages/curl_cffi/utils.py +0 -13
  337. package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/INSTALLER +0 -1
  338. package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/LICENSE +0 -21
  339. package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/METADATA +0 -333
  340. package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/RECORD +0 -43
  341. package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/REQUESTED +0 -0
  342. package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/WHEEL +0 -6
  343. package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/top_level.txt +0 -1
  344. package/venv/lib/python3.10/site-packages/distutils-precedence.pth +0 -1
  345. package/venv/lib/python3.10/site-packages/frozenlist/__init__.py +0 -98
  346. package/venv/lib/python3.10/site-packages/frozenlist/__init__.pyi +0 -47
  347. package/venv/lib/python3.10/site-packages/frozenlist/_frozenlist.cpython-310-x86_64-linux-gnu.so +0 -0
  348. package/venv/lib/python3.10/site-packages/frozenlist/_frozenlist.pyx +0 -123
  349. package/venv/lib/python3.10/site-packages/frozenlist/py.typed +0 -1
  350. package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/INSTALLER +0 -1
  351. package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/LICENSE +0 -201
  352. package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/METADATA +0 -477
  353. package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/RECORD +0 -12
  354. package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/WHEEL +0 -8
  355. package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/top_level.txt +0 -1
  356. package/venv/lib/python3.10/site-packages/idna/__init__.py +0 -45
  357. package/venv/lib/python3.10/site-packages/idna/codec.py +0 -122
  358. package/venv/lib/python3.10/site-packages/idna/compat.py +0 -15
  359. package/venv/lib/python3.10/site-packages/idna/core.py +0 -437
  360. package/venv/lib/python3.10/site-packages/idna/idnadata.py +0 -4243
  361. package/venv/lib/python3.10/site-packages/idna/intranges.py +0 -57
  362. package/venv/lib/python3.10/site-packages/idna/package_data.py +0 -1
  363. package/venv/lib/python3.10/site-packages/idna/py.typed +0 -0
  364. package/venv/lib/python3.10/site-packages/idna/uts46data.py +0 -8681
  365. package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/INSTALLER +0 -1
  366. package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/LICENSE.md +0 -31
  367. package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/METADATA +0 -250
  368. package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/RECORD +0 -22
  369. package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/WHEEL +0 -4
  370. package/venv/lib/python3.10/site-packages/multidict/__init__.py +0 -48
  371. package/venv/lib/python3.10/site-packages/multidict/__init__.pyi +0 -152
  372. package/venv/lib/python3.10/site-packages/multidict/_abc.py +0 -48
  373. package/venv/lib/python3.10/site-packages/multidict/_compat.py +0 -14
  374. package/venv/lib/python3.10/site-packages/multidict/_multidict.cpython-310-x86_64-linux-gnu.so +0 -0
  375. package/venv/lib/python3.10/site-packages/multidict/_multidict_base.py +0 -152
  376. package/venv/lib/python3.10/site-packages/multidict/_multidict_py.py +0 -527
  377. package/venv/lib/python3.10/site-packages/multidict/py.typed +0 -1
  378. package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/INSTALLER +0 -1
  379. package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/LICENSE +0 -13
  380. package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/METADATA +0 -140
  381. package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/RECORD +0 -19
  382. package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/WHEEL +0 -6
  383. package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/top_level.txt +0 -1
  384. package/venv/lib/python3.10/site-packages/paho/__init__.py +0 -0
  385. package/venv/lib/python3.10/site-packages/paho/mqtt/__init__.py +0 -5
  386. package/venv/lib/python3.10/site-packages/paho/mqtt/client.py +0 -5004
  387. package/venv/lib/python3.10/site-packages/paho/mqtt/enums.py +0 -113
  388. package/venv/lib/python3.10/site-packages/paho/mqtt/matcher.py +0 -78
  389. package/venv/lib/python3.10/site-packages/paho/mqtt/packettypes.py +0 -43
  390. package/venv/lib/python3.10/site-packages/paho/mqtt/properties.py +0 -421
  391. package/venv/lib/python3.10/site-packages/paho/mqtt/publish.py +0 -306
  392. package/venv/lib/python3.10/site-packages/paho/mqtt/py.typed +0 -0
  393. package/venv/lib/python3.10/site-packages/paho/mqtt/reasoncodes.py +0 -223
  394. package/venv/lib/python3.10/site-packages/paho/mqtt/subscribe.py +0 -281
  395. package/venv/lib/python3.10/site-packages/paho/mqtt/subscribeoptions.py +0 -113
  396. package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/INSTALLER +0 -1
  397. package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/METADATA +0 -635
  398. package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/RECORD +0 -29
  399. package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/REQUESTED +0 -0
  400. package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/WHEEL +0 -4
  401. package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/licenses/LICENSE.txt +0 -3
  402. package/venv/lib/python3.10/site-packages/pip/__init__.py +0 -13
  403. package/venv/lib/python3.10/site-packages/pip/__main__.py +0 -31
  404. package/venv/lib/python3.10/site-packages/pip/_internal/__init__.py +0 -19
  405. package/venv/lib/python3.10/site-packages/pip/_internal/build_env.py +0 -296
  406. package/venv/lib/python3.10/site-packages/pip/_internal/cache.py +0 -264
  407. package/venv/lib/python3.10/site-packages/pip/_internal/cli/__init__.py +0 -4
  408. package/venv/lib/python3.10/site-packages/pip/_internal/cli/autocompletion.py +0 -171
  409. package/venv/lib/python3.10/site-packages/pip/_internal/cli/base_command.py +0 -220
  410. package/venv/lib/python3.10/site-packages/pip/_internal/cli/cmdoptions.py +0 -1018
  411. package/venv/lib/python3.10/site-packages/pip/_internal/cli/command_context.py +0 -27
  412. package/venv/lib/python3.10/site-packages/pip/_internal/cli/main.py +0 -70
  413. package/venv/lib/python3.10/site-packages/pip/_internal/cli/main_parser.py +0 -87
  414. package/venv/lib/python3.10/site-packages/pip/_internal/cli/parser.py +0 -292
  415. package/venv/lib/python3.10/site-packages/pip/_internal/cli/progress_bars.py +0 -321
  416. package/venv/lib/python3.10/site-packages/pip/_internal/cli/req_command.py +0 -506
  417. package/venv/lib/python3.10/site-packages/pip/_internal/cli/spinners.py +0 -157
  418. package/venv/lib/python3.10/site-packages/pip/_internal/cli/status_codes.py +0 -6
  419. package/venv/lib/python3.10/site-packages/pip/_internal/commands/__init__.py +0 -127
  420. package/venv/lib/python3.10/site-packages/pip/_internal/commands/cache.py +0 -223
  421. package/venv/lib/python3.10/site-packages/pip/_internal/commands/check.py +0 -53
  422. package/venv/lib/python3.10/site-packages/pip/_internal/commands/completion.py +0 -96
  423. package/venv/lib/python3.10/site-packages/pip/_internal/commands/configuration.py +0 -266
  424. package/venv/lib/python3.10/site-packages/pip/_internal/commands/debug.py +0 -202
  425. package/venv/lib/python3.10/site-packages/pip/_internal/commands/download.py +0 -140
  426. package/venv/lib/python3.10/site-packages/pip/_internal/commands/freeze.py +0 -97
  427. package/venv/lib/python3.10/site-packages/pip/_internal/commands/hash.py +0 -59
  428. package/venv/lib/python3.10/site-packages/pip/_internal/commands/help.py +0 -41
  429. package/venv/lib/python3.10/site-packages/pip/_internal/commands/index.py +0 -139
  430. package/venv/lib/python3.10/site-packages/pip/_internal/commands/install.py +0 -771
  431. package/venv/lib/python3.10/site-packages/pip/_internal/commands/list.py +0 -363
  432. package/venv/lib/python3.10/site-packages/pip/_internal/commands/search.py +0 -174
  433. package/venv/lib/python3.10/site-packages/pip/_internal/commands/show.py +0 -178
  434. package/venv/lib/python3.10/site-packages/pip/_internal/commands/uninstall.py +0 -105
  435. package/venv/lib/python3.10/site-packages/pip/_internal/commands/wheel.py +0 -178
  436. package/venv/lib/python3.10/site-packages/pip/_internal/configuration.py +0 -366
  437. package/venv/lib/python3.10/site-packages/pip/_internal/distributions/__init__.py +0 -21
  438. package/venv/lib/python3.10/site-packages/pip/_internal/distributions/base.py +0 -36
  439. package/venv/lib/python3.10/site-packages/pip/_internal/distributions/installed.py +0 -20
  440. package/venv/lib/python3.10/site-packages/pip/_internal/distributions/sdist.py +0 -127
  441. package/venv/lib/python3.10/site-packages/pip/_internal/distributions/wheel.py +0 -31
  442. package/venv/lib/python3.10/site-packages/pip/_internal/exceptions.py +0 -658
  443. package/venv/lib/python3.10/site-packages/pip/_internal/index/__init__.py +0 -2
  444. package/venv/lib/python3.10/site-packages/pip/_internal/index/collector.py +0 -648
  445. package/venv/lib/python3.10/site-packages/pip/_internal/index/package_finder.py +0 -1004
  446. package/venv/lib/python3.10/site-packages/pip/_internal/index/sources.py +0 -224
  447. package/venv/lib/python3.10/site-packages/pip/_internal/locations/__init__.py +0 -520
  448. package/venv/lib/python3.10/site-packages/pip/_internal/locations/_distutils.py +0 -169
  449. package/venv/lib/python3.10/site-packages/pip/_internal/locations/_sysconfig.py +0 -219
  450. package/venv/lib/python3.10/site-packages/pip/_internal/locations/base.py +0 -52
  451. package/venv/lib/python3.10/site-packages/pip/_internal/main.py +0 -12
  452. package/venv/lib/python3.10/site-packages/pip/_internal/metadata/__init__.py +0 -62
  453. package/venv/lib/python3.10/site-packages/pip/_internal/metadata/base.py +0 -546
  454. package/venv/lib/python3.10/site-packages/pip/_internal/metadata/pkg_resources.py +0 -256
  455. package/venv/lib/python3.10/site-packages/pip/_internal/models/__init__.py +0 -2
  456. package/venv/lib/python3.10/site-packages/pip/_internal/models/candidate.py +0 -34
  457. package/venv/lib/python3.10/site-packages/pip/_internal/models/direct_url.py +0 -220
  458. package/venv/lib/python3.10/site-packages/pip/_internal/models/format_control.py +0 -80
  459. package/venv/lib/python3.10/site-packages/pip/_internal/models/index.py +0 -28
  460. package/venv/lib/python3.10/site-packages/pip/_internal/models/link.py +0 -288
  461. package/venv/lib/python3.10/site-packages/pip/_internal/models/scheme.py +0 -31
  462. package/venv/lib/python3.10/site-packages/pip/_internal/models/search_scope.py +0 -129
  463. package/venv/lib/python3.10/site-packages/pip/_internal/models/selection_prefs.py +0 -51
  464. package/venv/lib/python3.10/site-packages/pip/_internal/models/target_python.py +0 -110
  465. package/venv/lib/python3.10/site-packages/pip/_internal/models/wheel.py +0 -89
  466. package/venv/lib/python3.10/site-packages/pip/_internal/network/__init__.py +0 -2
  467. package/venv/lib/python3.10/site-packages/pip/_internal/network/auth.py +0 -323
  468. package/venv/lib/python3.10/site-packages/pip/_internal/network/cache.py +0 -69
  469. package/venv/lib/python3.10/site-packages/pip/_internal/network/download.py +0 -185
  470. package/venv/lib/python3.10/site-packages/pip/_internal/network/lazy_wheel.py +0 -210
  471. package/venv/lib/python3.10/site-packages/pip/_internal/network/session.py +0 -454
  472. package/venv/lib/python3.10/site-packages/pip/_internal/network/utils.py +0 -96
  473. package/venv/lib/python3.10/site-packages/pip/_internal/network/xmlrpc.py +0 -60
  474. package/venv/lib/python3.10/site-packages/pip/_internal/operations/__init__.py +0 -0
  475. package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/__init__.py +0 -0
  476. package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/metadata.py +0 -39
  477. package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/metadata_editable.py +0 -41
  478. package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/metadata_legacy.py +0 -74
  479. package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/wheel.py +0 -37
  480. package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/wheel_editable.py +0 -46
  481. package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/wheel_legacy.py +0 -102
  482. package/venv/lib/python3.10/site-packages/pip/_internal/operations/check.py +0 -149
  483. package/venv/lib/python3.10/site-packages/pip/_internal/operations/freeze.py +0 -254
  484. package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/__init__.py +0 -2
  485. package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/editable_legacy.py +0 -47
  486. package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/legacy.py +0 -120
  487. package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/wheel.py +0 -738
  488. package/venv/lib/python3.10/site-packages/pip/_internal/operations/prepare.py +0 -642
  489. package/venv/lib/python3.10/site-packages/pip/_internal/pyproject.py +0 -168
  490. package/venv/lib/python3.10/site-packages/pip/_internal/req/__init__.py +0 -94
  491. package/venv/lib/python3.10/site-packages/pip/_internal/req/constructors.py +0 -490
  492. package/venv/lib/python3.10/site-packages/pip/_internal/req/req_file.py +0 -536
  493. package/venv/lib/python3.10/site-packages/pip/_internal/req/req_install.py +0 -858
  494. package/venv/lib/python3.10/site-packages/pip/_internal/req/req_set.py +0 -189
  495. package/venv/lib/python3.10/site-packages/pip/_internal/req/req_tracker.py +0 -124
  496. package/venv/lib/python3.10/site-packages/pip/_internal/req/req_uninstall.py +0 -633
  497. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/__init__.py +0 -0
  498. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/base.py +0 -20
  499. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
  500. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/legacy/resolver.py +0 -467
  501. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
  502. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/base.py +0 -141
  503. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py +0 -547
  504. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py +0 -739
  505. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +0 -155
  506. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/provider.py +0 -248
  507. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/reporter.py +0 -68
  508. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/requirements.py +0 -166
  509. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py +0 -292
  510. package/venv/lib/python3.10/site-packages/pip/_internal/self_outdated_check.py +0 -189
  511. package/venv/lib/python3.10/site-packages/pip/_internal/utils/__init__.py +0 -0
  512. package/venv/lib/python3.10/site-packages/pip/_internal/utils/_log.py +0 -38
  513. package/venv/lib/python3.10/site-packages/pip/_internal/utils/appdirs.py +0 -52
  514. package/venv/lib/python3.10/site-packages/pip/_internal/utils/compat.py +0 -63
  515. package/venv/lib/python3.10/site-packages/pip/_internal/utils/compatibility_tags.py +0 -165
  516. package/venv/lib/python3.10/site-packages/pip/_internal/utils/datetime.py +0 -11
  517. package/venv/lib/python3.10/site-packages/pip/_internal/utils/deprecation.py +0 -120
  518. package/venv/lib/python3.10/site-packages/pip/_internal/utils/direct_url_helpers.py +0 -87
  519. package/venv/lib/python3.10/site-packages/pip/_internal/utils/distutils_args.py +0 -42
  520. package/venv/lib/python3.10/site-packages/pip/_internal/utils/egg_link.py +0 -75
  521. package/venv/lib/python3.10/site-packages/pip/_internal/utils/encoding.py +0 -36
  522. package/venv/lib/python3.10/site-packages/pip/_internal/utils/entrypoints.py +0 -27
  523. package/venv/lib/python3.10/site-packages/pip/_internal/utils/filesystem.py +0 -182
  524. package/venv/lib/python3.10/site-packages/pip/_internal/utils/filetypes.py +0 -27
  525. package/venv/lib/python3.10/site-packages/pip/_internal/utils/glibc.py +0 -88
  526. package/venv/lib/python3.10/site-packages/pip/_internal/utils/hashes.py +0 -144
  527. package/venv/lib/python3.10/site-packages/pip/_internal/utils/inject_securetransport.py +0 -35
  528. package/venv/lib/python3.10/site-packages/pip/_internal/utils/logging.py +0 -343
  529. package/venv/lib/python3.10/site-packages/pip/_internal/utils/misc.py +0 -653
  530. package/venv/lib/python3.10/site-packages/pip/_internal/utils/models.py +0 -39
  531. package/venv/lib/python3.10/site-packages/pip/_internal/utils/packaging.py +0 -57
  532. package/venv/lib/python3.10/site-packages/pip/_internal/utils/setuptools_build.py +0 -195
  533. package/venv/lib/python3.10/site-packages/pip/_internal/utils/subprocess.py +0 -260
  534. package/venv/lib/python3.10/site-packages/pip/_internal/utils/temp_dir.py +0 -246
  535. package/venv/lib/python3.10/site-packages/pip/_internal/utils/unpacking.py +0 -258
  536. package/venv/lib/python3.10/site-packages/pip/_internal/utils/urls.py +0 -62
  537. package/venv/lib/python3.10/site-packages/pip/_internal/utils/virtualenv.py +0 -104
  538. package/venv/lib/python3.10/site-packages/pip/_internal/utils/wheel.py +0 -136
  539. package/venv/lib/python3.10/site-packages/pip/_internal/vcs/__init__.py +0 -15
  540. package/venv/lib/python3.10/site-packages/pip/_internal/vcs/bazaar.py +0 -101
  541. package/venv/lib/python3.10/site-packages/pip/_internal/vcs/git.py +0 -526
  542. package/venv/lib/python3.10/site-packages/pip/_internal/vcs/mercurial.py +0 -163
  543. package/venv/lib/python3.10/site-packages/pip/_internal/vcs/subversion.py +0 -324
  544. package/venv/lib/python3.10/site-packages/pip/_internal/vcs/versioncontrol.py +0 -705
  545. package/venv/lib/python3.10/site-packages/pip/_internal/wheel_builder.py +0 -377
  546. package/venv/lib/python3.10/site-packages/pip/_vendor/__init__.py +0 -111
  547. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/__init__.py +0 -18
  548. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/_cmd.py +0 -61
  549. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/adapter.py +0 -137
  550. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/cache.py +0 -43
  551. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +0 -6
  552. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +0 -150
  553. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +0 -37
  554. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/compat.py +0 -32
  555. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/controller.py +0 -415
  556. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/filewrapper.py +0 -111
  557. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/heuristics.py +0 -139
  558. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/serialize.py +0 -186
  559. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/wrapper.py +0 -33
  560. package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/__init__.py +0 -3
  561. package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/__main__.py +0 -12
  562. package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/cacert.pem +0 -4362
  563. package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/core.py +0 -76
  564. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/__init__.py +0 -83
  565. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/big5freq.py +0 -386
  566. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/big5prober.py +0 -47
  567. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/chardistribution.py +0 -233
  568. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/charsetgroupprober.py +0 -107
  569. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/charsetprober.py +0 -145
  570. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/cli/__init__.py +0 -1
  571. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/cli/chardetect.py +0 -84
  572. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/codingstatemachine.py +0 -88
  573. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/compat.py +0 -36
  574. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/cp949prober.py +0 -49
  575. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/enums.py +0 -76
  576. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/escprober.py +0 -101
  577. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/escsm.py +0 -246
  578. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/eucjpprober.py +0 -92
  579. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euckrfreq.py +0 -195
  580. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euckrprober.py +0 -47
  581. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euctwfreq.py +0 -387
  582. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euctwprober.py +0 -46
  583. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/gb2312freq.py +0 -283
  584. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/gb2312prober.py +0 -46
  585. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/hebrewprober.py +0 -292
  586. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/jisfreq.py +0 -325
  587. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/jpcntx.py +0 -233
  588. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langbulgarianmodel.py +0 -4650
  589. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langgreekmodel.py +0 -4398
  590. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langhebrewmodel.py +0 -4383
  591. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langhungarianmodel.py +0 -4650
  592. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langrussianmodel.py +0 -5718
  593. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langthaimodel.py +0 -4383
  594. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langturkishmodel.py +0 -4383
  595. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/latin1prober.py +0 -145
  596. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/mbcharsetprober.py +0 -91
  597. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/mbcsgroupprober.py +0 -54
  598. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/mbcssm.py +0 -572
  599. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/metadata/__init__.py +0 -0
  600. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/metadata/languages.py +0 -310
  601. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/sbcharsetprober.py +0 -145
  602. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/sbcsgroupprober.py +0 -83
  603. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/sjisprober.py +0 -92
  604. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/universaldetector.py +0 -286
  605. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/utf8prober.py +0 -82
  606. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/version.py +0 -9
  607. package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/__init__.py +0 -6
  608. package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/ansi.py +0 -102
  609. package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/ansitowin32.py +0 -258
  610. package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/initialise.py +0 -80
  611. package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/win32.py +0 -152
  612. package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/winterm.py +0 -169
  613. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/__init__.py +0 -23
  614. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/compat.py +0 -1116
  615. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/database.py +0 -1345
  616. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/index.py +0 -509
  617. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/locators.py +0 -1300
  618. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/manifest.py +0 -393
  619. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/markers.py +0 -152
  620. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/metadata.py +0 -1058
  621. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/resources.py +0 -358
  622. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/scripts.py +0 -429
  623. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/util.py +0 -1932
  624. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/version.py +0 -739
  625. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/wheel.py +0 -1053
  626. package/venv/lib/python3.10/site-packages/pip/_vendor/distro.py +0 -1386
  627. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/__init__.py +0 -35
  628. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_ihatexml.py +0 -289
  629. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_inputstream.py +0 -918
  630. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_tokenizer.py +0 -1735
  631. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/__init__.py +0 -5
  632. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/_base.py +0 -40
  633. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/py.py +0 -67
  634. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_utils.py +0 -159
  635. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/constants.py +0 -2946
  636. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/__init__.py +0 -0
  637. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/alphabeticalattributes.py +0 -29
  638. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/base.py +0 -12
  639. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/inject_meta_charset.py +0 -73
  640. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/lint.py +0 -93
  641. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/optionaltags.py +0 -207
  642. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/sanitizer.py +0 -916
  643. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/whitespace.py +0 -38
  644. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/html5parser.py +0 -2795
  645. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/serializer.py +0 -409
  646. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treeadapters/__init__.py +0 -30
  647. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treeadapters/genshi.py +0 -54
  648. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treeadapters/sax.py +0 -50
  649. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/__init__.py +0 -88
  650. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/base.py +0 -417
  651. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/dom.py +0 -239
  652. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/etree.py +0 -343
  653. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/etree_lxml.py +0 -392
  654. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/__init__.py +0 -154
  655. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/base.py +0 -252
  656. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/dom.py +0 -43
  657. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/etree.py +0 -131
  658. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.py +0 -215
  659. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/genshi.py +0 -69
  660. package/venv/lib/python3.10/site-packages/pip/_vendor/idna/__init__.py +0 -44
  661. package/venv/lib/python3.10/site-packages/pip/_vendor/idna/codec.py +0 -112
  662. package/venv/lib/python3.10/site-packages/pip/_vendor/idna/compat.py +0 -13
  663. package/venv/lib/python3.10/site-packages/pip/_vendor/idna/core.py +0 -397
  664. package/venv/lib/python3.10/site-packages/pip/_vendor/idna/idnadata.py +0 -2137
  665. package/venv/lib/python3.10/site-packages/pip/_vendor/idna/intranges.py +0 -54
  666. package/venv/lib/python3.10/site-packages/pip/_vendor/idna/package_data.py +0 -2
  667. package/venv/lib/python3.10/site-packages/pip/_vendor/idna/uts46data.py +0 -8512
  668. package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/__init__.py +0 -54
  669. package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/_version.py +0 -1
  670. package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/exceptions.py +0 -48
  671. package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/ext.py +0 -193
  672. package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/fallback.py +0 -1012
  673. package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/__about__.py +0 -26
  674. package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/__init__.py +0 -25
  675. package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_manylinux.py +0 -301
  676. package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_musllinux.py +0 -136
  677. package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_structures.py +0 -61
  678. package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/markers.py +0 -304
  679. package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/requirements.py +0 -146
  680. package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/specifiers.py +0 -802
  681. package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/tags.py +0 -487
  682. package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/utils.py +0 -136
  683. package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/version.py +0 -504
  684. package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/__init__.py +0 -6
  685. package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/build.py +0 -127
  686. package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/check.py +0 -207
  687. package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/colorlog.py +0 -115
  688. package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/compat.py +0 -51
  689. package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/dirtools.py +0 -44
  690. package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/envbuild.py +0 -171
  691. package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/__init__.py +0 -17
  692. package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py +0 -363
  693. package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/meta.py +0 -92
  694. package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/wrappers.py +0 -375
  695. package/venv/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py +0 -3296
  696. package/venv/lib/python3.10/site-packages/pip/_vendor/pkg_resources/py31compat.py +0 -23
  697. package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/__init__.py +0 -331
  698. package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/__main__.py +0 -46
  699. package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/android.py +0 -119
  700. package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/api.py +0 -156
  701. package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/macos.py +0 -64
  702. package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/unix.py +0 -181
  703. package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/version.py +0 -4
  704. package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/windows.py +0 -182
  705. package/venv/lib/python3.10/site-packages/pip/_vendor/progress/__init__.py +0 -189
  706. package/venv/lib/python3.10/site-packages/pip/_vendor/progress/bar.py +0 -93
  707. package/venv/lib/python3.10/site-packages/pip/_vendor/progress/colors.py +0 -79
  708. package/venv/lib/python3.10/site-packages/pip/_vendor/progress/counter.py +0 -47
  709. package/venv/lib/python3.10/site-packages/pip/_vendor/progress/spinner.py +0 -45
  710. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/__init__.py +0 -83
  711. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/__main__.py +0 -17
  712. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/cmdline.py +0 -663
  713. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/console.py +0 -70
  714. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/filter.py +0 -71
  715. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/filters/__init__.py +0 -937
  716. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatter.py +0 -94
  717. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/__init__.py +0 -153
  718. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/_mapping.py +0 -84
  719. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/bbcode.py +0 -108
  720. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/groff.py +0 -168
  721. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/html.py +0 -983
  722. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/img.py +0 -641
  723. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/irc.py +0 -179
  724. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/latex.py +0 -511
  725. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/other.py +0 -161
  726. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/pangomarkup.py +0 -83
  727. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/rtf.py +0 -146
  728. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/svg.py +0 -188
  729. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/terminal.py +0 -127
  730. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/terminal256.py +0 -338
  731. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexer.py +0 -879
  732. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexers/__init__.py +0 -341
  733. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexers/_mapping.py +0 -580
  734. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexers/python.py +0 -1188
  735. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/modeline.py +0 -43
  736. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/plugin.py +0 -69
  737. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/regexopt.py +0 -91
  738. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/scanner.py +0 -104
  739. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/sphinxext.py +0 -155
  740. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/style.py +0 -197
  741. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/styles/__init__.py +0 -93
  742. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/token.py +0 -212
  743. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/unistring.py +0 -153
  744. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/util.py +0 -308
  745. package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/__init__.py +0 -328
  746. package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/actions.py +0 -207
  747. package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/common.py +0 -424
  748. package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/core.py +0 -5789
  749. package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/diagram/__init__.py +0 -593
  750. package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/exceptions.py +0 -267
  751. package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/helpers.py +0 -1069
  752. package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/results.py +0 -760
  753. package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/testing.py +0 -331
  754. package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/unicode.py +0 -332
  755. package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/util.py +0 -235
  756. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/__init__.py +0 -154
  757. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/__version__.py +0 -14
  758. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/_internal_utils.py +0 -42
  759. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/adapters.py +0 -538
  760. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/api.py +0 -159
  761. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/auth.py +0 -305
  762. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/certs.py +0 -18
  763. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/compat.py +0 -77
  764. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/cookies.py +0 -549
  765. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/exceptions.py +0 -133
  766. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/help.py +0 -132
  767. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/hooks.py +0 -34
  768. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/models.py +0 -973
  769. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/packages.py +0 -16
  770. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/sessions.py +0 -771
  771. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/status_codes.py +0 -123
  772. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/structures.py +0 -105
  773. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/utils.py +0 -1060
  774. package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/__init__.py +0 -26
  775. package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/compat/__init__.py +0 -0
  776. package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py +0 -6
  777. package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/providers.py +0 -133
  778. package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/reporters.py +0 -43
  779. package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py +0 -482
  780. package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/structs.py +0 -165
  781. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/__init__.py +0 -172
  782. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/__main__.py +0 -280
  783. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_cell_widths.py +0 -451
  784. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_emoji_codes.py +0 -3610
  785. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_emoji_replace.py +0 -32
  786. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_extension.py +0 -10
  787. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_inspect.py +0 -210
  788. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_log_render.py +0 -94
  789. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_loop.py +0 -43
  790. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_lru_cache.py +0 -34
  791. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_palettes.py +0 -309
  792. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_pick.py +0 -17
  793. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_ratio.py +0 -160
  794. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_spinners.py +0 -848
  795. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_stack.py +0 -16
  796. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_timer.py +0 -19
  797. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_windows.py +0 -72
  798. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_wrap.py +0 -55
  799. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/abc.py +0 -33
  800. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/align.py +0 -312
  801. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/ansi.py +0 -228
  802. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/bar.py +0 -94
  803. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/box.py +0 -483
  804. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/cells.py +0 -147
  805. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/color.py +0 -581
  806. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/color_triplet.py +0 -38
  807. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/columns.py +0 -187
  808. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/console.py +0 -2211
  809. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/constrain.py +0 -37
  810. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/containers.py +0 -167
  811. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/control.py +0 -175
  812. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/default_styles.py +0 -183
  813. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/diagnose.py +0 -6
  814. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/emoji.py +0 -96
  815. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/errors.py +0 -34
  816. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/file_proxy.py +0 -54
  817. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/filesize.py +0 -89
  818. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/highlighter.py +0 -147
  819. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/json.py +0 -140
  820. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/jupyter.py +0 -92
  821. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/layout.py +0 -444
  822. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/live.py +0 -365
  823. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/live_render.py +0 -113
  824. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/logging.py +0 -268
  825. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/markup.py +0 -244
  826. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/measure.py +0 -149
  827. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/padding.py +0 -141
  828. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/pager.py +0 -34
  829. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/palette.py +0 -100
  830. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/panel.py +0 -250
  831. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/pretty.py +0 -903
  832. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/progress.py +0 -1036
  833. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/progress_bar.py +0 -216
  834. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/prompt.py +0 -376
  835. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/protocol.py +0 -42
  836. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/region.py +0 -10
  837. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/repr.py +0 -151
  838. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/rule.py +0 -115
  839. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/scope.py +0 -86
  840. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/screen.py +0 -54
  841. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/segment.py +0 -720
  842. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/spinner.py +0 -134
  843. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/status.py +0 -132
  844. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/style.py +0 -785
  845. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/styled.py +0 -42
  846. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/syntax.py +0 -735
  847. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/table.py +0 -968
  848. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/tabulate.py +0 -51
  849. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/terminal_theme.py +0 -55
  850. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/text.py +0 -1282
  851. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/theme.py +0 -112
  852. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/themes.py +0 -5
  853. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/traceback.py +0 -678
  854. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/tree.py +0 -249
  855. package/venv/lib/python3.10/site-packages/pip/_vendor/six.py +0 -998
  856. package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/__init__.py +0 -517
  857. package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/_asyncio.py +0 -92
  858. package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/_utils.py +0 -68
  859. package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/after.py +0 -46
  860. package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/before.py +0 -41
  861. package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/before_sleep.py +0 -58
  862. package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/nap.py +0 -43
  863. package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/retry.py +0 -213
  864. package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/stop.py +0 -96
  865. package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/tornadoweb.py +0 -59
  866. package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/wait.py +0 -191
  867. package/venv/lib/python3.10/site-packages/pip/_vendor/tomli/__init__.py +0 -6
  868. package/venv/lib/python3.10/site-packages/pip/_vendor/tomli/_parser.py +0 -703
  869. package/venv/lib/python3.10/site-packages/pip/_vendor/tomli/_re.py +0 -83
  870. package/venv/lib/python3.10/site-packages/pip/_vendor/typing_extensions.py +0 -2296
  871. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/__init__.py +0 -85
  872. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/_collections.py +0 -355
  873. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/_version.py +0 -2
  874. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/connection.py +0 -569
  875. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/connectionpool.py +0 -1113
  876. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
  877. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py +0 -36
  878. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
  879. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +0 -519
  880. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +0 -397
  881. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/appengine.py +0 -314
  882. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +0 -130
  883. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +0 -511
  884. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +0 -922
  885. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/socks.py +0 -216
  886. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/exceptions.py +0 -323
  887. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/fields.py +0 -274
  888. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/filepost.py +0 -98
  889. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/packages/__init__.py +0 -0
  890. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
  891. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +0 -51
  892. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/packages/six.py +0 -1077
  893. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/poolmanager.py +0 -539
  894. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/request.py +0 -170
  895. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py +0 -821
  896. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/__init__.py +0 -49
  897. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/connection.py +0 -149
  898. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/proxy.py +0 -57
  899. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/queue.py +0 -22
  900. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/request.py +0 -143
  901. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/response.py +0 -107
  902. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/retry.py +0 -622
  903. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/ssl_.py +0 -495
  904. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py +0 -161
  905. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/ssltransport.py +0 -221
  906. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/timeout.py +0 -268
  907. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/url.py +0 -432
  908. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/wait.py +0 -153
  909. package/venv/lib/python3.10/site-packages/pip/_vendor/vendor.txt +0 -25
  910. package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/__init__.py +0 -342
  911. package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/labels.py +0 -231
  912. package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/mklabels.py +0 -59
  913. package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/tests.py +0 -153
  914. package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/x_user_defined.py +0 -325
  915. package/venv/lib/python3.10/site-packages/pip/py.typed +0 -4
  916. package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/INSTALLER +0 -1
  917. package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/LICENSE.txt +0 -20
  918. package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/METADATA +0 -92
  919. package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/RECORD +0 -1037
  920. package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/REQUESTED +0 -0
  921. package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/WHEEL +0 -5
  922. package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/entry_points.txt +0 -5
  923. package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/top_level.txt +0 -1
  924. package/venv/lib/python3.10/site-packages/pkg_resources/__init__.py +0 -3303
  925. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/__init__.py +0 -0
  926. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/appdirs.py +0 -608
  927. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__about__.py +0 -26
  928. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__init__.py +0 -25
  929. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/_manylinux.py +0 -301
  930. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/_musllinux.py +0 -136
  931. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/_structures.py +0 -67
  932. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/markers.py +0 -304
  933. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/requirements.py +0 -146
  934. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/specifiers.py +0 -828
  935. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/tags.py +0 -484
  936. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/utils.py +0 -136
  937. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/version.py +0 -504
  938. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/pyparsing.py +0 -5742
  939. package/venv/lib/python3.10/site-packages/pkg_resources/extern/__init__.py +0 -73
  940. package/venv/lib/python3.10/site-packages/pkg_resources/tests/data/my-test-package-source/setup.py +0 -6
  941. package/venv/lib/python3.10/site-packages/propcache/__init__.py +0 -32
  942. package/venv/lib/python3.10/site-packages/propcache/_helpers.py +0 -39
  943. package/venv/lib/python3.10/site-packages/propcache/_helpers_c.cpython-310-x86_64-linux-gnu.so +0 -0
  944. package/venv/lib/python3.10/site-packages/propcache/_helpers_c.pyx +0 -84
  945. package/venv/lib/python3.10/site-packages/propcache/_helpers_py.py +0 -56
  946. package/venv/lib/python3.10/site-packages/propcache/api.py +0 -8
  947. package/venv/lib/python3.10/site-packages/propcache/py.typed +0 -1
  948. package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/INSTALLER +0 -1
  949. package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/LICENSE +0 -202
  950. package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/METADATA +0 -275
  951. package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/NOTICE +0 -13
  952. package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/RECORD +0 -18
  953. package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/WHEEL +0 -6
  954. package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/top_level.txt +0 -1
  955. package/venv/lib/python3.10/site-packages/pycparser/__init__.py +0 -93
  956. package/venv/lib/python3.10/site-packages/pycparser/_ast_gen.py +0 -336
  957. package/venv/lib/python3.10/site-packages/pycparser/_build_tables.py +0 -40
  958. package/venv/lib/python3.10/site-packages/pycparser/_c_ast.cfg +0 -195
  959. package/venv/lib/python3.10/site-packages/pycparser/ast_transforms.py +0 -164
  960. package/venv/lib/python3.10/site-packages/pycparser/c_ast.py +0 -1125
  961. package/venv/lib/python3.10/site-packages/pycparser/c_generator.py +0 -502
  962. package/venv/lib/python3.10/site-packages/pycparser/c_lexer.py +0 -555
  963. package/venv/lib/python3.10/site-packages/pycparser/c_parser.py +0 -1950
  964. package/venv/lib/python3.10/site-packages/pycparser/lextab.py +0 -10
  965. package/venv/lib/python3.10/site-packages/pycparser/ply/__init__.py +0 -5
  966. package/venv/lib/python3.10/site-packages/pycparser/ply/cpp.py +0 -905
  967. package/venv/lib/python3.10/site-packages/pycparser/ply/ctokens.py +0 -133
  968. package/venv/lib/python3.10/site-packages/pycparser/ply/lex.py +0 -1099
  969. package/venv/lib/python3.10/site-packages/pycparser/ply/yacc.py +0 -3494
  970. package/venv/lib/python3.10/site-packages/pycparser/ply/ygen.py +0 -74
  971. package/venv/lib/python3.10/site-packages/pycparser/plyparser.py +0 -133
  972. package/venv/lib/python3.10/site-packages/pycparser/yacctab.py +0 -369
  973. package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/INSTALLER +0 -1
  974. package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/LICENSE +0 -27
  975. package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/METADATA +0 -28
  976. package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/RECORD +0 -41
  977. package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/WHEEL +0 -5
  978. package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/top_level.txt +0 -1
  979. package/venv/lib/python3.10/site-packages/pyparsing/__init__.py +0 -326
  980. package/venv/lib/python3.10/site-packages/pyparsing/actions.py +0 -219
  981. package/venv/lib/python3.10/site-packages/pyparsing/common.py +0 -434
  982. package/venv/lib/python3.10/site-packages/pyparsing/core.py +0 -6226
  983. package/venv/lib/python3.10/site-packages/pyparsing/diagram/__init__.py +0 -744
  984. package/venv/lib/python3.10/site-packages/pyparsing/exceptions.py +0 -314
  985. package/venv/lib/python3.10/site-packages/pyparsing/helpers.py +0 -1102
  986. package/venv/lib/python3.10/site-packages/pyparsing/py.typed +0 -0
  987. package/venv/lib/python3.10/site-packages/pyparsing/results.py +0 -816
  988. package/venv/lib/python3.10/site-packages/pyparsing/testing.py +0 -362
  989. package/venv/lib/python3.10/site-packages/pyparsing/unicode.py +0 -356
  990. package/venv/lib/python3.10/site-packages/pyparsing/util.py +0 -398
  991. package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/INSTALLER +0 -1
  992. package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/LICENSE +0 -18
  993. package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/METADATA +0 -124
  994. package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/RECORD +0 -28
  995. package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/WHEEL +0 -4
  996. package/venv/lib/python3.10/site-packages/requests/__init__.py +0 -184
  997. package/venv/lib/python3.10/site-packages/requests/__version__.py +0 -14
  998. package/venv/lib/python3.10/site-packages/requests/_internal_utils.py +0 -50
  999. package/venv/lib/python3.10/site-packages/requests/adapters.py +0 -719
  1000. package/venv/lib/python3.10/site-packages/requests/api.py +0 -157
  1001. package/venv/lib/python3.10/site-packages/requests/auth.py +0 -314
  1002. package/venv/lib/python3.10/site-packages/requests/certs.py +0 -17
  1003. package/venv/lib/python3.10/site-packages/requests/compat.py +0 -94
  1004. package/venv/lib/python3.10/site-packages/requests/cookies.py +0 -561
  1005. package/venv/lib/python3.10/site-packages/requests/exceptions.py +0 -151
  1006. package/venv/lib/python3.10/site-packages/requests/help.py +0 -134
  1007. package/venv/lib/python3.10/site-packages/requests/hooks.py +0 -33
  1008. package/venv/lib/python3.10/site-packages/requests/models.py +0 -1037
  1009. package/venv/lib/python3.10/site-packages/requests/packages.py +0 -23
  1010. package/venv/lib/python3.10/site-packages/requests/sessions.py +0 -831
  1011. package/venv/lib/python3.10/site-packages/requests/status_codes.py +0 -128
  1012. package/venv/lib/python3.10/site-packages/requests/structures.py +0 -99
  1013. package/venv/lib/python3.10/site-packages/requests/utils.py +0 -1096
  1014. package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/INSTALLER +0 -1
  1015. package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/LICENSE +0 -175
  1016. package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/METADATA +0 -119
  1017. package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/RECORD +0 -43
  1018. package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/REQUESTED +0 -0
  1019. package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/WHEEL +0 -5
  1020. package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/top_level.txt +0 -1
  1021. package/venv/lib/python3.10/site-packages/requests_toolbelt/__init__.py +0 -34
  1022. package/venv/lib/python3.10/site-packages/requests_toolbelt/_compat.py +0 -302
  1023. package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/__init__.py +0 -15
  1024. package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/appengine.py +0 -206
  1025. package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/fingerprint.py +0 -48
  1026. package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/host_header_ssl.py +0 -43
  1027. package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/socket_options.py +0 -129
  1028. package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/source.py +0 -67
  1029. package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/ssl.py +0 -66
  1030. package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/x509.py +0 -196
  1031. package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/__init__.py +0 -0
  1032. package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/_digest_auth_compat.py +0 -29
  1033. package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/guess.py +0 -146
  1034. package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/handler.py +0 -142
  1035. package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/http_proxy_digest.py +0 -103
  1036. package/venv/lib/python3.10/site-packages/requests_toolbelt/cookies/__init__.py +0 -0
  1037. package/venv/lib/python3.10/site-packages/requests_toolbelt/cookies/forgetful.py +0 -7
  1038. package/venv/lib/python3.10/site-packages/requests_toolbelt/downloadutils/__init__.py +0 -0
  1039. package/venv/lib/python3.10/site-packages/requests_toolbelt/downloadutils/stream.py +0 -176
  1040. package/venv/lib/python3.10/site-packages/requests_toolbelt/downloadutils/tee.py +0 -123
  1041. package/venv/lib/python3.10/site-packages/requests_toolbelt/exceptions.py +0 -25
  1042. package/venv/lib/python3.10/site-packages/requests_toolbelt/multipart/__init__.py +0 -31
  1043. package/venv/lib/python3.10/site-packages/requests_toolbelt/multipart/decoder.py +0 -156
  1044. package/venv/lib/python3.10/site-packages/requests_toolbelt/multipart/encoder.py +0 -655
  1045. package/venv/lib/python3.10/site-packages/requests_toolbelt/sessions.py +0 -89
  1046. package/venv/lib/python3.10/site-packages/requests_toolbelt/streaming_iterator.py +0 -116
  1047. package/venv/lib/python3.10/site-packages/requests_toolbelt/threaded/__init__.py +0 -97
  1048. package/venv/lib/python3.10/site-packages/requests_toolbelt/threaded/pool.py +0 -211
  1049. package/venv/lib/python3.10/site-packages/requests_toolbelt/threaded/thread.py +0 -53
  1050. package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/__init__.py +0 -0
  1051. package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/deprecated.py +0 -91
  1052. package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/dump.py +0 -198
  1053. package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/formdata.py +0 -108
  1054. package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/user_agent.py +0 -143
  1055. package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/AUTHORS.rst +0 -57
  1056. package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/INSTALLER +0 -1
  1057. package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/LICENSE +0 -13
  1058. package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/METADATA +0 -521
  1059. package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/RECORD +0 -75
  1060. package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/WHEEL +0 -6
  1061. package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/top_level.txt +0 -1
  1062. package/venv/lib/python3.10/site-packages/scrypted_arlo_go/__init__.py +0 -1
  1063. package/venv/lib/python3.10/site-packages/scrypted_arlo_go/_scrypted_arlo_go.cpython-310-x86_64-linux-gnu.h +0 -555
  1064. package/venv/lib/python3.10/site-packages/scrypted_arlo_go/_scrypted_arlo_go.cpython-310-x86_64-linux-gnu.so +0 -0
  1065. package/venv/lib/python3.10/site-packages/scrypted_arlo_go/build.py +0 -344
  1066. package/venv/lib/python3.10/site-packages/scrypted_arlo_go/go.py +0 -2215
  1067. package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go.c +0 -6019
  1068. package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go.go +0 -3612
  1069. package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go.py +0 -1910
  1070. package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go_go.h +0 -555
  1071. package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/INSTALLER +0 -1
  1072. package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/METADATA +0 -11
  1073. package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/RECORD +0 -19
  1074. package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/REQUESTED +0 -0
  1075. package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/WHEEL +0 -8
  1076. package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/top_level.txt +0 -1
  1077. package/venv/lib/python3.10/site-packages/setuptools/__init__.py +0 -242
  1078. package/venv/lib/python3.10/site-packages/setuptools/_deprecation_warning.py +0 -7
  1079. package/venv/lib/python3.10/site-packages/setuptools/_distutils/__init__.py +0 -24
  1080. package/venv/lib/python3.10/site-packages/setuptools/_distutils/_msvccompiler.py +0 -561
  1081. package/venv/lib/python3.10/site-packages/setuptools/_distutils/archive_util.py +0 -256
  1082. package/venv/lib/python3.10/site-packages/setuptools/_distutils/bcppcompiler.py +0 -393
  1083. package/venv/lib/python3.10/site-packages/setuptools/_distutils/ccompiler.py +0 -1123
  1084. package/venv/lib/python3.10/site-packages/setuptools/_distutils/cmd.py +0 -403
  1085. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/__init__.py +0 -31
  1086. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist.py +0 -143
  1087. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_dumb.py +0 -123
  1088. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_msi.py +0 -749
  1089. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_rpm.py +0 -579
  1090. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_wininst.py +0 -377
  1091. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build.py +0 -157
  1092. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_clib.py +0 -209
  1093. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py +0 -755
  1094. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_py.py +0 -392
  1095. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_scripts.py +0 -152
  1096. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/check.py +0 -148
  1097. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/clean.py +0 -76
  1098. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/config.py +0 -344
  1099. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install.py +0 -721
  1100. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_data.py +0 -79
  1101. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_egg_info.py +0 -84
  1102. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_headers.py +0 -47
  1103. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_lib.py +0 -217
  1104. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_scripts.py +0 -60
  1105. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/py37compat.py +0 -30
  1106. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/register.py +0 -304
  1107. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py +0 -494
  1108. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/upload.py +0 -214
  1109. package/venv/lib/python3.10/site-packages/setuptools/_distutils/config.py +0 -130
  1110. package/venv/lib/python3.10/site-packages/setuptools/_distutils/core.py +0 -249
  1111. package/venv/lib/python3.10/site-packages/setuptools/_distutils/cygwinccompiler.py +0 -425
  1112. package/venv/lib/python3.10/site-packages/setuptools/_distutils/debug.py +0 -5
  1113. package/venv/lib/python3.10/site-packages/setuptools/_distutils/dep_util.py +0 -92
  1114. package/venv/lib/python3.10/site-packages/setuptools/_distutils/dir_util.py +0 -210
  1115. package/venv/lib/python3.10/site-packages/setuptools/_distutils/dist.py +0 -1257
  1116. package/venv/lib/python3.10/site-packages/setuptools/_distutils/errors.py +0 -97
  1117. package/venv/lib/python3.10/site-packages/setuptools/_distutils/extension.py +0 -240
  1118. package/venv/lib/python3.10/site-packages/setuptools/_distutils/fancy_getopt.py +0 -457
  1119. package/venv/lib/python3.10/site-packages/setuptools/_distutils/file_util.py +0 -238
  1120. package/venv/lib/python3.10/site-packages/setuptools/_distutils/filelist.py +0 -355
  1121. package/venv/lib/python3.10/site-packages/setuptools/_distutils/log.py +0 -77
  1122. package/venv/lib/python3.10/site-packages/setuptools/_distutils/msvc9compiler.py +0 -788
  1123. package/venv/lib/python3.10/site-packages/setuptools/_distutils/msvccompiler.py +0 -643
  1124. package/venv/lib/python3.10/site-packages/setuptools/_distutils/py35compat.py +0 -19
  1125. package/venv/lib/python3.10/site-packages/setuptools/_distutils/py38compat.py +0 -7
  1126. package/venv/lib/python3.10/site-packages/setuptools/_distutils/spawn.py +0 -106
  1127. package/venv/lib/python3.10/site-packages/setuptools/_distutils/sysconfig.py +0 -601
  1128. package/venv/lib/python3.10/site-packages/setuptools/_distutils/text_file.py +0 -286
  1129. package/venv/lib/python3.10/site-packages/setuptools/_distutils/unixccompiler.py +0 -325
  1130. package/venv/lib/python3.10/site-packages/setuptools/_distutils/util.py +0 -548
  1131. package/venv/lib/python3.10/site-packages/setuptools/_distutils/version.py +0 -363
  1132. package/venv/lib/python3.10/site-packages/setuptools/_distutils/versionpredicate.py +0 -169
  1133. package/venv/lib/python3.10/site-packages/setuptools/_imp.py +0 -82
  1134. package/venv/lib/python3.10/site-packages/setuptools/_vendor/__init__.py +0 -0
  1135. package/venv/lib/python3.10/site-packages/setuptools/_vendor/more_itertools/__init__.py +0 -4
  1136. package/venv/lib/python3.10/site-packages/setuptools/_vendor/more_itertools/more.py +0 -3825
  1137. package/venv/lib/python3.10/site-packages/setuptools/_vendor/more_itertools/recipes.py +0 -620
  1138. package/venv/lib/python3.10/site-packages/setuptools/_vendor/ordered_set.py +0 -488
  1139. package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/__about__.py +0 -26
  1140. package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/__init__.py +0 -25
  1141. package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/_manylinux.py +0 -301
  1142. package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/_musllinux.py +0 -136
  1143. package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/_structures.py +0 -67
  1144. package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/markers.py +0 -304
  1145. package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/requirements.py +0 -146
  1146. package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/specifiers.py +0 -828
  1147. package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/tags.py +0 -484
  1148. package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/utils.py +0 -136
  1149. package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/version.py +0 -504
  1150. package/venv/lib/python3.10/site-packages/setuptools/_vendor/pyparsing.py +0 -5742
  1151. package/venv/lib/python3.10/site-packages/setuptools/archive_util.py +0 -205
  1152. package/venv/lib/python3.10/site-packages/setuptools/build_meta.py +0 -290
  1153. package/venv/lib/python3.10/site-packages/setuptools/cli-32.exe +0 -0
  1154. package/venv/lib/python3.10/site-packages/setuptools/cli-64.exe +0 -0
  1155. package/venv/lib/python3.10/site-packages/setuptools/cli-arm64.exe +0 -0
  1156. package/venv/lib/python3.10/site-packages/setuptools/cli.exe +0 -0
  1157. package/venv/lib/python3.10/site-packages/setuptools/command/__init__.py +0 -8
  1158. package/venv/lib/python3.10/site-packages/setuptools/command/alias.py +0 -78
  1159. package/venv/lib/python3.10/site-packages/setuptools/command/bdist_egg.py +0 -456
  1160. package/venv/lib/python3.10/site-packages/setuptools/command/bdist_rpm.py +0 -40
  1161. package/venv/lib/python3.10/site-packages/setuptools/command/build_clib.py +0 -101
  1162. package/venv/lib/python3.10/site-packages/setuptools/command/build_ext.py +0 -328
  1163. package/venv/lib/python3.10/site-packages/setuptools/command/build_py.py +0 -242
  1164. package/venv/lib/python3.10/site-packages/setuptools/command/develop.py +0 -193
  1165. package/venv/lib/python3.10/site-packages/setuptools/command/dist_info.py +0 -36
  1166. package/venv/lib/python3.10/site-packages/setuptools/command/easy_install.py +0 -2354
  1167. package/venv/lib/python3.10/site-packages/setuptools/command/egg_info.py +0 -755
  1168. package/venv/lib/python3.10/site-packages/setuptools/command/install.py +0 -132
  1169. package/venv/lib/python3.10/site-packages/setuptools/command/install_egg_info.py +0 -82
  1170. package/venv/lib/python3.10/site-packages/setuptools/command/install_lib.py +0 -148
  1171. package/venv/lib/python3.10/site-packages/setuptools/command/install_scripts.py +0 -69
  1172. package/venv/lib/python3.10/site-packages/setuptools/command/launcher manifest.xml +0 -15
  1173. package/venv/lib/python3.10/site-packages/setuptools/command/py36compat.py +0 -134
  1174. package/venv/lib/python3.10/site-packages/setuptools/command/register.py +0 -18
  1175. package/venv/lib/python3.10/site-packages/setuptools/command/rotate.py +0 -64
  1176. package/venv/lib/python3.10/site-packages/setuptools/command/saveopts.py +0 -22
  1177. package/venv/lib/python3.10/site-packages/setuptools/command/sdist.py +0 -196
  1178. package/venv/lib/python3.10/site-packages/setuptools/command/setopt.py +0 -149
  1179. package/venv/lib/python3.10/site-packages/setuptools/command/test.py +0 -252
  1180. package/venv/lib/python3.10/site-packages/setuptools/command/upload.py +0 -17
  1181. package/venv/lib/python3.10/site-packages/setuptools/command/upload_docs.py +0 -202
  1182. package/venv/lib/python3.10/site-packages/setuptools/config.py +0 -751
  1183. package/venv/lib/python3.10/site-packages/setuptools/dep_util.py +0 -25
  1184. package/venv/lib/python3.10/site-packages/setuptools/depends.py +0 -176
  1185. package/venv/lib/python3.10/site-packages/setuptools/dist.py +0 -1156
  1186. package/venv/lib/python3.10/site-packages/setuptools/errors.py +0 -40
  1187. package/venv/lib/python3.10/site-packages/setuptools/extension.py +0 -55
  1188. package/venv/lib/python3.10/site-packages/setuptools/extern/__init__.py +0 -73
  1189. package/venv/lib/python3.10/site-packages/setuptools/glob.py +0 -167
  1190. package/venv/lib/python3.10/site-packages/setuptools/gui-32.exe +0 -0
  1191. package/venv/lib/python3.10/site-packages/setuptools/gui-64.exe +0 -0
  1192. package/venv/lib/python3.10/site-packages/setuptools/gui-arm64.exe +0 -0
  1193. package/venv/lib/python3.10/site-packages/setuptools/gui.exe +0 -0
  1194. package/venv/lib/python3.10/site-packages/setuptools/installer.py +0 -104
  1195. package/venv/lib/python3.10/site-packages/setuptools/launch.py +0 -36
  1196. package/venv/lib/python3.10/site-packages/setuptools/monkey.py +0 -177
  1197. package/venv/lib/python3.10/site-packages/setuptools/msvc.py +0 -1805
  1198. package/venv/lib/python3.10/site-packages/setuptools/namespaces.py +0 -107
  1199. package/venv/lib/python3.10/site-packages/setuptools/package_index.py +0 -1150
  1200. package/venv/lib/python3.10/site-packages/setuptools/py34compat.py +0 -13
  1201. package/venv/lib/python3.10/site-packages/setuptools/sandbox.py +0 -530
  1202. package/venv/lib/python3.10/site-packages/setuptools/script (dev).tmpl +0 -6
  1203. package/venv/lib/python3.10/site-packages/setuptools/script.tmpl +0 -3
  1204. package/venv/lib/python3.10/site-packages/setuptools/unicode_utils.py +0 -42
  1205. package/venv/lib/python3.10/site-packages/setuptools/version.py +0 -6
  1206. package/venv/lib/python3.10/site-packages/setuptools/wheel.py +0 -213
  1207. package/venv/lib/python3.10/site-packages/setuptools/windows_support.py +0 -29
  1208. package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/INSTALLER +0 -1
  1209. package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/LICENSE +0 -19
  1210. package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/METADATA +0 -125
  1211. package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/RECORD +0 -298
  1212. package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/REQUESTED +0 -0
  1213. package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/WHEEL +0 -5
  1214. package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/entry_points.txt +0 -56
  1215. package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/top_level.txt +0 -4
  1216. package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/INSTALLER +0 -1
  1217. package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/LICENSE +0 -18
  1218. package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/METADATA +0 -43
  1219. package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/RECORD +0 -8
  1220. package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/WHEEL +0 -6
  1221. package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/top_level.txt +0 -1
  1222. package/venv/lib/python3.10/site-packages/six.py +0 -1003
  1223. package/venv/lib/python3.10/site-packages/soupsieve/__init__.py +0 -168
  1224. package/venv/lib/python3.10/site-packages/soupsieve/__meta__.py +0 -197
  1225. package/venv/lib/python3.10/site-packages/soupsieve/css_match.py +0 -1582
  1226. package/venv/lib/python3.10/site-packages/soupsieve/css_parser.py +0 -1289
  1227. package/venv/lib/python3.10/site-packages/soupsieve/css_types.py +0 -407
  1228. package/venv/lib/python3.10/site-packages/soupsieve/pretty.py +0 -139
  1229. package/venv/lib/python3.10/site-packages/soupsieve/py.typed +0 -0
  1230. package/venv/lib/python3.10/site-packages/soupsieve/util.py +0 -117
  1231. package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/INSTALLER +0 -1
  1232. package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/METADATA +0 -114
  1233. package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/RECORD +0 -20
  1234. package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/WHEEL +0 -4
  1235. package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/licenses/LICENSE.md +0 -21
  1236. package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/PKG-INFO +0 -98
  1237. package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/SOURCES.txt +0 -12
  1238. package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/dependency_links.txt +0 -1
  1239. package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/installed-files.txt +0 -7
  1240. package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/requires.txt +0 -2
  1241. package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/top_level.txt +0 -1
  1242. package/venv/lib/python3.10/site-packages/sseclient.py +0 -165
  1243. package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/INSTALLER +0 -1
  1244. package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/LICENSE +0 -279
  1245. package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/METADATA +0 -67
  1246. package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/RECORD +0 -7
  1247. package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/WHEEL +0 -4
  1248. package/venv/lib/python3.10/site-packages/typing_extensions.py +0 -3641
  1249. package/venv/lib/python3.10/site-packages/urllib3/__init__.py +0 -211
  1250. package/venv/lib/python3.10/site-packages/urllib3/_base_connection.py +0 -165
  1251. package/venv/lib/python3.10/site-packages/urllib3/_collections.py +0 -479
  1252. package/venv/lib/python3.10/site-packages/urllib3/_request_methods.py +0 -278
  1253. package/venv/lib/python3.10/site-packages/urllib3/_version.py +0 -16
  1254. package/venv/lib/python3.10/site-packages/urllib3/connection.py +0 -1044
  1255. package/venv/lib/python3.10/site-packages/urllib3/connectionpool.py +0 -1178
  1256. package/venv/lib/python3.10/site-packages/urllib3/contrib/__init__.py +0 -0
  1257. package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/__init__.py +0 -16
  1258. package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/connection.py +0 -255
  1259. package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/emscripten_fetch_worker.js +0 -110
  1260. package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/fetch.py +0 -708
  1261. package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/request.py +0 -22
  1262. package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/response.py +0 -285
  1263. package/venv/lib/python3.10/site-packages/urllib3/contrib/pyopenssl.py +0 -554
  1264. package/venv/lib/python3.10/site-packages/urllib3/contrib/socks.py +0 -228
  1265. package/venv/lib/python3.10/site-packages/urllib3/exceptions.py +0 -327
  1266. package/venv/lib/python3.10/site-packages/urllib3/fields.py +0 -341
  1267. package/venv/lib/python3.10/site-packages/urllib3/filepost.py +0 -89
  1268. package/venv/lib/python3.10/site-packages/urllib3/http2/__init__.py +0 -53
  1269. package/venv/lib/python3.10/site-packages/urllib3/http2/connection.py +0 -356
  1270. package/venv/lib/python3.10/site-packages/urllib3/http2/probe.py +0 -87
  1271. package/venv/lib/python3.10/site-packages/urllib3/poolmanager.py +0 -637
  1272. package/venv/lib/python3.10/site-packages/urllib3/py.typed +0 -2
  1273. package/venv/lib/python3.10/site-packages/urllib3/response.py +0 -1278
  1274. package/venv/lib/python3.10/site-packages/urllib3/util/__init__.py +0 -42
  1275. package/venv/lib/python3.10/site-packages/urllib3/util/connection.py +0 -137
  1276. package/venv/lib/python3.10/site-packages/urllib3/util/proxy.py +0 -43
  1277. package/venv/lib/python3.10/site-packages/urllib3/util/request.py +0 -258
  1278. package/venv/lib/python3.10/site-packages/urllib3/util/response.py +0 -101
  1279. package/venv/lib/python3.10/site-packages/urllib3/util/retry.py +0 -533
  1280. package/venv/lib/python3.10/site-packages/urllib3/util/ssl_.py +0 -504
  1281. package/venv/lib/python3.10/site-packages/urllib3/util/ssl_match_hostname.py +0 -159
  1282. package/venv/lib/python3.10/site-packages/urllib3/util/ssltransport.py +0 -271
  1283. package/venv/lib/python3.10/site-packages/urllib3/util/timeout.py +0 -275
  1284. package/venv/lib/python3.10/site-packages/urllib3/util/url.py +0 -469
  1285. package/venv/lib/python3.10/site-packages/urllib3/util/util.py +0 -42
  1286. package/venv/lib/python3.10/site-packages/urllib3/util/wait.py +0 -124
  1287. package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/INSTALLER +0 -1
  1288. package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/METADATA +0 -154
  1289. package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/RECORD +0 -80
  1290. package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/REQUESTED +0 -0
  1291. package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/WHEEL +0 -4
  1292. package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/licenses/LICENSE.txt +0 -21
  1293. package/venv/lib/python3.10/site-packages/yarl/__init__.py +0 -14
  1294. package/venv/lib/python3.10/site-packages/yarl/_parse.py +0 -189
  1295. package/venv/lib/python3.10/site-packages/yarl/_path.py +0 -41
  1296. package/venv/lib/python3.10/site-packages/yarl/_query.py +0 -118
  1297. package/venv/lib/python3.10/site-packages/yarl/_quoters.py +0 -32
  1298. package/venv/lib/python3.10/site-packages/yarl/_quoting.py +0 -18
  1299. package/venv/lib/python3.10/site-packages/yarl/_quoting_c.cpython-310-x86_64-linux-gnu.so +0 -0
  1300. package/venv/lib/python3.10/site-packages/yarl/_quoting_c.pyi +0 -16
  1301. package/venv/lib/python3.10/site-packages/yarl/_quoting_c.pyx +0 -423
  1302. package/venv/lib/python3.10/site-packages/yarl/_quoting_py.py +0 -197
  1303. package/venv/lib/python3.10/site-packages/yarl/_url.py +0 -1584
  1304. package/venv/lib/python3.10/site-packages/yarl/py.typed +0 -1
  1305. package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/INSTALLER +0 -1
  1306. package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/LICENSE +0 -202
  1307. package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/METADATA +0 -2279
  1308. package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/NOTICE +0 -13
  1309. package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/RECORD +0 -27
  1310. package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/WHEEL +0 -6
  1311. package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/top_level.txt +0 -1
  1312. package/venv/pyvenv.cfg +0 -3
@@ -1,1598 +0,0 @@
1
- import os, sys, io
2
- from . import ffiplatform, model
3
- from .error import VerificationError
4
- from .cffi_opcode import *
5
-
6
- VERSION_BASE = 0x2601
7
- VERSION_EMBEDDED = 0x2701
8
- VERSION_CHAR16CHAR32 = 0x2801
9
-
10
- USE_LIMITED_API = (sys.platform != 'win32' or sys.version_info < (3, 0) or
11
- sys.version_info >= (3, 5))
12
-
13
-
14
- class GlobalExpr:
15
- def __init__(self, name, address, type_op, size=0, check_value=0):
16
- self.name = name
17
- self.address = address
18
- self.type_op = type_op
19
- self.size = size
20
- self.check_value = check_value
21
-
22
- def as_c_expr(self):
23
- return ' { "%s", (void *)%s, %s, (void *)%s },' % (
24
- self.name, self.address, self.type_op.as_c_expr(), self.size)
25
-
26
- def as_python_expr(self):
27
- return "b'%s%s',%d" % (self.type_op.as_python_bytes(), self.name,
28
- self.check_value)
29
-
30
- class FieldExpr:
31
- def __init__(self, name, field_offset, field_size, fbitsize, field_type_op):
32
- self.name = name
33
- self.field_offset = field_offset
34
- self.field_size = field_size
35
- self.fbitsize = fbitsize
36
- self.field_type_op = field_type_op
37
-
38
- def as_c_expr(self):
39
- spaces = " " * len(self.name)
40
- return (' { "%s", %s,\n' % (self.name, self.field_offset) +
41
- ' %s %s,\n' % (spaces, self.field_size) +
42
- ' %s %s },' % (spaces, self.field_type_op.as_c_expr()))
43
-
44
- def as_python_expr(self):
45
- raise NotImplementedError
46
-
47
- def as_field_python_expr(self):
48
- if self.field_type_op.op == OP_NOOP:
49
- size_expr = ''
50
- elif self.field_type_op.op == OP_BITFIELD:
51
- size_expr = format_four_bytes(self.fbitsize)
52
- else:
53
- raise NotImplementedError
54
- return "b'%s%s%s'" % (self.field_type_op.as_python_bytes(),
55
- size_expr,
56
- self.name)
57
-
58
- class StructUnionExpr:
59
- def __init__(self, name, type_index, flags, size, alignment, comment,
60
- first_field_index, c_fields):
61
- self.name = name
62
- self.type_index = type_index
63
- self.flags = flags
64
- self.size = size
65
- self.alignment = alignment
66
- self.comment = comment
67
- self.first_field_index = first_field_index
68
- self.c_fields = c_fields
69
-
70
- def as_c_expr(self):
71
- return (' { "%s", %d, %s,' % (self.name, self.type_index, self.flags)
72
- + '\n %s, %s, ' % (self.size, self.alignment)
73
- + '%d, %d ' % (self.first_field_index, len(self.c_fields))
74
- + ('/* %s */ ' % self.comment if self.comment else '')
75
- + '},')
76
-
77
- def as_python_expr(self):
78
- flags = eval(self.flags, G_FLAGS)
79
- fields_expr = [c_field.as_field_python_expr()
80
- for c_field in self.c_fields]
81
- return "(b'%s%s%s',%s)" % (
82
- format_four_bytes(self.type_index),
83
- format_four_bytes(flags),
84
- self.name,
85
- ','.join(fields_expr))
86
-
87
- class EnumExpr:
88
- def __init__(self, name, type_index, size, signed, allenums):
89
- self.name = name
90
- self.type_index = type_index
91
- self.size = size
92
- self.signed = signed
93
- self.allenums = allenums
94
-
95
- def as_c_expr(self):
96
- return (' { "%s", %d, _cffi_prim_int(%s, %s),\n'
97
- ' "%s" },' % (self.name, self.type_index,
98
- self.size, self.signed, self.allenums))
99
-
100
- def as_python_expr(self):
101
- prim_index = {
102
- (1, 0): PRIM_UINT8, (1, 1): PRIM_INT8,
103
- (2, 0): PRIM_UINT16, (2, 1): PRIM_INT16,
104
- (4, 0): PRIM_UINT32, (4, 1): PRIM_INT32,
105
- (8, 0): PRIM_UINT64, (8, 1): PRIM_INT64,
106
- }[self.size, self.signed]
107
- return "b'%s%s%s\\x00%s'" % (format_four_bytes(self.type_index),
108
- format_four_bytes(prim_index),
109
- self.name, self.allenums)
110
-
111
- class TypenameExpr:
112
- def __init__(self, name, type_index):
113
- self.name = name
114
- self.type_index = type_index
115
-
116
- def as_c_expr(self):
117
- return ' { "%s", %d },' % (self.name, self.type_index)
118
-
119
- def as_python_expr(self):
120
- return "b'%s%s'" % (format_four_bytes(self.type_index), self.name)
121
-
122
-
123
- # ____________________________________________________________
124
-
125
-
126
- class Recompiler:
127
- _num_externpy = 0
128
-
129
- def __init__(self, ffi, module_name, target_is_python=False):
130
- self.ffi = ffi
131
- self.module_name = module_name
132
- self.target_is_python = target_is_python
133
- self._version = VERSION_BASE
134
-
135
- def needs_version(self, ver):
136
- self._version = max(self._version, ver)
137
-
138
- def collect_type_table(self):
139
- self._typesdict = {}
140
- self._generate("collecttype")
141
- #
142
- all_decls = sorted(self._typesdict, key=str)
143
- #
144
- # prepare all FUNCTION bytecode sequences first
145
- self.cffi_types = []
146
- for tp in all_decls:
147
- if tp.is_raw_function:
148
- assert self._typesdict[tp] is None
149
- self._typesdict[tp] = len(self.cffi_types)
150
- self.cffi_types.append(tp) # placeholder
151
- for tp1 in tp.args:
152
- assert isinstance(tp1, (model.VoidType,
153
- model.BasePrimitiveType,
154
- model.PointerType,
155
- model.StructOrUnionOrEnum,
156
- model.FunctionPtrType))
157
- if self._typesdict[tp1] is None:
158
- self._typesdict[tp1] = len(self.cffi_types)
159
- self.cffi_types.append(tp1) # placeholder
160
- self.cffi_types.append('END') # placeholder
161
- #
162
- # prepare all OTHER bytecode sequences
163
- for tp in all_decls:
164
- if not tp.is_raw_function and self._typesdict[tp] is None:
165
- self._typesdict[tp] = len(self.cffi_types)
166
- self.cffi_types.append(tp) # placeholder
167
- if tp.is_array_type and tp.length is not None:
168
- self.cffi_types.append('LEN') # placeholder
169
- assert None not in self._typesdict.values()
170
- #
171
- # collect all structs and unions and enums
172
- self._struct_unions = {}
173
- self._enums = {}
174
- for tp in all_decls:
175
- if isinstance(tp, model.StructOrUnion):
176
- self._struct_unions[tp] = None
177
- elif isinstance(tp, model.EnumType):
178
- self._enums[tp] = None
179
- for i, tp in enumerate(sorted(self._struct_unions,
180
- key=lambda tp: tp.name)):
181
- self._struct_unions[tp] = i
182
- for i, tp in enumerate(sorted(self._enums,
183
- key=lambda tp: tp.name)):
184
- self._enums[tp] = i
185
- #
186
- # emit all bytecode sequences now
187
- for tp in all_decls:
188
- method = getattr(self, '_emit_bytecode_' + tp.__class__.__name__)
189
- method(tp, self._typesdict[tp])
190
- #
191
- # consistency check
192
- for op in self.cffi_types:
193
- assert isinstance(op, CffiOp)
194
- self.cffi_types = tuple(self.cffi_types) # don't change any more
195
-
196
- def _enum_fields(self, tp):
197
- # When producing C, expand all anonymous struct/union fields.
198
- # That's necessary to have C code checking the offsets of the
199
- # individual fields contained in them. When producing Python,
200
- # don't do it and instead write it like it is, with the
201
- # corresponding fields having an empty name. Empty names are
202
- # recognized at runtime when we import the generated Python
203
- # file.
204
- expand_anonymous_struct_union = not self.target_is_python
205
- return tp.enumfields(expand_anonymous_struct_union)
206
-
207
- def _do_collect_type(self, tp):
208
- if not isinstance(tp, model.BaseTypeByIdentity):
209
- if isinstance(tp, tuple):
210
- for x in tp:
211
- self._do_collect_type(x)
212
- return
213
- if tp not in self._typesdict:
214
- self._typesdict[tp] = None
215
- if isinstance(tp, model.FunctionPtrType):
216
- self._do_collect_type(tp.as_raw_function())
217
- elif isinstance(tp, model.StructOrUnion):
218
- if tp.fldtypes is not None and (
219
- tp not in self.ffi._parser._included_declarations):
220
- for name1, tp1, _, _ in self._enum_fields(tp):
221
- self._do_collect_type(self._field_type(tp, name1, tp1))
222
- else:
223
- for _, x in tp._get_items():
224
- self._do_collect_type(x)
225
-
226
- def _generate(self, step_name):
227
- lst = self.ffi._parser._declarations.items()
228
- for name, (tp, quals) in sorted(lst):
229
- kind, realname = name.split(' ', 1)
230
- try:
231
- method = getattr(self, '_generate_cpy_%s_%s' % (kind,
232
- step_name))
233
- except AttributeError:
234
- raise VerificationError(
235
- "not implemented in recompile(): %r" % name)
236
- try:
237
- self._current_quals = quals
238
- method(tp, realname)
239
- except Exception as e:
240
- model.attach_exception_info(e, name)
241
- raise
242
-
243
- # ----------
244
-
245
- ALL_STEPS = ["global", "field", "struct_union", "enum", "typename"]
246
-
247
- def collect_step_tables(self):
248
- # collect the declarations for '_cffi_globals', '_cffi_typenames', etc.
249
- self._lsts = {}
250
- for step_name in self.ALL_STEPS:
251
- self._lsts[step_name] = []
252
- self._seen_struct_unions = set()
253
- self._generate("ctx")
254
- self._add_missing_struct_unions()
255
- #
256
- for step_name in self.ALL_STEPS:
257
- lst = self._lsts[step_name]
258
- if step_name != "field":
259
- lst.sort(key=lambda entry: entry.name)
260
- self._lsts[step_name] = tuple(lst) # don't change any more
261
- #
262
- # check for a possible internal inconsistency: _cffi_struct_unions
263
- # should have been generated with exactly self._struct_unions
264
- lst = self._lsts["struct_union"]
265
- for tp, i in self._struct_unions.items():
266
- assert i < len(lst)
267
- assert lst[i].name == tp.name
268
- assert len(lst) == len(self._struct_unions)
269
- # same with enums
270
- lst = self._lsts["enum"]
271
- for tp, i in self._enums.items():
272
- assert i < len(lst)
273
- assert lst[i].name == tp.name
274
- assert len(lst) == len(self._enums)
275
-
276
- # ----------
277
-
278
- def _prnt(self, what=''):
279
- self._f.write(what + '\n')
280
-
281
- def write_source_to_f(self, f, preamble):
282
- if self.target_is_python:
283
- assert preamble is None
284
- self.write_py_source_to_f(f)
285
- else:
286
- assert preamble is not None
287
- self.write_c_source_to_f(f, preamble)
288
-
289
- def _rel_readlines(self, filename):
290
- g = open(os.path.join(os.path.dirname(__file__), filename), 'r')
291
- lines = g.readlines()
292
- g.close()
293
- return lines
294
-
295
- def write_c_source_to_f(self, f, preamble):
296
- self._f = f
297
- prnt = self._prnt
298
- if self.ffi._embedding is not None:
299
- prnt('#define _CFFI_USE_EMBEDDING')
300
- if not USE_LIMITED_API:
301
- prnt('#define _CFFI_NO_LIMITED_API')
302
- #
303
- # first the '#include' (actually done by inlining the file's content)
304
- lines = self._rel_readlines('_cffi_include.h')
305
- i = lines.index('#include "parse_c_type.h"\n')
306
- lines[i:i+1] = self._rel_readlines('parse_c_type.h')
307
- prnt(''.join(lines))
308
- #
309
- # if we have ffi._embedding != None, we give it here as a macro
310
- # and include an extra file
311
- base_module_name = self.module_name.split('.')[-1]
312
- if self.ffi._embedding is not None:
313
- prnt('#define _CFFI_MODULE_NAME "%s"' % (self.module_name,))
314
- prnt('static const char _CFFI_PYTHON_STARTUP_CODE[] = {')
315
- self._print_string_literal_in_array(self.ffi._embedding)
316
- prnt('0 };')
317
- prnt('#ifdef PYPY_VERSION')
318
- prnt('# define _CFFI_PYTHON_STARTUP_FUNC _cffi_pypyinit_%s' % (
319
- base_module_name,))
320
- prnt('#elif PY_MAJOR_VERSION >= 3')
321
- prnt('# define _CFFI_PYTHON_STARTUP_FUNC PyInit_%s' % (
322
- base_module_name,))
323
- prnt('#else')
324
- prnt('# define _CFFI_PYTHON_STARTUP_FUNC init%s' % (
325
- base_module_name,))
326
- prnt('#endif')
327
- lines = self._rel_readlines('_embedding.h')
328
- i = lines.index('#include "_cffi_errors.h"\n')
329
- lines[i:i+1] = self._rel_readlines('_cffi_errors.h')
330
- prnt(''.join(lines))
331
- self.needs_version(VERSION_EMBEDDED)
332
- #
333
- # then paste the C source given by the user, verbatim.
334
- prnt('/************************************************************/')
335
- prnt()
336
- prnt(preamble)
337
- prnt()
338
- prnt('/************************************************************/')
339
- prnt()
340
- #
341
- # the declaration of '_cffi_types'
342
- prnt('static void *_cffi_types[] = {')
343
- typeindex2type = dict([(i, tp) for (tp, i) in self._typesdict.items()])
344
- for i, op in enumerate(self.cffi_types):
345
- comment = ''
346
- if i in typeindex2type:
347
- comment = ' // ' + typeindex2type[i]._get_c_name()
348
- prnt('/* %2d */ %s,%s' % (i, op.as_c_expr(), comment))
349
- if not self.cffi_types:
350
- prnt(' 0')
351
- prnt('};')
352
- prnt()
353
- #
354
- # call generate_cpy_xxx_decl(), for every xxx found from
355
- # ffi._parser._declarations. This generates all the functions.
356
- self._seen_constants = set()
357
- self._generate("decl")
358
- #
359
- # the declaration of '_cffi_globals' and '_cffi_typenames'
360
- nums = {}
361
- for step_name in self.ALL_STEPS:
362
- lst = self._lsts[step_name]
363
- nums[step_name] = len(lst)
364
- if nums[step_name] > 0:
365
- prnt('static const struct _cffi_%s_s _cffi_%ss[] = {' % (
366
- step_name, step_name))
367
- for entry in lst:
368
- prnt(entry.as_c_expr())
369
- prnt('};')
370
- prnt()
371
- #
372
- # the declaration of '_cffi_includes'
373
- if self.ffi._included_ffis:
374
- prnt('static const char * const _cffi_includes[] = {')
375
- for ffi_to_include in self.ffi._included_ffis:
376
- try:
377
- included_module_name, included_source = (
378
- ffi_to_include._assigned_source[:2])
379
- except AttributeError:
380
- raise VerificationError(
381
- "ffi object %r includes %r, but the latter has not "
382
- "been prepared with set_source()" % (
383
- self.ffi, ffi_to_include,))
384
- if included_source is None:
385
- raise VerificationError(
386
- "not implemented yet: ffi.include() of a Python-based "
387
- "ffi inside a C-based ffi")
388
- prnt(' "%s",' % (included_module_name,))
389
- prnt(' NULL')
390
- prnt('};')
391
- prnt()
392
- #
393
- # the declaration of '_cffi_type_context'
394
- prnt('static const struct _cffi_type_context_s _cffi_type_context = {')
395
- prnt(' _cffi_types,')
396
- for step_name in self.ALL_STEPS:
397
- if nums[step_name] > 0:
398
- prnt(' _cffi_%ss,' % step_name)
399
- else:
400
- prnt(' NULL, /* no %ss */' % step_name)
401
- for step_name in self.ALL_STEPS:
402
- if step_name != "field":
403
- prnt(' %d, /* num_%ss */' % (nums[step_name], step_name))
404
- if self.ffi._included_ffis:
405
- prnt(' _cffi_includes,')
406
- else:
407
- prnt(' NULL, /* no includes */')
408
- prnt(' %d, /* num_types */' % (len(self.cffi_types),))
409
- flags = 0
410
- if self._num_externpy > 0 or self.ffi._embedding is not None:
411
- flags |= 1 # set to mean that we use extern "Python"
412
- prnt(' %d, /* flags */' % flags)
413
- prnt('};')
414
- prnt()
415
- #
416
- # the init function
417
- prnt('#ifdef __GNUC__')
418
- prnt('# pragma GCC visibility push(default) /* for -fvisibility= */')
419
- prnt('#endif')
420
- prnt()
421
- prnt('#ifdef PYPY_VERSION')
422
- prnt('PyMODINIT_FUNC')
423
- prnt('_cffi_pypyinit_%s(const void *p[])' % (base_module_name,))
424
- prnt('{')
425
- if flags & 1:
426
- prnt(' if (((intptr_t)p[0]) >= 0x0A03) {')
427
- prnt(' _cffi_call_python_org = '
428
- '(void(*)(struct _cffi_externpy_s *, char *))p[1];')
429
- prnt(' }')
430
- prnt(' p[0] = (const void *)0x%x;' % self._version)
431
- prnt(' p[1] = &_cffi_type_context;')
432
- prnt('#if PY_MAJOR_VERSION >= 3')
433
- prnt(' return NULL;')
434
- prnt('#endif')
435
- prnt('}')
436
- # on Windows, distutils insists on putting init_cffi_xyz in
437
- # 'export_symbols', so instead of fighting it, just give up and
438
- # give it one
439
- prnt('# ifdef _MSC_VER')
440
- prnt(' PyMODINIT_FUNC')
441
- prnt('# if PY_MAJOR_VERSION >= 3')
442
- prnt(' PyInit_%s(void) { return NULL; }' % (base_module_name,))
443
- prnt('# else')
444
- prnt(' init%s(void) { }' % (base_module_name,))
445
- prnt('# endif')
446
- prnt('# endif')
447
- prnt('#elif PY_MAJOR_VERSION >= 3')
448
- prnt('PyMODINIT_FUNC')
449
- prnt('PyInit_%s(void)' % (base_module_name,))
450
- prnt('{')
451
- prnt(' return _cffi_init("%s", 0x%x, &_cffi_type_context);' % (
452
- self.module_name, self._version))
453
- prnt('}')
454
- prnt('#else')
455
- prnt('PyMODINIT_FUNC')
456
- prnt('init%s(void)' % (base_module_name,))
457
- prnt('{')
458
- prnt(' _cffi_init("%s", 0x%x, &_cffi_type_context);' % (
459
- self.module_name, self._version))
460
- prnt('}')
461
- prnt('#endif')
462
- prnt()
463
- prnt('#ifdef __GNUC__')
464
- prnt('# pragma GCC visibility pop')
465
- prnt('#endif')
466
- self._version = None
467
-
468
- def _to_py(self, x):
469
- if isinstance(x, str):
470
- return "b'%s'" % (x,)
471
- if isinstance(x, (list, tuple)):
472
- rep = [self._to_py(item) for item in x]
473
- if len(rep) == 1:
474
- rep.append('')
475
- return "(%s)" % (','.join(rep),)
476
- return x.as_python_expr() # Py2: unicode unexpected; Py3: bytes unexp.
477
-
478
- def write_py_source_to_f(self, f):
479
- self._f = f
480
- prnt = self._prnt
481
- #
482
- # header
483
- prnt("# auto-generated file")
484
- prnt("import _cffi_backend")
485
- #
486
- # the 'import' of the included ffis
487
- num_includes = len(self.ffi._included_ffis or ())
488
- for i in range(num_includes):
489
- ffi_to_include = self.ffi._included_ffis[i]
490
- try:
491
- included_module_name, included_source = (
492
- ffi_to_include._assigned_source[:2])
493
- except AttributeError:
494
- raise VerificationError(
495
- "ffi object %r includes %r, but the latter has not "
496
- "been prepared with set_source()" % (
497
- self.ffi, ffi_to_include,))
498
- if included_source is not None:
499
- raise VerificationError(
500
- "not implemented yet: ffi.include() of a C-based "
501
- "ffi inside a Python-based ffi")
502
- prnt('from %s import ffi as _ffi%d' % (included_module_name, i))
503
- prnt()
504
- prnt("ffi = _cffi_backend.FFI('%s'," % (self.module_name,))
505
- prnt(" _version = 0x%x," % (self._version,))
506
- self._version = None
507
- #
508
- # the '_types' keyword argument
509
- self.cffi_types = tuple(self.cffi_types) # don't change any more
510
- types_lst = [op.as_python_bytes() for op in self.cffi_types]
511
- prnt(' _types = %s,' % (self._to_py(''.join(types_lst)),))
512
- typeindex2type = dict([(i, tp) for (tp, i) in self._typesdict.items()])
513
- #
514
- # the keyword arguments from ALL_STEPS
515
- for step_name in self.ALL_STEPS:
516
- lst = self._lsts[step_name]
517
- if len(lst) > 0 and step_name != "field":
518
- prnt(' _%ss = %s,' % (step_name, self._to_py(lst)))
519
- #
520
- # the '_includes' keyword argument
521
- if num_includes > 0:
522
- prnt(' _includes = (%s,),' % (
523
- ', '.join(['_ffi%d' % i for i in range(num_includes)]),))
524
- #
525
- # the footer
526
- prnt(')')
527
-
528
- # ----------
529
-
530
- def _gettypenum(self, type):
531
- # a KeyError here is a bug. please report it! :-)
532
- return self._typesdict[type]
533
-
534
- def _convert_funcarg_to_c(self, tp, fromvar, tovar, errcode):
535
- extraarg = ''
536
- if isinstance(tp, model.BasePrimitiveType) and not tp.is_complex_type():
537
- if tp.is_integer_type() and tp.name != '_Bool':
538
- converter = '_cffi_to_c_int'
539
- extraarg = ', %s' % tp.name
540
- elif isinstance(tp, model.UnknownFloatType):
541
- # don't check with is_float_type(): it may be a 'long
542
- # double' here, and _cffi_to_c_double would loose precision
543
- converter = '(%s)_cffi_to_c_double' % (tp.get_c_name(''),)
544
- else:
545
- cname = tp.get_c_name('')
546
- converter = '(%s)_cffi_to_c_%s' % (cname,
547
- tp.name.replace(' ', '_'))
548
- if cname in ('char16_t', 'char32_t'):
549
- self.needs_version(VERSION_CHAR16CHAR32)
550
- errvalue = '-1'
551
- #
552
- elif isinstance(tp, model.PointerType):
553
- self._convert_funcarg_to_c_ptr_or_array(tp, fromvar,
554
- tovar, errcode)
555
- return
556
- #
557
- elif (isinstance(tp, model.StructOrUnionOrEnum) or
558
- isinstance(tp, model.BasePrimitiveType)):
559
- # a struct (not a struct pointer) as a function argument;
560
- # or, a complex (the same code works)
561
- self._prnt(' if (_cffi_to_c((char *)&%s, _cffi_type(%d), %s) < 0)'
562
- % (tovar, self._gettypenum(tp), fromvar))
563
- self._prnt(' %s;' % errcode)
564
- return
565
- #
566
- elif isinstance(tp, model.FunctionPtrType):
567
- converter = '(%s)_cffi_to_c_pointer' % tp.get_c_name('')
568
- extraarg = ', _cffi_type(%d)' % self._gettypenum(tp)
569
- errvalue = 'NULL'
570
- #
571
- else:
572
- raise NotImplementedError(tp)
573
- #
574
- self._prnt(' %s = %s(%s%s);' % (tovar, converter, fromvar, extraarg))
575
- self._prnt(' if (%s == (%s)%s && PyErr_Occurred())' % (
576
- tovar, tp.get_c_name(''), errvalue))
577
- self._prnt(' %s;' % errcode)
578
-
579
- def _extra_local_variables(self, tp, localvars, freelines):
580
- if isinstance(tp, model.PointerType):
581
- localvars.add('Py_ssize_t datasize')
582
- localvars.add('struct _cffi_freeme_s *large_args_free = NULL')
583
- freelines.add('if (large_args_free != NULL)'
584
- ' _cffi_free_array_arguments(large_args_free);')
585
-
586
- def _convert_funcarg_to_c_ptr_or_array(self, tp, fromvar, tovar, errcode):
587
- self._prnt(' datasize = _cffi_prepare_pointer_call_argument(')
588
- self._prnt(' _cffi_type(%d), %s, (char **)&%s);' % (
589
- self._gettypenum(tp), fromvar, tovar))
590
- self._prnt(' if (datasize != 0) {')
591
- self._prnt(' %s = ((size_t)datasize) <= 640 ? '
592
- '(%s)alloca((size_t)datasize) : NULL;' % (
593
- tovar, tp.get_c_name('')))
594
- self._prnt(' if (_cffi_convert_array_argument(_cffi_type(%d), %s, '
595
- '(char **)&%s,' % (self._gettypenum(tp), fromvar, tovar))
596
- self._prnt(' datasize, &large_args_free) < 0)')
597
- self._prnt(' %s;' % errcode)
598
- self._prnt(' }')
599
-
600
- def _convert_expr_from_c(self, tp, var, context):
601
- if isinstance(tp, model.BasePrimitiveType):
602
- if tp.is_integer_type() and tp.name != '_Bool':
603
- return '_cffi_from_c_int(%s, %s)' % (var, tp.name)
604
- elif isinstance(tp, model.UnknownFloatType):
605
- return '_cffi_from_c_double(%s)' % (var,)
606
- elif tp.name != 'long double' and not tp.is_complex_type():
607
- cname = tp.name.replace(' ', '_')
608
- if cname in ('char16_t', 'char32_t'):
609
- self.needs_version(VERSION_CHAR16CHAR32)
610
- return '_cffi_from_c_%s(%s)' % (cname, var)
611
- else:
612
- return '_cffi_from_c_deref((char *)&%s, _cffi_type(%d))' % (
613
- var, self._gettypenum(tp))
614
- elif isinstance(tp, (model.PointerType, model.FunctionPtrType)):
615
- return '_cffi_from_c_pointer((char *)%s, _cffi_type(%d))' % (
616
- var, self._gettypenum(tp))
617
- elif isinstance(tp, model.ArrayType):
618
- return '_cffi_from_c_pointer((char *)%s, _cffi_type(%d))' % (
619
- var, self._gettypenum(model.PointerType(tp.item)))
620
- elif isinstance(tp, model.StructOrUnion):
621
- if tp.fldnames is None:
622
- raise TypeError("'%s' is used as %s, but is opaque" % (
623
- tp._get_c_name(), context))
624
- return '_cffi_from_c_struct((char *)&%s, _cffi_type(%d))' % (
625
- var, self._gettypenum(tp))
626
- elif isinstance(tp, model.EnumType):
627
- return '_cffi_from_c_deref((char *)&%s, _cffi_type(%d))' % (
628
- var, self._gettypenum(tp))
629
- else:
630
- raise NotImplementedError(tp)
631
-
632
- # ----------
633
- # typedefs
634
-
635
- def _typedef_type(self, tp, name):
636
- return self._global_type(tp, "(*(%s *)0)" % (name,))
637
-
638
- def _generate_cpy_typedef_collecttype(self, tp, name):
639
- self._do_collect_type(self._typedef_type(tp, name))
640
-
641
- def _generate_cpy_typedef_decl(self, tp, name):
642
- pass
643
-
644
- def _typedef_ctx(self, tp, name):
645
- type_index = self._typesdict[tp]
646
- self._lsts["typename"].append(TypenameExpr(name, type_index))
647
-
648
- def _generate_cpy_typedef_ctx(self, tp, name):
649
- tp = self._typedef_type(tp, name)
650
- self._typedef_ctx(tp, name)
651
- if getattr(tp, "origin", None) == "unknown_type":
652
- self._struct_ctx(tp, tp.name, approxname=None)
653
- elif isinstance(tp, model.NamedPointerType):
654
- self._struct_ctx(tp.totype, tp.totype.name, approxname=tp.name,
655
- named_ptr=tp)
656
-
657
- # ----------
658
- # function declarations
659
-
660
- def _generate_cpy_function_collecttype(self, tp, name):
661
- self._do_collect_type(tp.as_raw_function())
662
- if tp.ellipsis and not self.target_is_python:
663
- self._do_collect_type(tp)
664
-
665
- def _generate_cpy_function_decl(self, tp, name):
666
- assert not self.target_is_python
667
- assert isinstance(tp, model.FunctionPtrType)
668
- if tp.ellipsis:
669
- # cannot support vararg functions better than this: check for its
670
- # exact type (including the fixed arguments), and build it as a
671
- # constant function pointer (no CPython wrapper)
672
- self._generate_cpy_constant_decl(tp, name)
673
- return
674
- prnt = self._prnt
675
- numargs = len(tp.args)
676
- if numargs == 0:
677
- argname = 'noarg'
678
- elif numargs == 1:
679
- argname = 'arg0'
680
- else:
681
- argname = 'args'
682
- #
683
- # ------------------------------
684
- # the 'd' version of the function, only for addressof(lib, 'func')
685
- arguments = []
686
- call_arguments = []
687
- context = 'argument of %s' % name
688
- for i, type in enumerate(tp.args):
689
- arguments.append(type.get_c_name(' x%d' % i, context))
690
- call_arguments.append('x%d' % i)
691
- repr_arguments = ', '.join(arguments)
692
- repr_arguments = repr_arguments or 'void'
693
- if tp.abi:
694
- abi = tp.abi + ' '
695
- else:
696
- abi = ''
697
- name_and_arguments = '%s_cffi_d_%s(%s)' % (abi, name, repr_arguments)
698
- prnt('static %s' % (tp.result.get_c_name(name_and_arguments),))
699
- prnt('{')
700
- call_arguments = ', '.join(call_arguments)
701
- result_code = 'return '
702
- if isinstance(tp.result, model.VoidType):
703
- result_code = ''
704
- prnt(' %s%s(%s);' % (result_code, name, call_arguments))
705
- prnt('}')
706
- #
707
- prnt('#ifndef PYPY_VERSION') # ------------------------------
708
- #
709
- prnt('static PyObject *')
710
- prnt('_cffi_f_%s(PyObject *self, PyObject *%s)' % (name, argname))
711
- prnt('{')
712
- #
713
- context = 'argument of %s' % name
714
- for i, type in enumerate(tp.args):
715
- arg = type.get_c_name(' x%d' % i, context)
716
- prnt(' %s;' % arg)
717
- #
718
- localvars = set()
719
- freelines = set()
720
- for type in tp.args:
721
- self._extra_local_variables(type, localvars, freelines)
722
- for decl in sorted(localvars):
723
- prnt(' %s;' % (decl,))
724
- #
725
- if not isinstance(tp.result, model.VoidType):
726
- result_code = 'result = '
727
- context = 'result of %s' % name
728
- result_decl = ' %s;' % tp.result.get_c_name(' result', context)
729
- prnt(result_decl)
730
- prnt(' PyObject *pyresult;')
731
- else:
732
- result_decl = None
733
- result_code = ''
734
- #
735
- if len(tp.args) > 1:
736
- rng = range(len(tp.args))
737
- for i in rng:
738
- prnt(' PyObject *arg%d;' % i)
739
- prnt()
740
- prnt(' if (!PyArg_UnpackTuple(args, "%s", %d, %d, %s))' % (
741
- name, len(rng), len(rng),
742
- ', '.join(['&arg%d' % i for i in rng])))
743
- prnt(' return NULL;')
744
- prnt()
745
- #
746
- for i, type in enumerate(tp.args):
747
- self._convert_funcarg_to_c(type, 'arg%d' % i, 'x%d' % i,
748
- 'return NULL')
749
- prnt()
750
- #
751
- prnt(' Py_BEGIN_ALLOW_THREADS')
752
- prnt(' _cffi_restore_errno();')
753
- call_arguments = ['x%d' % i for i in range(len(tp.args))]
754
- call_arguments = ', '.join(call_arguments)
755
- prnt(' { %s%s(%s); }' % (result_code, name, call_arguments))
756
- prnt(' _cffi_save_errno();')
757
- prnt(' Py_END_ALLOW_THREADS')
758
- prnt()
759
- #
760
- prnt(' (void)self; /* unused */')
761
- if numargs == 0:
762
- prnt(' (void)noarg; /* unused */')
763
- if result_code:
764
- prnt(' pyresult = %s;' %
765
- self._convert_expr_from_c(tp.result, 'result', 'result type'))
766
- for freeline in freelines:
767
- prnt(' ' + freeline)
768
- prnt(' return pyresult;')
769
- else:
770
- for freeline in freelines:
771
- prnt(' ' + freeline)
772
- prnt(' Py_INCREF(Py_None);')
773
- prnt(' return Py_None;')
774
- prnt('}')
775
- #
776
- prnt('#else') # ------------------------------
777
- #
778
- # the PyPy version: need to replace struct/union arguments with
779
- # pointers, and if the result is a struct/union, insert a first
780
- # arg that is a pointer to the result. We also do that for
781
- # complex args and return type.
782
- def need_indirection(type):
783
- return (isinstance(type, model.StructOrUnion) or
784
- (isinstance(type, model.PrimitiveType) and
785
- type.is_complex_type()))
786
- difference = False
787
- arguments = []
788
- call_arguments = []
789
- context = 'argument of %s' % name
790
- for i, type in enumerate(tp.args):
791
- indirection = ''
792
- if need_indirection(type):
793
- indirection = '*'
794
- difference = True
795
- arg = type.get_c_name(' %sx%d' % (indirection, i), context)
796
- arguments.append(arg)
797
- call_arguments.append('%sx%d' % (indirection, i))
798
- tp_result = tp.result
799
- if need_indirection(tp_result):
800
- context = 'result of %s' % name
801
- arg = tp_result.get_c_name(' *result', context)
802
- arguments.insert(0, arg)
803
- tp_result = model.void_type
804
- result_decl = None
805
- result_code = '*result = '
806
- difference = True
807
- if difference:
808
- repr_arguments = ', '.join(arguments)
809
- repr_arguments = repr_arguments or 'void'
810
- name_and_arguments = '%s_cffi_f_%s(%s)' % (abi, name,
811
- repr_arguments)
812
- prnt('static %s' % (tp_result.get_c_name(name_and_arguments),))
813
- prnt('{')
814
- if result_decl:
815
- prnt(result_decl)
816
- call_arguments = ', '.join(call_arguments)
817
- prnt(' { %s%s(%s); }' % (result_code, name, call_arguments))
818
- if result_decl:
819
- prnt(' return result;')
820
- prnt('}')
821
- else:
822
- prnt('# define _cffi_f_%s _cffi_d_%s' % (name, name))
823
- #
824
- prnt('#endif') # ------------------------------
825
- prnt()
826
-
827
- def _generate_cpy_function_ctx(self, tp, name):
828
- if tp.ellipsis and not self.target_is_python:
829
- self._generate_cpy_constant_ctx(tp, name)
830
- return
831
- type_index = self._typesdict[tp.as_raw_function()]
832
- numargs = len(tp.args)
833
- if self.target_is_python:
834
- meth_kind = OP_DLOPEN_FUNC
835
- elif numargs == 0:
836
- meth_kind = OP_CPYTHON_BLTN_N # 'METH_NOARGS'
837
- elif numargs == 1:
838
- meth_kind = OP_CPYTHON_BLTN_O # 'METH_O'
839
- else:
840
- meth_kind = OP_CPYTHON_BLTN_V # 'METH_VARARGS'
841
- self._lsts["global"].append(
842
- GlobalExpr(name, '_cffi_f_%s' % name,
843
- CffiOp(meth_kind, type_index),
844
- size='_cffi_d_%s' % name))
845
-
846
- # ----------
847
- # named structs or unions
848
-
849
- def _field_type(self, tp_struct, field_name, tp_field):
850
- if isinstance(tp_field, model.ArrayType):
851
- actual_length = tp_field.length
852
- if actual_length == '...':
853
- ptr_struct_name = tp_struct.get_c_name('*')
854
- actual_length = '_cffi_array_len(((%s)0)->%s)' % (
855
- ptr_struct_name, field_name)
856
- tp_item = self._field_type(tp_struct, '%s[0]' % field_name,
857
- tp_field.item)
858
- tp_field = model.ArrayType(tp_item, actual_length)
859
- return tp_field
860
-
861
- def _struct_collecttype(self, tp):
862
- self._do_collect_type(tp)
863
- if self.target_is_python:
864
- # also requires nested anon struct/unions in ABI mode, recursively
865
- for fldtype in tp.anonymous_struct_fields():
866
- self._struct_collecttype(fldtype)
867
-
868
- def _struct_decl(self, tp, cname, approxname):
869
- if tp.fldtypes is None:
870
- return
871
- prnt = self._prnt
872
- checkfuncname = '_cffi_checkfld_%s' % (approxname,)
873
- prnt('_CFFI_UNUSED_FN')
874
- prnt('static void %s(%s *p)' % (checkfuncname, cname))
875
- prnt('{')
876
- prnt(' /* only to generate compile-time warnings or errors */')
877
- prnt(' (void)p;')
878
- for fname, ftype, fbitsize, fqual in self._enum_fields(tp):
879
- try:
880
- if ftype.is_integer_type() or fbitsize >= 0:
881
- # accept all integers, but complain on float or double
882
- if fname != '':
883
- prnt(" (void)((p->%s) | 0); /* check that '%s.%s' is "
884
- "an integer */" % (fname, cname, fname))
885
- continue
886
- # only accept exactly the type declared, except that '[]'
887
- # is interpreted as a '*' and so will match any array length.
888
- # (It would also match '*', but that's harder to detect...)
889
- while (isinstance(ftype, model.ArrayType)
890
- and (ftype.length is None or ftype.length == '...')):
891
- ftype = ftype.item
892
- fname = fname + '[0]'
893
- prnt(' { %s = &p->%s; (void)tmp; }' % (
894
- ftype.get_c_name('*tmp', 'field %r'%fname, quals=fqual),
895
- fname))
896
- except VerificationError as e:
897
- prnt(' /* %s */' % str(e)) # cannot verify it, ignore
898
- prnt('}')
899
- prnt('struct _cffi_align_%s { char x; %s y; };' % (approxname, cname))
900
- prnt()
901
-
902
- def _struct_ctx(self, tp, cname, approxname, named_ptr=None):
903
- type_index = self._typesdict[tp]
904
- reason_for_not_expanding = None
905
- flags = []
906
- if isinstance(tp, model.UnionType):
907
- flags.append("_CFFI_F_UNION")
908
- if tp.fldtypes is None:
909
- flags.append("_CFFI_F_OPAQUE")
910
- reason_for_not_expanding = "opaque"
911
- if (tp not in self.ffi._parser._included_declarations and
912
- (named_ptr is None or
913
- named_ptr not in self.ffi._parser._included_declarations)):
914
- if tp.fldtypes is None:
915
- pass # opaque
916
- elif tp.partial or any(tp.anonymous_struct_fields()):
917
- pass # field layout obtained silently from the C compiler
918
- else:
919
- flags.append("_CFFI_F_CHECK_FIELDS")
920
- if tp.packed:
921
- if tp.packed > 1:
922
- raise NotImplementedError(
923
- "%r is declared with 'pack=%r'; only 0 or 1 are "
924
- "supported in API mode (try to use \"...;\", which "
925
- "does not require a 'pack' declaration)" %
926
- (tp, tp.packed))
927
- flags.append("_CFFI_F_PACKED")
928
- else:
929
- flags.append("_CFFI_F_EXTERNAL")
930
- reason_for_not_expanding = "external"
931
- flags = '|'.join(flags) or '0'
932
- c_fields = []
933
- if reason_for_not_expanding is None:
934
- enumfields = list(self._enum_fields(tp))
935
- for fldname, fldtype, fbitsize, fqual in enumfields:
936
- fldtype = self._field_type(tp, fldname, fldtype)
937
- self._check_not_opaque(fldtype,
938
- "field '%s.%s'" % (tp.name, fldname))
939
- # cname is None for _add_missing_struct_unions() only
940
- op = OP_NOOP
941
- if fbitsize >= 0:
942
- op = OP_BITFIELD
943
- size = '%d /* bits */' % fbitsize
944
- elif cname is None or (
945
- isinstance(fldtype, model.ArrayType) and
946
- fldtype.length is None):
947
- size = '(size_t)-1'
948
- else:
949
- size = 'sizeof(((%s)0)->%s)' % (
950
- tp.get_c_name('*') if named_ptr is None
951
- else named_ptr.name,
952
- fldname)
953
- if cname is None or fbitsize >= 0:
954
- offset = '(size_t)-1'
955
- elif named_ptr is not None:
956
- offset = '((char *)&((%s)4096)->%s) - (char *)4096' % (
957
- named_ptr.name, fldname)
958
- else:
959
- offset = 'offsetof(%s, %s)' % (tp.get_c_name(''), fldname)
960
- c_fields.append(
961
- FieldExpr(fldname, offset, size, fbitsize,
962
- CffiOp(op, self._typesdict[fldtype])))
963
- first_field_index = len(self._lsts["field"])
964
- self._lsts["field"].extend(c_fields)
965
- #
966
- if cname is None: # unknown name, for _add_missing_struct_unions
967
- size = '(size_t)-2'
968
- align = -2
969
- comment = "unnamed"
970
- else:
971
- if named_ptr is not None:
972
- size = 'sizeof(*(%s)0)' % (named_ptr.name,)
973
- align = '-1 /* unknown alignment */'
974
- else:
975
- size = 'sizeof(%s)' % (cname,)
976
- align = 'offsetof(struct _cffi_align_%s, y)' % (approxname,)
977
- comment = None
978
- else:
979
- size = '(size_t)-1'
980
- align = -1
981
- first_field_index = -1
982
- comment = reason_for_not_expanding
983
- self._lsts["struct_union"].append(
984
- StructUnionExpr(tp.name, type_index, flags, size, align, comment,
985
- first_field_index, c_fields))
986
- self._seen_struct_unions.add(tp)
987
-
988
- def _check_not_opaque(self, tp, location):
989
- while isinstance(tp, model.ArrayType):
990
- tp = tp.item
991
- if isinstance(tp, model.StructOrUnion) and tp.fldtypes is None:
992
- raise TypeError(
993
- "%s is of an opaque type (not declared in cdef())" % location)
994
-
995
- def _add_missing_struct_unions(self):
996
- # not very nice, but some struct declarations might be missing
997
- # because they don't have any known C name. Check that they are
998
- # not partial (we can't complete or verify them!) and emit them
999
- # anonymously.
1000
- lst = list(self._struct_unions.items())
1001
- lst.sort(key=lambda tp_order: tp_order[1])
1002
- for tp, order in lst:
1003
- if tp not in self._seen_struct_unions:
1004
- if tp.partial:
1005
- raise NotImplementedError("internal inconsistency: %r is "
1006
- "partial but was not seen at "
1007
- "this point" % (tp,))
1008
- if tp.name.startswith('$') and tp.name[1:].isdigit():
1009
- approxname = tp.name[1:]
1010
- elif tp.name == '_IO_FILE' and tp.forcename == 'FILE':
1011
- approxname = 'FILE'
1012
- self._typedef_ctx(tp, 'FILE')
1013
- else:
1014
- raise NotImplementedError("internal inconsistency: %r" %
1015
- (tp,))
1016
- self._struct_ctx(tp, None, approxname)
1017
-
1018
- def _generate_cpy_struct_collecttype(self, tp, name):
1019
- self._struct_collecttype(tp)
1020
- _generate_cpy_union_collecttype = _generate_cpy_struct_collecttype
1021
-
1022
- def _struct_names(self, tp):
1023
- cname = tp.get_c_name('')
1024
- if ' ' in cname:
1025
- return cname, cname.replace(' ', '_')
1026
- else:
1027
- return cname, '_' + cname
1028
-
1029
- def _generate_cpy_struct_decl(self, tp, name):
1030
- self._struct_decl(tp, *self._struct_names(tp))
1031
- _generate_cpy_union_decl = _generate_cpy_struct_decl
1032
-
1033
- def _generate_cpy_struct_ctx(self, tp, name):
1034
- self._struct_ctx(tp, *self._struct_names(tp))
1035
- _generate_cpy_union_ctx = _generate_cpy_struct_ctx
1036
-
1037
- # ----------
1038
- # 'anonymous' declarations. These are produced for anonymous structs
1039
- # or unions; the 'name' is obtained by a typedef.
1040
-
1041
- def _generate_cpy_anonymous_collecttype(self, tp, name):
1042
- if isinstance(tp, model.EnumType):
1043
- self._generate_cpy_enum_collecttype(tp, name)
1044
- else:
1045
- self._struct_collecttype(tp)
1046
-
1047
- def _generate_cpy_anonymous_decl(self, tp, name):
1048
- if isinstance(tp, model.EnumType):
1049
- self._generate_cpy_enum_decl(tp)
1050
- else:
1051
- self._struct_decl(tp, name, 'typedef_' + name)
1052
-
1053
- def _generate_cpy_anonymous_ctx(self, tp, name):
1054
- if isinstance(tp, model.EnumType):
1055
- self._enum_ctx(tp, name)
1056
- else:
1057
- self._struct_ctx(tp, name, 'typedef_' + name)
1058
-
1059
- # ----------
1060
- # constants, declared with "static const ..."
1061
-
1062
- def _generate_cpy_const(self, is_int, name, tp=None, category='const',
1063
- check_value=None):
1064
- if (category, name) in self._seen_constants:
1065
- raise VerificationError(
1066
- "duplicate declaration of %s '%s'" % (category, name))
1067
- self._seen_constants.add((category, name))
1068
- #
1069
- prnt = self._prnt
1070
- funcname = '_cffi_%s_%s' % (category, name)
1071
- if is_int:
1072
- prnt('static int %s(unsigned long long *o)' % funcname)
1073
- prnt('{')
1074
- prnt(' int n = (%s) <= 0;' % (name,))
1075
- prnt(' *o = (unsigned long long)((%s) | 0);'
1076
- ' /* check that %s is an integer */' % (name, name))
1077
- if check_value is not None:
1078
- if check_value > 0:
1079
- check_value = '%dU' % (check_value,)
1080
- prnt(' if (!_cffi_check_int(*o, n, %s))' % (check_value,))
1081
- prnt(' n |= 2;')
1082
- prnt(' return n;')
1083
- prnt('}')
1084
- else:
1085
- assert check_value is None
1086
- prnt('static void %s(char *o)' % funcname)
1087
- prnt('{')
1088
- prnt(' *(%s)o = %s;' % (tp.get_c_name('*'), name))
1089
- prnt('}')
1090
- prnt()
1091
-
1092
- def _generate_cpy_constant_collecttype(self, tp, name):
1093
- is_int = tp.is_integer_type()
1094
- if not is_int or self.target_is_python:
1095
- self._do_collect_type(tp)
1096
-
1097
- def _generate_cpy_constant_decl(self, tp, name):
1098
- is_int = tp.is_integer_type()
1099
- self._generate_cpy_const(is_int, name, tp)
1100
-
1101
- def _generate_cpy_constant_ctx(self, tp, name):
1102
- if not self.target_is_python and tp.is_integer_type():
1103
- type_op = CffiOp(OP_CONSTANT_INT, -1)
1104
- else:
1105
- if self.target_is_python:
1106
- const_kind = OP_DLOPEN_CONST
1107
- else:
1108
- const_kind = OP_CONSTANT
1109
- type_index = self._typesdict[tp]
1110
- type_op = CffiOp(const_kind, type_index)
1111
- self._lsts["global"].append(
1112
- GlobalExpr(name, '_cffi_const_%s' % name, type_op))
1113
-
1114
- # ----------
1115
- # enums
1116
-
1117
- def _generate_cpy_enum_collecttype(self, tp, name):
1118
- self._do_collect_type(tp)
1119
-
1120
- def _generate_cpy_enum_decl(self, tp, name=None):
1121
- for enumerator in tp.enumerators:
1122
- self._generate_cpy_const(True, enumerator)
1123
-
1124
- def _enum_ctx(self, tp, cname):
1125
- type_index = self._typesdict[tp]
1126
- type_op = CffiOp(OP_ENUM, -1)
1127
- if self.target_is_python:
1128
- tp.check_not_partial()
1129
- for enumerator, enumvalue in zip(tp.enumerators, tp.enumvalues):
1130
- self._lsts["global"].append(
1131
- GlobalExpr(enumerator, '_cffi_const_%s' % enumerator, type_op,
1132
- check_value=enumvalue))
1133
- #
1134
- if cname is not None and '$' not in cname and not self.target_is_python:
1135
- size = "sizeof(%s)" % cname
1136
- signed = "((%s)-1) <= 0" % cname
1137
- else:
1138
- basetp = tp.build_baseinttype(self.ffi, [])
1139
- size = self.ffi.sizeof(basetp)
1140
- signed = int(int(self.ffi.cast(basetp, -1)) < 0)
1141
- allenums = ",".join(tp.enumerators)
1142
- self._lsts["enum"].append(
1143
- EnumExpr(tp.name, type_index, size, signed, allenums))
1144
-
1145
- def _generate_cpy_enum_ctx(self, tp, name):
1146
- self._enum_ctx(tp, tp._get_c_name())
1147
-
1148
- # ----------
1149
- # macros: for now only for integers
1150
-
1151
- def _generate_cpy_macro_collecttype(self, tp, name):
1152
- pass
1153
-
1154
- def _generate_cpy_macro_decl(self, tp, name):
1155
- if tp == '...':
1156
- check_value = None
1157
- else:
1158
- check_value = tp # an integer
1159
- self._generate_cpy_const(True, name, check_value=check_value)
1160
-
1161
- def _generate_cpy_macro_ctx(self, tp, name):
1162
- if tp == '...':
1163
- if self.target_is_python:
1164
- raise VerificationError(
1165
- "cannot use the syntax '...' in '#define %s ...' when "
1166
- "using the ABI mode" % (name,))
1167
- check_value = None
1168
- else:
1169
- check_value = tp # an integer
1170
- type_op = CffiOp(OP_CONSTANT_INT, -1)
1171
- self._lsts["global"].append(
1172
- GlobalExpr(name, '_cffi_const_%s' % name, type_op,
1173
- check_value=check_value))
1174
-
1175
- # ----------
1176
- # global variables
1177
-
1178
- def _global_type(self, tp, global_name):
1179
- if isinstance(tp, model.ArrayType):
1180
- actual_length = tp.length
1181
- if actual_length == '...':
1182
- actual_length = '_cffi_array_len(%s)' % (global_name,)
1183
- tp_item = self._global_type(tp.item, '%s[0]' % global_name)
1184
- tp = model.ArrayType(tp_item, actual_length)
1185
- return tp
1186
-
1187
- def _generate_cpy_variable_collecttype(self, tp, name):
1188
- self._do_collect_type(self._global_type(tp, name))
1189
-
1190
- def _generate_cpy_variable_decl(self, tp, name):
1191
- prnt = self._prnt
1192
- tp = self._global_type(tp, name)
1193
- if isinstance(tp, model.ArrayType) and tp.length is None:
1194
- tp = tp.item
1195
- ampersand = ''
1196
- else:
1197
- ampersand = '&'
1198
- # This code assumes that casts from "tp *" to "void *" is a
1199
- # no-op, i.e. a function that returns a "tp *" can be called
1200
- # as if it returned a "void *". This should be generally true
1201
- # on any modern machine. The only exception to that rule (on
1202
- # uncommon architectures, and as far as I can tell) might be
1203
- # if 'tp' were a function type, but that is not possible here.
1204
- # (If 'tp' is a function _pointer_ type, then casts from "fn_t
1205
- # **" to "void *" are again no-ops, as far as I can tell.)
1206
- decl = '*_cffi_var_%s(void)' % (name,)
1207
- prnt('static ' + tp.get_c_name(decl, quals=self._current_quals))
1208
- prnt('{')
1209
- prnt(' return %s(%s);' % (ampersand, name))
1210
- prnt('}')
1211
- prnt()
1212
-
1213
- def _generate_cpy_variable_ctx(self, tp, name):
1214
- tp = self._global_type(tp, name)
1215
- type_index = self._typesdict[tp]
1216
- if self.target_is_python:
1217
- op = OP_GLOBAL_VAR
1218
- else:
1219
- op = OP_GLOBAL_VAR_F
1220
- self._lsts["global"].append(
1221
- GlobalExpr(name, '_cffi_var_%s' % name, CffiOp(op, type_index)))
1222
-
1223
- # ----------
1224
- # extern "Python"
1225
-
1226
- def _generate_cpy_extern_python_collecttype(self, tp, name):
1227
- assert isinstance(tp, model.FunctionPtrType)
1228
- self._do_collect_type(tp)
1229
- _generate_cpy_dllexport_python_collecttype = \
1230
- _generate_cpy_extern_python_plus_c_collecttype = \
1231
- _generate_cpy_extern_python_collecttype
1232
-
1233
- def _extern_python_decl(self, tp, name, tag_and_space):
1234
- prnt = self._prnt
1235
- if isinstance(tp.result, model.VoidType):
1236
- size_of_result = '0'
1237
- else:
1238
- context = 'result of %s' % name
1239
- size_of_result = '(int)sizeof(%s)' % (
1240
- tp.result.get_c_name('', context),)
1241
- prnt('static struct _cffi_externpy_s _cffi_externpy__%s =' % name)
1242
- prnt(' { "%s.%s", %s, 0, 0 };' % (
1243
- self.module_name, name, size_of_result))
1244
- prnt()
1245
- #
1246
- arguments = []
1247
- context = 'argument of %s' % name
1248
- for i, type in enumerate(tp.args):
1249
- arg = type.get_c_name(' a%d' % i, context)
1250
- arguments.append(arg)
1251
- #
1252
- repr_arguments = ', '.join(arguments)
1253
- repr_arguments = repr_arguments or 'void'
1254
- name_and_arguments = '%s(%s)' % (name, repr_arguments)
1255
- if tp.abi == "__stdcall":
1256
- name_and_arguments = '_cffi_stdcall ' + name_and_arguments
1257
- #
1258
- def may_need_128_bits(tp):
1259
- return (isinstance(tp, model.PrimitiveType) and
1260
- tp.name == 'long double')
1261
- #
1262
- size_of_a = max(len(tp.args)*8, 8)
1263
- if may_need_128_bits(tp.result):
1264
- size_of_a = max(size_of_a, 16)
1265
- if isinstance(tp.result, model.StructOrUnion):
1266
- size_of_a = 'sizeof(%s) > %d ? sizeof(%s) : %d' % (
1267
- tp.result.get_c_name(''), size_of_a,
1268
- tp.result.get_c_name(''), size_of_a)
1269
- prnt('%s%s' % (tag_and_space, tp.result.get_c_name(name_and_arguments)))
1270
- prnt('{')
1271
- prnt(' char a[%s];' % size_of_a)
1272
- prnt(' char *p = a;')
1273
- for i, type in enumerate(tp.args):
1274
- arg = 'a%d' % i
1275
- if (isinstance(type, model.StructOrUnion) or
1276
- may_need_128_bits(type)):
1277
- arg = '&' + arg
1278
- type = model.PointerType(type)
1279
- prnt(' *(%s)(p + %d) = %s;' % (type.get_c_name('*'), i*8, arg))
1280
- prnt(' _cffi_call_python(&_cffi_externpy__%s, p);' % name)
1281
- if not isinstance(tp.result, model.VoidType):
1282
- prnt(' return *(%s)p;' % (tp.result.get_c_name('*'),))
1283
- prnt('}')
1284
- prnt()
1285
- self._num_externpy += 1
1286
-
1287
- def _generate_cpy_extern_python_decl(self, tp, name):
1288
- self._extern_python_decl(tp, name, 'static ')
1289
-
1290
- def _generate_cpy_dllexport_python_decl(self, tp, name):
1291
- self._extern_python_decl(tp, name, 'CFFI_DLLEXPORT ')
1292
-
1293
- def _generate_cpy_extern_python_plus_c_decl(self, tp, name):
1294
- self._extern_python_decl(tp, name, '')
1295
-
1296
- def _generate_cpy_extern_python_ctx(self, tp, name):
1297
- if self.target_is_python:
1298
- raise VerificationError(
1299
- "cannot use 'extern \"Python\"' in the ABI mode")
1300
- if tp.ellipsis:
1301
- raise NotImplementedError("a vararg function is extern \"Python\"")
1302
- type_index = self._typesdict[tp]
1303
- type_op = CffiOp(OP_EXTERN_PYTHON, type_index)
1304
- self._lsts["global"].append(
1305
- GlobalExpr(name, '&_cffi_externpy__%s' % name, type_op, name))
1306
-
1307
- _generate_cpy_dllexport_python_ctx = \
1308
- _generate_cpy_extern_python_plus_c_ctx = \
1309
- _generate_cpy_extern_python_ctx
1310
-
1311
- def _print_string_literal_in_array(self, s):
1312
- prnt = self._prnt
1313
- prnt('// # NB. this is not a string because of a size limit in MSVC')
1314
- if not isinstance(s, bytes): # unicode
1315
- s = s.encode('utf-8') # -> bytes
1316
- else:
1317
- s.decode('utf-8') # got bytes, check for valid utf-8
1318
- try:
1319
- s.decode('ascii')
1320
- except UnicodeDecodeError:
1321
- s = b'# -*- encoding: utf8 -*-\n' + s
1322
- for line in s.splitlines(True):
1323
- comment = line
1324
- if type('//') is bytes: # python2
1325
- line = map(ord, line) # make a list of integers
1326
- else: # python3
1327
- # type(line) is bytes, which enumerates like a list of integers
1328
- comment = ascii(comment)[1:-1]
1329
- prnt(('// ' + comment).rstrip())
1330
- printed_line = ''
1331
- for c in line:
1332
- if len(printed_line) >= 76:
1333
- prnt(printed_line)
1334
- printed_line = ''
1335
- printed_line += '%d,' % (c,)
1336
- prnt(printed_line)
1337
-
1338
- # ----------
1339
- # emitting the opcodes for individual types
1340
-
1341
- def _emit_bytecode_VoidType(self, tp, index):
1342
- self.cffi_types[index] = CffiOp(OP_PRIMITIVE, PRIM_VOID)
1343
-
1344
- def _emit_bytecode_PrimitiveType(self, tp, index):
1345
- prim_index = PRIMITIVE_TO_INDEX[tp.name]
1346
- self.cffi_types[index] = CffiOp(OP_PRIMITIVE, prim_index)
1347
-
1348
- def _emit_bytecode_UnknownIntegerType(self, tp, index):
1349
- s = ('_cffi_prim_int(sizeof(%s), (\n'
1350
- ' ((%s)-1) | 0 /* check that %s is an integer type */\n'
1351
- ' ) <= 0)' % (tp.name, tp.name, tp.name))
1352
- self.cffi_types[index] = CffiOp(OP_PRIMITIVE, s)
1353
-
1354
- def _emit_bytecode_UnknownFloatType(self, tp, index):
1355
- s = ('_cffi_prim_float(sizeof(%s) *\n'
1356
- ' (((%s)1) / 2) * 2 /* integer => 0, float => 1 */\n'
1357
- ' )' % (tp.name, tp.name))
1358
- self.cffi_types[index] = CffiOp(OP_PRIMITIVE, s)
1359
-
1360
- def _emit_bytecode_RawFunctionType(self, tp, index):
1361
- self.cffi_types[index] = CffiOp(OP_FUNCTION, self._typesdict[tp.result])
1362
- index += 1
1363
- for tp1 in tp.args:
1364
- realindex = self._typesdict[tp1]
1365
- if index != realindex:
1366
- if isinstance(tp1, model.PrimitiveType):
1367
- self._emit_bytecode_PrimitiveType(tp1, index)
1368
- else:
1369
- self.cffi_types[index] = CffiOp(OP_NOOP, realindex)
1370
- index += 1
1371
- flags = int(tp.ellipsis)
1372
- if tp.abi is not None:
1373
- if tp.abi == '__stdcall':
1374
- flags |= 2
1375
- else:
1376
- raise NotImplementedError("abi=%r" % (tp.abi,))
1377
- self.cffi_types[index] = CffiOp(OP_FUNCTION_END, flags)
1378
-
1379
- def _emit_bytecode_PointerType(self, tp, index):
1380
- self.cffi_types[index] = CffiOp(OP_POINTER, self._typesdict[tp.totype])
1381
-
1382
- _emit_bytecode_ConstPointerType = _emit_bytecode_PointerType
1383
- _emit_bytecode_NamedPointerType = _emit_bytecode_PointerType
1384
-
1385
- def _emit_bytecode_FunctionPtrType(self, tp, index):
1386
- raw = tp.as_raw_function()
1387
- self.cffi_types[index] = CffiOp(OP_POINTER, self._typesdict[raw])
1388
-
1389
- def _emit_bytecode_ArrayType(self, tp, index):
1390
- item_index = self._typesdict[tp.item]
1391
- if tp.length is None:
1392
- self.cffi_types[index] = CffiOp(OP_OPEN_ARRAY, item_index)
1393
- elif tp.length == '...':
1394
- raise VerificationError(
1395
- "type %s badly placed: the '...' array length can only be "
1396
- "used on global arrays or on fields of structures" % (
1397
- str(tp).replace('/*...*/', '...'),))
1398
- else:
1399
- assert self.cffi_types[index + 1] == 'LEN'
1400
- self.cffi_types[index] = CffiOp(OP_ARRAY, item_index)
1401
- self.cffi_types[index + 1] = CffiOp(None, str(tp.length))
1402
-
1403
- def _emit_bytecode_StructType(self, tp, index):
1404
- struct_index = self._struct_unions[tp]
1405
- self.cffi_types[index] = CffiOp(OP_STRUCT_UNION, struct_index)
1406
- _emit_bytecode_UnionType = _emit_bytecode_StructType
1407
-
1408
- def _emit_bytecode_EnumType(self, tp, index):
1409
- enum_index = self._enums[tp]
1410
- self.cffi_types[index] = CffiOp(OP_ENUM, enum_index)
1411
-
1412
-
1413
- if sys.version_info >= (3,):
1414
- NativeIO = io.StringIO
1415
- else:
1416
- class NativeIO(io.BytesIO):
1417
- def write(self, s):
1418
- if isinstance(s, unicode):
1419
- s = s.encode('ascii')
1420
- super(NativeIO, self).write(s)
1421
-
1422
- def _is_file_like(maybefile):
1423
- # compare to xml.etree.ElementTree._get_writer
1424
- return hasattr(maybefile, 'write')
1425
-
1426
- def _make_c_or_py_source(ffi, module_name, preamble, target_file, verbose):
1427
- if verbose:
1428
- print("generating %s" % (target_file,))
1429
- recompiler = Recompiler(ffi, module_name,
1430
- target_is_python=(preamble is None))
1431
- recompiler.collect_type_table()
1432
- recompiler.collect_step_tables()
1433
- if _is_file_like(target_file):
1434
- recompiler.write_source_to_f(target_file, preamble)
1435
- return True
1436
- f = NativeIO()
1437
- recompiler.write_source_to_f(f, preamble)
1438
- output = f.getvalue()
1439
- try:
1440
- with open(target_file, 'r') as f1:
1441
- if f1.read(len(output) + 1) != output:
1442
- raise IOError
1443
- if verbose:
1444
- print("(already up-to-date)")
1445
- return False # already up-to-date
1446
- except IOError:
1447
- tmp_file = '%s.~%d' % (target_file, os.getpid())
1448
- with open(tmp_file, 'w') as f1:
1449
- f1.write(output)
1450
- try:
1451
- os.rename(tmp_file, target_file)
1452
- except OSError:
1453
- os.unlink(target_file)
1454
- os.rename(tmp_file, target_file)
1455
- return True
1456
-
1457
- def make_c_source(ffi, module_name, preamble, target_c_file, verbose=False):
1458
- assert preamble is not None
1459
- return _make_c_or_py_source(ffi, module_name, preamble, target_c_file,
1460
- verbose)
1461
-
1462
- def make_py_source(ffi, module_name, target_py_file, verbose=False):
1463
- return _make_c_or_py_source(ffi, module_name, None, target_py_file,
1464
- verbose)
1465
-
1466
- def _modname_to_file(outputdir, modname, extension):
1467
- parts = modname.split('.')
1468
- try:
1469
- os.makedirs(os.path.join(outputdir, *parts[:-1]))
1470
- except OSError:
1471
- pass
1472
- parts[-1] += extension
1473
- return os.path.join(outputdir, *parts), parts
1474
-
1475
-
1476
- # Aaargh. Distutils is not tested at all for the purpose of compiling
1477
- # DLLs that are not extension modules. Here are some hacks to work
1478
- # around that, in the _patch_for_*() functions...
1479
-
1480
- def _patch_meth(patchlist, cls, name, new_meth):
1481
- old = getattr(cls, name)
1482
- patchlist.append((cls, name, old))
1483
- setattr(cls, name, new_meth)
1484
- return old
1485
-
1486
- def _unpatch_meths(patchlist):
1487
- for cls, name, old_meth in reversed(patchlist):
1488
- setattr(cls, name, old_meth)
1489
-
1490
- def _patch_for_embedding(patchlist):
1491
- if sys.platform == 'win32':
1492
- # we must not remove the manifest when building for embedding!
1493
- # FUTURE: this module was removed in setuptools 74; this is likely dead code and should be removed,
1494
- # since the toolchain it supports (VS2005-2008) is also long dead.
1495
- from cffi._shimmed_dist_utils import MSVCCompiler
1496
- if MSVCCompiler is not None:
1497
- _patch_meth(patchlist, MSVCCompiler, '_remove_visual_c_ref',
1498
- lambda self, manifest_file: manifest_file)
1499
-
1500
- if sys.platform == 'darwin':
1501
- # we must not make a '-bundle', but a '-dynamiclib' instead
1502
- from cffi._shimmed_dist_utils import CCompiler
1503
- def my_link_shared_object(self, *args, **kwds):
1504
- if '-bundle' in self.linker_so:
1505
- self.linker_so = list(self.linker_so)
1506
- i = self.linker_so.index('-bundle')
1507
- self.linker_so[i] = '-dynamiclib'
1508
- return old_link_shared_object(self, *args, **kwds)
1509
- old_link_shared_object = _patch_meth(patchlist, CCompiler,
1510
- 'link_shared_object',
1511
- my_link_shared_object)
1512
-
1513
- def _patch_for_target(patchlist, target):
1514
- from cffi._shimmed_dist_utils import build_ext
1515
- # if 'target' is different from '*', we need to patch some internal
1516
- # method to just return this 'target' value, instead of having it
1517
- # built from module_name
1518
- if target.endswith('.*'):
1519
- target = target[:-2]
1520
- if sys.platform == 'win32':
1521
- target += '.dll'
1522
- elif sys.platform == 'darwin':
1523
- target += '.dylib'
1524
- else:
1525
- target += '.so'
1526
- _patch_meth(patchlist, build_ext, 'get_ext_filename',
1527
- lambda self, ext_name: target)
1528
-
1529
-
1530
- def recompile(ffi, module_name, preamble, tmpdir='.', call_c_compiler=True,
1531
- c_file=None, source_extension='.c', extradir=None,
1532
- compiler_verbose=1, target=None, debug=None,
1533
- uses_ffiplatform=True, **kwds):
1534
- if not isinstance(module_name, str):
1535
- module_name = module_name.encode('ascii')
1536
- if ffi._windows_unicode:
1537
- ffi._apply_windows_unicode(kwds)
1538
- if preamble is not None:
1539
- if call_c_compiler and _is_file_like(c_file):
1540
- raise TypeError("Writing to file-like objects is not supported "
1541
- "with call_c_compiler=True")
1542
- embedding = (ffi._embedding is not None)
1543
- if embedding:
1544
- ffi._apply_embedding_fix(kwds)
1545
- if c_file is None:
1546
- c_file, parts = _modname_to_file(tmpdir, module_name,
1547
- source_extension)
1548
- if extradir:
1549
- parts = [extradir] + parts
1550
- ext_c_file = os.path.join(*parts)
1551
- else:
1552
- ext_c_file = c_file
1553
- #
1554
- if target is None:
1555
- if embedding:
1556
- target = '%s.*' % module_name
1557
- else:
1558
- target = '*'
1559
- #
1560
- if uses_ffiplatform:
1561
- ext = ffiplatform.get_extension(ext_c_file, module_name, **kwds)
1562
- else:
1563
- ext = None
1564
- updated = make_c_source(ffi, module_name, preamble, c_file,
1565
- verbose=compiler_verbose)
1566
- if call_c_compiler:
1567
- patchlist = []
1568
- cwd = os.getcwd()
1569
- try:
1570
- if embedding:
1571
- _patch_for_embedding(patchlist)
1572
- if target != '*':
1573
- _patch_for_target(patchlist, target)
1574
- if compiler_verbose:
1575
- if tmpdir == '.':
1576
- msg = 'the current directory is'
1577
- else:
1578
- msg = 'setting the current directory to'
1579
- print('%s %r' % (msg, os.path.abspath(tmpdir)))
1580
- os.chdir(tmpdir)
1581
- outputfilename = ffiplatform.compile('.', ext,
1582
- compiler_verbose, debug)
1583
- finally:
1584
- os.chdir(cwd)
1585
- _unpatch_meths(patchlist)
1586
- return outputfilename
1587
- else:
1588
- return ext, updated
1589
- else:
1590
- if c_file is None:
1591
- c_file, _ = _modname_to_file(tmpdir, module_name, '.py')
1592
- updated = make_py_source(ffi, module_name, c_file,
1593
- verbose=compiler_verbose)
1594
- if call_c_compiler:
1595
- return c_file
1596
- else:
1597
- return None, updated
1598
-