@scrypted/arlo 0.11.24 → 0.11.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1313) hide show
  1. package/README.md +2 -0
  2. package/dist/plugin.zip +0 -0
  3. package/package.json +9 -1
  4. package/venv/bin/Activate.ps1 +247 -0
  5. package/venv/bin/activate +69 -0
  6. package/venv/bin/activate.csh +26 -0
  7. package/venv/bin/activate.fish +69 -0
  8. package/venv/bin/normalizer +8 -0
  9. package/venv/bin/pip +8 -0
  10. package/venv/bin/pip3 +8 -0
  11. package/venv/bin/pip3.10 +8 -0
  12. package/venv/lib/python3.10/site-packages/_cffi_backend.cpython-310-x86_64-linux-gnu.so +0 -0
  13. package/venv/lib/python3.10/site-packages/_distutils_hack/__init__.py +132 -0
  14. package/venv/lib/python3.10/site-packages/_distutils_hack/override.py +1 -0
  15. package/venv/lib/python3.10/site-packages/aiohappyeyeballs/__init__.py +13 -0
  16. package/venv/lib/python3.10/site-packages/aiohappyeyeballs/_staggered.py +202 -0
  17. package/venv/lib/python3.10/site-packages/aiohappyeyeballs/impl.py +210 -0
  18. package/venv/lib/python3.10/site-packages/aiohappyeyeballs/py.typed +0 -0
  19. package/venv/lib/python3.10/site-packages/aiohappyeyeballs/types.py +12 -0
  20. package/venv/lib/python3.10/site-packages/aiohappyeyeballs/utils.py +97 -0
  21. package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/INSTALLER +1 -0
  22. package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/LICENSE +279 -0
  23. package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/METADATA +123 -0
  24. package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/RECORD +16 -0
  25. package/venv/lib/python3.10/site-packages/aiohappyeyeballs-2.4.6.dist-info/WHEEL +4 -0
  26. package/venv/lib/python3.10/site-packages/aiohttp/.hash/_cparser.pxd.hash +1 -0
  27. package/venv/lib/python3.10/site-packages/aiohttp/.hash/_find_header.pxd.hash +1 -0
  28. package/venv/lib/python3.10/site-packages/aiohttp/.hash/_http_parser.pyx.hash +1 -0
  29. package/venv/lib/python3.10/site-packages/aiohttp/.hash/_http_writer.pyx.hash +1 -0
  30. package/venv/lib/python3.10/site-packages/aiohttp/.hash/hdrs.py.hash +1 -0
  31. package/venv/lib/python3.10/site-packages/aiohttp/__init__.py +264 -0
  32. package/venv/lib/python3.10/site-packages/aiohttp/_cparser.pxd +158 -0
  33. package/venv/lib/python3.10/site-packages/aiohttp/_find_header.pxd +2 -0
  34. package/venv/lib/python3.10/site-packages/aiohttp/_headers.pxi +83 -0
  35. package/venv/lib/python3.10/site-packages/aiohttp/_http_parser.cpython-310-x86_64-linux-gnu.so +0 -0
  36. package/venv/lib/python3.10/site-packages/aiohttp/_http_parser.pyx +837 -0
  37. package/venv/lib/python3.10/site-packages/aiohttp/_http_writer.cpython-310-x86_64-linux-gnu.so +0 -0
  38. package/venv/lib/python3.10/site-packages/aiohttp/_http_writer.pyx +162 -0
  39. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/.hash/mask.pxd.hash +1 -0
  40. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/.hash/mask.pyx.hash +1 -0
  41. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/.hash/reader_c.pxd.hash +1 -0
  42. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/__init__.py +1 -0
  43. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/helpers.py +147 -0
  44. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/mask.cpython-310-x86_64-linux-gnu.so +0 -0
  45. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/mask.pxd +3 -0
  46. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/mask.pyx +48 -0
  47. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/models.py +84 -0
  48. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader.py +31 -0
  49. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader_c.cpython-310-x86_64-linux-gnu.so +0 -0
  50. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader_c.pxd +102 -0
  51. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader_c.py +468 -0
  52. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/reader_py.py +468 -0
  53. package/venv/lib/python3.10/site-packages/aiohttp/_websocket/writer.py +177 -0
  54. package/venv/lib/python3.10/site-packages/aiohttp/abc.py +253 -0
  55. package/venv/lib/python3.10/site-packages/aiohttp/base_protocol.py +100 -0
  56. package/venv/lib/python3.10/site-packages/aiohttp/client.py +1550 -0
  57. package/venv/lib/python3.10/site-packages/aiohttp/client_exceptions.py +421 -0
  58. package/venv/lib/python3.10/site-packages/aiohttp/client_proto.py +307 -0
  59. package/venv/lib/python3.10/site-packages/aiohttp/client_reqrep.py +1315 -0
  60. package/venv/lib/python3.10/site-packages/aiohttp/client_ws.py +426 -0
  61. package/venv/lib/python3.10/site-packages/aiohttp/compression_utils.py +173 -0
  62. package/venv/lib/python3.10/site-packages/aiohttp/connector.py +1652 -0
  63. package/venv/lib/python3.10/site-packages/aiohttp/cookiejar.py +495 -0
  64. package/venv/lib/python3.10/site-packages/aiohttp/formdata.py +182 -0
  65. package/venv/lib/python3.10/site-packages/aiohttp/hdrs.py +121 -0
  66. package/venv/lib/python3.10/site-packages/aiohttp/helpers.py +944 -0
  67. package/venv/lib/python3.10/site-packages/aiohttp/http.py +72 -0
  68. package/venv/lib/python3.10/site-packages/aiohttp/http_exceptions.py +112 -0
  69. package/venv/lib/python3.10/site-packages/aiohttp/http_parser.py +1046 -0
  70. package/venv/lib/python3.10/site-packages/aiohttp/http_websocket.py +36 -0
  71. package/venv/lib/python3.10/site-packages/aiohttp/http_writer.py +249 -0
  72. package/venv/lib/python3.10/site-packages/aiohttp/log.py +8 -0
  73. package/venv/lib/python3.10/site-packages/aiohttp/multipart.py +1071 -0
  74. package/venv/lib/python3.10/site-packages/aiohttp/payload.py +519 -0
  75. package/venv/lib/python3.10/site-packages/aiohttp/payload_streamer.py +78 -0
  76. package/venv/lib/python3.10/site-packages/aiohttp/py.typed +1 -0
  77. package/venv/lib/python3.10/site-packages/aiohttp/pytest_plugin.py +436 -0
  78. package/venv/lib/python3.10/site-packages/aiohttp/resolver.py +187 -0
  79. package/venv/lib/python3.10/site-packages/aiohttp/streams.py +727 -0
  80. package/venv/lib/python3.10/site-packages/aiohttp/tcp_helpers.py +37 -0
  81. package/venv/lib/python3.10/site-packages/aiohttp/test_utils.py +770 -0
  82. package/venv/lib/python3.10/site-packages/aiohttp/tracing.py +470 -0
  83. package/venv/lib/python3.10/site-packages/aiohttp/typedefs.py +69 -0
  84. package/venv/lib/python3.10/site-packages/aiohttp/web.py +605 -0
  85. package/venv/lib/python3.10/site-packages/aiohttp/web_app.py +620 -0
  86. package/venv/lib/python3.10/site-packages/aiohttp/web_exceptions.py +452 -0
  87. package/venv/lib/python3.10/site-packages/aiohttp/web_fileresponse.py +418 -0
  88. package/venv/lib/python3.10/site-packages/aiohttp/web_log.py +216 -0
  89. package/venv/lib/python3.10/site-packages/aiohttp/web_middlewares.py +121 -0
  90. package/venv/lib/python3.10/site-packages/aiohttp/web_protocol.py +750 -0
  91. package/venv/lib/python3.10/site-packages/aiohttp/web_request.py +916 -0
  92. package/venv/lib/python3.10/site-packages/aiohttp/web_response.py +840 -0
  93. package/venv/lib/python3.10/site-packages/aiohttp/web_routedef.py +214 -0
  94. package/venv/lib/python3.10/site-packages/aiohttp/web_runner.py +399 -0
  95. package/venv/lib/python3.10/site-packages/aiohttp/web_server.py +84 -0
  96. package/venv/lib/python3.10/site-packages/aiohttp/web_urldispatcher.py +1301 -0
  97. package/venv/lib/python3.10/site-packages/aiohttp/web_ws.py +622 -0
  98. package/venv/lib/python3.10/site-packages/aiohttp/worker.py +252 -0
  99. package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/INSTALLER +1 -0
  100. package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/LICENSE.txt +13 -0
  101. package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/METADATA +250 -0
  102. package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/RECORD +132 -0
  103. package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/REQUESTED +0 -0
  104. package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/WHEEL +6 -0
  105. package/venv/lib/python3.10/site-packages/aiohttp-3.11.12.dist-info/top_level.txt +1 -0
  106. package/venv/lib/python3.10/site-packages/aiosignal/__init__.py +36 -0
  107. package/venv/lib/python3.10/site-packages/aiosignal/__init__.pyi +12 -0
  108. package/venv/lib/python3.10/site-packages/aiosignal/py.typed +0 -0
  109. package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/INSTALLER +1 -0
  110. package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/LICENSE +201 -0
  111. package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/METADATA +123 -0
  112. package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/RECORD +10 -0
  113. package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/WHEEL +6 -0
  114. package/venv/lib/python3.10/site-packages/aiosignal-1.3.2.dist-info/top_level.txt +1 -0
  115. package/venv/lib/python3.10/site-packages/async_timeout/__init__.py +276 -0
  116. package/venv/lib/python3.10/site-packages/async_timeout/py.typed +1 -0
  117. package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/INSTALLER +1 -0
  118. package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/LICENSE +13 -0
  119. package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/METADATA +163 -0
  120. package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/RECORD +11 -0
  121. package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/REQUESTED +0 -0
  122. package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/WHEEL +5 -0
  123. package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/top_level.txt +1 -0
  124. package/venv/lib/python3.10/site-packages/async_timeout-5.0.1.dist-info/zip-safe +1 -0
  125. package/venv/lib/python3.10/site-packages/attr/__init__.py +104 -0
  126. package/venv/lib/python3.10/site-packages/attr/__init__.pyi +389 -0
  127. package/venv/lib/python3.10/site-packages/attr/_cmp.py +160 -0
  128. package/venv/lib/python3.10/site-packages/attr/_cmp.pyi +13 -0
  129. package/venv/lib/python3.10/site-packages/attr/_compat.py +94 -0
  130. package/venv/lib/python3.10/site-packages/attr/_config.py +31 -0
  131. package/venv/lib/python3.10/site-packages/attr/_funcs.py +468 -0
  132. package/venv/lib/python3.10/site-packages/attr/_make.py +3055 -0
  133. package/venv/lib/python3.10/site-packages/attr/_next_gen.py +623 -0
  134. package/venv/lib/python3.10/site-packages/attr/_typing_compat.pyi +15 -0
  135. package/venv/lib/python3.10/site-packages/attr/_version_info.py +86 -0
  136. package/venv/lib/python3.10/site-packages/attr/_version_info.pyi +9 -0
  137. package/venv/lib/python3.10/site-packages/attr/converters.py +162 -0
  138. package/venv/lib/python3.10/site-packages/attr/converters.pyi +19 -0
  139. package/venv/lib/python3.10/site-packages/attr/exceptions.py +95 -0
  140. package/venv/lib/python3.10/site-packages/attr/exceptions.pyi +17 -0
  141. package/venv/lib/python3.10/site-packages/attr/filters.py +72 -0
  142. package/venv/lib/python3.10/site-packages/attr/filters.pyi +6 -0
  143. package/venv/lib/python3.10/site-packages/attr/py.typed +0 -0
  144. package/venv/lib/python3.10/site-packages/attr/setters.py +79 -0
  145. package/venv/lib/python3.10/site-packages/attr/setters.pyi +20 -0
  146. package/venv/lib/python3.10/site-packages/attr/validators.py +710 -0
  147. package/venv/lib/python3.10/site-packages/attr/validators.pyi +86 -0
  148. package/venv/lib/python3.10/site-packages/attrs/__init__.py +69 -0
  149. package/venv/lib/python3.10/site-packages/attrs/__init__.pyi +263 -0
  150. package/venv/lib/python3.10/site-packages/attrs/converters.py +3 -0
  151. package/venv/lib/python3.10/site-packages/attrs/exceptions.py +3 -0
  152. package/venv/lib/python3.10/site-packages/attrs/filters.py +3 -0
  153. package/venv/lib/python3.10/site-packages/attrs/py.typed +0 -0
  154. package/venv/lib/python3.10/site-packages/attrs/setters.py +3 -0
  155. package/venv/lib/python3.10/site-packages/attrs/validators.py +3 -0
  156. package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/INSTALLER +1 -0
  157. package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/METADATA +232 -0
  158. package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/RECORD +55 -0
  159. package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/WHEEL +4 -0
  160. package/venv/lib/python3.10/site-packages/attrs-25.1.0.dist-info/licenses/LICENSE +21 -0
  161. package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/INSTALLER +1 -0
  162. package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/METADATA +123 -0
  163. package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/RECORD +90 -0
  164. package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/REQUESTED +0 -0
  165. package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/WHEEL +4 -0
  166. package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/licenses/AUTHORS +49 -0
  167. package/venv/lib/python3.10/site-packages/beautifulsoup4-4.13.3.dist-info/licenses/LICENSE +31 -0
  168. package/venv/lib/python3.10/site-packages/bs4/__init__.py +1170 -0
  169. package/venv/lib/python3.10/site-packages/bs4/_deprecation.py +80 -0
  170. package/venv/lib/python3.10/site-packages/bs4/_typing.py +196 -0
  171. package/venv/lib/python3.10/site-packages/bs4/_warnings.py +98 -0
  172. package/venv/lib/python3.10/site-packages/bs4/builder/__init__.py +848 -0
  173. package/venv/lib/python3.10/site-packages/bs4/builder/_html5lib.py +594 -0
  174. package/venv/lib/python3.10/site-packages/bs4/builder/_htmlparser.py +474 -0
  175. package/venv/lib/python3.10/site-packages/bs4/builder/_lxml.py +490 -0
  176. package/venv/lib/python3.10/site-packages/bs4/css.py +338 -0
  177. package/venv/lib/python3.10/site-packages/bs4/dammit.py +1408 -0
  178. package/venv/lib/python3.10/site-packages/bs4/diagnose.py +268 -0
  179. package/venv/lib/python3.10/site-packages/bs4/element.py +2886 -0
  180. package/venv/lib/python3.10/site-packages/bs4/exceptions.py +28 -0
  181. package/venv/lib/python3.10/site-packages/bs4/filter.py +755 -0
  182. package/venv/lib/python3.10/site-packages/bs4/formatter.py +276 -0
  183. package/venv/lib/python3.10/site-packages/bs4/py.typed +0 -0
  184. package/venv/lib/python3.10/site-packages/bs4/tests/__init__.py +1305 -0
  185. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4670634698080256.testcase +1 -0
  186. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4818336571064320.testcase +1 -0
  187. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4999465949331456.testcase +1 -0
  188. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5000587759190016.testcase +0 -0
  189. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5167584867909632.testcase +0 -0
  190. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5270998950477824.testcase +0 -0
  191. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5375146639360000.testcase +1 -0
  192. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5492400320282624.testcase +0 -0
  193. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5703933063462912.testcase +2 -0
  194. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5843991618256896.testcase +1 -0
  195. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5984173902397440.testcase +0 -0
  196. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6124268085182464.testcase +1 -0
  197. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6241471367348224.testcase +1 -0
  198. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6306874195312640.testcase +1 -0
  199. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6450958476902400.testcase +0 -0
  200. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6600557255327744.testcase +0 -0
  201. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/crash-0d306a50c8ed8bcd0785b67000fcd5dea1d33f08.testcase +0 -0
  202. package/venv/lib/python3.10/site-packages/bs4/tests/fuzz/crash-ffbdfa8a2b26f13537b68d3794b0478a4090ee4a.testcase +0 -0
  203. package/venv/lib/python3.10/site-packages/bs4/tests/test_builder.py +28 -0
  204. package/venv/lib/python3.10/site-packages/bs4/tests/test_builder_registry.py +139 -0
  205. package/venv/lib/python3.10/site-packages/bs4/tests/test_css.py +536 -0
  206. package/venv/lib/python3.10/site-packages/bs4/tests/test_dammit.py +433 -0
  207. package/venv/lib/python3.10/site-packages/bs4/tests/test_element.py +138 -0
  208. package/venv/lib/python3.10/site-packages/bs4/tests/test_filter.py +674 -0
  209. package/venv/lib/python3.10/site-packages/bs4/tests/test_formatter.py +170 -0
  210. package/venv/lib/python3.10/site-packages/bs4/tests/test_fuzz.py +181 -0
  211. package/venv/lib/python3.10/site-packages/bs4/tests/test_html5lib.py +264 -0
  212. package/venv/lib/python3.10/site-packages/bs4/tests/test_htmlparser.py +161 -0
  213. package/venv/lib/python3.10/site-packages/bs4/tests/test_lxml.py +196 -0
  214. package/venv/lib/python3.10/site-packages/bs4/tests/test_navigablestring.py +144 -0
  215. package/venv/lib/python3.10/site-packages/bs4/tests/test_pageelement.py +437 -0
  216. package/venv/lib/python3.10/site-packages/bs4/tests/test_soup.py +602 -0
  217. package/venv/lib/python3.10/site-packages/bs4/tests/test_tag.py +241 -0
  218. package/venv/lib/python3.10/site-packages/bs4/tests/test_tree.py +1452 -0
  219. package/venv/lib/python3.10/site-packages/cachetools/__init__.py +859 -0
  220. package/venv/lib/python3.10/site-packages/cachetools/func.py +121 -0
  221. package/venv/lib/python3.10/site-packages/cachetools/keys.py +62 -0
  222. package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/INSTALLER +1 -0
  223. package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/LICENSE +20 -0
  224. package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/METADATA +151 -0
  225. package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/RECORD +13 -0
  226. package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/REQUESTED +0 -0
  227. package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/WHEEL +5 -0
  228. package/venv/lib/python3.10/site-packages/cachetools-5.5.1.dist-info/top_level.txt +1 -0
  229. package/venv/lib/python3.10/site-packages/certifi/__init__.py +4 -0
  230. package/venv/lib/python3.10/site-packages/certifi/__main__.py +12 -0
  231. package/venv/lib/python3.10/site-packages/certifi/cacert.pem +4897 -0
  232. package/venv/lib/python3.10/site-packages/certifi/core.py +114 -0
  233. package/venv/lib/python3.10/site-packages/certifi/py.typed +0 -0
  234. package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/INSTALLER +1 -0
  235. package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/LICENSE +20 -0
  236. package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/METADATA +77 -0
  237. package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/RECORD +14 -0
  238. package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/WHEEL +5 -0
  239. package/venv/lib/python3.10/site-packages/certifi-2025.1.31.dist-info/top_level.txt +1 -0
  240. package/venv/lib/python3.10/site-packages/cffi/__init__.py +14 -0
  241. package/venv/lib/python3.10/site-packages/cffi/_cffi_errors.h +149 -0
  242. package/venv/lib/python3.10/site-packages/cffi/_cffi_include.h +389 -0
  243. package/venv/lib/python3.10/site-packages/cffi/_embedding.h +550 -0
  244. package/venv/lib/python3.10/site-packages/cffi/_imp_emulation.py +83 -0
  245. package/venv/lib/python3.10/site-packages/cffi/_shimmed_dist_utils.py +45 -0
  246. package/venv/lib/python3.10/site-packages/cffi/api.py +967 -0
  247. package/venv/lib/python3.10/site-packages/cffi/backend_ctypes.py +1121 -0
  248. package/venv/lib/python3.10/site-packages/cffi/cffi_opcode.py +187 -0
  249. package/venv/lib/python3.10/site-packages/cffi/commontypes.py +82 -0
  250. package/venv/lib/python3.10/site-packages/cffi/cparser.py +1015 -0
  251. package/venv/lib/python3.10/site-packages/cffi/error.py +31 -0
  252. package/venv/lib/python3.10/site-packages/cffi/ffiplatform.py +113 -0
  253. package/venv/lib/python3.10/site-packages/cffi/lock.py +30 -0
  254. package/venv/lib/python3.10/site-packages/cffi/model.py +618 -0
  255. package/venv/lib/python3.10/site-packages/cffi/parse_c_type.h +181 -0
  256. package/venv/lib/python3.10/site-packages/cffi/pkgconfig.py +121 -0
  257. package/venv/lib/python3.10/site-packages/cffi/recompiler.py +1598 -0
  258. package/venv/lib/python3.10/site-packages/cffi/setuptools_ext.py +216 -0
  259. package/venv/lib/python3.10/site-packages/cffi/vengine_cpy.py +1084 -0
  260. package/venv/lib/python3.10/site-packages/cffi/vengine_gen.py +679 -0
  261. package/venv/lib/python3.10/site-packages/cffi/verifier.py +306 -0
  262. package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/INSTALLER +1 -0
  263. package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/LICENSE +26 -0
  264. package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/METADATA +40 -0
  265. package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/RECORD +48 -0
  266. package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/WHEEL +6 -0
  267. package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/entry_points.txt +2 -0
  268. package/venv/lib/python3.10/site-packages/cffi-1.17.1.dist-info/top_level.txt +2 -0
  269. package/venv/lib/python3.10/site-packages/charset_normalizer/__init__.py +48 -0
  270. package/venv/lib/python3.10/site-packages/charset_normalizer/__main__.py +6 -0
  271. package/venv/lib/python3.10/site-packages/charset_normalizer/api.py +668 -0
  272. package/venv/lib/python3.10/site-packages/charset_normalizer/cd.py +395 -0
  273. package/venv/lib/python3.10/site-packages/charset_normalizer/cli/__init__.py +8 -0
  274. package/venv/lib/python3.10/site-packages/charset_normalizer/cli/__main__.py +321 -0
  275. package/venv/lib/python3.10/site-packages/charset_normalizer/constant.py +1998 -0
  276. package/venv/lib/python3.10/site-packages/charset_normalizer/legacy.py +66 -0
  277. package/venv/lib/python3.10/site-packages/charset_normalizer/md.cpython-310-x86_64-linux-gnu.so +0 -0
  278. package/venv/lib/python3.10/site-packages/charset_normalizer/md.py +630 -0
  279. package/venv/lib/python3.10/site-packages/charset_normalizer/md__mypyc.cpython-310-x86_64-linux-gnu.so +0 -0
  280. package/venv/lib/python3.10/site-packages/charset_normalizer/models.py +360 -0
  281. package/venv/lib/python3.10/site-packages/charset_normalizer/py.typed +0 -0
  282. package/venv/lib/python3.10/site-packages/charset_normalizer/utils.py +408 -0
  283. package/venv/lib/python3.10/site-packages/charset_normalizer/version.py +8 -0
  284. package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/INSTALLER +1 -0
  285. package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/LICENSE +21 -0
  286. package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/METADATA +721 -0
  287. package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/RECORD +35 -0
  288. package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/WHEEL +6 -0
  289. package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/entry_points.txt +2 -0
  290. package/venv/lib/python3.10/site-packages/charset_normalizer-3.4.1.dist-info/top_level.txt +1 -0
  291. package/venv/lib/python3.10/site-packages/cloudscraper/__init__.py +407 -0
  292. package/venv/lib/python3.10/site-packages/cloudscraper/captcha/2captcha.py +258 -0
  293. package/venv/lib/python3.10/site-packages/cloudscraper/captcha/9kw.py +214 -0
  294. package/venv/lib/python3.10/site-packages/cloudscraper/captcha/__init__.py +47 -0
  295. package/venv/lib/python3.10/site-packages/cloudscraper/captcha/anticaptcha.py +199 -0
  296. package/venv/lib/python3.10/site-packages/cloudscraper/captcha/capmonster.py +199 -0
  297. package/venv/lib/python3.10/site-packages/cloudscraper/captcha/capsolver.py +188 -0
  298. package/venv/lib/python3.10/site-packages/cloudscraper/captcha/deathbycaptcha.py +276 -0
  299. package/venv/lib/python3.10/site-packages/cloudscraper/cloudflare.py +490 -0
  300. package/venv/lib/python3.10/site-packages/cloudscraper/exceptions.py +111 -0
  301. package/venv/lib/python3.10/site-packages/cloudscraper/help.py +72 -0
  302. package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/__init__.py +56 -0
  303. package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/chakracore.py +103 -0
  304. package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/encapsulated.py +62 -0
  305. package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/js2py.py +44 -0
  306. package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/jsunfuck.py +97 -0
  307. package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/native.py +233 -0
  308. package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/nodejs.py +49 -0
  309. package/venv/lib/python3.10/site-packages/cloudscraper/interpreters/v8.py +33 -0
  310. package/venv/lib/python3.10/site-packages/cloudscraper/user_agent/__init__.py +124 -0
  311. package/venv/lib/python3.10/site-packages/cloudscraper/user_agent/browsers.json +7913 -0
  312. package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/INSTALLER +1 -0
  313. package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/LICENSE +22 -0
  314. package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/METADATA +674 -0
  315. package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/RECORD +48 -0
  316. package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/REQUESTED +0 -0
  317. package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/WHEEL +6 -0
  318. package/venv/lib/python3.10/site-packages/cloudscraper-1.2.71.dist-info/top_level.txt +1 -0
  319. package/venv/lib/python3.10/site-packages/curl_cffi/__init__.py +37 -0
  320. package/venv/lib/python3.10/site-packages/curl_cffi/__version__.py +8 -0
  321. package/venv/lib/python3.10/site-packages/curl_cffi/_asyncio_selector.py +344 -0
  322. package/venv/lib/python3.10/site-packages/curl_cffi/_wrapper.abi3.so +0 -0
  323. package/venv/lib/python3.10/site-packages/curl_cffi/aio.py +257 -0
  324. package/venv/lib/python3.10/site-packages/curl_cffi/const.py +581 -0
  325. package/venv/lib/python3.10/site-packages/curl_cffi/curl.py +548 -0
  326. package/venv/lib/python3.10/site-packages/curl_cffi/py.typed +1 -0
  327. package/venv/lib/python3.10/site-packages/curl_cffi/requests/__init__.py +146 -0
  328. package/venv/lib/python3.10/site-packages/curl_cffi/requests/cookies.py +355 -0
  329. package/venv/lib/python3.10/site-packages/curl_cffi/requests/errors.py +7 -0
  330. package/venv/lib/python3.10/site-packages/curl_cffi/requests/exceptions.py +219 -0
  331. package/venv/lib/python3.10/site-packages/curl_cffi/requests/headers.py +348 -0
  332. package/venv/lib/python3.10/site-packages/curl_cffi/requests/impersonate.py +360 -0
  333. package/venv/lib/python3.10/site-packages/curl_cffi/requests/models.py +292 -0
  334. package/venv/lib/python3.10/site-packages/curl_cffi/requests/session.py +1021 -0
  335. package/venv/lib/python3.10/site-packages/curl_cffi/requests/utils.py +663 -0
  336. package/venv/lib/python3.10/site-packages/curl_cffi/requests/websockets.py +711 -0
  337. package/venv/lib/python3.10/site-packages/curl_cffi/utils.py +13 -0
  338. package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/INSTALLER +1 -0
  339. package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/LICENSE +21 -0
  340. package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/METADATA +333 -0
  341. package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/RECORD +43 -0
  342. package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/REQUESTED +0 -0
  343. package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/WHEEL +6 -0
  344. package/venv/lib/python3.10/site-packages/curl_cffi-0.9.0.dist-info/top_level.txt +1 -0
  345. package/venv/lib/python3.10/site-packages/distutils-precedence.pth +1 -0
  346. package/venv/lib/python3.10/site-packages/frozenlist/__init__.py +98 -0
  347. package/venv/lib/python3.10/site-packages/frozenlist/__init__.pyi +47 -0
  348. package/venv/lib/python3.10/site-packages/frozenlist/_frozenlist.cpython-310-x86_64-linux-gnu.so +0 -0
  349. package/venv/lib/python3.10/site-packages/frozenlist/_frozenlist.pyx +123 -0
  350. package/venv/lib/python3.10/site-packages/frozenlist/py.typed +1 -0
  351. package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/INSTALLER +1 -0
  352. package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/LICENSE +201 -0
  353. package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/METADATA +477 -0
  354. package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/RECORD +12 -0
  355. package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/WHEEL +8 -0
  356. package/venv/lib/python3.10/site-packages/frozenlist-1.5.0.dist-info/top_level.txt +1 -0
  357. package/venv/lib/python3.10/site-packages/idna/__init__.py +45 -0
  358. package/venv/lib/python3.10/site-packages/idna/codec.py +122 -0
  359. package/venv/lib/python3.10/site-packages/idna/compat.py +15 -0
  360. package/venv/lib/python3.10/site-packages/idna/core.py +437 -0
  361. package/venv/lib/python3.10/site-packages/idna/idnadata.py +4243 -0
  362. package/venv/lib/python3.10/site-packages/idna/intranges.py +57 -0
  363. package/venv/lib/python3.10/site-packages/idna/package_data.py +1 -0
  364. package/venv/lib/python3.10/site-packages/idna/py.typed +0 -0
  365. package/venv/lib/python3.10/site-packages/idna/uts46data.py +8681 -0
  366. package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/INSTALLER +1 -0
  367. package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/LICENSE.md +31 -0
  368. package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/METADATA +250 -0
  369. package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/RECORD +22 -0
  370. package/venv/lib/python3.10/site-packages/idna-3.10.dist-info/WHEEL +4 -0
  371. package/venv/lib/python3.10/site-packages/multidict/__init__.py +48 -0
  372. package/venv/lib/python3.10/site-packages/multidict/__init__.pyi +152 -0
  373. package/venv/lib/python3.10/site-packages/multidict/_abc.py +48 -0
  374. package/venv/lib/python3.10/site-packages/multidict/_compat.py +14 -0
  375. package/venv/lib/python3.10/site-packages/multidict/_multidict.cpython-310-x86_64-linux-gnu.so +0 -0
  376. package/venv/lib/python3.10/site-packages/multidict/_multidict_base.py +152 -0
  377. package/venv/lib/python3.10/site-packages/multidict/_multidict_py.py +527 -0
  378. package/venv/lib/python3.10/site-packages/multidict/py.typed +1 -0
  379. package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/INSTALLER +1 -0
  380. package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/LICENSE +13 -0
  381. package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/METADATA +140 -0
  382. package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/RECORD +19 -0
  383. package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/WHEEL +6 -0
  384. package/venv/lib/python3.10/site-packages/multidict-6.1.0.dist-info/top_level.txt +1 -0
  385. package/venv/lib/python3.10/site-packages/paho/__init__.py +0 -0
  386. package/venv/lib/python3.10/site-packages/paho/mqtt/__init__.py +5 -0
  387. package/venv/lib/python3.10/site-packages/paho/mqtt/client.py +5004 -0
  388. package/venv/lib/python3.10/site-packages/paho/mqtt/enums.py +113 -0
  389. package/venv/lib/python3.10/site-packages/paho/mqtt/matcher.py +78 -0
  390. package/venv/lib/python3.10/site-packages/paho/mqtt/packettypes.py +43 -0
  391. package/venv/lib/python3.10/site-packages/paho/mqtt/properties.py +421 -0
  392. package/venv/lib/python3.10/site-packages/paho/mqtt/publish.py +306 -0
  393. package/venv/lib/python3.10/site-packages/paho/mqtt/py.typed +0 -0
  394. package/venv/lib/python3.10/site-packages/paho/mqtt/reasoncodes.py +223 -0
  395. package/venv/lib/python3.10/site-packages/paho/mqtt/subscribe.py +281 -0
  396. package/venv/lib/python3.10/site-packages/paho/mqtt/subscribeoptions.py +113 -0
  397. package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/INSTALLER +1 -0
  398. package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/METADATA +635 -0
  399. package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/RECORD +29 -0
  400. package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/REQUESTED +0 -0
  401. package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/WHEEL +4 -0
  402. package/venv/lib/python3.10/site-packages/paho_mqtt-2.1.0.dist-info/licenses/LICENSE.txt +3 -0
  403. package/venv/lib/python3.10/site-packages/pip/__init__.py +13 -0
  404. package/venv/lib/python3.10/site-packages/pip/__main__.py +31 -0
  405. package/venv/lib/python3.10/site-packages/pip/_internal/__init__.py +19 -0
  406. package/venv/lib/python3.10/site-packages/pip/_internal/build_env.py +296 -0
  407. package/venv/lib/python3.10/site-packages/pip/_internal/cache.py +264 -0
  408. package/venv/lib/python3.10/site-packages/pip/_internal/cli/__init__.py +4 -0
  409. package/venv/lib/python3.10/site-packages/pip/_internal/cli/autocompletion.py +171 -0
  410. package/venv/lib/python3.10/site-packages/pip/_internal/cli/base_command.py +220 -0
  411. package/venv/lib/python3.10/site-packages/pip/_internal/cli/cmdoptions.py +1018 -0
  412. package/venv/lib/python3.10/site-packages/pip/_internal/cli/command_context.py +27 -0
  413. package/venv/lib/python3.10/site-packages/pip/_internal/cli/main.py +70 -0
  414. package/venv/lib/python3.10/site-packages/pip/_internal/cli/main_parser.py +87 -0
  415. package/venv/lib/python3.10/site-packages/pip/_internal/cli/parser.py +292 -0
  416. package/venv/lib/python3.10/site-packages/pip/_internal/cli/progress_bars.py +321 -0
  417. package/venv/lib/python3.10/site-packages/pip/_internal/cli/req_command.py +506 -0
  418. package/venv/lib/python3.10/site-packages/pip/_internal/cli/spinners.py +157 -0
  419. package/venv/lib/python3.10/site-packages/pip/_internal/cli/status_codes.py +6 -0
  420. package/venv/lib/python3.10/site-packages/pip/_internal/commands/__init__.py +127 -0
  421. package/venv/lib/python3.10/site-packages/pip/_internal/commands/cache.py +223 -0
  422. package/venv/lib/python3.10/site-packages/pip/_internal/commands/check.py +53 -0
  423. package/venv/lib/python3.10/site-packages/pip/_internal/commands/completion.py +96 -0
  424. package/venv/lib/python3.10/site-packages/pip/_internal/commands/configuration.py +266 -0
  425. package/venv/lib/python3.10/site-packages/pip/_internal/commands/debug.py +202 -0
  426. package/venv/lib/python3.10/site-packages/pip/_internal/commands/download.py +140 -0
  427. package/venv/lib/python3.10/site-packages/pip/_internal/commands/freeze.py +97 -0
  428. package/venv/lib/python3.10/site-packages/pip/_internal/commands/hash.py +59 -0
  429. package/venv/lib/python3.10/site-packages/pip/_internal/commands/help.py +41 -0
  430. package/venv/lib/python3.10/site-packages/pip/_internal/commands/index.py +139 -0
  431. package/venv/lib/python3.10/site-packages/pip/_internal/commands/install.py +771 -0
  432. package/venv/lib/python3.10/site-packages/pip/_internal/commands/list.py +363 -0
  433. package/venv/lib/python3.10/site-packages/pip/_internal/commands/search.py +174 -0
  434. package/venv/lib/python3.10/site-packages/pip/_internal/commands/show.py +178 -0
  435. package/venv/lib/python3.10/site-packages/pip/_internal/commands/uninstall.py +105 -0
  436. package/venv/lib/python3.10/site-packages/pip/_internal/commands/wheel.py +178 -0
  437. package/venv/lib/python3.10/site-packages/pip/_internal/configuration.py +366 -0
  438. package/venv/lib/python3.10/site-packages/pip/_internal/distributions/__init__.py +21 -0
  439. package/venv/lib/python3.10/site-packages/pip/_internal/distributions/base.py +36 -0
  440. package/venv/lib/python3.10/site-packages/pip/_internal/distributions/installed.py +20 -0
  441. package/venv/lib/python3.10/site-packages/pip/_internal/distributions/sdist.py +127 -0
  442. package/venv/lib/python3.10/site-packages/pip/_internal/distributions/wheel.py +31 -0
  443. package/venv/lib/python3.10/site-packages/pip/_internal/exceptions.py +658 -0
  444. package/venv/lib/python3.10/site-packages/pip/_internal/index/__init__.py +2 -0
  445. package/venv/lib/python3.10/site-packages/pip/_internal/index/collector.py +648 -0
  446. package/venv/lib/python3.10/site-packages/pip/_internal/index/package_finder.py +1004 -0
  447. package/venv/lib/python3.10/site-packages/pip/_internal/index/sources.py +224 -0
  448. package/venv/lib/python3.10/site-packages/pip/_internal/locations/__init__.py +520 -0
  449. package/venv/lib/python3.10/site-packages/pip/_internal/locations/_distutils.py +169 -0
  450. package/venv/lib/python3.10/site-packages/pip/_internal/locations/_sysconfig.py +219 -0
  451. package/venv/lib/python3.10/site-packages/pip/_internal/locations/base.py +52 -0
  452. package/venv/lib/python3.10/site-packages/pip/_internal/main.py +12 -0
  453. package/venv/lib/python3.10/site-packages/pip/_internal/metadata/__init__.py +62 -0
  454. package/venv/lib/python3.10/site-packages/pip/_internal/metadata/base.py +546 -0
  455. package/venv/lib/python3.10/site-packages/pip/_internal/metadata/pkg_resources.py +256 -0
  456. package/venv/lib/python3.10/site-packages/pip/_internal/models/__init__.py +2 -0
  457. package/venv/lib/python3.10/site-packages/pip/_internal/models/candidate.py +34 -0
  458. package/venv/lib/python3.10/site-packages/pip/_internal/models/direct_url.py +220 -0
  459. package/venv/lib/python3.10/site-packages/pip/_internal/models/format_control.py +80 -0
  460. package/venv/lib/python3.10/site-packages/pip/_internal/models/index.py +28 -0
  461. package/venv/lib/python3.10/site-packages/pip/_internal/models/link.py +288 -0
  462. package/venv/lib/python3.10/site-packages/pip/_internal/models/scheme.py +31 -0
  463. package/venv/lib/python3.10/site-packages/pip/_internal/models/search_scope.py +129 -0
  464. package/venv/lib/python3.10/site-packages/pip/_internal/models/selection_prefs.py +51 -0
  465. package/venv/lib/python3.10/site-packages/pip/_internal/models/target_python.py +110 -0
  466. package/venv/lib/python3.10/site-packages/pip/_internal/models/wheel.py +89 -0
  467. package/venv/lib/python3.10/site-packages/pip/_internal/network/__init__.py +2 -0
  468. package/venv/lib/python3.10/site-packages/pip/_internal/network/auth.py +323 -0
  469. package/venv/lib/python3.10/site-packages/pip/_internal/network/cache.py +69 -0
  470. package/venv/lib/python3.10/site-packages/pip/_internal/network/download.py +185 -0
  471. package/venv/lib/python3.10/site-packages/pip/_internal/network/lazy_wheel.py +210 -0
  472. package/venv/lib/python3.10/site-packages/pip/_internal/network/session.py +454 -0
  473. package/venv/lib/python3.10/site-packages/pip/_internal/network/utils.py +96 -0
  474. package/venv/lib/python3.10/site-packages/pip/_internal/network/xmlrpc.py +60 -0
  475. package/venv/lib/python3.10/site-packages/pip/_internal/operations/__init__.py +0 -0
  476. package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/__init__.py +0 -0
  477. package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/metadata.py +39 -0
  478. package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/metadata_editable.py +41 -0
  479. package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/metadata_legacy.py +74 -0
  480. package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/wheel.py +37 -0
  481. package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/wheel_editable.py +46 -0
  482. package/venv/lib/python3.10/site-packages/pip/_internal/operations/build/wheel_legacy.py +102 -0
  483. package/venv/lib/python3.10/site-packages/pip/_internal/operations/check.py +149 -0
  484. package/venv/lib/python3.10/site-packages/pip/_internal/operations/freeze.py +254 -0
  485. package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/__init__.py +2 -0
  486. package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/editable_legacy.py +47 -0
  487. package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/legacy.py +120 -0
  488. package/venv/lib/python3.10/site-packages/pip/_internal/operations/install/wheel.py +738 -0
  489. package/venv/lib/python3.10/site-packages/pip/_internal/operations/prepare.py +642 -0
  490. package/venv/lib/python3.10/site-packages/pip/_internal/pyproject.py +168 -0
  491. package/venv/lib/python3.10/site-packages/pip/_internal/req/__init__.py +94 -0
  492. package/venv/lib/python3.10/site-packages/pip/_internal/req/constructors.py +490 -0
  493. package/venv/lib/python3.10/site-packages/pip/_internal/req/req_file.py +536 -0
  494. package/venv/lib/python3.10/site-packages/pip/_internal/req/req_install.py +858 -0
  495. package/venv/lib/python3.10/site-packages/pip/_internal/req/req_set.py +189 -0
  496. package/venv/lib/python3.10/site-packages/pip/_internal/req/req_tracker.py +124 -0
  497. package/venv/lib/python3.10/site-packages/pip/_internal/req/req_uninstall.py +633 -0
  498. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/__init__.py +0 -0
  499. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/base.py +20 -0
  500. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
  501. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/legacy/resolver.py +467 -0
  502. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
  503. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/base.py +141 -0
  504. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py +547 -0
  505. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py +739 -0
  506. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +155 -0
  507. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/provider.py +248 -0
  508. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/reporter.py +68 -0
  509. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/requirements.py +166 -0
  510. package/venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py +292 -0
  511. package/venv/lib/python3.10/site-packages/pip/_internal/self_outdated_check.py +189 -0
  512. package/venv/lib/python3.10/site-packages/pip/_internal/utils/__init__.py +0 -0
  513. package/venv/lib/python3.10/site-packages/pip/_internal/utils/_log.py +38 -0
  514. package/venv/lib/python3.10/site-packages/pip/_internal/utils/appdirs.py +52 -0
  515. package/venv/lib/python3.10/site-packages/pip/_internal/utils/compat.py +63 -0
  516. package/venv/lib/python3.10/site-packages/pip/_internal/utils/compatibility_tags.py +165 -0
  517. package/venv/lib/python3.10/site-packages/pip/_internal/utils/datetime.py +11 -0
  518. package/venv/lib/python3.10/site-packages/pip/_internal/utils/deprecation.py +120 -0
  519. package/venv/lib/python3.10/site-packages/pip/_internal/utils/direct_url_helpers.py +87 -0
  520. package/venv/lib/python3.10/site-packages/pip/_internal/utils/distutils_args.py +42 -0
  521. package/venv/lib/python3.10/site-packages/pip/_internal/utils/egg_link.py +75 -0
  522. package/venv/lib/python3.10/site-packages/pip/_internal/utils/encoding.py +36 -0
  523. package/venv/lib/python3.10/site-packages/pip/_internal/utils/entrypoints.py +27 -0
  524. package/venv/lib/python3.10/site-packages/pip/_internal/utils/filesystem.py +182 -0
  525. package/venv/lib/python3.10/site-packages/pip/_internal/utils/filetypes.py +27 -0
  526. package/venv/lib/python3.10/site-packages/pip/_internal/utils/glibc.py +88 -0
  527. package/venv/lib/python3.10/site-packages/pip/_internal/utils/hashes.py +144 -0
  528. package/venv/lib/python3.10/site-packages/pip/_internal/utils/inject_securetransport.py +35 -0
  529. package/venv/lib/python3.10/site-packages/pip/_internal/utils/logging.py +343 -0
  530. package/venv/lib/python3.10/site-packages/pip/_internal/utils/misc.py +653 -0
  531. package/venv/lib/python3.10/site-packages/pip/_internal/utils/models.py +39 -0
  532. package/venv/lib/python3.10/site-packages/pip/_internal/utils/packaging.py +57 -0
  533. package/venv/lib/python3.10/site-packages/pip/_internal/utils/setuptools_build.py +195 -0
  534. package/venv/lib/python3.10/site-packages/pip/_internal/utils/subprocess.py +260 -0
  535. package/venv/lib/python3.10/site-packages/pip/_internal/utils/temp_dir.py +246 -0
  536. package/venv/lib/python3.10/site-packages/pip/_internal/utils/unpacking.py +258 -0
  537. package/venv/lib/python3.10/site-packages/pip/_internal/utils/urls.py +62 -0
  538. package/venv/lib/python3.10/site-packages/pip/_internal/utils/virtualenv.py +104 -0
  539. package/venv/lib/python3.10/site-packages/pip/_internal/utils/wheel.py +136 -0
  540. package/venv/lib/python3.10/site-packages/pip/_internal/vcs/__init__.py +15 -0
  541. package/venv/lib/python3.10/site-packages/pip/_internal/vcs/bazaar.py +101 -0
  542. package/venv/lib/python3.10/site-packages/pip/_internal/vcs/git.py +526 -0
  543. package/venv/lib/python3.10/site-packages/pip/_internal/vcs/mercurial.py +163 -0
  544. package/venv/lib/python3.10/site-packages/pip/_internal/vcs/subversion.py +324 -0
  545. package/venv/lib/python3.10/site-packages/pip/_internal/vcs/versioncontrol.py +705 -0
  546. package/venv/lib/python3.10/site-packages/pip/_internal/wheel_builder.py +377 -0
  547. package/venv/lib/python3.10/site-packages/pip/_vendor/__init__.py +111 -0
  548. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/__init__.py +18 -0
  549. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/_cmd.py +61 -0
  550. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/adapter.py +137 -0
  551. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/cache.py +43 -0
  552. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +6 -0
  553. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +150 -0
  554. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +37 -0
  555. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/compat.py +32 -0
  556. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/controller.py +415 -0
  557. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/filewrapper.py +111 -0
  558. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/heuristics.py +139 -0
  559. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/serialize.py +186 -0
  560. package/venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/wrapper.py +33 -0
  561. package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/__init__.py +3 -0
  562. package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/__main__.py +12 -0
  563. package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/cacert.pem +4362 -0
  564. package/venv/lib/python3.10/site-packages/pip/_vendor/certifi/core.py +76 -0
  565. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/__init__.py +83 -0
  566. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/big5freq.py +386 -0
  567. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/big5prober.py +47 -0
  568. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/chardistribution.py +233 -0
  569. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/charsetgroupprober.py +107 -0
  570. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/charsetprober.py +145 -0
  571. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/cli/__init__.py +1 -0
  572. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/cli/chardetect.py +84 -0
  573. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/codingstatemachine.py +88 -0
  574. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/compat.py +36 -0
  575. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/cp949prober.py +49 -0
  576. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/enums.py +76 -0
  577. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/escprober.py +101 -0
  578. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/escsm.py +246 -0
  579. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/eucjpprober.py +92 -0
  580. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euckrfreq.py +195 -0
  581. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euckrprober.py +47 -0
  582. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euctwfreq.py +387 -0
  583. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/euctwprober.py +46 -0
  584. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/gb2312freq.py +283 -0
  585. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/gb2312prober.py +46 -0
  586. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/hebrewprober.py +292 -0
  587. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/jisfreq.py +325 -0
  588. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/jpcntx.py +233 -0
  589. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langbulgarianmodel.py +4650 -0
  590. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langgreekmodel.py +4398 -0
  591. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langhebrewmodel.py +4383 -0
  592. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langhungarianmodel.py +4650 -0
  593. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langrussianmodel.py +5718 -0
  594. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langthaimodel.py +4383 -0
  595. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/langturkishmodel.py +4383 -0
  596. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/latin1prober.py +145 -0
  597. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/mbcharsetprober.py +91 -0
  598. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/mbcsgroupprober.py +54 -0
  599. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/mbcssm.py +572 -0
  600. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/metadata/__init__.py +0 -0
  601. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/metadata/languages.py +310 -0
  602. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/sbcharsetprober.py +145 -0
  603. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/sbcsgroupprober.py +83 -0
  604. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/sjisprober.py +92 -0
  605. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/universaldetector.py +286 -0
  606. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/utf8prober.py +82 -0
  607. package/venv/lib/python3.10/site-packages/pip/_vendor/chardet/version.py +9 -0
  608. package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/__init__.py +6 -0
  609. package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/ansi.py +102 -0
  610. package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/ansitowin32.py +258 -0
  611. package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/initialise.py +80 -0
  612. package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/win32.py +152 -0
  613. package/venv/lib/python3.10/site-packages/pip/_vendor/colorama/winterm.py +169 -0
  614. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/__init__.py +23 -0
  615. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/compat.py +1116 -0
  616. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/database.py +1345 -0
  617. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/index.py +509 -0
  618. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/locators.py +1300 -0
  619. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/manifest.py +393 -0
  620. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/markers.py +152 -0
  621. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/metadata.py +1058 -0
  622. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/resources.py +358 -0
  623. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/scripts.py +429 -0
  624. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/util.py +1932 -0
  625. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/version.py +739 -0
  626. package/venv/lib/python3.10/site-packages/pip/_vendor/distlib/wheel.py +1053 -0
  627. package/venv/lib/python3.10/site-packages/pip/_vendor/distro.py +1386 -0
  628. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/__init__.py +35 -0
  629. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_ihatexml.py +289 -0
  630. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_inputstream.py +918 -0
  631. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_tokenizer.py +1735 -0
  632. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/__init__.py +5 -0
  633. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/_base.py +40 -0
  634. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/py.py +67 -0
  635. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/_utils.py +159 -0
  636. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/constants.py +2946 -0
  637. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/__init__.py +0 -0
  638. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/alphabeticalattributes.py +29 -0
  639. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/base.py +12 -0
  640. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/inject_meta_charset.py +73 -0
  641. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/lint.py +93 -0
  642. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/optionaltags.py +207 -0
  643. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/sanitizer.py +916 -0
  644. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/filters/whitespace.py +38 -0
  645. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/html5parser.py +2795 -0
  646. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/serializer.py +409 -0
  647. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treeadapters/__init__.py +30 -0
  648. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treeadapters/genshi.py +54 -0
  649. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treeadapters/sax.py +50 -0
  650. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/__init__.py +88 -0
  651. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/base.py +417 -0
  652. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/dom.py +239 -0
  653. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/etree.py +343 -0
  654. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treebuilders/etree_lxml.py +392 -0
  655. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/__init__.py +154 -0
  656. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/base.py +252 -0
  657. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/dom.py +43 -0
  658. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/etree.py +131 -0
  659. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.py +215 -0
  660. package/venv/lib/python3.10/site-packages/pip/_vendor/html5lib/treewalkers/genshi.py +69 -0
  661. package/venv/lib/python3.10/site-packages/pip/_vendor/idna/__init__.py +44 -0
  662. package/venv/lib/python3.10/site-packages/pip/_vendor/idna/codec.py +112 -0
  663. package/venv/lib/python3.10/site-packages/pip/_vendor/idna/compat.py +13 -0
  664. package/venv/lib/python3.10/site-packages/pip/_vendor/idna/core.py +397 -0
  665. package/venv/lib/python3.10/site-packages/pip/_vendor/idna/idnadata.py +2137 -0
  666. package/venv/lib/python3.10/site-packages/pip/_vendor/idna/intranges.py +54 -0
  667. package/venv/lib/python3.10/site-packages/pip/_vendor/idna/package_data.py +2 -0
  668. package/venv/lib/python3.10/site-packages/pip/_vendor/idna/uts46data.py +8512 -0
  669. package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/__init__.py +54 -0
  670. package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/_version.py +1 -0
  671. package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/exceptions.py +48 -0
  672. package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/ext.py +193 -0
  673. package/venv/lib/python3.10/site-packages/pip/_vendor/msgpack/fallback.py +1012 -0
  674. package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/__about__.py +26 -0
  675. package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/__init__.py +25 -0
  676. package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_manylinux.py +301 -0
  677. package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_musllinux.py +136 -0
  678. package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/_structures.py +61 -0
  679. package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/markers.py +304 -0
  680. package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/requirements.py +146 -0
  681. package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/specifiers.py +802 -0
  682. package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/tags.py +487 -0
  683. package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/utils.py +136 -0
  684. package/venv/lib/python3.10/site-packages/pip/_vendor/packaging/version.py +504 -0
  685. package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/__init__.py +6 -0
  686. package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/build.py +127 -0
  687. package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/check.py +207 -0
  688. package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/colorlog.py +115 -0
  689. package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/compat.py +51 -0
  690. package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/dirtools.py +44 -0
  691. package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/envbuild.py +171 -0
  692. package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/__init__.py +17 -0
  693. package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py +363 -0
  694. package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/meta.py +92 -0
  695. package/venv/lib/python3.10/site-packages/pip/_vendor/pep517/wrappers.py +375 -0
  696. package/venv/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py +3296 -0
  697. package/venv/lib/python3.10/site-packages/pip/_vendor/pkg_resources/py31compat.py +23 -0
  698. package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/__init__.py +331 -0
  699. package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/__main__.py +46 -0
  700. package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/android.py +119 -0
  701. package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/api.py +156 -0
  702. package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/macos.py +64 -0
  703. package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/unix.py +181 -0
  704. package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/version.py +4 -0
  705. package/venv/lib/python3.10/site-packages/pip/_vendor/platformdirs/windows.py +182 -0
  706. package/venv/lib/python3.10/site-packages/pip/_vendor/progress/__init__.py +189 -0
  707. package/venv/lib/python3.10/site-packages/pip/_vendor/progress/bar.py +93 -0
  708. package/venv/lib/python3.10/site-packages/pip/_vendor/progress/colors.py +79 -0
  709. package/venv/lib/python3.10/site-packages/pip/_vendor/progress/counter.py +47 -0
  710. package/venv/lib/python3.10/site-packages/pip/_vendor/progress/spinner.py +45 -0
  711. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/__init__.py +83 -0
  712. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/__main__.py +17 -0
  713. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/cmdline.py +663 -0
  714. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/console.py +70 -0
  715. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/filter.py +71 -0
  716. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/filters/__init__.py +937 -0
  717. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatter.py +94 -0
  718. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/__init__.py +153 -0
  719. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/_mapping.py +84 -0
  720. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/bbcode.py +108 -0
  721. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/groff.py +168 -0
  722. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/html.py +983 -0
  723. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/img.py +641 -0
  724. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/irc.py +179 -0
  725. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/latex.py +511 -0
  726. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/other.py +161 -0
  727. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/pangomarkup.py +83 -0
  728. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/rtf.py +146 -0
  729. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/svg.py +188 -0
  730. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/terminal.py +127 -0
  731. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/formatters/terminal256.py +338 -0
  732. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexer.py +879 -0
  733. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexers/__init__.py +341 -0
  734. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexers/_mapping.py +580 -0
  735. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/lexers/python.py +1188 -0
  736. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/modeline.py +43 -0
  737. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/plugin.py +69 -0
  738. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/regexopt.py +91 -0
  739. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/scanner.py +104 -0
  740. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/sphinxext.py +155 -0
  741. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/style.py +197 -0
  742. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/styles/__init__.py +93 -0
  743. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/token.py +212 -0
  744. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/unistring.py +153 -0
  745. package/venv/lib/python3.10/site-packages/pip/_vendor/pygments/util.py +308 -0
  746. package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/__init__.py +328 -0
  747. package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/actions.py +207 -0
  748. package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/common.py +424 -0
  749. package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/core.py +5789 -0
  750. package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/diagram/__init__.py +593 -0
  751. package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/exceptions.py +267 -0
  752. package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/helpers.py +1069 -0
  753. package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/results.py +760 -0
  754. package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/testing.py +331 -0
  755. package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/unicode.py +332 -0
  756. package/venv/lib/python3.10/site-packages/pip/_vendor/pyparsing/util.py +235 -0
  757. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/__init__.py +154 -0
  758. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/__version__.py +14 -0
  759. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/_internal_utils.py +42 -0
  760. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/adapters.py +538 -0
  761. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/api.py +159 -0
  762. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/auth.py +305 -0
  763. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/certs.py +18 -0
  764. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/compat.py +77 -0
  765. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/cookies.py +549 -0
  766. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/exceptions.py +133 -0
  767. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/help.py +132 -0
  768. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/hooks.py +34 -0
  769. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/models.py +973 -0
  770. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/packages.py +16 -0
  771. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/sessions.py +771 -0
  772. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/status_codes.py +123 -0
  773. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/structures.py +105 -0
  774. package/venv/lib/python3.10/site-packages/pip/_vendor/requests/utils.py +1060 -0
  775. package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/__init__.py +26 -0
  776. package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/compat/__init__.py +0 -0
  777. package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py +6 -0
  778. package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/providers.py +133 -0
  779. package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/reporters.py +43 -0
  780. package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py +482 -0
  781. package/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/structs.py +165 -0
  782. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/__init__.py +172 -0
  783. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/__main__.py +280 -0
  784. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_cell_widths.py +451 -0
  785. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_emoji_codes.py +3610 -0
  786. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_emoji_replace.py +32 -0
  787. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_extension.py +10 -0
  788. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_inspect.py +210 -0
  789. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_log_render.py +94 -0
  790. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_loop.py +43 -0
  791. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_lru_cache.py +34 -0
  792. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_palettes.py +309 -0
  793. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_pick.py +17 -0
  794. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_ratio.py +160 -0
  795. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_spinners.py +848 -0
  796. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_stack.py +16 -0
  797. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_timer.py +19 -0
  798. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_windows.py +72 -0
  799. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/_wrap.py +55 -0
  800. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/abc.py +33 -0
  801. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/align.py +312 -0
  802. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/ansi.py +228 -0
  803. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/bar.py +94 -0
  804. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/box.py +483 -0
  805. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/cells.py +147 -0
  806. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/color.py +581 -0
  807. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/color_triplet.py +38 -0
  808. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/columns.py +187 -0
  809. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/console.py +2211 -0
  810. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/constrain.py +37 -0
  811. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/containers.py +167 -0
  812. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/control.py +175 -0
  813. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/default_styles.py +183 -0
  814. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/diagnose.py +6 -0
  815. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/emoji.py +96 -0
  816. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/errors.py +34 -0
  817. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/file_proxy.py +54 -0
  818. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/filesize.py +89 -0
  819. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/highlighter.py +147 -0
  820. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/json.py +140 -0
  821. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/jupyter.py +92 -0
  822. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/layout.py +444 -0
  823. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/live.py +365 -0
  824. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/live_render.py +113 -0
  825. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/logging.py +268 -0
  826. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/markup.py +244 -0
  827. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/measure.py +149 -0
  828. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/padding.py +141 -0
  829. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/pager.py +34 -0
  830. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/palette.py +100 -0
  831. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/panel.py +250 -0
  832. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/pretty.py +903 -0
  833. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/progress.py +1036 -0
  834. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/progress_bar.py +216 -0
  835. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/prompt.py +376 -0
  836. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/protocol.py +42 -0
  837. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/region.py +10 -0
  838. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/repr.py +151 -0
  839. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/rule.py +115 -0
  840. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/scope.py +86 -0
  841. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/screen.py +54 -0
  842. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/segment.py +720 -0
  843. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/spinner.py +134 -0
  844. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/status.py +132 -0
  845. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/style.py +785 -0
  846. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/styled.py +42 -0
  847. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/syntax.py +735 -0
  848. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/table.py +968 -0
  849. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/tabulate.py +51 -0
  850. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/terminal_theme.py +55 -0
  851. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/text.py +1282 -0
  852. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/theme.py +112 -0
  853. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/themes.py +5 -0
  854. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/traceback.py +678 -0
  855. package/venv/lib/python3.10/site-packages/pip/_vendor/rich/tree.py +249 -0
  856. package/venv/lib/python3.10/site-packages/pip/_vendor/six.py +998 -0
  857. package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/__init__.py +517 -0
  858. package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/_asyncio.py +92 -0
  859. package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/_utils.py +68 -0
  860. package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/after.py +46 -0
  861. package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/before.py +41 -0
  862. package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/before_sleep.py +58 -0
  863. package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/nap.py +43 -0
  864. package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/retry.py +213 -0
  865. package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/stop.py +96 -0
  866. package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/tornadoweb.py +59 -0
  867. package/venv/lib/python3.10/site-packages/pip/_vendor/tenacity/wait.py +191 -0
  868. package/venv/lib/python3.10/site-packages/pip/_vendor/tomli/__init__.py +6 -0
  869. package/venv/lib/python3.10/site-packages/pip/_vendor/tomli/_parser.py +703 -0
  870. package/venv/lib/python3.10/site-packages/pip/_vendor/tomli/_re.py +83 -0
  871. package/venv/lib/python3.10/site-packages/pip/_vendor/typing_extensions.py +2296 -0
  872. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/__init__.py +85 -0
  873. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/_collections.py +355 -0
  874. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/_version.py +2 -0
  875. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/connection.py +569 -0
  876. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/connectionpool.py +1113 -0
  877. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
  878. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py +36 -0
  879. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
  880. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +519 -0
  881. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +397 -0
  882. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/appengine.py +314 -0
  883. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +130 -0
  884. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +511 -0
  885. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +922 -0
  886. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/contrib/socks.py +216 -0
  887. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/exceptions.py +323 -0
  888. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/fields.py +274 -0
  889. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/filepost.py +98 -0
  890. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/packages/__init__.py +0 -0
  891. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
  892. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +51 -0
  893. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/packages/six.py +1077 -0
  894. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/poolmanager.py +539 -0
  895. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/request.py +170 -0
  896. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py +821 -0
  897. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/__init__.py +49 -0
  898. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/connection.py +149 -0
  899. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/proxy.py +57 -0
  900. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/queue.py +22 -0
  901. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/request.py +143 -0
  902. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/response.py +107 -0
  903. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/retry.py +622 -0
  904. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/ssl_.py +495 -0
  905. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py +161 -0
  906. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/ssltransport.py +221 -0
  907. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/timeout.py +268 -0
  908. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/url.py +432 -0
  909. package/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/util/wait.py +153 -0
  910. package/venv/lib/python3.10/site-packages/pip/_vendor/vendor.txt +25 -0
  911. package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/__init__.py +342 -0
  912. package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/labels.py +231 -0
  913. package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/mklabels.py +59 -0
  914. package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/tests.py +153 -0
  915. package/venv/lib/python3.10/site-packages/pip/_vendor/webencodings/x_user_defined.py +325 -0
  916. package/venv/lib/python3.10/site-packages/pip/py.typed +4 -0
  917. package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/INSTALLER +1 -0
  918. package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/LICENSE.txt +20 -0
  919. package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/METADATA +92 -0
  920. package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/RECORD +1037 -0
  921. package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/REQUESTED +0 -0
  922. package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/WHEEL +5 -0
  923. package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/entry_points.txt +5 -0
  924. package/venv/lib/python3.10/site-packages/pip-22.0.2.dist-info/top_level.txt +1 -0
  925. package/venv/lib/python3.10/site-packages/pkg_resources/__init__.py +3303 -0
  926. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/__init__.py +0 -0
  927. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/appdirs.py +608 -0
  928. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__about__.py +26 -0
  929. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/__init__.py +25 -0
  930. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/_manylinux.py +301 -0
  931. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/_musllinux.py +136 -0
  932. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/_structures.py +67 -0
  933. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/markers.py +304 -0
  934. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/requirements.py +146 -0
  935. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/specifiers.py +828 -0
  936. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/tags.py +484 -0
  937. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/utils.py +136 -0
  938. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/packaging/version.py +504 -0
  939. package/venv/lib/python3.10/site-packages/pkg_resources/_vendor/pyparsing.py +5742 -0
  940. package/venv/lib/python3.10/site-packages/pkg_resources/extern/__init__.py +73 -0
  941. package/venv/lib/python3.10/site-packages/pkg_resources/tests/data/my-test-package-source/setup.py +6 -0
  942. package/venv/lib/python3.10/site-packages/propcache/__init__.py +32 -0
  943. package/venv/lib/python3.10/site-packages/propcache/_helpers.py +39 -0
  944. package/venv/lib/python3.10/site-packages/propcache/_helpers_c.cpython-310-x86_64-linux-gnu.so +0 -0
  945. package/venv/lib/python3.10/site-packages/propcache/_helpers_c.pyx +84 -0
  946. package/venv/lib/python3.10/site-packages/propcache/_helpers_py.py +56 -0
  947. package/venv/lib/python3.10/site-packages/propcache/api.py +8 -0
  948. package/venv/lib/python3.10/site-packages/propcache/py.typed +1 -0
  949. package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/INSTALLER +1 -0
  950. package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/LICENSE +202 -0
  951. package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/METADATA +275 -0
  952. package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/NOTICE +13 -0
  953. package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/RECORD +18 -0
  954. package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/WHEEL +6 -0
  955. package/venv/lib/python3.10/site-packages/propcache-0.2.1.dist-info/top_level.txt +1 -0
  956. package/venv/lib/python3.10/site-packages/pycparser/__init__.py +93 -0
  957. package/venv/lib/python3.10/site-packages/pycparser/_ast_gen.py +336 -0
  958. package/venv/lib/python3.10/site-packages/pycparser/_build_tables.py +40 -0
  959. package/venv/lib/python3.10/site-packages/pycparser/_c_ast.cfg +195 -0
  960. package/venv/lib/python3.10/site-packages/pycparser/ast_transforms.py +164 -0
  961. package/venv/lib/python3.10/site-packages/pycparser/c_ast.py +1125 -0
  962. package/venv/lib/python3.10/site-packages/pycparser/c_generator.py +502 -0
  963. package/venv/lib/python3.10/site-packages/pycparser/c_lexer.py +555 -0
  964. package/venv/lib/python3.10/site-packages/pycparser/c_parser.py +1950 -0
  965. package/venv/lib/python3.10/site-packages/pycparser/lextab.py +10 -0
  966. package/venv/lib/python3.10/site-packages/pycparser/ply/__init__.py +5 -0
  967. package/venv/lib/python3.10/site-packages/pycparser/ply/cpp.py +905 -0
  968. package/venv/lib/python3.10/site-packages/pycparser/ply/ctokens.py +133 -0
  969. package/venv/lib/python3.10/site-packages/pycparser/ply/lex.py +1099 -0
  970. package/venv/lib/python3.10/site-packages/pycparser/ply/yacc.py +3494 -0
  971. package/venv/lib/python3.10/site-packages/pycparser/ply/ygen.py +74 -0
  972. package/venv/lib/python3.10/site-packages/pycparser/plyparser.py +133 -0
  973. package/venv/lib/python3.10/site-packages/pycparser/yacctab.py +369 -0
  974. package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/INSTALLER +1 -0
  975. package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/LICENSE +27 -0
  976. package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/METADATA +28 -0
  977. package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/RECORD +41 -0
  978. package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/WHEEL +5 -0
  979. package/venv/lib/python3.10/site-packages/pycparser-2.22.dist-info/top_level.txt +1 -0
  980. package/venv/lib/python3.10/site-packages/pyparsing/__init__.py +326 -0
  981. package/venv/lib/python3.10/site-packages/pyparsing/actions.py +219 -0
  982. package/venv/lib/python3.10/site-packages/pyparsing/common.py +434 -0
  983. package/venv/lib/python3.10/site-packages/pyparsing/core.py +6226 -0
  984. package/venv/lib/python3.10/site-packages/pyparsing/diagram/__init__.py +744 -0
  985. package/venv/lib/python3.10/site-packages/pyparsing/exceptions.py +314 -0
  986. package/venv/lib/python3.10/site-packages/pyparsing/helpers.py +1102 -0
  987. package/venv/lib/python3.10/site-packages/pyparsing/py.typed +0 -0
  988. package/venv/lib/python3.10/site-packages/pyparsing/results.py +816 -0
  989. package/venv/lib/python3.10/site-packages/pyparsing/testing.py +362 -0
  990. package/venv/lib/python3.10/site-packages/pyparsing/unicode.py +356 -0
  991. package/venv/lib/python3.10/site-packages/pyparsing/util.py +398 -0
  992. package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/INSTALLER +1 -0
  993. package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/LICENSE +18 -0
  994. package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/METADATA +124 -0
  995. package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/RECORD +28 -0
  996. package/venv/lib/python3.10/site-packages/pyparsing-3.2.1.dist-info/WHEEL +4 -0
  997. package/venv/lib/python3.10/site-packages/requests/__init__.py +184 -0
  998. package/venv/lib/python3.10/site-packages/requests/__version__.py +14 -0
  999. package/venv/lib/python3.10/site-packages/requests/_internal_utils.py +50 -0
  1000. package/venv/lib/python3.10/site-packages/requests/adapters.py +719 -0
  1001. package/venv/lib/python3.10/site-packages/requests/api.py +157 -0
  1002. package/venv/lib/python3.10/site-packages/requests/auth.py +314 -0
  1003. package/venv/lib/python3.10/site-packages/requests/certs.py +17 -0
  1004. package/venv/lib/python3.10/site-packages/requests/compat.py +94 -0
  1005. package/venv/lib/python3.10/site-packages/requests/cookies.py +561 -0
  1006. package/venv/lib/python3.10/site-packages/requests/exceptions.py +151 -0
  1007. package/venv/lib/python3.10/site-packages/requests/help.py +134 -0
  1008. package/venv/lib/python3.10/site-packages/requests/hooks.py +33 -0
  1009. package/venv/lib/python3.10/site-packages/requests/models.py +1037 -0
  1010. package/venv/lib/python3.10/site-packages/requests/packages.py +23 -0
  1011. package/venv/lib/python3.10/site-packages/requests/sessions.py +831 -0
  1012. package/venv/lib/python3.10/site-packages/requests/status_codes.py +128 -0
  1013. package/venv/lib/python3.10/site-packages/requests/structures.py +99 -0
  1014. package/venv/lib/python3.10/site-packages/requests/utils.py +1096 -0
  1015. package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/INSTALLER +1 -0
  1016. package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/LICENSE +175 -0
  1017. package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/METADATA +119 -0
  1018. package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/RECORD +43 -0
  1019. package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/REQUESTED +0 -0
  1020. package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/WHEEL +5 -0
  1021. package/venv/lib/python3.10/site-packages/requests-2.32.3.dist-info/top_level.txt +1 -0
  1022. package/venv/lib/python3.10/site-packages/requests_toolbelt/__init__.py +34 -0
  1023. package/venv/lib/python3.10/site-packages/requests_toolbelt/_compat.py +302 -0
  1024. package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/__init__.py +15 -0
  1025. package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/appengine.py +206 -0
  1026. package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/fingerprint.py +48 -0
  1027. package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/host_header_ssl.py +43 -0
  1028. package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/socket_options.py +129 -0
  1029. package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/source.py +67 -0
  1030. package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/ssl.py +66 -0
  1031. package/venv/lib/python3.10/site-packages/requests_toolbelt/adapters/x509.py +196 -0
  1032. package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/__init__.py +0 -0
  1033. package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/_digest_auth_compat.py +29 -0
  1034. package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/guess.py +146 -0
  1035. package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/handler.py +142 -0
  1036. package/venv/lib/python3.10/site-packages/requests_toolbelt/auth/http_proxy_digest.py +103 -0
  1037. package/venv/lib/python3.10/site-packages/requests_toolbelt/cookies/__init__.py +0 -0
  1038. package/venv/lib/python3.10/site-packages/requests_toolbelt/cookies/forgetful.py +7 -0
  1039. package/venv/lib/python3.10/site-packages/requests_toolbelt/downloadutils/__init__.py +0 -0
  1040. package/venv/lib/python3.10/site-packages/requests_toolbelt/downloadutils/stream.py +176 -0
  1041. package/venv/lib/python3.10/site-packages/requests_toolbelt/downloadutils/tee.py +123 -0
  1042. package/venv/lib/python3.10/site-packages/requests_toolbelt/exceptions.py +25 -0
  1043. package/venv/lib/python3.10/site-packages/requests_toolbelt/multipart/__init__.py +31 -0
  1044. package/venv/lib/python3.10/site-packages/requests_toolbelt/multipart/decoder.py +156 -0
  1045. package/venv/lib/python3.10/site-packages/requests_toolbelt/multipart/encoder.py +655 -0
  1046. package/venv/lib/python3.10/site-packages/requests_toolbelt/sessions.py +89 -0
  1047. package/venv/lib/python3.10/site-packages/requests_toolbelt/streaming_iterator.py +116 -0
  1048. package/venv/lib/python3.10/site-packages/requests_toolbelt/threaded/__init__.py +97 -0
  1049. package/venv/lib/python3.10/site-packages/requests_toolbelt/threaded/pool.py +211 -0
  1050. package/venv/lib/python3.10/site-packages/requests_toolbelt/threaded/thread.py +53 -0
  1051. package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/__init__.py +0 -0
  1052. package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/deprecated.py +91 -0
  1053. package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/dump.py +198 -0
  1054. package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/formdata.py +108 -0
  1055. package/venv/lib/python3.10/site-packages/requests_toolbelt/utils/user_agent.py +143 -0
  1056. package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/AUTHORS.rst +57 -0
  1057. package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/INSTALLER +1 -0
  1058. package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/LICENSE +13 -0
  1059. package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/METADATA +521 -0
  1060. package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/RECORD +75 -0
  1061. package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/WHEEL +6 -0
  1062. package/venv/lib/python3.10/site-packages/requests_toolbelt-1.0.0.dist-info/top_level.txt +1 -0
  1063. package/venv/lib/python3.10/site-packages/scrypted_arlo_go/__init__.py +1 -0
  1064. package/venv/lib/python3.10/site-packages/scrypted_arlo_go/_scrypted_arlo_go.cpython-310-x86_64-linux-gnu.h +555 -0
  1065. package/venv/lib/python3.10/site-packages/scrypted_arlo_go/_scrypted_arlo_go.cpython-310-x86_64-linux-gnu.so +0 -0
  1066. package/venv/lib/python3.10/site-packages/scrypted_arlo_go/build.py +344 -0
  1067. package/venv/lib/python3.10/site-packages/scrypted_arlo_go/go.py +2215 -0
  1068. package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go.c +6019 -0
  1069. package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go.go +3612 -0
  1070. package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go.py +1910 -0
  1071. package/venv/lib/python3.10/site-packages/scrypted_arlo_go/scrypted_arlo_go_go.h +555 -0
  1072. package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/INSTALLER +1 -0
  1073. package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/METADATA +11 -0
  1074. package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/RECORD +19 -0
  1075. package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/REQUESTED +0 -0
  1076. package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/WHEEL +8 -0
  1077. package/venv/lib/python3.10/site-packages/scrypted_arlo_go-0.7.6.dist-info/top_level.txt +1 -0
  1078. package/venv/lib/python3.10/site-packages/setuptools/__init__.py +242 -0
  1079. package/venv/lib/python3.10/site-packages/setuptools/_deprecation_warning.py +7 -0
  1080. package/venv/lib/python3.10/site-packages/setuptools/_distutils/__init__.py +24 -0
  1081. package/venv/lib/python3.10/site-packages/setuptools/_distutils/_msvccompiler.py +561 -0
  1082. package/venv/lib/python3.10/site-packages/setuptools/_distutils/archive_util.py +256 -0
  1083. package/venv/lib/python3.10/site-packages/setuptools/_distutils/bcppcompiler.py +393 -0
  1084. package/venv/lib/python3.10/site-packages/setuptools/_distutils/ccompiler.py +1123 -0
  1085. package/venv/lib/python3.10/site-packages/setuptools/_distutils/cmd.py +403 -0
  1086. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/__init__.py +31 -0
  1087. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist.py +143 -0
  1088. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_dumb.py +123 -0
  1089. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_msi.py +749 -0
  1090. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_rpm.py +579 -0
  1091. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/bdist_wininst.py +377 -0
  1092. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build.py +157 -0
  1093. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_clib.py +209 -0
  1094. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py +755 -0
  1095. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_py.py +392 -0
  1096. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/build_scripts.py +152 -0
  1097. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/check.py +148 -0
  1098. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/clean.py +76 -0
  1099. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/config.py +344 -0
  1100. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install.py +721 -0
  1101. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_data.py +79 -0
  1102. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_egg_info.py +84 -0
  1103. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_headers.py +47 -0
  1104. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_lib.py +217 -0
  1105. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/install_scripts.py +60 -0
  1106. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/py37compat.py +30 -0
  1107. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/register.py +304 -0
  1108. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py +494 -0
  1109. package/venv/lib/python3.10/site-packages/setuptools/_distutils/command/upload.py +214 -0
  1110. package/venv/lib/python3.10/site-packages/setuptools/_distutils/config.py +130 -0
  1111. package/venv/lib/python3.10/site-packages/setuptools/_distutils/core.py +249 -0
  1112. package/venv/lib/python3.10/site-packages/setuptools/_distutils/cygwinccompiler.py +425 -0
  1113. package/venv/lib/python3.10/site-packages/setuptools/_distutils/debug.py +5 -0
  1114. package/venv/lib/python3.10/site-packages/setuptools/_distutils/dep_util.py +92 -0
  1115. package/venv/lib/python3.10/site-packages/setuptools/_distutils/dir_util.py +210 -0
  1116. package/venv/lib/python3.10/site-packages/setuptools/_distutils/dist.py +1257 -0
  1117. package/venv/lib/python3.10/site-packages/setuptools/_distutils/errors.py +97 -0
  1118. package/venv/lib/python3.10/site-packages/setuptools/_distutils/extension.py +240 -0
  1119. package/venv/lib/python3.10/site-packages/setuptools/_distutils/fancy_getopt.py +457 -0
  1120. package/venv/lib/python3.10/site-packages/setuptools/_distutils/file_util.py +238 -0
  1121. package/venv/lib/python3.10/site-packages/setuptools/_distutils/filelist.py +355 -0
  1122. package/venv/lib/python3.10/site-packages/setuptools/_distutils/log.py +77 -0
  1123. package/venv/lib/python3.10/site-packages/setuptools/_distutils/msvc9compiler.py +788 -0
  1124. package/venv/lib/python3.10/site-packages/setuptools/_distutils/msvccompiler.py +643 -0
  1125. package/venv/lib/python3.10/site-packages/setuptools/_distutils/py35compat.py +19 -0
  1126. package/venv/lib/python3.10/site-packages/setuptools/_distutils/py38compat.py +7 -0
  1127. package/venv/lib/python3.10/site-packages/setuptools/_distutils/spawn.py +106 -0
  1128. package/venv/lib/python3.10/site-packages/setuptools/_distutils/sysconfig.py +601 -0
  1129. package/venv/lib/python3.10/site-packages/setuptools/_distutils/text_file.py +286 -0
  1130. package/venv/lib/python3.10/site-packages/setuptools/_distutils/unixccompiler.py +325 -0
  1131. package/venv/lib/python3.10/site-packages/setuptools/_distutils/util.py +548 -0
  1132. package/venv/lib/python3.10/site-packages/setuptools/_distutils/version.py +363 -0
  1133. package/venv/lib/python3.10/site-packages/setuptools/_distutils/versionpredicate.py +169 -0
  1134. package/venv/lib/python3.10/site-packages/setuptools/_imp.py +82 -0
  1135. package/venv/lib/python3.10/site-packages/setuptools/_vendor/__init__.py +0 -0
  1136. package/venv/lib/python3.10/site-packages/setuptools/_vendor/more_itertools/__init__.py +4 -0
  1137. package/venv/lib/python3.10/site-packages/setuptools/_vendor/more_itertools/more.py +3825 -0
  1138. package/venv/lib/python3.10/site-packages/setuptools/_vendor/more_itertools/recipes.py +620 -0
  1139. package/venv/lib/python3.10/site-packages/setuptools/_vendor/ordered_set.py +488 -0
  1140. package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/__about__.py +26 -0
  1141. package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/__init__.py +25 -0
  1142. package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/_manylinux.py +301 -0
  1143. package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/_musllinux.py +136 -0
  1144. package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/_structures.py +67 -0
  1145. package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/markers.py +304 -0
  1146. package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/requirements.py +146 -0
  1147. package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/specifiers.py +828 -0
  1148. package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/tags.py +484 -0
  1149. package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/utils.py +136 -0
  1150. package/venv/lib/python3.10/site-packages/setuptools/_vendor/packaging/version.py +504 -0
  1151. package/venv/lib/python3.10/site-packages/setuptools/_vendor/pyparsing.py +5742 -0
  1152. package/venv/lib/python3.10/site-packages/setuptools/archive_util.py +205 -0
  1153. package/venv/lib/python3.10/site-packages/setuptools/build_meta.py +290 -0
  1154. package/venv/lib/python3.10/site-packages/setuptools/cli-32.exe +0 -0
  1155. package/venv/lib/python3.10/site-packages/setuptools/cli-64.exe +0 -0
  1156. package/venv/lib/python3.10/site-packages/setuptools/cli-arm64.exe +0 -0
  1157. package/venv/lib/python3.10/site-packages/setuptools/cli.exe +0 -0
  1158. package/venv/lib/python3.10/site-packages/setuptools/command/__init__.py +8 -0
  1159. package/venv/lib/python3.10/site-packages/setuptools/command/alias.py +78 -0
  1160. package/venv/lib/python3.10/site-packages/setuptools/command/bdist_egg.py +456 -0
  1161. package/venv/lib/python3.10/site-packages/setuptools/command/bdist_rpm.py +40 -0
  1162. package/venv/lib/python3.10/site-packages/setuptools/command/build_clib.py +101 -0
  1163. package/venv/lib/python3.10/site-packages/setuptools/command/build_ext.py +328 -0
  1164. package/venv/lib/python3.10/site-packages/setuptools/command/build_py.py +242 -0
  1165. package/venv/lib/python3.10/site-packages/setuptools/command/develop.py +193 -0
  1166. package/venv/lib/python3.10/site-packages/setuptools/command/dist_info.py +36 -0
  1167. package/venv/lib/python3.10/site-packages/setuptools/command/easy_install.py +2354 -0
  1168. package/venv/lib/python3.10/site-packages/setuptools/command/egg_info.py +755 -0
  1169. package/venv/lib/python3.10/site-packages/setuptools/command/install.py +132 -0
  1170. package/venv/lib/python3.10/site-packages/setuptools/command/install_egg_info.py +82 -0
  1171. package/venv/lib/python3.10/site-packages/setuptools/command/install_lib.py +148 -0
  1172. package/venv/lib/python3.10/site-packages/setuptools/command/install_scripts.py +69 -0
  1173. package/venv/lib/python3.10/site-packages/setuptools/command/launcher manifest.xml +15 -0
  1174. package/venv/lib/python3.10/site-packages/setuptools/command/py36compat.py +134 -0
  1175. package/venv/lib/python3.10/site-packages/setuptools/command/register.py +18 -0
  1176. package/venv/lib/python3.10/site-packages/setuptools/command/rotate.py +64 -0
  1177. package/venv/lib/python3.10/site-packages/setuptools/command/saveopts.py +22 -0
  1178. package/venv/lib/python3.10/site-packages/setuptools/command/sdist.py +196 -0
  1179. package/venv/lib/python3.10/site-packages/setuptools/command/setopt.py +149 -0
  1180. package/venv/lib/python3.10/site-packages/setuptools/command/test.py +252 -0
  1181. package/venv/lib/python3.10/site-packages/setuptools/command/upload.py +17 -0
  1182. package/venv/lib/python3.10/site-packages/setuptools/command/upload_docs.py +202 -0
  1183. package/venv/lib/python3.10/site-packages/setuptools/config.py +751 -0
  1184. package/venv/lib/python3.10/site-packages/setuptools/dep_util.py +25 -0
  1185. package/venv/lib/python3.10/site-packages/setuptools/depends.py +176 -0
  1186. package/venv/lib/python3.10/site-packages/setuptools/dist.py +1156 -0
  1187. package/venv/lib/python3.10/site-packages/setuptools/errors.py +40 -0
  1188. package/venv/lib/python3.10/site-packages/setuptools/extension.py +55 -0
  1189. package/venv/lib/python3.10/site-packages/setuptools/extern/__init__.py +73 -0
  1190. package/venv/lib/python3.10/site-packages/setuptools/glob.py +167 -0
  1191. package/venv/lib/python3.10/site-packages/setuptools/gui-32.exe +0 -0
  1192. package/venv/lib/python3.10/site-packages/setuptools/gui-64.exe +0 -0
  1193. package/venv/lib/python3.10/site-packages/setuptools/gui-arm64.exe +0 -0
  1194. package/venv/lib/python3.10/site-packages/setuptools/gui.exe +0 -0
  1195. package/venv/lib/python3.10/site-packages/setuptools/installer.py +104 -0
  1196. package/venv/lib/python3.10/site-packages/setuptools/launch.py +36 -0
  1197. package/venv/lib/python3.10/site-packages/setuptools/monkey.py +177 -0
  1198. package/venv/lib/python3.10/site-packages/setuptools/msvc.py +1805 -0
  1199. package/venv/lib/python3.10/site-packages/setuptools/namespaces.py +107 -0
  1200. package/venv/lib/python3.10/site-packages/setuptools/package_index.py +1150 -0
  1201. package/venv/lib/python3.10/site-packages/setuptools/py34compat.py +13 -0
  1202. package/venv/lib/python3.10/site-packages/setuptools/sandbox.py +530 -0
  1203. package/venv/lib/python3.10/site-packages/setuptools/script (dev).tmpl +6 -0
  1204. package/venv/lib/python3.10/site-packages/setuptools/script.tmpl +3 -0
  1205. package/venv/lib/python3.10/site-packages/setuptools/unicode_utils.py +42 -0
  1206. package/venv/lib/python3.10/site-packages/setuptools/version.py +6 -0
  1207. package/venv/lib/python3.10/site-packages/setuptools/wheel.py +213 -0
  1208. package/venv/lib/python3.10/site-packages/setuptools/windows_support.py +29 -0
  1209. package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/INSTALLER +1 -0
  1210. package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/LICENSE +19 -0
  1211. package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/METADATA +125 -0
  1212. package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/RECORD +298 -0
  1213. package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/REQUESTED +0 -0
  1214. package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/WHEEL +5 -0
  1215. package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/entry_points.txt +56 -0
  1216. package/venv/lib/python3.10/site-packages/setuptools-59.6.0.dist-info/top_level.txt +4 -0
  1217. package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/INSTALLER +1 -0
  1218. package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/LICENSE +18 -0
  1219. package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/METADATA +43 -0
  1220. package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/RECORD +8 -0
  1221. package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/WHEEL +6 -0
  1222. package/venv/lib/python3.10/site-packages/six-1.17.0.dist-info/top_level.txt +1 -0
  1223. package/venv/lib/python3.10/site-packages/six.py +1003 -0
  1224. package/venv/lib/python3.10/site-packages/soupsieve/__init__.py +168 -0
  1225. package/venv/lib/python3.10/site-packages/soupsieve/__meta__.py +197 -0
  1226. package/venv/lib/python3.10/site-packages/soupsieve/css_match.py +1582 -0
  1227. package/venv/lib/python3.10/site-packages/soupsieve/css_parser.py +1289 -0
  1228. package/venv/lib/python3.10/site-packages/soupsieve/css_types.py +407 -0
  1229. package/venv/lib/python3.10/site-packages/soupsieve/pretty.py +139 -0
  1230. package/venv/lib/python3.10/site-packages/soupsieve/py.typed +0 -0
  1231. package/venv/lib/python3.10/site-packages/soupsieve/util.py +117 -0
  1232. package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/INSTALLER +1 -0
  1233. package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/METADATA +114 -0
  1234. package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/RECORD +20 -0
  1235. package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/WHEEL +4 -0
  1236. package/venv/lib/python3.10/site-packages/soupsieve-2.6.dist-info/licenses/LICENSE.md +21 -0
  1237. package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/PKG-INFO +98 -0
  1238. package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/SOURCES.txt +12 -0
  1239. package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/dependency_links.txt +1 -0
  1240. package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/installed-files.txt +7 -0
  1241. package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/requires.txt +2 -0
  1242. package/venv/lib/python3.10/site-packages/sseclient-0.0.22.egg-info/top_level.txt +1 -0
  1243. package/venv/lib/python3.10/site-packages/sseclient.py +165 -0
  1244. package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/INSTALLER +1 -0
  1245. package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/LICENSE +279 -0
  1246. package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/METADATA +67 -0
  1247. package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/RECORD +7 -0
  1248. package/venv/lib/python3.10/site-packages/typing_extensions-4.12.2.dist-info/WHEEL +4 -0
  1249. package/venv/lib/python3.10/site-packages/typing_extensions.py +3641 -0
  1250. package/venv/lib/python3.10/site-packages/urllib3/__init__.py +211 -0
  1251. package/venv/lib/python3.10/site-packages/urllib3/_base_connection.py +165 -0
  1252. package/venv/lib/python3.10/site-packages/urllib3/_collections.py +479 -0
  1253. package/venv/lib/python3.10/site-packages/urllib3/_request_methods.py +278 -0
  1254. package/venv/lib/python3.10/site-packages/urllib3/_version.py +16 -0
  1255. package/venv/lib/python3.10/site-packages/urllib3/connection.py +1044 -0
  1256. package/venv/lib/python3.10/site-packages/urllib3/connectionpool.py +1178 -0
  1257. package/venv/lib/python3.10/site-packages/urllib3/contrib/__init__.py +0 -0
  1258. package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/__init__.py +16 -0
  1259. package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/connection.py +255 -0
  1260. package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/emscripten_fetch_worker.js +110 -0
  1261. package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/fetch.py +708 -0
  1262. package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/request.py +22 -0
  1263. package/venv/lib/python3.10/site-packages/urllib3/contrib/emscripten/response.py +285 -0
  1264. package/venv/lib/python3.10/site-packages/urllib3/contrib/pyopenssl.py +554 -0
  1265. package/venv/lib/python3.10/site-packages/urllib3/contrib/socks.py +228 -0
  1266. package/venv/lib/python3.10/site-packages/urllib3/exceptions.py +327 -0
  1267. package/venv/lib/python3.10/site-packages/urllib3/fields.py +341 -0
  1268. package/venv/lib/python3.10/site-packages/urllib3/filepost.py +89 -0
  1269. package/venv/lib/python3.10/site-packages/urllib3/http2/__init__.py +53 -0
  1270. package/venv/lib/python3.10/site-packages/urllib3/http2/connection.py +356 -0
  1271. package/venv/lib/python3.10/site-packages/urllib3/http2/probe.py +87 -0
  1272. package/venv/lib/python3.10/site-packages/urllib3/poolmanager.py +637 -0
  1273. package/venv/lib/python3.10/site-packages/urllib3/py.typed +2 -0
  1274. package/venv/lib/python3.10/site-packages/urllib3/response.py +1278 -0
  1275. package/venv/lib/python3.10/site-packages/urllib3/util/__init__.py +42 -0
  1276. package/venv/lib/python3.10/site-packages/urllib3/util/connection.py +137 -0
  1277. package/venv/lib/python3.10/site-packages/urllib3/util/proxy.py +43 -0
  1278. package/venv/lib/python3.10/site-packages/urllib3/util/request.py +258 -0
  1279. package/venv/lib/python3.10/site-packages/urllib3/util/response.py +101 -0
  1280. package/venv/lib/python3.10/site-packages/urllib3/util/retry.py +533 -0
  1281. package/venv/lib/python3.10/site-packages/urllib3/util/ssl_.py +504 -0
  1282. package/venv/lib/python3.10/site-packages/urllib3/util/ssl_match_hostname.py +159 -0
  1283. package/venv/lib/python3.10/site-packages/urllib3/util/ssltransport.py +271 -0
  1284. package/venv/lib/python3.10/site-packages/urllib3/util/timeout.py +275 -0
  1285. package/venv/lib/python3.10/site-packages/urllib3/util/url.py +469 -0
  1286. package/venv/lib/python3.10/site-packages/urllib3/util/util.py +42 -0
  1287. package/venv/lib/python3.10/site-packages/urllib3/util/wait.py +124 -0
  1288. package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/INSTALLER +1 -0
  1289. package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/METADATA +154 -0
  1290. package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/RECORD +80 -0
  1291. package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/REQUESTED +0 -0
  1292. package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/WHEEL +4 -0
  1293. package/venv/lib/python3.10/site-packages/urllib3-2.3.0.dist-info/licenses/LICENSE.txt +21 -0
  1294. package/venv/lib/python3.10/site-packages/yarl/__init__.py +14 -0
  1295. package/venv/lib/python3.10/site-packages/yarl/_parse.py +189 -0
  1296. package/venv/lib/python3.10/site-packages/yarl/_path.py +41 -0
  1297. package/venv/lib/python3.10/site-packages/yarl/_query.py +118 -0
  1298. package/venv/lib/python3.10/site-packages/yarl/_quoters.py +32 -0
  1299. package/venv/lib/python3.10/site-packages/yarl/_quoting.py +18 -0
  1300. package/venv/lib/python3.10/site-packages/yarl/_quoting_c.cpython-310-x86_64-linux-gnu.so +0 -0
  1301. package/venv/lib/python3.10/site-packages/yarl/_quoting_c.pyi +16 -0
  1302. package/venv/lib/python3.10/site-packages/yarl/_quoting_c.pyx +423 -0
  1303. package/venv/lib/python3.10/site-packages/yarl/_quoting_py.py +197 -0
  1304. package/venv/lib/python3.10/site-packages/yarl/_url.py +1584 -0
  1305. package/venv/lib/python3.10/site-packages/yarl/py.typed +1 -0
  1306. package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/INSTALLER +1 -0
  1307. package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/LICENSE +202 -0
  1308. package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/METADATA +2279 -0
  1309. package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/NOTICE +13 -0
  1310. package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/RECORD +27 -0
  1311. package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/WHEEL +6 -0
  1312. package/venv/lib/python3.10/site-packages/yarl-1.18.3.dist-info/top_level.txt +1 -0
  1313. package/venv/pyvenv.cfg +3 -0
@@ -0,0 +1,1060 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+ """
4
+ requests.utils
5
+ ~~~~~~~~~~~~~~
6
+
7
+ This module provides utility functions that are used within Requests
8
+ that are also useful for external consumption.
9
+ """
10
+
11
+ import codecs
12
+ import contextlib
13
+ import io
14
+ import os
15
+ import re
16
+ import socket
17
+ import struct
18
+ import sys
19
+ import tempfile
20
+ import warnings
21
+ import zipfile
22
+ from collections import OrderedDict
23
+ from pip._vendor.urllib3.util import make_headers
24
+ from pip._vendor.urllib3.util import parse_url
25
+
26
+ from .__version__ import __version__
27
+ from . import certs
28
+ # to_native_string is unused here, but imported here for backwards compatibility
29
+ from ._internal_utils import to_native_string
30
+ from .compat import parse_http_list as _parse_list_header
31
+ from .compat import (
32
+ quote, urlparse, bytes, str, unquote, getproxies,
33
+ proxy_bypass, urlunparse, basestring, integer_types, is_py3,
34
+ proxy_bypass_environment, getproxies_environment, Mapping)
35
+ from .cookies import cookiejar_from_dict
36
+ from .structures import CaseInsensitiveDict
37
+ from .exceptions import (
38
+ InvalidURL, InvalidHeader, FileModeWarning, UnrewindableBodyError)
39
+
40
+ NETRC_FILES = ('.netrc', '_netrc')
41
+
42
+ DEFAULT_CA_BUNDLE_PATH = certs.where()
43
+
44
+ DEFAULT_PORTS = {'http': 80, 'https': 443}
45
+
46
+ # Ensure that ', ' is used to preserve previous delimiter behavior.
47
+ DEFAULT_ACCEPT_ENCODING = ", ".join(
48
+ re.split(r",\s*", make_headers(accept_encoding=True)["accept-encoding"])
49
+ )
50
+
51
+
52
+ if sys.platform == 'win32':
53
+ # provide a proxy_bypass version on Windows without DNS lookups
54
+
55
+ def proxy_bypass_registry(host):
56
+ try:
57
+ if is_py3:
58
+ import winreg
59
+ else:
60
+ import _winreg as winreg
61
+ except ImportError:
62
+ return False
63
+
64
+ try:
65
+ internetSettings = winreg.OpenKey(winreg.HKEY_CURRENT_USER,
66
+ r'Software\Microsoft\Windows\CurrentVersion\Internet Settings')
67
+ # ProxyEnable could be REG_SZ or REG_DWORD, normalizing it
68
+ proxyEnable = int(winreg.QueryValueEx(internetSettings,
69
+ 'ProxyEnable')[0])
70
+ # ProxyOverride is almost always a string
71
+ proxyOverride = winreg.QueryValueEx(internetSettings,
72
+ 'ProxyOverride')[0]
73
+ except OSError:
74
+ return False
75
+ if not proxyEnable or not proxyOverride:
76
+ return False
77
+
78
+ # make a check value list from the registry entry: replace the
79
+ # '<local>' string by the localhost entry and the corresponding
80
+ # canonical entry.
81
+ proxyOverride = proxyOverride.split(';')
82
+ # now check if we match one of the registry values.
83
+ for test in proxyOverride:
84
+ if test == '<local>':
85
+ if '.' not in host:
86
+ return True
87
+ test = test.replace(".", r"\.") # mask dots
88
+ test = test.replace("*", r".*") # change glob sequence
89
+ test = test.replace("?", r".") # change glob char
90
+ if re.match(test, host, re.I):
91
+ return True
92
+ return False
93
+
94
+ def proxy_bypass(host): # noqa
95
+ """Return True, if the host should be bypassed.
96
+
97
+ Checks proxy settings gathered from the environment, if specified,
98
+ or the registry.
99
+ """
100
+ if getproxies_environment():
101
+ return proxy_bypass_environment(host)
102
+ else:
103
+ return proxy_bypass_registry(host)
104
+
105
+
106
+ def dict_to_sequence(d):
107
+ """Returns an internal sequence dictionary update."""
108
+
109
+ if hasattr(d, 'items'):
110
+ d = d.items()
111
+
112
+ return d
113
+
114
+
115
+ def super_len(o):
116
+ total_length = None
117
+ current_position = 0
118
+
119
+ if hasattr(o, '__len__'):
120
+ total_length = len(o)
121
+
122
+ elif hasattr(o, 'len'):
123
+ total_length = o.len
124
+
125
+ elif hasattr(o, 'fileno'):
126
+ try:
127
+ fileno = o.fileno()
128
+ except (io.UnsupportedOperation, AttributeError):
129
+ # AttributeError is a surprising exception, seeing as how we've just checked
130
+ # that `hasattr(o, 'fileno')`. It happens for objects obtained via
131
+ # `Tarfile.extractfile()`, per issue 5229.
132
+ pass
133
+ else:
134
+ total_length = os.fstat(fileno).st_size
135
+
136
+ # Having used fstat to determine the file length, we need to
137
+ # confirm that this file was opened up in binary mode.
138
+ if 'b' not in o.mode:
139
+ warnings.warn((
140
+ "Requests has determined the content-length for this "
141
+ "request using the binary size of the file: however, the "
142
+ "file has been opened in text mode (i.e. without the 'b' "
143
+ "flag in the mode). This may lead to an incorrect "
144
+ "content-length. In Requests 3.0, support will be removed "
145
+ "for files in text mode."),
146
+ FileModeWarning
147
+ )
148
+
149
+ if hasattr(o, 'tell'):
150
+ try:
151
+ current_position = o.tell()
152
+ except (OSError, IOError):
153
+ # This can happen in some weird situations, such as when the file
154
+ # is actually a special file descriptor like stdin. In this
155
+ # instance, we don't know what the length is, so set it to zero and
156
+ # let requests chunk it instead.
157
+ if total_length is not None:
158
+ current_position = total_length
159
+ else:
160
+ if hasattr(o, 'seek') and total_length is None:
161
+ # StringIO and BytesIO have seek but no usable fileno
162
+ try:
163
+ # seek to end of file
164
+ o.seek(0, 2)
165
+ total_length = o.tell()
166
+
167
+ # seek back to current position to support
168
+ # partially read file-like objects
169
+ o.seek(current_position or 0)
170
+ except (OSError, IOError):
171
+ total_length = 0
172
+
173
+ if total_length is None:
174
+ total_length = 0
175
+
176
+ return max(0, total_length - current_position)
177
+
178
+
179
+ def get_netrc_auth(url, raise_errors=False):
180
+ """Returns the Requests tuple auth for a given url from netrc."""
181
+
182
+ netrc_file = os.environ.get('NETRC')
183
+ if netrc_file is not None:
184
+ netrc_locations = (netrc_file,)
185
+ else:
186
+ netrc_locations = ('~/{}'.format(f) for f in NETRC_FILES)
187
+
188
+ try:
189
+ from netrc import netrc, NetrcParseError
190
+
191
+ netrc_path = None
192
+
193
+ for f in netrc_locations:
194
+ try:
195
+ loc = os.path.expanduser(f)
196
+ except KeyError:
197
+ # os.path.expanduser can fail when $HOME is undefined and
198
+ # getpwuid fails. See https://bugs.python.org/issue20164 &
199
+ # https://github.com/psf/requests/issues/1846
200
+ return
201
+
202
+ if os.path.exists(loc):
203
+ netrc_path = loc
204
+ break
205
+
206
+ # Abort early if there isn't one.
207
+ if netrc_path is None:
208
+ return
209
+
210
+ ri = urlparse(url)
211
+
212
+ # Strip port numbers from netloc. This weird `if...encode`` dance is
213
+ # used for Python 3.2, which doesn't support unicode literals.
214
+ splitstr = b':'
215
+ if isinstance(url, str):
216
+ splitstr = splitstr.decode('ascii')
217
+ host = ri.netloc.split(splitstr)[0]
218
+
219
+ try:
220
+ _netrc = netrc(netrc_path).authenticators(host)
221
+ if _netrc:
222
+ # Return with login / password
223
+ login_i = (0 if _netrc[0] else 1)
224
+ return (_netrc[login_i], _netrc[2])
225
+ except (NetrcParseError, IOError):
226
+ # If there was a parsing error or a permissions issue reading the file,
227
+ # we'll just skip netrc auth unless explicitly asked to raise errors.
228
+ if raise_errors:
229
+ raise
230
+
231
+ # App Engine hackiness.
232
+ except (ImportError, AttributeError):
233
+ pass
234
+
235
+
236
+ def guess_filename(obj):
237
+ """Tries to guess the filename of the given object."""
238
+ name = getattr(obj, 'name', None)
239
+ if (name and isinstance(name, basestring) and name[0] != '<' and
240
+ name[-1] != '>'):
241
+ return os.path.basename(name)
242
+
243
+
244
+ def extract_zipped_paths(path):
245
+ """Replace nonexistent paths that look like they refer to a member of a zip
246
+ archive with the location of an extracted copy of the target, or else
247
+ just return the provided path unchanged.
248
+ """
249
+ if os.path.exists(path):
250
+ # this is already a valid path, no need to do anything further
251
+ return path
252
+
253
+ # find the first valid part of the provided path and treat that as a zip archive
254
+ # assume the rest of the path is the name of a member in the archive
255
+ archive, member = os.path.split(path)
256
+ while archive and not os.path.exists(archive):
257
+ archive, prefix = os.path.split(archive)
258
+ if not prefix:
259
+ # If we don't check for an empty prefix after the split (in other words, archive remains unchanged after the split),
260
+ # we _can_ end up in an infinite loop on a rare corner case affecting a small number of users
261
+ break
262
+ member = '/'.join([prefix, member])
263
+
264
+ if not zipfile.is_zipfile(archive):
265
+ return path
266
+
267
+ zip_file = zipfile.ZipFile(archive)
268
+ if member not in zip_file.namelist():
269
+ return path
270
+
271
+ # we have a valid zip archive and a valid member of that archive
272
+ tmp = tempfile.gettempdir()
273
+ extracted_path = os.path.join(tmp, member.split('/')[-1])
274
+ if not os.path.exists(extracted_path):
275
+ # use read + write to avoid the creating nested folders, we only want the file, avoids mkdir racing condition
276
+ with atomic_open(extracted_path) as file_handler:
277
+ file_handler.write(zip_file.read(member))
278
+ return extracted_path
279
+
280
+
281
+ @contextlib.contextmanager
282
+ def atomic_open(filename):
283
+ """Write a file to the disk in an atomic fashion"""
284
+ replacer = os.rename if sys.version_info[0] == 2 else os.replace
285
+ tmp_descriptor, tmp_name = tempfile.mkstemp(dir=os.path.dirname(filename))
286
+ try:
287
+ with os.fdopen(tmp_descriptor, 'wb') as tmp_handler:
288
+ yield tmp_handler
289
+ replacer(tmp_name, filename)
290
+ except BaseException:
291
+ os.remove(tmp_name)
292
+ raise
293
+
294
+
295
+ def from_key_val_list(value):
296
+ """Take an object and test to see if it can be represented as a
297
+ dictionary. Unless it can not be represented as such, return an
298
+ OrderedDict, e.g.,
299
+
300
+ ::
301
+
302
+ >>> from_key_val_list([('key', 'val')])
303
+ OrderedDict([('key', 'val')])
304
+ >>> from_key_val_list('string')
305
+ Traceback (most recent call last):
306
+ ...
307
+ ValueError: cannot encode objects that are not 2-tuples
308
+ >>> from_key_val_list({'key': 'val'})
309
+ OrderedDict([('key', 'val')])
310
+
311
+ :rtype: OrderedDict
312
+ """
313
+ if value is None:
314
+ return None
315
+
316
+ if isinstance(value, (str, bytes, bool, int)):
317
+ raise ValueError('cannot encode objects that are not 2-tuples')
318
+
319
+ return OrderedDict(value)
320
+
321
+
322
+ def to_key_val_list(value):
323
+ """Take an object and test to see if it can be represented as a
324
+ dictionary. If it can be, return a list of tuples, e.g.,
325
+
326
+ ::
327
+
328
+ >>> to_key_val_list([('key', 'val')])
329
+ [('key', 'val')]
330
+ >>> to_key_val_list({'key': 'val'})
331
+ [('key', 'val')]
332
+ >>> to_key_val_list('string')
333
+ Traceback (most recent call last):
334
+ ...
335
+ ValueError: cannot encode objects that are not 2-tuples
336
+
337
+ :rtype: list
338
+ """
339
+ if value is None:
340
+ return None
341
+
342
+ if isinstance(value, (str, bytes, bool, int)):
343
+ raise ValueError('cannot encode objects that are not 2-tuples')
344
+
345
+ if isinstance(value, Mapping):
346
+ value = value.items()
347
+
348
+ return list(value)
349
+
350
+
351
+ # From mitsuhiko/werkzeug (used with permission).
352
+ def parse_list_header(value):
353
+ """Parse lists as described by RFC 2068 Section 2.
354
+
355
+ In particular, parse comma-separated lists where the elements of
356
+ the list may include quoted-strings. A quoted-string could
357
+ contain a comma. A non-quoted string could have quotes in the
358
+ middle. Quotes are removed automatically after parsing.
359
+
360
+ It basically works like :func:`parse_set_header` just that items
361
+ may appear multiple times and case sensitivity is preserved.
362
+
363
+ The return value is a standard :class:`list`:
364
+
365
+ >>> parse_list_header('token, "quoted value"')
366
+ ['token', 'quoted value']
367
+
368
+ To create a header from the :class:`list` again, use the
369
+ :func:`dump_header` function.
370
+
371
+ :param value: a string with a list header.
372
+ :return: :class:`list`
373
+ :rtype: list
374
+ """
375
+ result = []
376
+ for item in _parse_list_header(value):
377
+ if item[:1] == item[-1:] == '"':
378
+ item = unquote_header_value(item[1:-1])
379
+ result.append(item)
380
+ return result
381
+
382
+
383
+ # From mitsuhiko/werkzeug (used with permission).
384
+ def parse_dict_header(value):
385
+ """Parse lists of key, value pairs as described by RFC 2068 Section 2 and
386
+ convert them into a python dict:
387
+
388
+ >>> d = parse_dict_header('foo="is a fish", bar="as well"')
389
+ >>> type(d) is dict
390
+ True
391
+ >>> sorted(d.items())
392
+ [('bar', 'as well'), ('foo', 'is a fish')]
393
+
394
+ If there is no value for a key it will be `None`:
395
+
396
+ >>> parse_dict_header('key_without_value')
397
+ {'key_without_value': None}
398
+
399
+ To create a header from the :class:`dict` again, use the
400
+ :func:`dump_header` function.
401
+
402
+ :param value: a string with a dict header.
403
+ :return: :class:`dict`
404
+ :rtype: dict
405
+ """
406
+ result = {}
407
+ for item in _parse_list_header(value):
408
+ if '=' not in item:
409
+ result[item] = None
410
+ continue
411
+ name, value = item.split('=', 1)
412
+ if value[:1] == value[-1:] == '"':
413
+ value = unquote_header_value(value[1:-1])
414
+ result[name] = value
415
+ return result
416
+
417
+
418
+ # From mitsuhiko/werkzeug (used with permission).
419
+ def unquote_header_value(value, is_filename=False):
420
+ r"""Unquotes a header value. (Reversal of :func:`quote_header_value`).
421
+ This does not use the real unquoting but what browsers are actually
422
+ using for quoting.
423
+
424
+ :param value: the header value to unquote.
425
+ :rtype: str
426
+ """
427
+ if value and value[0] == value[-1] == '"':
428
+ # this is not the real unquoting, but fixing this so that the
429
+ # RFC is met will result in bugs with internet explorer and
430
+ # probably some other browsers as well. IE for example is
431
+ # uploading files with "C:\foo\bar.txt" as filename
432
+ value = value[1:-1]
433
+
434
+ # if this is a filename and the starting characters look like
435
+ # a UNC path, then just return the value without quotes. Using the
436
+ # replace sequence below on a UNC path has the effect of turning
437
+ # the leading double slash into a single slash and then
438
+ # _fix_ie_filename() doesn't work correctly. See #458.
439
+ if not is_filename or value[:2] != '\\\\':
440
+ return value.replace('\\\\', '\\').replace('\\"', '"')
441
+ return value
442
+
443
+
444
+ def dict_from_cookiejar(cj):
445
+ """Returns a key/value dictionary from a CookieJar.
446
+
447
+ :param cj: CookieJar object to extract cookies from.
448
+ :rtype: dict
449
+ """
450
+
451
+ cookie_dict = {}
452
+
453
+ for cookie in cj:
454
+ cookie_dict[cookie.name] = cookie.value
455
+
456
+ return cookie_dict
457
+
458
+
459
+ def add_dict_to_cookiejar(cj, cookie_dict):
460
+ """Returns a CookieJar from a key/value dictionary.
461
+
462
+ :param cj: CookieJar to insert cookies into.
463
+ :param cookie_dict: Dict of key/values to insert into CookieJar.
464
+ :rtype: CookieJar
465
+ """
466
+
467
+ return cookiejar_from_dict(cookie_dict, cj)
468
+
469
+
470
+ def get_encodings_from_content(content):
471
+ """Returns encodings from given content string.
472
+
473
+ :param content: bytestring to extract encodings from.
474
+ """
475
+ warnings.warn((
476
+ 'In requests 3.0, get_encodings_from_content will be removed. For '
477
+ 'more information, please see the discussion on issue #2266. (This'
478
+ ' warning should only appear once.)'),
479
+ DeprecationWarning)
480
+
481
+ charset_re = re.compile(r'<meta.*?charset=["\']*(.+?)["\'>]', flags=re.I)
482
+ pragma_re = re.compile(r'<meta.*?content=["\']*;?charset=(.+?)["\'>]', flags=re.I)
483
+ xml_re = re.compile(r'^<\?xml.*?encoding=["\']*(.+?)["\'>]')
484
+
485
+ return (charset_re.findall(content) +
486
+ pragma_re.findall(content) +
487
+ xml_re.findall(content))
488
+
489
+
490
+ def _parse_content_type_header(header):
491
+ """Returns content type and parameters from given header
492
+
493
+ :param header: string
494
+ :return: tuple containing content type and dictionary of
495
+ parameters
496
+ """
497
+
498
+ tokens = header.split(';')
499
+ content_type, params = tokens[0].strip(), tokens[1:]
500
+ params_dict = {}
501
+ items_to_strip = "\"' "
502
+
503
+ for param in params:
504
+ param = param.strip()
505
+ if param:
506
+ key, value = param, True
507
+ index_of_equals = param.find("=")
508
+ if index_of_equals != -1:
509
+ key = param[:index_of_equals].strip(items_to_strip)
510
+ value = param[index_of_equals + 1:].strip(items_to_strip)
511
+ params_dict[key.lower()] = value
512
+ return content_type, params_dict
513
+
514
+
515
+ def get_encoding_from_headers(headers):
516
+ """Returns encodings from given HTTP Header Dict.
517
+
518
+ :param headers: dictionary to extract encoding from.
519
+ :rtype: str
520
+ """
521
+
522
+ content_type = headers.get('content-type')
523
+
524
+ if not content_type:
525
+ return None
526
+
527
+ content_type, params = _parse_content_type_header(content_type)
528
+
529
+ if 'charset' in params:
530
+ return params['charset'].strip("'\"")
531
+
532
+ if 'text' in content_type:
533
+ return 'ISO-8859-1'
534
+
535
+ if 'application/json' in content_type:
536
+ # Assume UTF-8 based on RFC 4627: https://www.ietf.org/rfc/rfc4627.txt since the charset was unset
537
+ return 'utf-8'
538
+
539
+
540
+ def stream_decode_response_unicode(iterator, r):
541
+ """Stream decodes a iterator."""
542
+
543
+ if r.encoding is None:
544
+ for item in iterator:
545
+ yield item
546
+ return
547
+
548
+ decoder = codecs.getincrementaldecoder(r.encoding)(errors='replace')
549
+ for chunk in iterator:
550
+ rv = decoder.decode(chunk)
551
+ if rv:
552
+ yield rv
553
+ rv = decoder.decode(b'', final=True)
554
+ if rv:
555
+ yield rv
556
+
557
+
558
+ def iter_slices(string, slice_length):
559
+ """Iterate over slices of a string."""
560
+ pos = 0
561
+ if slice_length is None or slice_length <= 0:
562
+ slice_length = len(string)
563
+ while pos < len(string):
564
+ yield string[pos:pos + slice_length]
565
+ pos += slice_length
566
+
567
+
568
+ def get_unicode_from_response(r):
569
+ """Returns the requested content back in unicode.
570
+
571
+ :param r: Response object to get unicode content from.
572
+
573
+ Tried:
574
+
575
+ 1. charset from content-type
576
+ 2. fall back and replace all unicode characters
577
+
578
+ :rtype: str
579
+ """
580
+ warnings.warn((
581
+ 'In requests 3.0, get_unicode_from_response will be removed. For '
582
+ 'more information, please see the discussion on issue #2266. (This'
583
+ ' warning should only appear once.)'),
584
+ DeprecationWarning)
585
+
586
+ tried_encodings = []
587
+
588
+ # Try charset from content-type
589
+ encoding = get_encoding_from_headers(r.headers)
590
+
591
+ if encoding:
592
+ try:
593
+ return str(r.content, encoding)
594
+ except UnicodeError:
595
+ tried_encodings.append(encoding)
596
+
597
+ # Fall back:
598
+ try:
599
+ return str(r.content, encoding, errors='replace')
600
+ except TypeError:
601
+ return r.content
602
+
603
+
604
+ # The unreserved URI characters (RFC 3986)
605
+ UNRESERVED_SET = frozenset(
606
+ "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" + "0123456789-._~")
607
+
608
+
609
+ def unquote_unreserved(uri):
610
+ """Un-escape any percent-escape sequences in a URI that are unreserved
611
+ characters. This leaves all reserved, illegal and non-ASCII bytes encoded.
612
+
613
+ :rtype: str
614
+ """
615
+ parts = uri.split('%')
616
+ for i in range(1, len(parts)):
617
+ h = parts[i][0:2]
618
+ if len(h) == 2 and h.isalnum():
619
+ try:
620
+ c = chr(int(h, 16))
621
+ except ValueError:
622
+ raise InvalidURL("Invalid percent-escape sequence: '%s'" % h)
623
+
624
+ if c in UNRESERVED_SET:
625
+ parts[i] = c + parts[i][2:]
626
+ else:
627
+ parts[i] = '%' + parts[i]
628
+ else:
629
+ parts[i] = '%' + parts[i]
630
+ return ''.join(parts)
631
+
632
+
633
+ def requote_uri(uri):
634
+ """Re-quote the given URI.
635
+
636
+ This function passes the given URI through an unquote/quote cycle to
637
+ ensure that it is fully and consistently quoted.
638
+
639
+ :rtype: str
640
+ """
641
+ safe_with_percent = "!#$%&'()*+,/:;=?@[]~"
642
+ safe_without_percent = "!#$&'()*+,/:;=?@[]~"
643
+ try:
644
+ # Unquote only the unreserved characters
645
+ # Then quote only illegal characters (do not quote reserved,
646
+ # unreserved, or '%')
647
+ return quote(unquote_unreserved(uri), safe=safe_with_percent)
648
+ except InvalidURL:
649
+ # We couldn't unquote the given URI, so let's try quoting it, but
650
+ # there may be unquoted '%'s in the URI. We need to make sure they're
651
+ # properly quoted so they do not cause issues elsewhere.
652
+ return quote(uri, safe=safe_without_percent)
653
+
654
+
655
+ def address_in_network(ip, net):
656
+ """This function allows you to check if an IP belongs to a network subnet
657
+
658
+ Example: returns True if ip = 192.168.1.1 and net = 192.168.1.0/24
659
+ returns False if ip = 192.168.1.1 and net = 192.168.100.0/24
660
+
661
+ :rtype: bool
662
+ """
663
+ ipaddr = struct.unpack('=L', socket.inet_aton(ip))[0]
664
+ netaddr, bits = net.split('/')
665
+ netmask = struct.unpack('=L', socket.inet_aton(dotted_netmask(int(bits))))[0]
666
+ network = struct.unpack('=L', socket.inet_aton(netaddr))[0] & netmask
667
+ return (ipaddr & netmask) == (network & netmask)
668
+
669
+
670
+ def dotted_netmask(mask):
671
+ """Converts mask from /xx format to xxx.xxx.xxx.xxx
672
+
673
+ Example: if mask is 24 function returns 255.255.255.0
674
+
675
+ :rtype: str
676
+ """
677
+ bits = 0xffffffff ^ (1 << 32 - mask) - 1
678
+ return socket.inet_ntoa(struct.pack('>I', bits))
679
+
680
+
681
+ def is_ipv4_address(string_ip):
682
+ """
683
+ :rtype: bool
684
+ """
685
+ try:
686
+ socket.inet_aton(string_ip)
687
+ except socket.error:
688
+ return False
689
+ return True
690
+
691
+
692
+ def is_valid_cidr(string_network):
693
+ """
694
+ Very simple check of the cidr format in no_proxy variable.
695
+
696
+ :rtype: bool
697
+ """
698
+ if string_network.count('/') == 1:
699
+ try:
700
+ mask = int(string_network.split('/')[1])
701
+ except ValueError:
702
+ return False
703
+
704
+ if mask < 1 or mask > 32:
705
+ return False
706
+
707
+ try:
708
+ socket.inet_aton(string_network.split('/')[0])
709
+ except socket.error:
710
+ return False
711
+ else:
712
+ return False
713
+ return True
714
+
715
+
716
+ @contextlib.contextmanager
717
+ def set_environ(env_name, value):
718
+ """Set the environment variable 'env_name' to 'value'
719
+
720
+ Save previous value, yield, and then restore the previous value stored in
721
+ the environment variable 'env_name'.
722
+
723
+ If 'value' is None, do nothing"""
724
+ value_changed = value is not None
725
+ if value_changed:
726
+ old_value = os.environ.get(env_name)
727
+ os.environ[env_name] = value
728
+ try:
729
+ yield
730
+ finally:
731
+ if value_changed:
732
+ if old_value is None:
733
+ del os.environ[env_name]
734
+ else:
735
+ os.environ[env_name] = old_value
736
+
737
+
738
+ def should_bypass_proxies(url, no_proxy):
739
+ """
740
+ Returns whether we should bypass proxies or not.
741
+
742
+ :rtype: bool
743
+ """
744
+ # Prioritize lowercase environment variables over uppercase
745
+ # to keep a consistent behaviour with other http projects (curl, wget).
746
+ get_proxy = lambda k: os.environ.get(k) or os.environ.get(k.upper())
747
+
748
+ # First check whether no_proxy is defined. If it is, check that the URL
749
+ # we're getting isn't in the no_proxy list.
750
+ no_proxy_arg = no_proxy
751
+ if no_proxy is None:
752
+ no_proxy = get_proxy('no_proxy')
753
+ parsed = urlparse(url)
754
+
755
+ if parsed.hostname is None:
756
+ # URLs don't always have hostnames, e.g. file:/// urls.
757
+ return True
758
+
759
+ if no_proxy:
760
+ # We need to check whether we match here. We need to see if we match
761
+ # the end of the hostname, both with and without the port.
762
+ no_proxy = (
763
+ host for host in no_proxy.replace(' ', '').split(',') if host
764
+ )
765
+
766
+ if is_ipv4_address(parsed.hostname):
767
+ for proxy_ip in no_proxy:
768
+ if is_valid_cidr(proxy_ip):
769
+ if address_in_network(parsed.hostname, proxy_ip):
770
+ return True
771
+ elif parsed.hostname == proxy_ip:
772
+ # If no_proxy ip was defined in plain IP notation instead of cidr notation &
773
+ # matches the IP of the index
774
+ return True
775
+ else:
776
+ host_with_port = parsed.hostname
777
+ if parsed.port:
778
+ host_with_port += ':{}'.format(parsed.port)
779
+
780
+ for host in no_proxy:
781
+ if parsed.hostname.endswith(host) or host_with_port.endswith(host):
782
+ # The URL does match something in no_proxy, so we don't want
783
+ # to apply the proxies on this URL.
784
+ return True
785
+
786
+ with set_environ('no_proxy', no_proxy_arg):
787
+ # parsed.hostname can be `None` in cases such as a file URI.
788
+ try:
789
+ bypass = proxy_bypass(parsed.hostname)
790
+ except (TypeError, socket.gaierror):
791
+ bypass = False
792
+
793
+ if bypass:
794
+ return True
795
+
796
+ return False
797
+
798
+
799
+ def get_environ_proxies(url, no_proxy=None):
800
+ """
801
+ Return a dict of environment proxies.
802
+
803
+ :rtype: dict
804
+ """
805
+ if should_bypass_proxies(url, no_proxy=no_proxy):
806
+ return {}
807
+ else:
808
+ return getproxies()
809
+
810
+
811
+ def select_proxy(url, proxies):
812
+ """Select a proxy for the url, if applicable.
813
+
814
+ :param url: The url being for the request
815
+ :param proxies: A dictionary of schemes or schemes and hosts to proxy URLs
816
+ """
817
+ proxies = proxies or {}
818
+ urlparts = urlparse(url)
819
+ if urlparts.hostname is None:
820
+ return proxies.get(urlparts.scheme, proxies.get('all'))
821
+
822
+ proxy_keys = [
823
+ urlparts.scheme + '://' + urlparts.hostname,
824
+ urlparts.scheme,
825
+ 'all://' + urlparts.hostname,
826
+ 'all',
827
+ ]
828
+ proxy = None
829
+ for proxy_key in proxy_keys:
830
+ if proxy_key in proxies:
831
+ proxy = proxies[proxy_key]
832
+ break
833
+
834
+ return proxy
835
+
836
+
837
+ def resolve_proxies(request, proxies, trust_env=True):
838
+ """This method takes proxy information from a request and configuration
839
+ input to resolve a mapping of target proxies. This will consider settings
840
+ such a NO_PROXY to strip proxy configurations.
841
+
842
+ :param request: Request or PreparedRequest
843
+ :param proxies: A dictionary of schemes or schemes and hosts to proxy URLs
844
+ :param trust_env: Boolean declaring whether to trust environment configs
845
+
846
+ :rtype: dict
847
+ """
848
+ proxies = proxies if proxies is not None else {}
849
+ url = request.url
850
+ scheme = urlparse(url).scheme
851
+ no_proxy = proxies.get('no_proxy')
852
+ new_proxies = proxies.copy()
853
+
854
+ if trust_env and not should_bypass_proxies(url, no_proxy=no_proxy):
855
+ environ_proxies = get_environ_proxies(url, no_proxy=no_proxy)
856
+
857
+ proxy = environ_proxies.get(scheme, environ_proxies.get('all'))
858
+
859
+ if proxy:
860
+ new_proxies.setdefault(scheme, proxy)
861
+ return new_proxies
862
+
863
+
864
+ def default_user_agent(name="python-requests"):
865
+ """
866
+ Return a string representing the default user agent.
867
+
868
+ :rtype: str
869
+ """
870
+ return '%s/%s' % (name, __version__)
871
+
872
+
873
+ def default_headers():
874
+ """
875
+ :rtype: requests.structures.CaseInsensitiveDict
876
+ """
877
+ return CaseInsensitiveDict({
878
+ 'User-Agent': default_user_agent(),
879
+ 'Accept-Encoding': DEFAULT_ACCEPT_ENCODING,
880
+ 'Accept': '*/*',
881
+ 'Connection': 'keep-alive',
882
+ })
883
+
884
+
885
+ def parse_header_links(value):
886
+ """Return a list of parsed link headers proxies.
887
+
888
+ i.e. Link: <http:/.../front.jpeg>; rel=front; type="image/jpeg",<http://.../back.jpeg>; rel=back;type="image/jpeg"
889
+
890
+ :rtype: list
891
+ """
892
+
893
+ links = []
894
+
895
+ replace_chars = ' \'"'
896
+
897
+ value = value.strip(replace_chars)
898
+ if not value:
899
+ return links
900
+
901
+ for val in re.split(', *<', value):
902
+ try:
903
+ url, params = val.split(';', 1)
904
+ except ValueError:
905
+ url, params = val, ''
906
+
907
+ link = {'url': url.strip('<> \'"')}
908
+
909
+ for param in params.split(';'):
910
+ try:
911
+ key, value = param.split('=')
912
+ except ValueError:
913
+ break
914
+
915
+ link[key.strip(replace_chars)] = value.strip(replace_chars)
916
+
917
+ links.append(link)
918
+
919
+ return links
920
+
921
+
922
+ # Null bytes; no need to recreate these on each call to guess_json_utf
923
+ _null = '\x00'.encode('ascii') # encoding to ASCII for Python 3
924
+ _null2 = _null * 2
925
+ _null3 = _null * 3
926
+
927
+
928
+ def guess_json_utf(data):
929
+ """
930
+ :rtype: str
931
+ """
932
+ # JSON always starts with two ASCII characters, so detection is as
933
+ # easy as counting the nulls and from their location and count
934
+ # determine the encoding. Also detect a BOM, if present.
935
+ sample = data[:4]
936
+ if sample in (codecs.BOM_UTF32_LE, codecs.BOM_UTF32_BE):
937
+ return 'utf-32' # BOM included
938
+ if sample[:3] == codecs.BOM_UTF8:
939
+ return 'utf-8-sig' # BOM included, MS style (discouraged)
940
+ if sample[:2] in (codecs.BOM_UTF16_LE, codecs.BOM_UTF16_BE):
941
+ return 'utf-16' # BOM included
942
+ nullcount = sample.count(_null)
943
+ if nullcount == 0:
944
+ return 'utf-8'
945
+ if nullcount == 2:
946
+ if sample[::2] == _null2: # 1st and 3rd are null
947
+ return 'utf-16-be'
948
+ if sample[1::2] == _null2: # 2nd and 4th are null
949
+ return 'utf-16-le'
950
+ # Did not detect 2 valid UTF-16 ascii-range characters
951
+ if nullcount == 3:
952
+ if sample[:3] == _null3:
953
+ return 'utf-32-be'
954
+ if sample[1:] == _null3:
955
+ return 'utf-32-le'
956
+ # Did not detect a valid UTF-32 ascii-range character
957
+ return None
958
+
959
+
960
+ def prepend_scheme_if_needed(url, new_scheme):
961
+ """Given a URL that may or may not have a scheme, prepend the given scheme.
962
+ Does not replace a present scheme with the one provided as an argument.
963
+
964
+ :rtype: str
965
+ """
966
+ parsed = parse_url(url)
967
+ scheme, auth, host, port, path, query, fragment = parsed
968
+
969
+ # A defect in urlparse determines that there isn't a netloc present in some
970
+ # urls. We previously assumed parsing was overly cautious, and swapped the
971
+ # netloc and path. Due to a lack of tests on the original defect, this is
972
+ # maintained with parse_url for backwards compatibility.
973
+ netloc = parsed.netloc
974
+ if not netloc:
975
+ netloc, path = path, netloc
976
+
977
+ if auth:
978
+ # parse_url doesn't provide the netloc with auth
979
+ # so we'll add it ourselves.
980
+ netloc = '@'.join([auth, netloc])
981
+ if scheme is None:
982
+ scheme = new_scheme
983
+ if path is None:
984
+ path = ''
985
+
986
+ return urlunparse((scheme, netloc, path, '', query, fragment))
987
+
988
+
989
+ def get_auth_from_url(url):
990
+ """Given a url with authentication components, extract them into a tuple of
991
+ username,password.
992
+
993
+ :rtype: (str,str)
994
+ """
995
+ parsed = urlparse(url)
996
+
997
+ try:
998
+ auth = (unquote(parsed.username), unquote(parsed.password))
999
+ except (AttributeError, TypeError):
1000
+ auth = ('', '')
1001
+
1002
+ return auth
1003
+
1004
+
1005
+ # Moved outside of function to avoid recompile every call
1006
+ _CLEAN_HEADER_REGEX_BYTE = re.compile(b'^\\S[^\\r\\n]*$|^$')
1007
+ _CLEAN_HEADER_REGEX_STR = re.compile(r'^\S[^\r\n]*$|^$')
1008
+
1009
+
1010
+ def check_header_validity(header):
1011
+ """Verifies that header value is a string which doesn't contain
1012
+ leading whitespace or return characters. This prevents unintended
1013
+ header injection.
1014
+
1015
+ :param header: tuple, in the format (name, value).
1016
+ """
1017
+ name, value = header
1018
+
1019
+ if isinstance(value, bytes):
1020
+ pat = _CLEAN_HEADER_REGEX_BYTE
1021
+ else:
1022
+ pat = _CLEAN_HEADER_REGEX_STR
1023
+ try:
1024
+ if not pat.match(value):
1025
+ raise InvalidHeader("Invalid return character or leading space in header: %s" % name)
1026
+ except TypeError:
1027
+ raise InvalidHeader("Value for header {%s: %s} must be of type str or "
1028
+ "bytes, not %s" % (name, value, type(value)))
1029
+
1030
+
1031
+ def urldefragauth(url):
1032
+ """
1033
+ Given a url remove the fragment and the authentication part.
1034
+
1035
+ :rtype: str
1036
+ """
1037
+ scheme, netloc, path, params, query, fragment = urlparse(url)
1038
+
1039
+ # see func:`prepend_scheme_if_needed`
1040
+ if not netloc:
1041
+ netloc, path = path, netloc
1042
+
1043
+ netloc = netloc.rsplit('@', 1)[-1]
1044
+
1045
+ return urlunparse((scheme, netloc, path, params, query, ''))
1046
+
1047
+
1048
+ def rewind_body(prepared_request):
1049
+ """Move file pointer back to its recorded starting position
1050
+ so it can be read again on redirect.
1051
+ """
1052
+ body_seek = getattr(prepared_request.body, 'seek', None)
1053
+ if body_seek is not None and isinstance(prepared_request._body_position, integer_types):
1054
+ try:
1055
+ body_seek(prepared_request._body_position)
1056
+ except (IOError, OSError):
1057
+ raise UnrewindableBodyError("An error occurred when rewinding request "
1058
+ "body for redirect.")
1059
+ else:
1060
+ raise UnrewindableBodyError("Unable to rewind request body for redirect.")