@scrypted/arlo 0.11.26 → 0.11.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,2211 +0,0 @@
1
- import inspect
2
- import os
3
- import platform
4
- import sys
5
- import threading
6
- from abc import ABC, abstractmethod
7
- from dataclasses import dataclass, field
8
- from datetime import datetime
9
- from functools import wraps
10
- from getpass import getpass
11
- from html import escape
12
- from inspect import isclass
13
- from itertools import islice
14
- from threading import RLock
15
- from time import monotonic
16
- from types import FrameType, ModuleType, TracebackType
17
- from typing import (
18
- IO,
19
- TYPE_CHECKING,
20
- Any,
21
- Callable,
22
- Dict,
23
- Iterable,
24
- List,
25
- Mapping,
26
- NamedTuple,
27
- Optional,
28
- TextIO,
29
- Tuple,
30
- Type,
31
- Union,
32
- cast,
33
- )
34
-
35
- if sys.version_info >= (3, 8):
36
- from typing import Literal, Protocol, runtime_checkable
37
- else:
38
- from pip._vendor.typing_extensions import (
39
- Literal,
40
- Protocol,
41
- runtime_checkable,
42
- ) # pragma: no cover
43
-
44
- from . import errors, themes
45
- from ._emoji_replace import _emoji_replace
46
- from ._log_render import FormatTimeCallable, LogRender
47
- from .align import Align, AlignMethod
48
- from .color import ColorSystem
49
- from .control import Control
50
- from .emoji import EmojiVariant
51
- from .highlighter import NullHighlighter, ReprHighlighter
52
- from .markup import render as render_markup
53
- from .measure import Measurement, measure_renderables
54
- from .pager import Pager, SystemPager
55
- from .pretty import Pretty, is_expandable
56
- from .protocol import rich_cast
57
- from .region import Region
58
- from .scope import render_scope
59
- from .screen import Screen
60
- from .segment import Segment
61
- from .style import Style, StyleType
62
- from .styled import Styled
63
- from .terminal_theme import DEFAULT_TERMINAL_THEME, TerminalTheme
64
- from .text import Text, TextType
65
- from .theme import Theme, ThemeStack
66
-
67
- if TYPE_CHECKING:
68
- from ._windows import WindowsConsoleFeatures
69
- from .live import Live
70
- from .status import Status
71
-
72
- WINDOWS = platform.system() == "Windows"
73
-
74
- HighlighterType = Callable[[Union[str, "Text"]], "Text"]
75
- JustifyMethod = Literal["default", "left", "center", "right", "full"]
76
- OverflowMethod = Literal["fold", "crop", "ellipsis", "ignore"]
77
-
78
-
79
- class NoChange:
80
- pass
81
-
82
-
83
- NO_CHANGE = NoChange()
84
-
85
-
86
- CONSOLE_HTML_FORMAT = """\
87
- <!DOCTYPE html>
88
- <head>
89
- <meta charset="UTF-8">
90
- <style>
91
- {stylesheet}
92
- body {{
93
- color: {foreground};
94
- background-color: {background};
95
- }}
96
- </style>
97
- </head>
98
- <html>
99
- <body>
100
- <code>
101
- <pre style="font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace">{code}</pre>
102
- </code>
103
- </body>
104
- </html>
105
- """
106
-
107
- _TERM_COLORS = {"256color": ColorSystem.EIGHT_BIT, "16color": ColorSystem.STANDARD}
108
-
109
-
110
- class ConsoleDimensions(NamedTuple):
111
- """Size of the terminal."""
112
-
113
- width: int
114
- """The width of the console in 'cells'."""
115
- height: int
116
- """The height of the console in lines."""
117
-
118
-
119
- @dataclass
120
- class ConsoleOptions:
121
- """Options for __rich_console__ method."""
122
-
123
- size: ConsoleDimensions
124
- """Size of console."""
125
- legacy_windows: bool
126
- """legacy_windows: flag for legacy windows."""
127
- min_width: int
128
- """Minimum width of renderable."""
129
- max_width: int
130
- """Maximum width of renderable."""
131
- is_terminal: bool
132
- """True if the target is a terminal, otherwise False."""
133
- encoding: str
134
- """Encoding of terminal."""
135
- max_height: int
136
- """Height of container (starts as terminal)"""
137
- justify: Optional[JustifyMethod] = None
138
- """Justify value override for renderable."""
139
- overflow: Optional[OverflowMethod] = None
140
- """Overflow value override for renderable."""
141
- no_wrap: Optional[bool] = False
142
- """Disable wrapping for text."""
143
- highlight: Optional[bool] = None
144
- """Highlight override for render_str."""
145
- markup: Optional[bool] = None
146
- """Enable markup when rendering strings."""
147
- height: Optional[int] = None
148
-
149
- @property
150
- def ascii_only(self) -> bool:
151
- """Check if renderables should use ascii only."""
152
- return not self.encoding.startswith("utf")
153
-
154
- def copy(self) -> "ConsoleOptions":
155
- """Return a copy of the options.
156
-
157
- Returns:
158
- ConsoleOptions: a copy of self.
159
- """
160
- options: ConsoleOptions = ConsoleOptions.__new__(ConsoleOptions)
161
- options.__dict__ = self.__dict__.copy()
162
- return options
163
-
164
- def update(
165
- self,
166
- *,
167
- width: Union[int, NoChange] = NO_CHANGE,
168
- min_width: Union[int, NoChange] = NO_CHANGE,
169
- max_width: Union[int, NoChange] = NO_CHANGE,
170
- justify: Union[Optional[JustifyMethod], NoChange] = NO_CHANGE,
171
- overflow: Union[Optional[OverflowMethod], NoChange] = NO_CHANGE,
172
- no_wrap: Union[Optional[bool], NoChange] = NO_CHANGE,
173
- highlight: Union[Optional[bool], NoChange] = NO_CHANGE,
174
- markup: Union[Optional[bool], NoChange] = NO_CHANGE,
175
- height: Union[Optional[int], NoChange] = NO_CHANGE,
176
- ) -> "ConsoleOptions":
177
- """Update values, return a copy."""
178
- options = self.copy()
179
- if not isinstance(width, NoChange):
180
- options.min_width = options.max_width = max(0, width)
181
- if not isinstance(min_width, NoChange):
182
- options.min_width = min_width
183
- if not isinstance(max_width, NoChange):
184
- options.max_width = max_width
185
- if not isinstance(justify, NoChange):
186
- options.justify = justify
187
- if not isinstance(overflow, NoChange):
188
- options.overflow = overflow
189
- if not isinstance(no_wrap, NoChange):
190
- options.no_wrap = no_wrap
191
- if not isinstance(highlight, NoChange):
192
- options.highlight = highlight
193
- if not isinstance(markup, NoChange):
194
- options.markup = markup
195
- if not isinstance(height, NoChange):
196
- if height is not None:
197
- options.max_height = height
198
- options.height = None if height is None else max(0, height)
199
- return options
200
-
201
- def update_width(self, width: int) -> "ConsoleOptions":
202
- """Update just the width, return a copy.
203
-
204
- Args:
205
- width (int): New width (sets both min_width and max_width)
206
-
207
- Returns:
208
- ~ConsoleOptions: New console options instance.
209
- """
210
- options = self.copy()
211
- options.min_width = options.max_width = max(0, width)
212
- return options
213
-
214
- def update_height(self, height: int) -> "ConsoleOptions":
215
- """Update the height, and return a copy.
216
-
217
- Args:
218
- height (int): New height
219
-
220
- Returns:
221
- ~ConsoleOptions: New Console options instance.
222
- """
223
- options = self.copy()
224
- options.max_height = options.height = height
225
- return options
226
-
227
- def update_dimensions(self, width: int, height: int) -> "ConsoleOptions":
228
- """Update the width and height, and return a copy.
229
-
230
- Args:
231
- width (int): New width (sets both min_width and max_width).
232
- height (int): New height.
233
-
234
- Returns:
235
- ~ConsoleOptions: New console options instance.
236
- """
237
- options = self.copy()
238
- options.min_width = options.max_width = max(0, width)
239
- options.height = options.max_height = height
240
- return options
241
-
242
-
243
- @runtime_checkable
244
- class RichCast(Protocol):
245
- """An object that may be 'cast' to a console renderable."""
246
-
247
- def __rich__(self) -> Union["ConsoleRenderable", str]: # pragma: no cover
248
- ...
249
-
250
-
251
- @runtime_checkable
252
- class ConsoleRenderable(Protocol):
253
- """An object that supports the console protocol."""
254
-
255
- def __rich_console__(
256
- self, console: "Console", options: "ConsoleOptions"
257
- ) -> "RenderResult": # pragma: no cover
258
- ...
259
-
260
-
261
- # A type that may be rendered by Console.
262
- RenderableType = Union[ConsoleRenderable, RichCast, str]
263
-
264
-
265
- # The result of calling a __rich_console__ method.
266
- RenderResult = Iterable[Union[RenderableType, Segment]]
267
-
268
-
269
- _null_highlighter = NullHighlighter()
270
-
271
-
272
- class CaptureError(Exception):
273
- """An error in the Capture context manager."""
274
-
275
-
276
- class NewLine:
277
- """A renderable to generate new line(s)"""
278
-
279
- def __init__(self, count: int = 1) -> None:
280
- self.count = count
281
-
282
- def __rich_console__(
283
- self, console: "Console", options: "ConsoleOptions"
284
- ) -> Iterable[Segment]:
285
- yield Segment("\n" * self.count)
286
-
287
-
288
- class ScreenUpdate:
289
- """Render a list of lines at a given offset."""
290
-
291
- def __init__(self, lines: List[List[Segment]], x: int, y: int) -> None:
292
- self._lines = lines
293
- self.x = x
294
- self.y = y
295
-
296
- def __rich_console__(
297
- self, console: "Console", options: ConsoleOptions
298
- ) -> RenderResult:
299
- x = self.x
300
- move_to = Control.move_to
301
- for offset, line in enumerate(self._lines, self.y):
302
- yield move_to(x, offset)
303
- yield from line
304
-
305
-
306
- class Capture:
307
- """Context manager to capture the result of printing to the console.
308
- See :meth:`~rich.console.Console.capture` for how to use.
309
-
310
- Args:
311
- console (Console): A console instance to capture output.
312
- """
313
-
314
- def __init__(self, console: "Console") -> None:
315
- self._console = console
316
- self._result: Optional[str] = None
317
-
318
- def __enter__(self) -> "Capture":
319
- self._console.begin_capture()
320
- return self
321
-
322
- def __exit__(
323
- self,
324
- exc_type: Optional[Type[BaseException]],
325
- exc_val: Optional[BaseException],
326
- exc_tb: Optional[TracebackType],
327
- ) -> None:
328
- self._result = self._console.end_capture()
329
-
330
- def get(self) -> str:
331
- """Get the result of the capture."""
332
- if self._result is None:
333
- raise CaptureError(
334
- "Capture result is not available until context manager exits."
335
- )
336
- return self._result
337
-
338
-
339
- class ThemeContext:
340
- """A context manager to use a temporary theme. See :meth:`~rich.console.Console.use_theme` for usage."""
341
-
342
- def __init__(self, console: "Console", theme: Theme, inherit: bool = True) -> None:
343
- self.console = console
344
- self.theme = theme
345
- self.inherit = inherit
346
-
347
- def __enter__(self) -> "ThemeContext":
348
- self.console.push_theme(self.theme)
349
- return self
350
-
351
- def __exit__(
352
- self,
353
- exc_type: Optional[Type[BaseException]],
354
- exc_val: Optional[BaseException],
355
- exc_tb: Optional[TracebackType],
356
- ) -> None:
357
- self.console.pop_theme()
358
-
359
-
360
- class PagerContext:
361
- """A context manager that 'pages' content. See :meth:`~rich.console.Console.pager` for usage."""
362
-
363
- def __init__(
364
- self,
365
- console: "Console",
366
- pager: Optional[Pager] = None,
367
- styles: bool = False,
368
- links: bool = False,
369
- ) -> None:
370
- self._console = console
371
- self.pager = SystemPager() if pager is None else pager
372
- self.styles = styles
373
- self.links = links
374
-
375
- def __enter__(self) -> "PagerContext":
376
- self._console._enter_buffer()
377
- return self
378
-
379
- def __exit__(
380
- self,
381
- exc_type: Optional[Type[BaseException]],
382
- exc_val: Optional[BaseException],
383
- exc_tb: Optional[TracebackType],
384
- ) -> None:
385
- if exc_type is None:
386
- with self._console._lock:
387
- buffer: List[Segment] = self._console._buffer[:]
388
- del self._console._buffer[:]
389
- segments: Iterable[Segment] = buffer
390
- if not self.styles:
391
- segments = Segment.strip_styles(segments)
392
- elif not self.links:
393
- segments = Segment.strip_links(segments)
394
- content = self._console._render_buffer(segments)
395
- self.pager.show(content)
396
- self._console._exit_buffer()
397
-
398
-
399
- class ScreenContext:
400
- """A context manager that enables an alternative screen. See :meth:`~rich.console.Console.screen` for usage."""
401
-
402
- def __init__(
403
- self, console: "Console", hide_cursor: bool, style: StyleType = ""
404
- ) -> None:
405
- self.console = console
406
- self.hide_cursor = hide_cursor
407
- self.screen = Screen(style=style)
408
- self._changed = False
409
-
410
- def update(
411
- self, *renderables: RenderableType, style: Optional[StyleType] = None
412
- ) -> None:
413
- """Update the screen.
414
-
415
- Args:
416
- renderable (RenderableType, optional): Optional renderable to replace current renderable,
417
- or None for no change. Defaults to None.
418
- style: (Style, optional): Replacement style, or None for no change. Defaults to None.
419
- """
420
- if renderables:
421
- self.screen.renderable = (
422
- Group(*renderables) if len(renderables) > 1 else renderables[0]
423
- )
424
- if style is not None:
425
- self.screen.style = style
426
- self.console.print(self.screen, end="")
427
-
428
- def __enter__(self) -> "ScreenContext":
429
- self._changed = self.console.set_alt_screen(True)
430
- if self._changed and self.hide_cursor:
431
- self.console.show_cursor(False)
432
- return self
433
-
434
- def __exit__(
435
- self,
436
- exc_type: Optional[Type[BaseException]],
437
- exc_val: Optional[BaseException],
438
- exc_tb: Optional[TracebackType],
439
- ) -> None:
440
- if self._changed:
441
- self.console.set_alt_screen(False)
442
- if self.hide_cursor:
443
- self.console.show_cursor(True)
444
-
445
-
446
- class Group:
447
- """Takes a group of renderables and returns a renderable object that renders the group.
448
-
449
- Args:
450
- renderables (Iterable[RenderableType]): An iterable of renderable objects.
451
- fit (bool, optional): Fit dimension of group to contents, or fill available space. Defaults to True.
452
- """
453
-
454
- def __init__(self, *renderables: "RenderableType", fit: bool = True) -> None:
455
- self._renderables = renderables
456
- self.fit = fit
457
- self._render: Optional[List[RenderableType]] = None
458
-
459
- @property
460
- def renderables(self) -> List["RenderableType"]:
461
- if self._render is None:
462
- self._render = list(self._renderables)
463
- return self._render
464
-
465
- def __rich_measure__(
466
- self, console: "Console", options: "ConsoleOptions"
467
- ) -> "Measurement":
468
- if self.fit:
469
- return measure_renderables(console, options, self.renderables)
470
- else:
471
- return Measurement(options.max_width, options.max_width)
472
-
473
- def __rich_console__(
474
- self, console: "Console", options: "ConsoleOptions"
475
- ) -> RenderResult:
476
- yield from self.renderables
477
-
478
-
479
- def group(fit: bool = True) -> Callable[..., Callable[..., Group]]:
480
- """A decorator that turns an iterable of renderables in to a group.
481
-
482
- Args:
483
- fit (bool, optional): Fit dimension of group to contents, or fill available space. Defaults to True.
484
- """
485
-
486
- def decorator(
487
- method: Callable[..., Iterable[RenderableType]]
488
- ) -> Callable[..., Group]:
489
- """Convert a method that returns an iterable of renderables in to a Group."""
490
-
491
- @wraps(method)
492
- def _replace(*args: Any, **kwargs: Any) -> Group:
493
- renderables = method(*args, **kwargs)
494
- return Group(*renderables, fit=fit)
495
-
496
- return _replace
497
-
498
- return decorator
499
-
500
-
501
- def _is_jupyter() -> bool: # pragma: no cover
502
- """Check if we're running in a Jupyter notebook."""
503
- try:
504
- get_ipython # type: ignore
505
- except NameError:
506
- return False
507
- ipython = get_ipython() # type: ignore
508
- shell = ipython.__class__.__name__
509
- if "google.colab" in str(ipython.__class__) or shell == "ZMQInteractiveShell":
510
- return True # Jupyter notebook or qtconsole
511
- elif shell == "TerminalInteractiveShell":
512
- return False # Terminal running IPython
513
- else:
514
- return False # Other type (?)
515
-
516
-
517
- COLOR_SYSTEMS = {
518
- "standard": ColorSystem.STANDARD,
519
- "256": ColorSystem.EIGHT_BIT,
520
- "truecolor": ColorSystem.TRUECOLOR,
521
- "windows": ColorSystem.WINDOWS,
522
- }
523
-
524
-
525
- _COLOR_SYSTEMS_NAMES = {system: name for name, system in COLOR_SYSTEMS.items()}
526
-
527
-
528
- @dataclass
529
- class ConsoleThreadLocals(threading.local):
530
- """Thread local values for Console context."""
531
-
532
- theme_stack: ThemeStack
533
- buffer: List[Segment] = field(default_factory=list)
534
- buffer_index: int = 0
535
-
536
-
537
- class RenderHook(ABC):
538
- """Provides hooks in to the render process."""
539
-
540
- @abstractmethod
541
- def process_renderables(
542
- self, renderables: List[ConsoleRenderable]
543
- ) -> List[ConsoleRenderable]:
544
- """Called with a list of objects to render.
545
-
546
- This method can return a new list of renderables, or modify and return the same list.
547
-
548
- Args:
549
- renderables (List[ConsoleRenderable]): A number of renderable objects.
550
-
551
- Returns:
552
- List[ConsoleRenderable]: A replacement list of renderables.
553
- """
554
-
555
-
556
- _windows_console_features: Optional["WindowsConsoleFeatures"] = None
557
-
558
-
559
- def get_windows_console_features() -> "WindowsConsoleFeatures": # pragma: no cover
560
- global _windows_console_features
561
- if _windows_console_features is not None:
562
- return _windows_console_features
563
- from ._windows import get_windows_console_features
564
-
565
- _windows_console_features = get_windows_console_features()
566
- return _windows_console_features
567
-
568
-
569
- def detect_legacy_windows() -> bool:
570
- """Detect legacy Windows."""
571
- return WINDOWS and not get_windows_console_features().vt
572
-
573
-
574
- if detect_legacy_windows(): # pragma: no cover
575
- from pip._vendor.colorama import init
576
-
577
- init(strip=False)
578
-
579
-
580
- class Console:
581
- """A high level console interface.
582
-
583
- Args:
584
- color_system (str, optional): The color system supported by your terminal,
585
- either ``"standard"``, ``"256"`` or ``"truecolor"``. Leave as ``"auto"`` to autodetect.
586
- force_terminal (Optional[bool], optional): Enable/disable terminal control codes, or None to auto-detect terminal. Defaults to None.
587
- force_jupyter (Optional[bool], optional): Enable/disable Jupyter rendering, or None to auto-detect Jupyter. Defaults to None.
588
- force_interactive (Optional[bool], optional): Enable/disable interactive mode, or None to auto detect. Defaults to None.
589
- soft_wrap (Optional[bool], optional): Set soft wrap default on print method. Defaults to False.
590
- theme (Theme, optional): An optional style theme object, or ``None`` for default theme.
591
- stderr (bool, optional): Use stderr rather than stdout if ``file`` is not specified. Defaults to False.
592
- file (IO, optional): A file object where the console should write to. Defaults to stdout.
593
- quiet (bool, Optional): Boolean to suppress all output. Defaults to False.
594
- width (int, optional): The width of the terminal. Leave as default to auto-detect width.
595
- height (int, optional): The height of the terminal. Leave as default to auto-detect height.
596
- style (StyleType, optional): Style to apply to all output, or None for no style. Defaults to None.
597
- no_color (Optional[bool], optional): Enabled no color mode, or None to auto detect. Defaults to None.
598
- tab_size (int, optional): Number of spaces used to replace a tab character. Defaults to 8.
599
- record (bool, optional): Boolean to enable recording of terminal output,
600
- required to call :meth:`export_html` and :meth:`export_text`. Defaults to False.
601
- markup (bool, optional): Boolean to enable :ref:`console_markup`. Defaults to True.
602
- emoji (bool, optional): Enable emoji code. Defaults to True.
603
- emoji_variant (str, optional): Optional emoji variant, either "text" or "emoji". Defaults to None.
604
- highlight (bool, optional): Enable automatic highlighting. Defaults to True.
605
- log_time (bool, optional): Boolean to enable logging of time by :meth:`log` methods. Defaults to True.
606
- log_path (bool, optional): Boolean to enable the logging of the caller by :meth:`log`. Defaults to True.
607
- log_time_format (Union[str, TimeFormatterCallable], optional): If ``log_time`` is enabled, either string for strftime or callable that formats the time. Defaults to "[%X] ".
608
- highlighter (HighlighterType, optional): Default highlighter.
609
- legacy_windows (bool, optional): Enable legacy Windows mode, or ``None`` to auto detect. Defaults to ``None``.
610
- safe_box (bool, optional): Restrict box options that don't render on legacy Windows.
611
- get_datetime (Callable[[], datetime], optional): Callable that gets the current time as a datetime.datetime object (used by Console.log),
612
- or None for datetime.now.
613
- get_time (Callable[[], time], optional): Callable that gets the current time in seconds, default uses time.monotonic.
614
- """
615
-
616
- _environ: Mapping[str, str] = os.environ
617
-
618
- def __init__(
619
- self,
620
- *,
621
- color_system: Optional[
622
- Literal["auto", "standard", "256", "truecolor", "windows"]
623
- ] = "auto",
624
- force_terminal: Optional[bool] = None,
625
- force_jupyter: Optional[bool] = None,
626
- force_interactive: Optional[bool] = None,
627
- soft_wrap: bool = False,
628
- theme: Optional[Theme] = None,
629
- stderr: bool = False,
630
- file: Optional[IO[str]] = None,
631
- quiet: bool = False,
632
- width: Optional[int] = None,
633
- height: Optional[int] = None,
634
- style: Optional[StyleType] = None,
635
- no_color: Optional[bool] = None,
636
- tab_size: int = 8,
637
- record: bool = False,
638
- markup: bool = True,
639
- emoji: bool = True,
640
- emoji_variant: Optional[EmojiVariant] = None,
641
- highlight: bool = True,
642
- log_time: bool = True,
643
- log_path: bool = True,
644
- log_time_format: Union[str, FormatTimeCallable] = "[%X]",
645
- highlighter: Optional["HighlighterType"] = ReprHighlighter(),
646
- legacy_windows: Optional[bool] = None,
647
- safe_box: bool = True,
648
- get_datetime: Optional[Callable[[], datetime]] = None,
649
- get_time: Optional[Callable[[], float]] = None,
650
- _environ: Optional[Mapping[str, str]] = None,
651
- ):
652
- # Copy of os.environ allows us to replace it for testing
653
- if _environ is not None:
654
- self._environ = _environ
655
-
656
- self.is_jupyter = _is_jupyter() if force_jupyter is None else force_jupyter
657
- if self.is_jupyter:
658
- width = width or 93
659
- height = height or 100
660
-
661
- self.soft_wrap = soft_wrap
662
- self._width = width
663
- self._height = height
664
- self.tab_size = tab_size
665
- self.record = record
666
- self._markup = markup
667
- self._emoji = emoji
668
- self._emoji_variant: Optional[EmojiVariant] = emoji_variant
669
- self._highlight = highlight
670
- self.legacy_windows: bool = (
671
- (detect_legacy_windows() and not self.is_jupyter)
672
- if legacy_windows is None
673
- else legacy_windows
674
- )
675
- if width is None:
676
- columns = self._environ.get("COLUMNS")
677
- if columns is not None and columns.isdigit():
678
- width = int(columns) - self.legacy_windows
679
- if height is None:
680
- lines = self._environ.get("LINES")
681
- if lines is not None and lines.isdigit():
682
- height = int(lines)
683
-
684
- self.soft_wrap = soft_wrap
685
- self._width = width
686
- self._height = height
687
-
688
- self._color_system: Optional[ColorSystem]
689
- self._force_terminal = force_terminal
690
- self._file = file
691
- self.quiet = quiet
692
- self.stderr = stderr
693
-
694
- if color_system is None:
695
- self._color_system = None
696
- elif color_system == "auto":
697
- self._color_system = self._detect_color_system()
698
- else:
699
- self._color_system = COLOR_SYSTEMS[color_system]
700
-
701
- self._lock = threading.RLock()
702
- self._log_render = LogRender(
703
- show_time=log_time,
704
- show_path=log_path,
705
- time_format=log_time_format,
706
- )
707
- self.highlighter: HighlighterType = highlighter or _null_highlighter
708
- self.safe_box = safe_box
709
- self.get_datetime = get_datetime or datetime.now
710
- self.get_time = get_time or monotonic
711
- self.style = style
712
- self.no_color = (
713
- no_color if no_color is not None else "NO_COLOR" in self._environ
714
- )
715
- self.is_interactive = (
716
- (self.is_terminal and not self.is_dumb_terminal)
717
- if force_interactive is None
718
- else force_interactive
719
- )
720
-
721
- self._record_buffer_lock = threading.RLock()
722
- self._thread_locals = ConsoleThreadLocals(
723
- theme_stack=ThemeStack(themes.DEFAULT if theme is None else theme)
724
- )
725
- self._record_buffer: List[Segment] = []
726
- self._render_hooks: List[RenderHook] = []
727
- self._live: Optional["Live"] = None
728
- self._is_alt_screen = False
729
-
730
- def __repr__(self) -> str:
731
- return f"<console width={self.width} {str(self._color_system)}>"
732
-
733
- @property
734
- def file(self) -> IO[str]:
735
- """Get the file object to write to."""
736
- file = self._file or (sys.stderr if self.stderr else sys.stdout)
737
- file = getattr(file, "rich_proxied_file", file)
738
- return file
739
-
740
- @file.setter
741
- def file(self, new_file: IO[str]) -> None:
742
- """Set a new file object."""
743
- self._file = new_file
744
-
745
- @property
746
- def _buffer(self) -> List[Segment]:
747
- """Get a thread local buffer."""
748
- return self._thread_locals.buffer
749
-
750
- @property
751
- def _buffer_index(self) -> int:
752
- """Get a thread local buffer."""
753
- return self._thread_locals.buffer_index
754
-
755
- @_buffer_index.setter
756
- def _buffer_index(self, value: int) -> None:
757
- self._thread_locals.buffer_index = value
758
-
759
- @property
760
- def _theme_stack(self) -> ThemeStack:
761
- """Get the thread local theme stack."""
762
- return self._thread_locals.theme_stack
763
-
764
- def _detect_color_system(self) -> Optional[ColorSystem]:
765
- """Detect color system from env vars."""
766
- if self.is_jupyter:
767
- return ColorSystem.TRUECOLOR
768
- if not self.is_terminal or self.is_dumb_terminal:
769
- return None
770
- if WINDOWS: # pragma: no cover
771
- if self.legacy_windows: # pragma: no cover
772
- return ColorSystem.WINDOWS
773
- windows_console_features = get_windows_console_features()
774
- return (
775
- ColorSystem.TRUECOLOR
776
- if windows_console_features.truecolor
777
- else ColorSystem.EIGHT_BIT
778
- )
779
- else:
780
- color_term = self._environ.get("COLORTERM", "").strip().lower()
781
- if color_term in ("truecolor", "24bit"):
782
- return ColorSystem.TRUECOLOR
783
- term = self._environ.get("TERM", "").strip().lower()
784
- _term_name, _hyphen, colors = term.rpartition("-")
785
- color_system = _TERM_COLORS.get(colors, ColorSystem.STANDARD)
786
- return color_system
787
-
788
- def _enter_buffer(self) -> None:
789
- """Enter in to a buffer context, and buffer all output."""
790
- self._buffer_index += 1
791
-
792
- def _exit_buffer(self) -> None:
793
- """Leave buffer context, and render content if required."""
794
- self._buffer_index -= 1
795
- self._check_buffer()
796
-
797
- def set_live(self, live: "Live") -> None:
798
- """Set Live instance. Used by Live context manager.
799
-
800
- Args:
801
- live (Live): Live instance using this Console.
802
-
803
- Raises:
804
- errors.LiveError: If this Console has a Live context currently active.
805
- """
806
- with self._lock:
807
- if self._live is not None:
808
- raise errors.LiveError("Only one live display may be active at once")
809
- self._live = live
810
-
811
- def clear_live(self) -> None:
812
- """Clear the Live instance."""
813
- with self._lock:
814
- self._live = None
815
-
816
- def push_render_hook(self, hook: RenderHook) -> None:
817
- """Add a new render hook to the stack.
818
-
819
- Args:
820
- hook (RenderHook): Render hook instance.
821
- """
822
- with self._lock:
823
- self._render_hooks.append(hook)
824
-
825
- def pop_render_hook(self) -> None:
826
- """Pop the last renderhook from the stack."""
827
- with self._lock:
828
- self._render_hooks.pop()
829
-
830
- def __enter__(self) -> "Console":
831
- """Own context manager to enter buffer context."""
832
- self._enter_buffer()
833
- return self
834
-
835
- def __exit__(self, exc_type: Any, exc_value: Any, traceback: Any) -> None:
836
- """Exit buffer context."""
837
- self._exit_buffer()
838
-
839
- def begin_capture(self) -> None:
840
- """Begin capturing console output. Call :meth:`end_capture` to exit capture mode and return output."""
841
- self._enter_buffer()
842
-
843
- def end_capture(self) -> str:
844
- """End capture mode and return captured string.
845
-
846
- Returns:
847
- str: Console output.
848
- """
849
- render_result = self._render_buffer(self._buffer)
850
- del self._buffer[:]
851
- self._exit_buffer()
852
- return render_result
853
-
854
- def push_theme(self, theme: Theme, *, inherit: bool = True) -> None:
855
- """Push a new theme on to the top of the stack, replacing the styles from the previous theme.
856
- Generally speaking, you should call :meth:`~rich.console.Console.use_theme` to get a context manager, rather
857
- than calling this method directly.
858
-
859
- Args:
860
- theme (Theme): A theme instance.
861
- inherit (bool, optional): Inherit existing styles. Defaults to True.
862
- """
863
- self._theme_stack.push_theme(theme, inherit=inherit)
864
-
865
- def pop_theme(self) -> None:
866
- """Remove theme from top of stack, restoring previous theme."""
867
- self._theme_stack.pop_theme()
868
-
869
- def use_theme(self, theme: Theme, *, inherit: bool = True) -> ThemeContext:
870
- """Use a different theme for the duration of the context manager.
871
-
872
- Args:
873
- theme (Theme): Theme instance to user.
874
- inherit (bool, optional): Inherit existing console styles. Defaults to True.
875
-
876
- Returns:
877
- ThemeContext: [description]
878
- """
879
- return ThemeContext(self, theme, inherit)
880
-
881
- @property
882
- def color_system(self) -> Optional[str]:
883
- """Get color system string.
884
-
885
- Returns:
886
- Optional[str]: "standard", "256" or "truecolor".
887
- """
888
-
889
- if self._color_system is not None:
890
- return _COLOR_SYSTEMS_NAMES[self._color_system]
891
- else:
892
- return None
893
-
894
- @property
895
- def encoding(self) -> str:
896
- """Get the encoding of the console file, e.g. ``"utf-8"``.
897
-
898
- Returns:
899
- str: A standard encoding string.
900
- """
901
- return (getattr(self.file, "encoding", "utf-8") or "utf-8").lower()
902
-
903
- @property
904
- def is_terminal(self) -> bool:
905
- """Check if the console is writing to a terminal.
906
-
907
- Returns:
908
- bool: True if the console writing to a device capable of
909
- understanding terminal codes, otherwise False.
910
- """
911
- if self._force_terminal is not None:
912
- return self._force_terminal
913
- isatty: Optional[Callable[[], bool]] = getattr(self.file, "isatty", None)
914
- try:
915
- return False if isatty is None else isatty()
916
- except ValueError:
917
- # in some situation (at the end of a pytest run for example) isatty() can raise
918
- # ValueError: I/O operation on closed file
919
- # return False because we aren't in a terminal anymore
920
- return False
921
-
922
- @property
923
- def is_dumb_terminal(self) -> bool:
924
- """Detect dumb terminal.
925
-
926
- Returns:
927
- bool: True if writing to a dumb terminal, otherwise False.
928
-
929
- """
930
- _term = self._environ.get("TERM", "")
931
- is_dumb = _term.lower() in ("dumb", "unknown")
932
- return self.is_terminal and is_dumb
933
-
934
- @property
935
- def options(self) -> ConsoleOptions:
936
- """Get default console options."""
937
- return ConsoleOptions(
938
- max_height=self.size.height,
939
- size=self.size,
940
- legacy_windows=self.legacy_windows,
941
- min_width=1,
942
- max_width=self.width,
943
- encoding=self.encoding,
944
- is_terminal=self.is_terminal,
945
- )
946
-
947
- @property
948
- def size(self) -> ConsoleDimensions:
949
- """Get the size of the console.
950
-
951
- Returns:
952
- ConsoleDimensions: A named tuple containing the dimensions.
953
- """
954
-
955
- if self._width is not None and self._height is not None:
956
- return ConsoleDimensions(self._width - self.legacy_windows, self._height)
957
-
958
- if self.is_dumb_terminal:
959
- return ConsoleDimensions(80, 25)
960
-
961
- width: Optional[int] = None
962
- height: Optional[int] = None
963
-
964
- if WINDOWS: # pragma: no cover
965
- try:
966
- width, height = os.get_terminal_size()
967
- except OSError: # Probably not a terminal
968
- pass
969
- else:
970
- try:
971
- width, height = os.get_terminal_size(sys.__stdin__.fileno())
972
- except (AttributeError, ValueError, OSError):
973
- try:
974
- width, height = os.get_terminal_size(sys.__stdout__.fileno())
975
- except (AttributeError, ValueError, OSError):
976
- pass
977
-
978
- columns = self._environ.get("COLUMNS")
979
- if columns is not None and columns.isdigit():
980
- width = int(columns)
981
- lines = self._environ.get("LINES")
982
- if lines is not None and lines.isdigit():
983
- height = int(lines)
984
-
985
- # get_terminal_size can report 0, 0 if run from pseudo-terminal
986
- width = width or 80
987
- height = height or 25
988
- return ConsoleDimensions(
989
- width - self.legacy_windows if self._width is None else self._width,
990
- height if self._height is None else self._height,
991
- )
992
-
993
- @size.setter
994
- def size(self, new_size: Tuple[int, int]) -> None:
995
- """Set a new size for the terminal.
996
-
997
- Args:
998
- new_size (Tuple[int, int]): New width and height.
999
- """
1000
- width, height = new_size
1001
- self._width = width
1002
- self._height = height
1003
-
1004
- @property
1005
- def width(self) -> int:
1006
- """Get the width of the console.
1007
-
1008
- Returns:
1009
- int: The width (in characters) of the console.
1010
- """
1011
- return self.size.width
1012
-
1013
- @width.setter
1014
- def width(self, width: int) -> None:
1015
- """Set width.
1016
-
1017
- Args:
1018
- width (int): New width.
1019
- """
1020
- self._width = width
1021
-
1022
- @property
1023
- def height(self) -> int:
1024
- """Get the height of the console.
1025
-
1026
- Returns:
1027
- int: The height (in lines) of the console.
1028
- """
1029
- return self.size.height
1030
-
1031
- @height.setter
1032
- def height(self, height: int) -> None:
1033
- """Set height.
1034
-
1035
- Args:
1036
- height (int): new height.
1037
- """
1038
- self._height = height
1039
-
1040
- def bell(self) -> None:
1041
- """Play a 'bell' sound (if supported by the terminal)."""
1042
- self.control(Control.bell())
1043
-
1044
- def capture(self) -> Capture:
1045
- """A context manager to *capture* the result of print() or log() in a string,
1046
- rather than writing it to the console.
1047
-
1048
- Example:
1049
- >>> from rich.console import Console
1050
- >>> console = Console()
1051
- >>> with console.capture() as capture:
1052
- ... console.print("[bold magenta]Hello World[/]")
1053
- >>> print(capture.get())
1054
-
1055
- Returns:
1056
- Capture: Context manager with disables writing to the terminal.
1057
- """
1058
- capture = Capture(self)
1059
- return capture
1060
-
1061
- def pager(
1062
- self, pager: Optional[Pager] = None, styles: bool = False, links: bool = False
1063
- ) -> PagerContext:
1064
- """A context manager to display anything printed within a "pager". The pager application
1065
- is defined by the system and will typically support at least pressing a key to scroll.
1066
-
1067
- Args:
1068
- pager (Pager, optional): A pager object, or None to use :class:`~rich.pager.SystemPager`. Defaults to None.
1069
- styles (bool, optional): Show styles in pager. Defaults to False.
1070
- links (bool, optional): Show links in pager. Defaults to False.
1071
-
1072
- Example:
1073
- >>> from rich.console import Console
1074
- >>> from rich.__main__ import make_test_card
1075
- >>> console = Console()
1076
- >>> with console.pager():
1077
- console.print(make_test_card())
1078
-
1079
- Returns:
1080
- PagerContext: A context manager.
1081
- """
1082
- return PagerContext(self, pager=pager, styles=styles, links=links)
1083
-
1084
- def line(self, count: int = 1) -> None:
1085
- """Write new line(s).
1086
-
1087
- Args:
1088
- count (int, optional): Number of new lines. Defaults to 1.
1089
- """
1090
-
1091
- assert count >= 0, "count must be >= 0"
1092
- self.print(NewLine(count))
1093
-
1094
- def clear(self, home: bool = True) -> None:
1095
- """Clear the screen.
1096
-
1097
- Args:
1098
- home (bool, optional): Also move the cursor to 'home' position. Defaults to True.
1099
- """
1100
- if home:
1101
- self.control(Control.clear(), Control.home())
1102
- else:
1103
- self.control(Control.clear())
1104
-
1105
- def status(
1106
- self,
1107
- status: RenderableType,
1108
- *,
1109
- spinner: str = "dots",
1110
- spinner_style: str = "status.spinner",
1111
- speed: float = 1.0,
1112
- refresh_per_second: float = 12.5,
1113
- ) -> "Status":
1114
- """Display a status and spinner.
1115
-
1116
- Args:
1117
- status (RenderableType): A status renderable (str or Text typically).
1118
- spinner (str, optional): Name of spinner animation (see python -m rich.spinner). Defaults to "dots".
1119
- spinner_style (StyleType, optional): Style of spinner. Defaults to "status.spinner".
1120
- speed (float, optional): Speed factor for spinner animation. Defaults to 1.0.
1121
- refresh_per_second (float, optional): Number of refreshes per second. Defaults to 12.5.
1122
-
1123
- Returns:
1124
- Status: A Status object that may be used as a context manager.
1125
- """
1126
- from .status import Status
1127
-
1128
- status_renderable = Status(
1129
- status,
1130
- console=self,
1131
- spinner=spinner,
1132
- spinner_style=spinner_style,
1133
- speed=speed,
1134
- refresh_per_second=refresh_per_second,
1135
- )
1136
- return status_renderable
1137
-
1138
- def show_cursor(self, show: bool = True) -> bool:
1139
- """Show or hide the cursor.
1140
-
1141
- Args:
1142
- show (bool, optional): Set visibility of the cursor.
1143
- """
1144
- if self.is_terminal and not self.legacy_windows:
1145
- self.control(Control.show_cursor(show))
1146
- return True
1147
- return False
1148
-
1149
- def set_alt_screen(self, enable: bool = True) -> bool:
1150
- """Enables alternative screen mode.
1151
-
1152
- Note, if you enable this mode, you should ensure that is disabled before
1153
- the application exits. See :meth:`~rich.Console.screen` for a context manager
1154
- that handles this for you.
1155
-
1156
- Args:
1157
- enable (bool, optional): Enable (True) or disable (False) alternate screen. Defaults to True.
1158
-
1159
- Returns:
1160
- bool: True if the control codes were written.
1161
-
1162
- """
1163
- changed = False
1164
- if self.is_terminal and not self.legacy_windows:
1165
- self.control(Control.alt_screen(enable))
1166
- changed = True
1167
- self._is_alt_screen = enable
1168
- return changed
1169
-
1170
- @property
1171
- def is_alt_screen(self) -> bool:
1172
- """Check if the alt screen was enabled.
1173
-
1174
- Returns:
1175
- bool: True if the alt screen was enabled, otherwise False.
1176
- """
1177
- return self._is_alt_screen
1178
-
1179
- def screen(
1180
- self, hide_cursor: bool = True, style: Optional[StyleType] = None
1181
- ) -> "ScreenContext":
1182
- """Context manager to enable and disable 'alternative screen' mode.
1183
-
1184
- Args:
1185
- hide_cursor (bool, optional): Also hide the cursor. Defaults to False.
1186
- style (Style, optional): Optional style for screen. Defaults to None.
1187
-
1188
- Returns:
1189
- ~ScreenContext: Context which enables alternate screen on enter, and disables it on exit.
1190
- """
1191
- return ScreenContext(self, hide_cursor=hide_cursor, style=style or "")
1192
-
1193
- def measure(
1194
- self, renderable: RenderableType, *, options: Optional[ConsoleOptions] = None
1195
- ) -> Measurement:
1196
- """Measure a renderable. Returns a :class:`~rich.measure.Measurement` object which contains
1197
- information regarding the number of characters required to print the renderable.
1198
-
1199
- Args:
1200
- renderable (RenderableType): Any renderable or string.
1201
- options (Optional[ConsoleOptions], optional): Options to use when measuring, or None
1202
- to use default options. Defaults to None.
1203
-
1204
- Returns:
1205
- Measurement: A measurement of the renderable.
1206
- """
1207
- measurement = Measurement.get(self, options or self.options, renderable)
1208
- return measurement
1209
-
1210
- def render(
1211
- self, renderable: RenderableType, options: Optional[ConsoleOptions] = None
1212
- ) -> Iterable[Segment]:
1213
- """Render an object in to an iterable of `Segment` instances.
1214
-
1215
- This method contains the logic for rendering objects with the console protocol.
1216
- You are unlikely to need to use it directly, unless you are extending the library.
1217
-
1218
- Args:
1219
- renderable (RenderableType): An object supporting the console protocol, or
1220
- an object that may be converted to a string.
1221
- options (ConsoleOptions, optional): An options object, or None to use self.options. Defaults to None.
1222
-
1223
- Returns:
1224
- Iterable[Segment]: An iterable of segments that may be rendered.
1225
- """
1226
-
1227
- _options = options or self.options
1228
- if _options.max_width < 1:
1229
- # No space to render anything. This prevents potential recursion errors.
1230
- return
1231
- render_iterable: RenderResult
1232
-
1233
- renderable = rich_cast(renderable)
1234
- if hasattr(renderable, "__rich_console__") and not isclass(renderable):
1235
- render_iterable = renderable.__rich_console__(self, _options) # type: ignore
1236
- elif isinstance(renderable, str):
1237
- text_renderable = self.render_str(
1238
- renderable, highlight=_options.highlight, markup=_options.markup
1239
- )
1240
- render_iterable = text_renderable.__rich_console__(self, _options)
1241
- else:
1242
- raise errors.NotRenderableError(
1243
- f"Unable to render {renderable!r}; "
1244
- "A str, Segment or object with __rich_console__ method is required"
1245
- )
1246
-
1247
- try:
1248
- iter_render = iter(render_iterable)
1249
- except TypeError:
1250
- raise errors.NotRenderableError(
1251
- f"object {render_iterable!r} is not renderable"
1252
- )
1253
- _Segment = Segment
1254
- for render_output in iter_render:
1255
- if isinstance(render_output, _Segment):
1256
- yield render_output
1257
- else:
1258
- yield from self.render(render_output, _options)
1259
-
1260
- def render_lines(
1261
- self,
1262
- renderable: RenderableType,
1263
- options: Optional[ConsoleOptions] = None,
1264
- *,
1265
- style: Optional[Style] = None,
1266
- pad: bool = True,
1267
- new_lines: bool = False,
1268
- ) -> List[List[Segment]]:
1269
- """Render objects in to a list of lines.
1270
-
1271
- The output of render_lines is useful when further formatting of rendered console text
1272
- is required, such as the Panel class which draws a border around any renderable object.
1273
-
1274
- Args:
1275
- renderable (RenderableType): Any object renderable in the console.
1276
- options (Optional[ConsoleOptions], optional): Console options, or None to use self.options. Default to ``None``.
1277
- style (Style, optional): Optional style to apply to renderables. Defaults to ``None``.
1278
- pad (bool, optional): Pad lines shorter than render width. Defaults to ``True``.
1279
- new_lines (bool, optional): Include "\n" characters at end of lines.
1280
-
1281
- Returns:
1282
- List[List[Segment]]: A list of lines, where a line is a list of Segment objects.
1283
- """
1284
- with self._lock:
1285
- render_options = options or self.options
1286
- _rendered = self.render(renderable, render_options)
1287
- if style:
1288
- _rendered = Segment.apply_style(_rendered, style)
1289
- lines = list(
1290
- islice(
1291
- Segment.split_and_crop_lines(
1292
- _rendered,
1293
- render_options.max_width,
1294
- include_new_lines=new_lines,
1295
- pad=pad,
1296
- ),
1297
- None,
1298
- render_options.height,
1299
- )
1300
- )
1301
- if render_options.height is not None:
1302
- extra_lines = render_options.height - len(lines)
1303
- if extra_lines > 0:
1304
- pad_line = [
1305
- [Segment(" " * render_options.max_width, style), Segment("\n")]
1306
- if new_lines
1307
- else [Segment(" " * render_options.max_width, style)]
1308
- ]
1309
- lines.extend(pad_line * extra_lines)
1310
-
1311
- return lines
1312
-
1313
- def render_str(
1314
- self,
1315
- text: str,
1316
- *,
1317
- style: Union[str, Style] = "",
1318
- justify: Optional[JustifyMethod] = None,
1319
- overflow: Optional[OverflowMethod] = None,
1320
- emoji: Optional[bool] = None,
1321
- markup: Optional[bool] = None,
1322
- highlight: Optional[bool] = None,
1323
- highlighter: Optional[HighlighterType] = None,
1324
- ) -> "Text":
1325
- """Convert a string to a Text instance. This is is called automatically if
1326
- you print or log a string.
1327
-
1328
- Args:
1329
- text (str): Text to render.
1330
- style (Union[str, Style], optional): Style to apply to rendered text.
1331
- justify (str, optional): Justify method: "default", "left", "center", "full", or "right". Defaults to ``None``.
1332
- overflow (str, optional): Overflow method: "crop", "fold", or "ellipsis". Defaults to ``None``.
1333
- emoji (Optional[bool], optional): Enable emoji, or ``None`` to use Console default.
1334
- markup (Optional[bool], optional): Enable markup, or ``None`` to use Console default.
1335
- highlight (Optional[bool], optional): Enable highlighting, or ``None`` to use Console default.
1336
- highlighter (HighlighterType, optional): Optional highlighter to apply.
1337
- Returns:
1338
- ConsoleRenderable: Renderable object.
1339
-
1340
- """
1341
- emoji_enabled = emoji or (emoji is None and self._emoji)
1342
- markup_enabled = markup or (markup is None and self._markup)
1343
- highlight_enabled = highlight or (highlight is None and self._highlight)
1344
-
1345
- if markup_enabled:
1346
- rich_text = render_markup(
1347
- text,
1348
- style=style,
1349
- emoji=emoji_enabled,
1350
- emoji_variant=self._emoji_variant,
1351
- )
1352
- rich_text.justify = justify
1353
- rich_text.overflow = overflow
1354
- else:
1355
- rich_text = Text(
1356
- _emoji_replace(text, default_variant=self._emoji_variant)
1357
- if emoji_enabled
1358
- else text,
1359
- justify=justify,
1360
- overflow=overflow,
1361
- style=style,
1362
- )
1363
-
1364
- _highlighter = (highlighter or self.highlighter) if highlight_enabled else None
1365
- if _highlighter is not None:
1366
- highlight_text = _highlighter(str(rich_text))
1367
- highlight_text.copy_styles(rich_text)
1368
- return highlight_text
1369
-
1370
- return rich_text
1371
-
1372
- def get_style(
1373
- self, name: Union[str, Style], *, default: Optional[Union[Style, str]] = None
1374
- ) -> Style:
1375
- """Get a Style instance by it's theme name or parse a definition.
1376
-
1377
- Args:
1378
- name (str): The name of a style or a style definition.
1379
-
1380
- Returns:
1381
- Style: A Style object.
1382
-
1383
- Raises:
1384
- MissingStyle: If no style could be parsed from name.
1385
-
1386
- """
1387
- if isinstance(name, Style):
1388
- return name
1389
-
1390
- try:
1391
- style = self._theme_stack.get(name)
1392
- if style is None:
1393
- style = Style.parse(name)
1394
- return style.copy() if style.link else style
1395
- except errors.StyleSyntaxError as error:
1396
- if default is not None:
1397
- return self.get_style(default)
1398
- raise errors.MissingStyle(
1399
- f"Failed to get style {name!r}; {error}"
1400
- ) from None
1401
-
1402
- def _collect_renderables(
1403
- self,
1404
- objects: Iterable[Any],
1405
- sep: str,
1406
- end: str,
1407
- *,
1408
- justify: Optional[JustifyMethod] = None,
1409
- emoji: Optional[bool] = None,
1410
- markup: Optional[bool] = None,
1411
- highlight: Optional[bool] = None,
1412
- ) -> List[ConsoleRenderable]:
1413
- """Combine a number of renderables and text into one renderable.
1414
-
1415
- Args:
1416
- objects (Iterable[Any]): Anything that Rich can render.
1417
- sep (str): String to write between print data.
1418
- end (str): String to write at end of print data.
1419
- justify (str, optional): One of "left", "right", "center", or "full". Defaults to ``None``.
1420
- emoji (Optional[bool], optional): Enable emoji code, or ``None`` to use console default.
1421
- markup (Optional[bool], optional): Enable markup, or ``None`` to use console default.
1422
- highlight (Optional[bool], optional): Enable automatic highlighting, or ``None`` to use console default.
1423
-
1424
- Returns:
1425
- List[ConsoleRenderable]: A list of things to render.
1426
- """
1427
- renderables: List[ConsoleRenderable] = []
1428
- _append = renderables.append
1429
- text: List[Text] = []
1430
- append_text = text.append
1431
-
1432
- append = _append
1433
- if justify in ("left", "center", "right"):
1434
-
1435
- def align_append(renderable: RenderableType) -> None:
1436
- _append(Align(renderable, cast(AlignMethod, justify)))
1437
-
1438
- append = align_append
1439
-
1440
- _highlighter: HighlighterType = _null_highlighter
1441
- if highlight or (highlight is None and self._highlight):
1442
- _highlighter = self.highlighter
1443
-
1444
- def check_text() -> None:
1445
- if text:
1446
- sep_text = Text(sep, justify=justify, end=end)
1447
- append(sep_text.join(text))
1448
- del text[:]
1449
-
1450
- for renderable in objects:
1451
- renderable = rich_cast(renderable)
1452
- if isinstance(renderable, str):
1453
- append_text(
1454
- self.render_str(
1455
- renderable, emoji=emoji, markup=markup, highlighter=_highlighter
1456
- )
1457
- )
1458
- elif isinstance(renderable, Text):
1459
- append_text(renderable)
1460
- elif isinstance(renderable, ConsoleRenderable):
1461
- check_text()
1462
- append(renderable)
1463
- elif is_expandable(renderable):
1464
- check_text()
1465
- append(Pretty(renderable, highlighter=_highlighter))
1466
- else:
1467
- append_text(_highlighter(str(renderable)))
1468
-
1469
- check_text()
1470
-
1471
- if self.style is not None:
1472
- style = self.get_style(self.style)
1473
- renderables = [Styled(renderable, style) for renderable in renderables]
1474
-
1475
- return renderables
1476
-
1477
- def rule(
1478
- self,
1479
- title: TextType = "",
1480
- *,
1481
- characters: str = "─",
1482
- style: Union[str, Style] = "rule.line",
1483
- align: AlignMethod = "center",
1484
- ) -> None:
1485
- """Draw a line with optional centered title.
1486
-
1487
- Args:
1488
- title (str, optional): Text to render over the rule. Defaults to "".
1489
- characters (str, optional): Character(s) to form the line. Defaults to "─".
1490
- style (str, optional): Style of line. Defaults to "rule.line".
1491
- align (str, optional): How to align the title, one of "left", "center", or "right". Defaults to "center".
1492
- """
1493
- from .rule import Rule
1494
-
1495
- rule = Rule(title=title, characters=characters, style=style, align=align)
1496
- self.print(rule)
1497
-
1498
- def control(self, *control: Control) -> None:
1499
- """Insert non-printing control codes.
1500
-
1501
- Args:
1502
- control_codes (str): Control codes, such as those that may move the cursor.
1503
- """
1504
- if not self.is_dumb_terminal:
1505
- with self:
1506
- self._buffer.extend(_control.segment for _control in control)
1507
-
1508
- def out(
1509
- self,
1510
- *objects: Any,
1511
- sep: str = " ",
1512
- end: str = "\n",
1513
- style: Optional[Union[str, Style]] = None,
1514
- highlight: Optional[bool] = None,
1515
- ) -> None:
1516
- """Output to the terminal. This is a low-level way of writing to the terminal which unlike
1517
- :meth:`~rich.console.Console.print` won't pretty print, wrap text, or apply markup, but will
1518
- optionally apply highlighting and a basic style.
1519
-
1520
- Args:
1521
- sep (str, optional): String to write between print data. Defaults to " ".
1522
- end (str, optional): String to write at end of print data. Defaults to "\\\\n".
1523
- style (Union[str, Style], optional): A style to apply to output. Defaults to None.
1524
- highlight (Optional[bool], optional): Enable automatic highlighting, or ``None`` to use
1525
- console default. Defaults to ``None``.
1526
- """
1527
- raw_output: str = sep.join(str(_object) for _object in objects)
1528
- self.print(
1529
- raw_output,
1530
- style=style,
1531
- highlight=highlight,
1532
- emoji=False,
1533
- markup=False,
1534
- no_wrap=True,
1535
- overflow="ignore",
1536
- crop=False,
1537
- end=end,
1538
- )
1539
-
1540
- def print(
1541
- self,
1542
- *objects: Any,
1543
- sep: str = " ",
1544
- end: str = "\n",
1545
- style: Optional[Union[str, Style]] = None,
1546
- justify: Optional[JustifyMethod] = None,
1547
- overflow: Optional[OverflowMethod] = None,
1548
- no_wrap: Optional[bool] = None,
1549
- emoji: Optional[bool] = None,
1550
- markup: Optional[bool] = None,
1551
- highlight: Optional[bool] = None,
1552
- width: Optional[int] = None,
1553
- height: Optional[int] = None,
1554
- crop: bool = True,
1555
- soft_wrap: Optional[bool] = None,
1556
- new_line_start: bool = False,
1557
- ) -> None:
1558
- """Print to the console.
1559
-
1560
- Args:
1561
- objects (positional args): Objects to log to the terminal.
1562
- sep (str, optional): String to write between print data. Defaults to " ".
1563
- end (str, optional): String to write at end of print data. Defaults to "\\\\n".
1564
- style (Union[str, Style], optional): A style to apply to output. Defaults to None.
1565
- justify (str, optional): Justify method: "default", "left", "right", "center", or "full". Defaults to ``None``.
1566
- overflow (str, optional): Overflow method: "ignore", "crop", "fold", or "ellipsis". Defaults to None.
1567
- no_wrap (Optional[bool], optional): Disable word wrapping. Defaults to None.
1568
- emoji (Optional[bool], optional): Enable emoji code, or ``None`` to use console default. Defaults to ``None``.
1569
- markup (Optional[bool], optional): Enable markup, or ``None`` to use console default. Defaults to ``None``.
1570
- highlight (Optional[bool], optional): Enable automatic highlighting, or ``None`` to use console default. Defaults to ``None``.
1571
- width (Optional[int], optional): Width of output, or ``None`` to auto-detect. Defaults to ``None``.
1572
- crop (Optional[bool], optional): Crop output to width of terminal. Defaults to True.
1573
- soft_wrap (bool, optional): Enable soft wrap mode which disables word wrapping and cropping of text or ``None`` for
1574
- Console default. Defaults to ``None``.
1575
- new_line_start (bool, False): Insert a new line at the start if the output contains more than one line. Defaults to ``False``.
1576
- """
1577
- if not objects:
1578
- objects = (NewLine(),)
1579
-
1580
- if soft_wrap is None:
1581
- soft_wrap = self.soft_wrap
1582
- if soft_wrap:
1583
- if no_wrap is None:
1584
- no_wrap = True
1585
- if overflow is None:
1586
- overflow = "ignore"
1587
- crop = False
1588
- render_hooks = self._render_hooks[:]
1589
- with self:
1590
- renderables = self._collect_renderables(
1591
- objects,
1592
- sep,
1593
- end,
1594
- justify=justify,
1595
- emoji=emoji,
1596
- markup=markup,
1597
- highlight=highlight,
1598
- )
1599
- for hook in render_hooks:
1600
- renderables = hook.process_renderables(renderables)
1601
- render_options = self.options.update(
1602
- justify=justify,
1603
- overflow=overflow,
1604
- width=min(width, self.width) if width is not None else NO_CHANGE,
1605
- height=height,
1606
- no_wrap=no_wrap,
1607
- markup=markup,
1608
- highlight=highlight,
1609
- )
1610
-
1611
- new_segments: List[Segment] = []
1612
- extend = new_segments.extend
1613
- render = self.render
1614
- if style is None:
1615
- for renderable in renderables:
1616
- extend(render(renderable, render_options))
1617
- else:
1618
- for renderable in renderables:
1619
- extend(
1620
- Segment.apply_style(
1621
- render(renderable, render_options), self.get_style(style)
1622
- )
1623
- )
1624
- if new_line_start:
1625
- if (
1626
- len("".join(segment.text for segment in new_segments).splitlines())
1627
- > 1
1628
- ):
1629
- new_segments.insert(0, Segment.line())
1630
- if crop:
1631
- buffer_extend = self._buffer.extend
1632
- for line in Segment.split_and_crop_lines(
1633
- new_segments, self.width, pad=False
1634
- ):
1635
- buffer_extend(line)
1636
- else:
1637
- self._buffer.extend(new_segments)
1638
-
1639
- def print_json(
1640
- self,
1641
- json: Optional[str] = None,
1642
- *,
1643
- data: Any = None,
1644
- indent: Union[None, int, str] = 2,
1645
- highlight: bool = True,
1646
- skip_keys: bool = False,
1647
- ensure_ascii: bool = True,
1648
- check_circular: bool = True,
1649
- allow_nan: bool = True,
1650
- default: Optional[Callable[[Any], Any]] = None,
1651
- sort_keys: bool = False,
1652
- ) -> None:
1653
- """Pretty prints JSON. Output will be valid JSON.
1654
-
1655
- Args:
1656
- json (Optional[str]): A string containing JSON.
1657
- data (Any): If json is not supplied, then encode this data.
1658
- indent (Union[None, int, str], optional): Number of spaces to indent. Defaults to 2.
1659
- highlight (bool, optional): Enable highlighting of output: Defaults to True.
1660
- skip_keys (bool, optional): Skip keys not of a basic type. Defaults to False.
1661
- ensure_ascii (bool, optional): Escape all non-ascii characters. Defaults to False.
1662
- check_circular (bool, optional): Check for circular references. Defaults to True.
1663
- allow_nan (bool, optional): Allow NaN and Infinity values. Defaults to True.
1664
- default (Callable, optional): A callable that converts values that can not be encoded
1665
- in to something that can be JSON encoded. Defaults to None.
1666
- sort_keys (bool, optional): Sort dictionary keys. Defaults to False.
1667
- """
1668
- from pip._vendor.rich.json import JSON
1669
-
1670
- if json is None:
1671
- json_renderable = JSON.from_data(
1672
- data,
1673
- indent=indent,
1674
- highlight=highlight,
1675
- skip_keys=skip_keys,
1676
- ensure_ascii=ensure_ascii,
1677
- check_circular=check_circular,
1678
- allow_nan=allow_nan,
1679
- default=default,
1680
- sort_keys=sort_keys,
1681
- )
1682
- else:
1683
- if not isinstance(json, str):
1684
- raise TypeError(
1685
- f"json must be str. Did you mean print_json(data={json!r}) ?"
1686
- )
1687
- json_renderable = JSON(
1688
- json,
1689
- indent=indent,
1690
- highlight=highlight,
1691
- skip_keys=skip_keys,
1692
- ensure_ascii=ensure_ascii,
1693
- check_circular=check_circular,
1694
- allow_nan=allow_nan,
1695
- default=default,
1696
- sort_keys=sort_keys,
1697
- )
1698
- self.print(json_renderable, soft_wrap=True)
1699
-
1700
- def update_screen(
1701
- self,
1702
- renderable: RenderableType,
1703
- *,
1704
- region: Optional[Region] = None,
1705
- options: Optional[ConsoleOptions] = None,
1706
- ) -> None:
1707
- """Update the screen at a given offset.
1708
-
1709
- Args:
1710
- renderable (RenderableType): A Rich renderable.
1711
- region (Region, optional): Region of screen to update, or None for entire screen. Defaults to None.
1712
- x (int, optional): x offset. Defaults to 0.
1713
- y (int, optional): y offset. Defaults to 0.
1714
-
1715
- Raises:
1716
- errors.NoAltScreen: If the Console isn't in alt screen mode.
1717
-
1718
- """
1719
- if not self.is_alt_screen:
1720
- raise errors.NoAltScreen("Alt screen must be enabled to call update_screen")
1721
- render_options = options or self.options
1722
- if region is None:
1723
- x = y = 0
1724
- render_options = render_options.update_dimensions(
1725
- render_options.max_width, render_options.height or self.height
1726
- )
1727
- else:
1728
- x, y, width, height = region
1729
- render_options = render_options.update_dimensions(width, height)
1730
-
1731
- lines = self.render_lines(renderable, options=render_options)
1732
- self.update_screen_lines(lines, x, y)
1733
-
1734
- def update_screen_lines(
1735
- self, lines: List[List[Segment]], x: int = 0, y: int = 0
1736
- ) -> None:
1737
- """Update lines of the screen at a given offset.
1738
-
1739
- Args:
1740
- lines (List[List[Segment]]): Rendered lines (as produced by :meth:`~rich.Console.render_lines`).
1741
- x (int, optional): x offset (column no). Defaults to 0.
1742
- y (int, optional): y offset (column no). Defaults to 0.
1743
-
1744
- Raises:
1745
- errors.NoAltScreen: If the Console isn't in alt screen mode.
1746
- """
1747
- if not self.is_alt_screen:
1748
- raise errors.NoAltScreen("Alt screen must be enabled to call update_screen")
1749
- screen_update = ScreenUpdate(lines, x, y)
1750
- segments = self.render(screen_update)
1751
- self._buffer.extend(segments)
1752
- self._check_buffer()
1753
-
1754
- def print_exception(
1755
- self,
1756
- *,
1757
- width: Optional[int] = 100,
1758
- extra_lines: int = 3,
1759
- theme: Optional[str] = None,
1760
- word_wrap: bool = False,
1761
- show_locals: bool = False,
1762
- suppress: Iterable[Union[str, ModuleType]] = (),
1763
- max_frames: int = 100,
1764
- ) -> None:
1765
- """Prints a rich render of the last exception and traceback.
1766
-
1767
- Args:
1768
- width (Optional[int], optional): Number of characters used to render code. Defaults to 88.
1769
- extra_lines (int, optional): Additional lines of code to render. Defaults to 3.
1770
- theme (str, optional): Override pygments theme used in traceback
1771
- word_wrap (bool, optional): Enable word wrapping of long lines. Defaults to False.
1772
- show_locals (bool, optional): Enable display of local variables. Defaults to False.
1773
- suppress (Iterable[Union[str, ModuleType]]): Optional sequence of modules or paths to exclude from traceback.
1774
- max_frames (int): Maximum number of frames to show in a traceback, 0 for no maximum. Defaults to 100.
1775
- """
1776
- from .traceback import Traceback
1777
-
1778
- traceback = Traceback(
1779
- width=width,
1780
- extra_lines=extra_lines,
1781
- theme=theme,
1782
- word_wrap=word_wrap,
1783
- show_locals=show_locals,
1784
- suppress=suppress,
1785
- max_frames=max_frames,
1786
- )
1787
- self.print(traceback)
1788
-
1789
- @staticmethod
1790
- def _caller_frame_info(
1791
- offset: int,
1792
- currentframe: Callable[[], Optional[FrameType]] = inspect.currentframe,
1793
- ) -> Tuple[str, int, Dict[str, Any]]:
1794
- """Get caller frame information.
1795
-
1796
- Args:
1797
- offset (int): the caller offset within the current frame stack.
1798
- currentframe (Callable[[], Optional[FrameType]], optional): the callable to use to
1799
- retrieve the current frame. Defaults to ``inspect.currentframe``.
1800
-
1801
- Returns:
1802
- Tuple[str, int, Dict[str, Any]]: A tuple containing the filename, the line number and
1803
- the dictionary of local variables associated with the caller frame.
1804
-
1805
- Raises:
1806
- RuntimeError: If the stack offset is invalid.
1807
- """
1808
- # Ignore the frame of this local helper
1809
- offset += 1
1810
-
1811
- frame = currentframe()
1812
- if frame is not None:
1813
- # Use the faster currentframe where implemented
1814
- while offset and frame:
1815
- frame = frame.f_back
1816
- offset -= 1
1817
- assert frame is not None
1818
- return frame.f_code.co_filename, frame.f_lineno, frame.f_locals
1819
- else:
1820
- # Fallback to the slower stack
1821
- frame_info = inspect.stack()[offset]
1822
- return frame_info.filename, frame_info.lineno, frame_info.frame.f_locals
1823
-
1824
- def log(
1825
- self,
1826
- *objects: Any,
1827
- sep: str = " ",
1828
- end: str = "\n",
1829
- style: Optional[Union[str, Style]] = None,
1830
- justify: Optional[JustifyMethod] = None,
1831
- emoji: Optional[bool] = None,
1832
- markup: Optional[bool] = None,
1833
- highlight: Optional[bool] = None,
1834
- log_locals: bool = False,
1835
- _stack_offset: int = 1,
1836
- ) -> None:
1837
- """Log rich content to the terminal.
1838
-
1839
- Args:
1840
- objects (positional args): Objects to log to the terminal.
1841
- sep (str, optional): String to write between print data. Defaults to " ".
1842
- end (str, optional): String to write at end of print data. Defaults to "\\\\n".
1843
- style (Union[str, Style], optional): A style to apply to output. Defaults to None.
1844
- justify (str, optional): One of "left", "right", "center", or "full". Defaults to ``None``.
1845
- overflow (str, optional): Overflow method: "crop", "fold", or "ellipsis". Defaults to None.
1846
- emoji (Optional[bool], optional): Enable emoji code, or ``None`` to use console default. Defaults to None.
1847
- markup (Optional[bool], optional): Enable markup, or ``None`` to use console default. Defaults to None.
1848
- highlight (Optional[bool], optional): Enable automatic highlighting, or ``None`` to use console default. Defaults to None.
1849
- log_locals (bool, optional): Boolean to enable logging of locals where ``log()``
1850
- was called. Defaults to False.
1851
- _stack_offset (int, optional): Offset of caller from end of call stack. Defaults to 1.
1852
- """
1853
- if not objects:
1854
- objects = (NewLine(),)
1855
-
1856
- render_hooks = self._render_hooks[:]
1857
-
1858
- with self:
1859
- renderables = self._collect_renderables(
1860
- objects,
1861
- sep,
1862
- end,
1863
- justify=justify,
1864
- emoji=emoji,
1865
- markup=markup,
1866
- highlight=highlight,
1867
- )
1868
- if style is not None:
1869
- renderables = [Styled(renderable, style) for renderable in renderables]
1870
-
1871
- filename, line_no, locals = self._caller_frame_info(_stack_offset)
1872
- link_path = None if filename.startswith("<") else os.path.abspath(filename)
1873
- path = filename.rpartition(os.sep)[-1]
1874
- if log_locals:
1875
- locals_map = {
1876
- key: value
1877
- for key, value in locals.items()
1878
- if not key.startswith("__")
1879
- }
1880
- renderables.append(render_scope(locals_map, title="[i]locals"))
1881
-
1882
- renderables = [
1883
- self._log_render(
1884
- self,
1885
- renderables,
1886
- log_time=self.get_datetime(),
1887
- path=path,
1888
- line_no=line_no,
1889
- link_path=link_path,
1890
- )
1891
- ]
1892
- for hook in render_hooks:
1893
- renderables = hook.process_renderables(renderables)
1894
- new_segments: List[Segment] = []
1895
- extend = new_segments.extend
1896
- render = self.render
1897
- render_options = self.options
1898
- for renderable in renderables:
1899
- extend(render(renderable, render_options))
1900
- buffer_extend = self._buffer.extend
1901
- for line in Segment.split_and_crop_lines(
1902
- new_segments, self.width, pad=False
1903
- ):
1904
- buffer_extend(line)
1905
-
1906
- def _check_buffer(self) -> None:
1907
- """Check if the buffer may be rendered."""
1908
- if self.quiet:
1909
- del self._buffer[:]
1910
- return
1911
- with self._lock:
1912
- if self._buffer_index == 0:
1913
- if self.is_jupyter: # pragma: no cover
1914
- from .jupyter import display
1915
-
1916
- display(self._buffer, self._render_buffer(self._buffer[:]))
1917
- del self._buffer[:]
1918
- else:
1919
- text = self._render_buffer(self._buffer[:])
1920
- del self._buffer[:]
1921
- if text:
1922
- try:
1923
- if WINDOWS: # pragma: no cover
1924
- # https://bugs.python.org/issue37871
1925
- write = self.file.write
1926
- for line in text.splitlines(True):
1927
- write(line)
1928
- else:
1929
- self.file.write(text)
1930
- self.file.flush()
1931
- except UnicodeEncodeError as error:
1932
- error.reason = f"{error.reason}\n*** You may need to add PYTHONIOENCODING=utf-8 to your environment ***"
1933
- raise
1934
-
1935
- def _render_buffer(self, buffer: Iterable[Segment]) -> str:
1936
- """Render buffered output, and clear buffer."""
1937
- output: List[str] = []
1938
- append = output.append
1939
- color_system = self._color_system
1940
- legacy_windows = self.legacy_windows
1941
- if self.record:
1942
- with self._record_buffer_lock:
1943
- self._record_buffer.extend(buffer)
1944
- not_terminal = not self.is_terminal
1945
- if self.no_color and color_system:
1946
- buffer = Segment.remove_color(buffer)
1947
- for text, style, control in buffer:
1948
- if style:
1949
- append(
1950
- style.render(
1951
- text,
1952
- color_system=color_system,
1953
- legacy_windows=legacy_windows,
1954
- )
1955
- )
1956
- elif not (not_terminal and control):
1957
- append(text)
1958
-
1959
- rendered = "".join(output)
1960
- return rendered
1961
-
1962
- def input(
1963
- self,
1964
- prompt: TextType = "",
1965
- *,
1966
- markup: bool = True,
1967
- emoji: bool = True,
1968
- password: bool = False,
1969
- stream: Optional[TextIO] = None,
1970
- ) -> str:
1971
- """Displays a prompt and waits for input from the user. The prompt may contain color / style.
1972
-
1973
- It works in the same way as Python's builtin :func:`input` function and provides elaborate line editing and history features if Python's builtin :mod:`readline` module is previously loaded.
1974
-
1975
- Args:
1976
- prompt (Union[str, Text]): Text to render in the prompt.
1977
- markup (bool, optional): Enable console markup (requires a str prompt). Defaults to True.
1978
- emoji (bool, optional): Enable emoji (requires a str prompt). Defaults to True.
1979
- password: (bool, optional): Hide typed text. Defaults to False.
1980
- stream: (TextIO, optional): Optional file to read input from (rather than stdin). Defaults to None.
1981
-
1982
- Returns:
1983
- str: Text read from stdin.
1984
- """
1985
- prompt_str = ""
1986
- if prompt:
1987
- with self.capture() as capture:
1988
- self.print(prompt, markup=markup, emoji=emoji, end="")
1989
- prompt_str = capture.get()
1990
- if self.legacy_windows:
1991
- # Legacy windows doesn't like ANSI codes in getpass or input (colorama bug)?
1992
- self.file.write(prompt_str)
1993
- prompt_str = ""
1994
- if password:
1995
- result = getpass(prompt_str, stream=stream)
1996
- else:
1997
- if stream:
1998
- self.file.write(prompt_str)
1999
- result = stream.readline()
2000
- else:
2001
- result = input(prompt_str)
2002
- return result
2003
-
2004
- def export_text(self, *, clear: bool = True, styles: bool = False) -> str:
2005
- """Generate text from console contents (requires record=True argument in constructor).
2006
-
2007
- Args:
2008
- clear (bool, optional): Clear record buffer after exporting. Defaults to ``True``.
2009
- styles (bool, optional): If ``True``, ansi escape codes will be included. ``False`` for plain text.
2010
- Defaults to ``False``.
2011
-
2012
- Returns:
2013
- str: String containing console contents.
2014
-
2015
- """
2016
- assert (
2017
- self.record
2018
- ), "To export console contents set record=True in the constructor or instance"
2019
-
2020
- with self._record_buffer_lock:
2021
- if styles:
2022
- text = "".join(
2023
- (style.render(text) if style else text)
2024
- for text, style, _ in self._record_buffer
2025
- )
2026
- else:
2027
- text = "".join(
2028
- segment.text
2029
- for segment in self._record_buffer
2030
- if not segment.control
2031
- )
2032
- if clear:
2033
- del self._record_buffer[:]
2034
- return text
2035
-
2036
- def save_text(self, path: str, *, clear: bool = True, styles: bool = False) -> None:
2037
- """Generate text from console and save to a given location (requires record=True argument in constructor).
2038
-
2039
- Args:
2040
- path (str): Path to write text files.
2041
- clear (bool, optional): Clear record buffer after exporting. Defaults to ``True``.
2042
- styles (bool, optional): If ``True``, ansi style codes will be included. ``False`` for plain text.
2043
- Defaults to ``False``.
2044
-
2045
- """
2046
- text = self.export_text(clear=clear, styles=styles)
2047
- with open(path, "wt", encoding="utf-8") as write_file:
2048
- write_file.write(text)
2049
-
2050
- def export_html(
2051
- self,
2052
- *,
2053
- theme: Optional[TerminalTheme] = None,
2054
- clear: bool = True,
2055
- code_format: Optional[str] = None,
2056
- inline_styles: bool = False,
2057
- ) -> str:
2058
- """Generate HTML from console contents (requires record=True argument in constructor).
2059
-
2060
- Args:
2061
- theme (TerminalTheme, optional): TerminalTheme object containing console colors.
2062
- clear (bool, optional): Clear record buffer after exporting. Defaults to ``True``.
2063
- code_format (str, optional): Format string to render HTML, should contain {foreground}
2064
- {background} and {code}.
2065
- inline_styles (bool, optional): If ``True`` styles will be inlined in to spans, which makes files
2066
- larger but easier to cut and paste markup. If ``False``, styles will be embedded in a style tag.
2067
- Defaults to False.
2068
-
2069
- Returns:
2070
- str: String containing console contents as HTML.
2071
- """
2072
- assert (
2073
- self.record
2074
- ), "To export console contents set record=True in the constructor or instance"
2075
- fragments: List[str] = []
2076
- append = fragments.append
2077
- _theme = theme or DEFAULT_TERMINAL_THEME
2078
- stylesheet = ""
2079
-
2080
- render_code_format = CONSOLE_HTML_FORMAT if code_format is None else code_format
2081
-
2082
- with self._record_buffer_lock:
2083
- if inline_styles:
2084
- for text, style, _ in Segment.filter_control(
2085
- Segment.simplify(self._record_buffer)
2086
- ):
2087
- text = escape(text)
2088
- if style:
2089
- rule = style.get_html_style(_theme)
2090
- if style.link:
2091
- text = f'<a href="{style.link}">{text}</a>'
2092
- text = f'<span style="{rule}">{text}</span>' if rule else text
2093
- append(text)
2094
- else:
2095
- styles: Dict[str, int] = {}
2096
- for text, style, _ in Segment.filter_control(
2097
- Segment.simplify(self._record_buffer)
2098
- ):
2099
- text = escape(text)
2100
- if style:
2101
- rule = style.get_html_style(_theme)
2102
- style_number = styles.setdefault(rule, len(styles) + 1)
2103
- if style.link:
2104
- text = f'<a class="r{style_number}" href="{style.link}">{text}</a>'
2105
- else:
2106
- text = f'<span class="r{style_number}">{text}</span>'
2107
- append(text)
2108
- stylesheet_rules: List[str] = []
2109
- stylesheet_append = stylesheet_rules.append
2110
- for style_rule, style_number in styles.items():
2111
- if style_rule:
2112
- stylesheet_append(f".r{style_number} {{{style_rule}}}")
2113
- stylesheet = "\n".join(stylesheet_rules)
2114
-
2115
- rendered_code = render_code_format.format(
2116
- code="".join(fragments),
2117
- stylesheet=stylesheet,
2118
- foreground=_theme.foreground_color.hex,
2119
- background=_theme.background_color.hex,
2120
- )
2121
- if clear:
2122
- del self._record_buffer[:]
2123
- return rendered_code
2124
-
2125
- def save_html(
2126
- self,
2127
- path: str,
2128
- *,
2129
- theme: Optional[TerminalTheme] = None,
2130
- clear: bool = True,
2131
- code_format: str = CONSOLE_HTML_FORMAT,
2132
- inline_styles: bool = False,
2133
- ) -> None:
2134
- """Generate HTML from console contents and write to a file (requires record=True argument in constructor).
2135
-
2136
- Args:
2137
- path (str): Path to write html file.
2138
- theme (TerminalTheme, optional): TerminalTheme object containing console colors.
2139
- clear (bool, optional): Clear record buffer after exporting. Defaults to ``True``.
2140
- code_format (str, optional): Format string to render HTML, should contain {foreground}
2141
- {background} and {code}.
2142
- inline_styles (bool, optional): If ``True`` styles will be inlined in to spans, which makes files
2143
- larger but easier to cut and paste markup. If ``False``, styles will be embedded in a style tag.
2144
- Defaults to False.
2145
-
2146
- """
2147
- html = self.export_html(
2148
- theme=theme,
2149
- clear=clear,
2150
- code_format=code_format,
2151
- inline_styles=inline_styles,
2152
- )
2153
- with open(path, "wt", encoding="utf-8") as write_file:
2154
- write_file.write(html)
2155
-
2156
-
2157
- if __name__ == "__main__": # pragma: no cover
2158
- console = Console()
2159
-
2160
- console.log(
2161
- "JSONRPC [i]request[/i]",
2162
- 5,
2163
- 1.3,
2164
- True,
2165
- False,
2166
- None,
2167
- {
2168
- "jsonrpc": "2.0",
2169
- "method": "subtract",
2170
- "params": {"minuend": 42, "subtrahend": 23},
2171
- "id": 3,
2172
- },
2173
- )
2174
-
2175
- console.log("Hello, World!", "{'a': 1}", repr(console))
2176
-
2177
- console.print(
2178
- {
2179
- "name": None,
2180
- "empty": [],
2181
- "quiz": {
2182
- "sport": {
2183
- "answered": True,
2184
- "q1": {
2185
- "question": "Which one is correct team name in NBA?",
2186
- "options": [
2187
- "New York Bulls",
2188
- "Los Angeles Kings",
2189
- "Golden State Warriors",
2190
- "Huston Rocket",
2191
- ],
2192
- "answer": "Huston Rocket",
2193
- },
2194
- },
2195
- "maths": {
2196
- "answered": False,
2197
- "q1": {
2198
- "question": "5 + 7 = ?",
2199
- "options": [10, 11, 12, 13],
2200
- "answer": 12,
2201
- },
2202
- "q2": {
2203
- "question": "12 - 8 = ?",
2204
- "options": [1, 2, 3, 4],
2205
- "answer": 4,
2206
- },
2207
- },
2208
- },
2209
- }
2210
- )
2211
- console.log("foo")