@djlint/linux-s390x-gnu 0.0.0 → 1.54.0

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 (1598) hide show
  1. package/LICENSE +675 -0
  2. package/README.md +3 -1
  3. package/package.json +20 -3
  4. package/python/bin/python3 +0 -0
  5. package/python/lib/python3.14/LICENSE.txt +277 -0
  6. package/python/lib/python3.14/__future__.py +147 -0
  7. package/python/lib/python3.14/__hello__.py +16 -0
  8. package/python/lib/python3.14/__phello__/__init__.py +7 -0
  9. package/python/lib/python3.14/__phello__/__pycache__/__init__.cpython-314.pyc +0 -0
  10. package/python/lib/python3.14/__phello__/__pycache__/spam.cpython-314.pyc +0 -0
  11. package/python/lib/python3.14/__phello__/spam.py +7 -0
  12. package/python/lib/python3.14/__pycache__/__future__.cpython-314.pyc +0 -0
  13. package/python/lib/python3.14/__pycache__/__hello__.cpython-314.pyc +0 -0
  14. package/python/lib/python3.14/__pycache__/_aix_support.cpython-314.pyc +0 -0
  15. package/python/lib/python3.14/__pycache__/_android_support.cpython-314.pyc +0 -0
  16. package/python/lib/python3.14/__pycache__/_apple_support.cpython-314.pyc +0 -0
  17. package/python/lib/python3.14/__pycache__/_ast_unparse.cpython-314.pyc +0 -0
  18. package/python/lib/python3.14/__pycache__/_collections_abc.cpython-314.pyc +0 -0
  19. package/python/lib/python3.14/__pycache__/_colorize.cpython-314.pyc +0 -0
  20. package/python/lib/python3.14/__pycache__/_compat_pickle.cpython-314.pyc +0 -0
  21. package/python/lib/python3.14/__pycache__/_ios_support.cpython-314.pyc +0 -0
  22. package/python/lib/python3.14/__pycache__/_markupbase.cpython-314.pyc +0 -0
  23. package/python/lib/python3.14/__pycache__/_opcode_metadata.cpython-314.pyc +0 -0
  24. package/python/lib/python3.14/__pycache__/_osx_support.cpython-314.pyc +0 -0
  25. package/python/lib/python3.14/__pycache__/_py_abc.cpython-314.pyc +0 -0
  26. package/python/lib/python3.14/__pycache__/_py_warnings.cpython-314.pyc +0 -0
  27. package/python/lib/python3.14/__pycache__/_pydatetime.cpython-314.pyc +0 -0
  28. package/python/lib/python3.14/__pycache__/_pydecimal.cpython-314.pyc +0 -0
  29. package/python/lib/python3.14/__pycache__/_pyio.cpython-314.pyc +0 -0
  30. package/python/lib/python3.14/__pycache__/_pylong.cpython-314.pyc +0 -0
  31. package/python/lib/python3.14/__pycache__/_sitebuiltins.cpython-314.pyc +0 -0
  32. package/python/lib/python3.14/__pycache__/_strptime.cpython-314.pyc +0 -0
  33. package/python/lib/python3.14/__pycache__/_sysconfigdata__linux_s390x-linux-gnu.cpython-314.pyc +0 -0
  34. package/python/lib/python3.14/__pycache__/_threading_local.cpython-314.pyc +0 -0
  35. package/python/lib/python3.14/__pycache__/_weakrefset.cpython-314.pyc +0 -0
  36. package/python/lib/python3.14/__pycache__/abc.cpython-314.pyc +0 -0
  37. package/python/lib/python3.14/__pycache__/annotationlib.cpython-314.pyc +0 -0
  38. package/python/lib/python3.14/__pycache__/antigravity.cpython-314.pyc +0 -0
  39. package/python/lib/python3.14/__pycache__/argparse.cpython-314.pyc +0 -0
  40. package/python/lib/python3.14/__pycache__/ast.cpython-314.pyc +0 -0
  41. package/python/lib/python3.14/__pycache__/base64.cpython-314.pyc +0 -0
  42. package/python/lib/python3.14/__pycache__/bdb.cpython-314.pyc +0 -0
  43. package/python/lib/python3.14/__pycache__/bisect.cpython-314.pyc +0 -0
  44. package/python/lib/python3.14/__pycache__/bz2.cpython-314.pyc +0 -0
  45. package/python/lib/python3.14/__pycache__/cProfile.cpython-314.pyc +0 -0
  46. package/python/lib/python3.14/__pycache__/calendar.cpython-314.pyc +0 -0
  47. package/python/lib/python3.14/__pycache__/cmd.cpython-314.pyc +0 -0
  48. package/python/lib/python3.14/__pycache__/code.cpython-314.pyc +0 -0
  49. package/python/lib/python3.14/__pycache__/codecs.cpython-314.pyc +0 -0
  50. package/python/lib/python3.14/__pycache__/codeop.cpython-314.pyc +0 -0
  51. package/python/lib/python3.14/__pycache__/colorsys.cpython-314.pyc +0 -0
  52. package/python/lib/python3.14/__pycache__/compileall.cpython-314.pyc +0 -0
  53. package/python/lib/python3.14/__pycache__/configparser.cpython-314.pyc +0 -0
  54. package/python/lib/python3.14/__pycache__/contextlib.cpython-314.pyc +0 -0
  55. package/python/lib/python3.14/__pycache__/contextvars.cpython-314.pyc +0 -0
  56. package/python/lib/python3.14/__pycache__/copy.cpython-314.pyc +0 -0
  57. package/python/lib/python3.14/__pycache__/copyreg.cpython-314.pyc +0 -0
  58. package/python/lib/python3.14/__pycache__/csv.cpython-314.pyc +0 -0
  59. package/python/lib/python3.14/__pycache__/dataclasses.cpython-314.pyc +0 -0
  60. package/python/lib/python3.14/__pycache__/datetime.cpython-314.pyc +0 -0
  61. package/python/lib/python3.14/__pycache__/decimal.cpython-314.pyc +0 -0
  62. package/python/lib/python3.14/__pycache__/difflib.cpython-314.pyc +0 -0
  63. package/python/lib/python3.14/__pycache__/dis.cpython-314.pyc +0 -0
  64. package/python/lib/python3.14/__pycache__/doctest.cpython-314.pyc +0 -0
  65. package/python/lib/python3.14/__pycache__/enum.cpython-314.pyc +0 -0
  66. package/python/lib/python3.14/__pycache__/filecmp.cpython-314.pyc +0 -0
  67. package/python/lib/python3.14/__pycache__/fileinput.cpython-314.pyc +0 -0
  68. package/python/lib/python3.14/__pycache__/fnmatch.cpython-314.pyc +0 -0
  69. package/python/lib/python3.14/__pycache__/fractions.cpython-314.pyc +0 -0
  70. package/python/lib/python3.14/__pycache__/ftplib.cpython-314.pyc +0 -0
  71. package/python/lib/python3.14/__pycache__/functools.cpython-314.pyc +0 -0
  72. package/python/lib/python3.14/__pycache__/genericpath.cpython-314.pyc +0 -0
  73. package/python/lib/python3.14/__pycache__/getopt.cpython-314.pyc +0 -0
  74. package/python/lib/python3.14/__pycache__/getpass.cpython-314.pyc +0 -0
  75. package/python/lib/python3.14/__pycache__/gettext.cpython-314.pyc +0 -0
  76. package/python/lib/python3.14/__pycache__/glob.cpython-314.pyc +0 -0
  77. package/python/lib/python3.14/__pycache__/graphlib.cpython-314.pyc +0 -0
  78. package/python/lib/python3.14/__pycache__/gzip.cpython-314.pyc +0 -0
  79. package/python/lib/python3.14/__pycache__/hashlib.cpython-314.pyc +0 -0
  80. package/python/lib/python3.14/__pycache__/heapq.cpython-314.pyc +0 -0
  81. package/python/lib/python3.14/__pycache__/hmac.cpython-314.pyc +0 -0
  82. package/python/lib/python3.14/__pycache__/imaplib.cpython-314.pyc +0 -0
  83. package/python/lib/python3.14/__pycache__/inspect.cpython-314.pyc +0 -0
  84. package/python/lib/python3.14/__pycache__/io.cpython-314.pyc +0 -0
  85. package/python/lib/python3.14/__pycache__/ipaddress.cpython-314.pyc +0 -0
  86. package/python/lib/python3.14/__pycache__/keyword.cpython-314.pyc +0 -0
  87. package/python/lib/python3.14/__pycache__/linecache.cpython-314.pyc +0 -0
  88. package/python/lib/python3.14/__pycache__/locale.cpython-314.pyc +0 -0
  89. package/python/lib/python3.14/__pycache__/lzma.cpython-314.pyc +0 -0
  90. package/python/lib/python3.14/__pycache__/mailbox.cpython-314.pyc +0 -0
  91. package/python/lib/python3.14/__pycache__/mimetypes.cpython-314.pyc +0 -0
  92. package/python/lib/python3.14/__pycache__/modulefinder.cpython-314.pyc +0 -0
  93. package/python/lib/python3.14/__pycache__/netrc.cpython-314.pyc +0 -0
  94. package/python/lib/python3.14/__pycache__/ntpath.cpython-314.pyc +0 -0
  95. package/python/lib/python3.14/__pycache__/nturl2path.cpython-314.pyc +0 -0
  96. package/python/lib/python3.14/__pycache__/numbers.cpython-314.pyc +0 -0
  97. package/python/lib/python3.14/__pycache__/opcode.cpython-314.pyc +0 -0
  98. package/python/lib/python3.14/__pycache__/operator.cpython-314.pyc +0 -0
  99. package/python/lib/python3.14/__pycache__/optparse.cpython-314.pyc +0 -0
  100. package/python/lib/python3.14/__pycache__/os.cpython-314.pyc +0 -0
  101. package/python/lib/python3.14/__pycache__/pdb.cpython-314.pyc +0 -0
  102. package/python/lib/python3.14/__pycache__/pickle.cpython-314.pyc +0 -0
  103. package/python/lib/python3.14/__pycache__/pickletools.cpython-314.pyc +0 -0
  104. package/python/lib/python3.14/__pycache__/pkgutil.cpython-314.pyc +0 -0
  105. package/python/lib/python3.14/__pycache__/platform.cpython-314.pyc +0 -0
  106. package/python/lib/python3.14/__pycache__/plistlib.cpython-314.pyc +0 -0
  107. package/python/lib/python3.14/__pycache__/poplib.cpython-314.pyc +0 -0
  108. package/python/lib/python3.14/__pycache__/posixpath.cpython-314.pyc +0 -0
  109. package/python/lib/python3.14/__pycache__/pprint.cpython-314.pyc +0 -0
  110. package/python/lib/python3.14/__pycache__/profile.cpython-314.pyc +0 -0
  111. package/python/lib/python3.14/__pycache__/pstats.cpython-314.pyc +0 -0
  112. package/python/lib/python3.14/__pycache__/pty.cpython-314.pyc +0 -0
  113. package/python/lib/python3.14/__pycache__/py_compile.cpython-314.pyc +0 -0
  114. package/python/lib/python3.14/__pycache__/pyclbr.cpython-314.pyc +0 -0
  115. package/python/lib/python3.14/__pycache__/pydoc.cpython-314.pyc +0 -0
  116. package/python/lib/python3.14/__pycache__/queue.cpython-314.pyc +0 -0
  117. package/python/lib/python3.14/__pycache__/quopri.cpython-314.pyc +0 -0
  118. package/python/lib/python3.14/__pycache__/random.cpython-314.pyc +0 -0
  119. package/python/lib/python3.14/__pycache__/reprlib.cpython-314.pyc +0 -0
  120. package/python/lib/python3.14/__pycache__/rlcompleter.cpython-314.pyc +0 -0
  121. package/python/lib/python3.14/__pycache__/runpy.cpython-314.pyc +0 -0
  122. package/python/lib/python3.14/__pycache__/sched.cpython-314.pyc +0 -0
  123. package/python/lib/python3.14/__pycache__/secrets.cpython-314.pyc +0 -0
  124. package/python/lib/python3.14/__pycache__/selectors.cpython-314.pyc +0 -0
  125. package/python/lib/python3.14/__pycache__/shelve.cpython-314.pyc +0 -0
  126. package/python/lib/python3.14/__pycache__/shlex.cpython-314.pyc +0 -0
  127. package/python/lib/python3.14/__pycache__/shutil.cpython-314.pyc +0 -0
  128. package/python/lib/python3.14/__pycache__/signal.cpython-314.pyc +0 -0
  129. package/python/lib/python3.14/__pycache__/site.cpython-314.pyc +0 -0
  130. package/python/lib/python3.14/__pycache__/smtplib.cpython-314.pyc +0 -0
  131. package/python/lib/python3.14/__pycache__/socket.cpython-314.pyc +0 -0
  132. package/python/lib/python3.14/__pycache__/socketserver.cpython-314.pyc +0 -0
  133. package/python/lib/python3.14/__pycache__/sre_compile.cpython-314.pyc +0 -0
  134. package/python/lib/python3.14/__pycache__/sre_constants.cpython-314.pyc +0 -0
  135. package/python/lib/python3.14/__pycache__/sre_parse.cpython-314.pyc +0 -0
  136. package/python/lib/python3.14/__pycache__/ssl.cpython-314.pyc +0 -0
  137. package/python/lib/python3.14/__pycache__/stat.cpython-314.pyc +0 -0
  138. package/python/lib/python3.14/__pycache__/statistics.cpython-314.pyc +0 -0
  139. package/python/lib/python3.14/__pycache__/stringprep.cpython-314.pyc +0 -0
  140. package/python/lib/python3.14/__pycache__/struct.cpython-314.pyc +0 -0
  141. package/python/lib/python3.14/__pycache__/subprocess.cpython-314.pyc +0 -0
  142. package/python/lib/python3.14/__pycache__/symtable.cpython-314.pyc +0 -0
  143. package/python/lib/python3.14/__pycache__/tabnanny.cpython-314.pyc +0 -0
  144. package/python/lib/python3.14/__pycache__/tarfile.cpython-314.pyc +0 -0
  145. package/python/lib/python3.14/__pycache__/tempfile.cpython-314.pyc +0 -0
  146. package/python/lib/python3.14/__pycache__/textwrap.cpython-314.pyc +0 -0
  147. package/python/lib/python3.14/__pycache__/this.cpython-314.pyc +0 -0
  148. package/python/lib/python3.14/__pycache__/threading.cpython-314.pyc +0 -0
  149. package/python/lib/python3.14/__pycache__/timeit.cpython-314.pyc +0 -0
  150. package/python/lib/python3.14/__pycache__/token.cpython-314.pyc +0 -0
  151. package/python/lib/python3.14/__pycache__/tokenize.cpython-314.pyc +0 -0
  152. package/python/lib/python3.14/__pycache__/trace.cpython-314.pyc +0 -0
  153. package/python/lib/python3.14/__pycache__/traceback.cpython-314.pyc +0 -0
  154. package/python/lib/python3.14/__pycache__/tracemalloc.cpython-314.pyc +0 -0
  155. package/python/lib/python3.14/__pycache__/tty.cpython-314.pyc +0 -0
  156. package/python/lib/python3.14/__pycache__/types.cpython-314.pyc +0 -0
  157. package/python/lib/python3.14/__pycache__/typing.cpython-314.pyc +0 -0
  158. package/python/lib/python3.14/__pycache__/uuid.cpython-314.pyc +0 -0
  159. package/python/lib/python3.14/__pycache__/warnings.cpython-314.pyc +0 -0
  160. package/python/lib/python3.14/__pycache__/wave.cpython-314.pyc +0 -0
  161. package/python/lib/python3.14/__pycache__/weakref.cpython-314.pyc +0 -0
  162. package/python/lib/python3.14/__pycache__/webbrowser.cpython-314.pyc +0 -0
  163. package/python/lib/python3.14/__pycache__/zipapp.cpython-314.pyc +0 -0
  164. package/python/lib/python3.14/__pycache__/zipimport.cpython-314.pyc +0 -0
  165. package/python/lib/python3.14/_aix_support.py +108 -0
  166. package/python/lib/python3.14/_android_support.py +192 -0
  167. package/python/lib/python3.14/_apple_support.py +66 -0
  168. package/python/lib/python3.14/_ast_unparse.py +1161 -0
  169. package/python/lib/python3.14/_collections_abc.py +1172 -0
  170. package/python/lib/python3.14/_colorize.py +355 -0
  171. package/python/lib/python3.14/_compat_pickle.py +251 -0
  172. package/python/lib/python3.14/_ios_support.py +74 -0
  173. package/python/lib/python3.14/_markupbase.py +396 -0
  174. package/python/lib/python3.14/_opcode_metadata.py +371 -0
  175. package/python/lib/python3.14/_osx_support.py +579 -0
  176. package/python/lib/python3.14/_py_abc.py +152 -0
  177. package/python/lib/python3.14/_py_warnings.py +869 -0
  178. package/python/lib/python3.14/_pydatetime.py +2734 -0
  179. package/python/lib/python3.14/_pydecimal.py +6503 -0
  180. package/python/lib/python3.14/_pyio.py +2764 -0
  181. package/python/lib/python3.14/_pylong.py +729 -0
  182. package/python/lib/python3.14/_pyrepl/__init__.py +19 -0
  183. package/python/lib/python3.14/_pyrepl/__main__.py +10 -0
  184. package/python/lib/python3.14/_pyrepl/__pycache__/__init__.cpython-314.pyc +0 -0
  185. package/python/lib/python3.14/_pyrepl/__pycache__/__main__.cpython-314.pyc +0 -0
  186. package/python/lib/python3.14/_pyrepl/__pycache__/_module_completer.cpython-314.pyc +0 -0
  187. package/python/lib/python3.14/_pyrepl/__pycache__/_threading_handler.cpython-314.pyc +0 -0
  188. package/python/lib/python3.14/_pyrepl/__pycache__/base_eventqueue.cpython-314.pyc +0 -0
  189. package/python/lib/python3.14/_pyrepl/__pycache__/commands.cpython-314.pyc +0 -0
  190. package/python/lib/python3.14/_pyrepl/__pycache__/completing_reader.cpython-314.pyc +0 -0
  191. package/python/lib/python3.14/_pyrepl/__pycache__/console.cpython-314.pyc +0 -0
  192. package/python/lib/python3.14/_pyrepl/__pycache__/fancy_termios.cpython-314.pyc +0 -0
  193. package/python/lib/python3.14/_pyrepl/__pycache__/historical_reader.cpython-314.pyc +0 -0
  194. package/python/lib/python3.14/_pyrepl/__pycache__/input.cpython-314.pyc +0 -0
  195. package/python/lib/python3.14/_pyrepl/__pycache__/keymap.cpython-314.pyc +0 -0
  196. package/python/lib/python3.14/_pyrepl/__pycache__/main.cpython-314.pyc +0 -0
  197. package/python/lib/python3.14/_pyrepl/__pycache__/pager.cpython-314.pyc +0 -0
  198. package/python/lib/python3.14/_pyrepl/__pycache__/reader.cpython-314.pyc +0 -0
  199. package/python/lib/python3.14/_pyrepl/__pycache__/readline.cpython-314.pyc +0 -0
  200. package/python/lib/python3.14/_pyrepl/__pycache__/simple_interact.cpython-314.pyc +0 -0
  201. package/python/lib/python3.14/_pyrepl/__pycache__/terminfo.cpython-314.pyc +0 -0
  202. package/python/lib/python3.14/_pyrepl/__pycache__/trace.cpython-314.pyc +0 -0
  203. package/python/lib/python3.14/_pyrepl/__pycache__/types.cpython-314.pyc +0 -0
  204. package/python/lib/python3.14/_pyrepl/__pycache__/unix_console.cpython-314.pyc +0 -0
  205. package/python/lib/python3.14/_pyrepl/__pycache__/unix_eventqueue.cpython-314.pyc +0 -0
  206. package/python/lib/python3.14/_pyrepl/__pycache__/utils.cpython-314.pyc +0 -0
  207. package/python/lib/python3.14/_pyrepl/__pycache__/windows_console.cpython-314.pyc +0 -0
  208. package/python/lib/python3.14/_pyrepl/__pycache__/windows_eventqueue.cpython-314.pyc +0 -0
  209. package/python/lib/python3.14/_pyrepl/_module_completer.py +426 -0
  210. package/python/lib/python3.14/_pyrepl/_threading_handler.py +74 -0
  211. package/python/lib/python3.14/_pyrepl/base_eventqueue.py +110 -0
  212. package/python/lib/python3.14/_pyrepl/commands.py +505 -0
  213. package/python/lib/python3.14/_pyrepl/completing_reader.py +299 -0
  214. package/python/lib/python3.14/_pyrepl/console.py +229 -0
  215. package/python/lib/python3.14/_pyrepl/fancy_termios.py +82 -0
  216. package/python/lib/python3.14/_pyrepl/historical_reader.py +424 -0
  217. package/python/lib/python3.14/_pyrepl/input.py +114 -0
  218. package/python/lib/python3.14/_pyrepl/keymap.py +213 -0
  219. package/python/lib/python3.14/_pyrepl/main.py +58 -0
  220. package/python/lib/python3.14/_pyrepl/mypy.ini +25 -0
  221. package/python/lib/python3.14/_pyrepl/pager.py +175 -0
  222. package/python/lib/python3.14/_pyrepl/reader.py +773 -0
  223. package/python/lib/python3.14/_pyrepl/readline.py +621 -0
  224. package/python/lib/python3.14/_pyrepl/simple_interact.py +186 -0
  225. package/python/lib/python3.14/_pyrepl/terminfo.py +488 -0
  226. package/python/lib/python3.14/_pyrepl/trace.py +34 -0
  227. package/python/lib/python3.14/_pyrepl/types.py +10 -0
  228. package/python/lib/python3.14/_pyrepl/unix_console.py +860 -0
  229. package/python/lib/python3.14/_pyrepl/unix_eventqueue.py +77 -0
  230. package/python/lib/python3.14/_pyrepl/utils.py +391 -0
  231. package/python/lib/python3.14/_pyrepl/windows_console.py +735 -0
  232. package/python/lib/python3.14/_pyrepl/windows_eventqueue.py +42 -0
  233. package/python/lib/python3.14/_sitebuiltins.py +91 -0
  234. package/python/lib/python3.14/_strptime.py +822 -0
  235. package/python/lib/python3.14/_sysconfig_vars__linux_s390x-linux-gnu.json +1166 -0
  236. package/python/lib/python3.14/_sysconfigdata__linux_s390x-linux-gnu.py +1152 -0
  237. package/python/lib/python3.14/_threading_local.py +120 -0
  238. package/python/lib/python3.14/_weakrefset.py +147 -0
  239. package/python/lib/python3.14/abc.py +188 -0
  240. package/python/lib/python3.14/annotationlib.py +1205 -0
  241. package/python/lib/python3.14/antigravity.py +17 -0
  242. package/python/lib/python3.14/argparse.py +2789 -0
  243. package/python/lib/python3.14/ast.py +680 -0
  244. package/python/lib/python3.14/asyncio/__init__.py +74 -0
  245. package/python/lib/python3.14/asyncio/__main__.py +248 -0
  246. package/python/lib/python3.14/asyncio/__pycache__/__init__.cpython-314.pyc +0 -0
  247. package/python/lib/python3.14/asyncio/__pycache__/__main__.cpython-314.pyc +0 -0
  248. package/python/lib/python3.14/asyncio/__pycache__/base_events.cpython-314.pyc +0 -0
  249. package/python/lib/python3.14/asyncio/__pycache__/base_futures.cpython-314.pyc +0 -0
  250. package/python/lib/python3.14/asyncio/__pycache__/base_subprocess.cpython-314.pyc +0 -0
  251. package/python/lib/python3.14/asyncio/__pycache__/base_tasks.cpython-314.pyc +0 -0
  252. package/python/lib/python3.14/asyncio/__pycache__/constants.cpython-314.pyc +0 -0
  253. package/python/lib/python3.14/asyncio/__pycache__/coroutines.cpython-314.pyc +0 -0
  254. package/python/lib/python3.14/asyncio/__pycache__/events.cpython-314.pyc +0 -0
  255. package/python/lib/python3.14/asyncio/__pycache__/exceptions.cpython-314.pyc +0 -0
  256. package/python/lib/python3.14/asyncio/__pycache__/format_helpers.cpython-314.pyc +0 -0
  257. package/python/lib/python3.14/asyncio/__pycache__/futures.cpython-314.pyc +0 -0
  258. package/python/lib/python3.14/asyncio/__pycache__/graph.cpython-314.pyc +0 -0
  259. package/python/lib/python3.14/asyncio/__pycache__/locks.cpython-314.pyc +0 -0
  260. package/python/lib/python3.14/asyncio/__pycache__/log.cpython-314.pyc +0 -0
  261. package/python/lib/python3.14/asyncio/__pycache__/mixins.cpython-314.pyc +0 -0
  262. package/python/lib/python3.14/asyncio/__pycache__/proactor_events.cpython-314.pyc +0 -0
  263. package/python/lib/python3.14/asyncio/__pycache__/protocols.cpython-314.pyc +0 -0
  264. package/python/lib/python3.14/asyncio/__pycache__/queues.cpython-314.pyc +0 -0
  265. package/python/lib/python3.14/asyncio/__pycache__/runners.cpython-314.pyc +0 -0
  266. package/python/lib/python3.14/asyncio/__pycache__/selector_events.cpython-314.pyc +0 -0
  267. package/python/lib/python3.14/asyncio/__pycache__/sslproto.cpython-314.pyc +0 -0
  268. package/python/lib/python3.14/asyncio/__pycache__/staggered.cpython-314.pyc +0 -0
  269. package/python/lib/python3.14/asyncio/__pycache__/streams.cpython-314.pyc +0 -0
  270. package/python/lib/python3.14/asyncio/__pycache__/subprocess.cpython-314.pyc +0 -0
  271. package/python/lib/python3.14/asyncio/__pycache__/taskgroups.cpython-314.pyc +0 -0
  272. package/python/lib/python3.14/asyncio/__pycache__/tasks.cpython-314.pyc +0 -0
  273. package/python/lib/python3.14/asyncio/__pycache__/threads.cpython-314.pyc +0 -0
  274. package/python/lib/python3.14/asyncio/__pycache__/timeouts.cpython-314.pyc +0 -0
  275. package/python/lib/python3.14/asyncio/__pycache__/tools.cpython-314.pyc +0 -0
  276. package/python/lib/python3.14/asyncio/__pycache__/transports.cpython-314.pyc +0 -0
  277. package/python/lib/python3.14/asyncio/__pycache__/trsock.cpython-314.pyc +0 -0
  278. package/python/lib/python3.14/asyncio/__pycache__/unix_events.cpython-314.pyc +0 -0
  279. package/python/lib/python3.14/asyncio/__pycache__/windows_events.cpython-314.pyc +0 -0
  280. package/python/lib/python3.14/asyncio/__pycache__/windows_utils.cpython-314.pyc +0 -0
  281. package/python/lib/python3.14/asyncio/base_events.py +2089 -0
  282. package/python/lib/python3.14/asyncio/base_futures.py +67 -0
  283. package/python/lib/python3.14/asyncio/base_subprocess.py +327 -0
  284. package/python/lib/python3.14/asyncio/base_tasks.py +94 -0
  285. package/python/lib/python3.14/asyncio/constants.py +41 -0
  286. package/python/lib/python3.14/asyncio/coroutines.py +118 -0
  287. package/python/lib/python3.14/asyncio/events.py +881 -0
  288. package/python/lib/python3.14/asyncio/exceptions.py +62 -0
  289. package/python/lib/python3.14/asyncio/format_helpers.py +84 -0
  290. package/python/lib/python3.14/asyncio/futures.py +481 -0
  291. package/python/lib/python3.14/asyncio/graph.py +279 -0
  292. package/python/lib/python3.14/asyncio/locks.py +617 -0
  293. package/python/lib/python3.14/asyncio/log.py +7 -0
  294. package/python/lib/python3.14/asyncio/mixins.py +21 -0
  295. package/python/lib/python3.14/asyncio/proactor_events.py +923 -0
  296. package/python/lib/python3.14/asyncio/protocols.py +216 -0
  297. package/python/lib/python3.14/asyncio/queues.py +309 -0
  298. package/python/lib/python3.14/asyncio/runners.py +226 -0
  299. package/python/lib/python3.14/asyncio/selector_events.py +1337 -0
  300. package/python/lib/python3.14/asyncio/sslproto.py +937 -0
  301. package/python/lib/python3.14/asyncio/staggered.py +179 -0
  302. package/python/lib/python3.14/asyncio/streams.py +804 -0
  303. package/python/lib/python3.14/asyncio/subprocess.py +229 -0
  304. package/python/lib/python3.14/asyncio/taskgroups.py +280 -0
  305. package/python/lib/python3.14/asyncio/tasks.py +1145 -0
  306. package/python/lib/python3.14/asyncio/threads.py +26 -0
  307. package/python/lib/python3.14/asyncio/timeouts.py +183 -0
  308. package/python/lib/python3.14/asyncio/tools.py +278 -0
  309. package/python/lib/python3.14/asyncio/transports.py +337 -0
  310. package/python/lib/python3.14/asyncio/trsock.py +98 -0
  311. package/python/lib/python3.14/asyncio/unix_events.py +1031 -0
  312. package/python/lib/python3.14/asyncio/windows_events.py +906 -0
  313. package/python/lib/python3.14/asyncio/windows_utils.py +181 -0
  314. package/python/lib/python3.14/base64.py +625 -0
  315. package/python/lib/python3.14/bdb.py +1214 -0
  316. package/python/lib/python3.14/bisect.py +118 -0
  317. package/python/lib/python3.14/build-details.json +58 -0
  318. package/python/lib/python3.14/bz2.py +352 -0
  319. package/python/lib/python3.14/cProfile.py +207 -0
  320. package/python/lib/python3.14/calendar.py +926 -0
  321. package/python/lib/python3.14/cmd.py +414 -0
  322. package/python/lib/python3.14/code.py +396 -0
  323. package/python/lib/python3.14/codecs.py +1125 -0
  324. package/python/lib/python3.14/codeop.py +154 -0
  325. package/python/lib/python3.14/collections/__init__.py +1612 -0
  326. package/python/lib/python3.14/collections/__pycache__/__init__.cpython-314.pyc +0 -0
  327. package/python/lib/python3.14/colorsys.py +166 -0
  328. package/python/lib/python3.14/compileall.py +472 -0
  329. package/python/lib/python3.14/compression/__init__.py +0 -0
  330. package/python/lib/python3.14/compression/__pycache__/__init__.cpython-314.pyc +0 -0
  331. package/python/lib/python3.14/compression/__pycache__/bz2.cpython-314.pyc +0 -0
  332. package/python/lib/python3.14/compression/__pycache__/gzip.cpython-314.pyc +0 -0
  333. package/python/lib/python3.14/compression/__pycache__/lzma.cpython-314.pyc +0 -0
  334. package/python/lib/python3.14/compression/__pycache__/zlib.cpython-314.pyc +0 -0
  335. package/python/lib/python3.14/compression/_common/__init__.py +0 -0
  336. package/python/lib/python3.14/compression/_common/__pycache__/__init__.cpython-314.pyc +0 -0
  337. package/python/lib/python3.14/compression/_common/__pycache__/_streams.cpython-314.pyc +0 -0
  338. package/python/lib/python3.14/compression/_common/_streams.py +162 -0
  339. package/python/lib/python3.14/compression/bz2.py +5 -0
  340. package/python/lib/python3.14/compression/gzip.py +5 -0
  341. package/python/lib/python3.14/compression/lzma.py +5 -0
  342. package/python/lib/python3.14/compression/zlib.py +5 -0
  343. package/python/lib/python3.14/compression/zstd/__init__.py +244 -0
  344. package/python/lib/python3.14/compression/zstd/__pycache__/__init__.cpython-314.pyc +0 -0
  345. package/python/lib/python3.14/compression/zstd/__pycache__/_zstdfile.cpython-314.pyc +0 -0
  346. package/python/lib/python3.14/compression/zstd/_zstdfile.py +347 -0
  347. package/python/lib/python3.14/concurrent/__init__.py +1 -0
  348. package/python/lib/python3.14/concurrent/__pycache__/__init__.cpython-314.pyc +0 -0
  349. package/python/lib/python3.14/concurrent/futures/__init__.py +65 -0
  350. package/python/lib/python3.14/concurrent/futures/__pycache__/__init__.cpython-314.pyc +0 -0
  351. package/python/lib/python3.14/concurrent/futures/__pycache__/_base.cpython-314.pyc +0 -0
  352. package/python/lib/python3.14/concurrent/futures/__pycache__/interpreter.cpython-314.pyc +0 -0
  353. package/python/lib/python3.14/concurrent/futures/__pycache__/process.cpython-314.pyc +0 -0
  354. package/python/lib/python3.14/concurrent/futures/__pycache__/thread.cpython-314.pyc +0 -0
  355. package/python/lib/python3.14/concurrent/futures/_base.py +680 -0
  356. package/python/lib/python3.14/concurrent/futures/interpreter.py +123 -0
  357. package/python/lib/python3.14/concurrent/futures/process.py +1047 -0
  358. package/python/lib/python3.14/concurrent/futures/thread.py +274 -0
  359. package/python/lib/python3.14/concurrent/interpreters/__init__.py +253 -0
  360. package/python/lib/python3.14/concurrent/interpreters/__pycache__/__init__.cpython-314.pyc +0 -0
  361. package/python/lib/python3.14/concurrent/interpreters/__pycache__/_crossinterp.cpython-314.pyc +0 -0
  362. package/python/lib/python3.14/concurrent/interpreters/__pycache__/_queues.cpython-314.pyc +0 -0
  363. package/python/lib/python3.14/concurrent/interpreters/_crossinterp.py +107 -0
  364. package/python/lib/python3.14/concurrent/interpreters/_queues.py +290 -0
  365. package/python/lib/python3.14/configparser.py +1426 -0
  366. package/python/lib/python3.14/contextlib.py +814 -0
  367. package/python/lib/python3.14/contextvars.py +8 -0
  368. package/python/lib/python3.14/copy.py +286 -0
  369. package/python/lib/python3.14/copyreg.py +222 -0
  370. package/python/lib/python3.14/csv.py +527 -0
  371. package/python/lib/python3.14/ctypes/__init__.py +686 -0
  372. package/python/lib/python3.14/ctypes/__pycache__/__init__.cpython-314.pyc +0 -0
  373. package/python/lib/python3.14/ctypes/__pycache__/_aix.cpython-314.pyc +0 -0
  374. package/python/lib/python3.14/ctypes/__pycache__/_endian.cpython-314.pyc +0 -0
  375. package/python/lib/python3.14/ctypes/__pycache__/_layout.cpython-314.pyc +0 -0
  376. package/python/lib/python3.14/ctypes/__pycache__/util.cpython-314.pyc +0 -0
  377. package/python/lib/python3.14/ctypes/__pycache__/wintypes.cpython-314.pyc +0 -0
  378. package/python/lib/python3.14/ctypes/_aix.py +327 -0
  379. package/python/lib/python3.14/ctypes/_endian.py +78 -0
  380. package/python/lib/python3.14/ctypes/_layout.py +330 -0
  381. package/python/lib/python3.14/ctypes/macholib/README.ctypes +7 -0
  382. package/python/lib/python3.14/ctypes/macholib/__init__.py +9 -0
  383. package/python/lib/python3.14/ctypes/macholib/__pycache__/__init__.cpython-314.pyc +0 -0
  384. package/python/lib/python3.14/ctypes/macholib/__pycache__/dyld.cpython-314.pyc +0 -0
  385. package/python/lib/python3.14/ctypes/macholib/__pycache__/dylib.cpython-314.pyc +0 -0
  386. package/python/lib/python3.14/ctypes/macholib/__pycache__/framework.cpython-314.pyc +0 -0
  387. package/python/lib/python3.14/ctypes/macholib/dyld.py +165 -0
  388. package/python/lib/python3.14/ctypes/macholib/dylib.py +42 -0
  389. package/python/lib/python3.14/ctypes/macholib/fetch_macholib +2 -0
  390. package/python/lib/python3.14/ctypes/macholib/fetch_macholib.bat +1 -0
  391. package/python/lib/python3.14/ctypes/macholib/framework.py +42 -0
  392. package/python/lib/python3.14/ctypes/util.py +502 -0
  393. package/python/lib/python3.14/ctypes/wintypes.py +210 -0
  394. package/python/lib/python3.14/curses/__init__.py +101 -0
  395. package/python/lib/python3.14/curses/__pycache__/__init__.cpython-314.pyc +0 -0
  396. package/python/lib/python3.14/curses/__pycache__/ascii.cpython-314.pyc +0 -0
  397. package/python/lib/python3.14/curses/__pycache__/has_key.cpython-314.pyc +0 -0
  398. package/python/lib/python3.14/curses/__pycache__/panel.cpython-314.pyc +0 -0
  399. package/python/lib/python3.14/curses/__pycache__/textpad.cpython-314.pyc +0 -0
  400. package/python/lib/python3.14/curses/ascii.py +99 -0
  401. package/python/lib/python3.14/curses/has_key.py +192 -0
  402. package/python/lib/python3.14/curses/panel.py +6 -0
  403. package/python/lib/python3.14/curses/textpad.py +236 -0
  404. package/python/lib/python3.14/dataclasses.py +1813 -0
  405. package/python/lib/python3.14/datetime.py +13 -0
  406. package/python/lib/python3.14/dbm/__init__.py +194 -0
  407. package/python/lib/python3.14/dbm/__pycache__/__init__.cpython-314.pyc +0 -0
  408. package/python/lib/python3.14/dbm/__pycache__/dumb.cpython-314.pyc +0 -0
  409. package/python/lib/python3.14/dbm/__pycache__/gnu.cpython-314.pyc +0 -0
  410. package/python/lib/python3.14/dbm/__pycache__/ndbm.cpython-314.pyc +0 -0
  411. package/python/lib/python3.14/dbm/__pycache__/sqlite3.cpython-314.pyc +0 -0
  412. package/python/lib/python3.14/dbm/dumb.py +319 -0
  413. package/python/lib/python3.14/dbm/gnu.py +3 -0
  414. package/python/lib/python3.14/dbm/ndbm.py +3 -0
  415. package/python/lib/python3.14/dbm/sqlite3.py +144 -0
  416. package/python/lib/python3.14/decimal.py +109 -0
  417. package/python/lib/python3.14/difflib.py +2066 -0
  418. package/python/lib/python3.14/dis.py +1157 -0
  419. package/python/lib/python3.14/doctest.py +2922 -0
  420. package/python/lib/python3.14/email/__init__.py +61 -0
  421. package/python/lib/python3.14/email/__pycache__/__init__.cpython-314.pyc +0 -0
  422. package/python/lib/python3.14/email/__pycache__/_encoded_words.cpython-314.pyc +0 -0
  423. package/python/lib/python3.14/email/__pycache__/_header_value_parser.cpython-314.pyc +0 -0
  424. package/python/lib/python3.14/email/__pycache__/_parseaddr.cpython-314.pyc +0 -0
  425. package/python/lib/python3.14/email/__pycache__/_policybase.cpython-314.pyc +0 -0
  426. package/python/lib/python3.14/email/__pycache__/base64mime.cpython-314.pyc +0 -0
  427. package/python/lib/python3.14/email/__pycache__/charset.cpython-314.pyc +0 -0
  428. package/python/lib/python3.14/email/__pycache__/contentmanager.cpython-314.pyc +0 -0
  429. package/python/lib/python3.14/email/__pycache__/encoders.cpython-314.pyc +0 -0
  430. package/python/lib/python3.14/email/__pycache__/errors.cpython-314.pyc +0 -0
  431. package/python/lib/python3.14/email/__pycache__/feedparser.cpython-314.pyc +0 -0
  432. package/python/lib/python3.14/email/__pycache__/generator.cpython-314.pyc +0 -0
  433. package/python/lib/python3.14/email/__pycache__/header.cpython-314.pyc +0 -0
  434. package/python/lib/python3.14/email/__pycache__/headerregistry.cpython-314.pyc +0 -0
  435. package/python/lib/python3.14/email/__pycache__/iterators.cpython-314.pyc +0 -0
  436. package/python/lib/python3.14/email/__pycache__/message.cpython-314.pyc +0 -0
  437. package/python/lib/python3.14/email/__pycache__/parser.cpython-314.pyc +0 -0
  438. package/python/lib/python3.14/email/__pycache__/policy.cpython-314.pyc +0 -0
  439. package/python/lib/python3.14/email/__pycache__/quoprimime.cpython-314.pyc +0 -0
  440. package/python/lib/python3.14/email/__pycache__/utils.cpython-314.pyc +0 -0
  441. package/python/lib/python3.14/email/_encoded_words.py +233 -0
  442. package/python/lib/python3.14/email/_header_value_parser.py +3164 -0
  443. package/python/lib/python3.14/email/_parseaddr.py +563 -0
  444. package/python/lib/python3.14/email/_policybase.py +392 -0
  445. package/python/lib/python3.14/email/architecture.rst +216 -0
  446. package/python/lib/python3.14/email/base64mime.py +115 -0
  447. package/python/lib/python3.14/email/charset.py +396 -0
  448. package/python/lib/python3.14/email/contentmanager.py +254 -0
  449. package/python/lib/python3.14/email/encoders.py +65 -0
  450. package/python/lib/python3.14/email/errors.py +117 -0
  451. package/python/lib/python3.14/email/feedparser.py +536 -0
  452. package/python/lib/python3.14/email/generator.py +530 -0
  453. package/python/lib/python3.14/email/header.py +582 -0
  454. package/python/lib/python3.14/email/headerregistry.py +618 -0
  455. package/python/lib/python3.14/email/iterators.py +68 -0
  456. package/python/lib/python3.14/email/message.py +1217 -0
  457. package/python/lib/python3.14/email/mime/__init__.py +0 -0
  458. package/python/lib/python3.14/email/mime/__pycache__/__init__.cpython-314.pyc +0 -0
  459. package/python/lib/python3.14/email/mime/__pycache__/application.cpython-314.pyc +0 -0
  460. package/python/lib/python3.14/email/mime/__pycache__/audio.cpython-314.pyc +0 -0
  461. package/python/lib/python3.14/email/mime/__pycache__/base.cpython-314.pyc +0 -0
  462. package/python/lib/python3.14/email/mime/__pycache__/image.cpython-314.pyc +0 -0
  463. package/python/lib/python3.14/email/mime/__pycache__/message.cpython-314.pyc +0 -0
  464. package/python/lib/python3.14/email/mime/__pycache__/multipart.cpython-314.pyc +0 -0
  465. package/python/lib/python3.14/email/mime/__pycache__/nonmultipart.cpython-314.pyc +0 -0
  466. package/python/lib/python3.14/email/mime/__pycache__/text.cpython-314.pyc +0 -0
  467. package/python/lib/python3.14/email/mime/application.py +37 -0
  468. package/python/lib/python3.14/email/mime/audio.py +97 -0
  469. package/python/lib/python3.14/email/mime/base.py +29 -0
  470. package/python/lib/python3.14/email/mime/image.py +152 -0
  471. package/python/lib/python3.14/email/mime/message.py +33 -0
  472. package/python/lib/python3.14/email/mime/multipart.py +47 -0
  473. package/python/lib/python3.14/email/mime/nonmultipart.py +21 -0
  474. package/python/lib/python3.14/email/mime/text.py +40 -0
  475. package/python/lib/python3.14/email/parser.py +127 -0
  476. package/python/lib/python3.14/email/policy.py +239 -0
  477. package/python/lib/python3.14/email/quoprimime.py +300 -0
  478. package/python/lib/python3.14/email/utils.py +489 -0
  479. package/python/lib/python3.14/encodings/__init__.py +182 -0
  480. package/python/lib/python3.14/encodings/__pycache__/__init__.cpython-314.pyc +0 -0
  481. package/python/lib/python3.14/encodings/__pycache__/_win_cp_codecs.cpython-314.pyc +0 -0
  482. package/python/lib/python3.14/encodings/__pycache__/aliases.cpython-314.pyc +0 -0
  483. package/python/lib/python3.14/encodings/__pycache__/ascii.cpython-314.pyc +0 -0
  484. package/python/lib/python3.14/encodings/__pycache__/base64_codec.cpython-314.pyc +0 -0
  485. package/python/lib/python3.14/encodings/__pycache__/big5.cpython-314.pyc +0 -0
  486. package/python/lib/python3.14/encodings/__pycache__/big5hkscs.cpython-314.pyc +0 -0
  487. package/python/lib/python3.14/encodings/__pycache__/bz2_codec.cpython-314.pyc +0 -0
  488. package/python/lib/python3.14/encodings/__pycache__/charmap.cpython-314.pyc +0 -0
  489. package/python/lib/python3.14/encodings/__pycache__/cp037.cpython-314.pyc +0 -0
  490. package/python/lib/python3.14/encodings/__pycache__/cp1006.cpython-314.pyc +0 -0
  491. package/python/lib/python3.14/encodings/__pycache__/cp1026.cpython-314.pyc +0 -0
  492. package/python/lib/python3.14/encodings/__pycache__/cp1125.cpython-314.pyc +0 -0
  493. package/python/lib/python3.14/encodings/__pycache__/cp1140.cpython-314.pyc +0 -0
  494. package/python/lib/python3.14/encodings/__pycache__/cp1250.cpython-314.pyc +0 -0
  495. package/python/lib/python3.14/encodings/__pycache__/cp1251.cpython-314.pyc +0 -0
  496. package/python/lib/python3.14/encodings/__pycache__/cp1252.cpython-314.pyc +0 -0
  497. package/python/lib/python3.14/encodings/__pycache__/cp1253.cpython-314.pyc +0 -0
  498. package/python/lib/python3.14/encodings/__pycache__/cp1254.cpython-314.pyc +0 -0
  499. package/python/lib/python3.14/encodings/__pycache__/cp1255.cpython-314.pyc +0 -0
  500. package/python/lib/python3.14/encodings/__pycache__/cp1256.cpython-314.pyc +0 -0
  501. package/python/lib/python3.14/encodings/__pycache__/cp1257.cpython-314.pyc +0 -0
  502. package/python/lib/python3.14/encodings/__pycache__/cp1258.cpython-314.pyc +0 -0
  503. package/python/lib/python3.14/encodings/__pycache__/cp273.cpython-314.pyc +0 -0
  504. package/python/lib/python3.14/encodings/__pycache__/cp424.cpython-314.pyc +0 -0
  505. package/python/lib/python3.14/encodings/__pycache__/cp437.cpython-314.pyc +0 -0
  506. package/python/lib/python3.14/encodings/__pycache__/cp500.cpython-314.pyc +0 -0
  507. package/python/lib/python3.14/encodings/__pycache__/cp720.cpython-314.pyc +0 -0
  508. package/python/lib/python3.14/encodings/__pycache__/cp737.cpython-314.pyc +0 -0
  509. package/python/lib/python3.14/encodings/__pycache__/cp775.cpython-314.pyc +0 -0
  510. package/python/lib/python3.14/encodings/__pycache__/cp850.cpython-314.pyc +0 -0
  511. package/python/lib/python3.14/encodings/__pycache__/cp852.cpython-314.pyc +0 -0
  512. package/python/lib/python3.14/encodings/__pycache__/cp855.cpython-314.pyc +0 -0
  513. package/python/lib/python3.14/encodings/__pycache__/cp856.cpython-314.pyc +0 -0
  514. package/python/lib/python3.14/encodings/__pycache__/cp857.cpython-314.pyc +0 -0
  515. package/python/lib/python3.14/encodings/__pycache__/cp858.cpython-314.pyc +0 -0
  516. package/python/lib/python3.14/encodings/__pycache__/cp860.cpython-314.pyc +0 -0
  517. package/python/lib/python3.14/encodings/__pycache__/cp861.cpython-314.pyc +0 -0
  518. package/python/lib/python3.14/encodings/__pycache__/cp862.cpython-314.pyc +0 -0
  519. package/python/lib/python3.14/encodings/__pycache__/cp863.cpython-314.pyc +0 -0
  520. package/python/lib/python3.14/encodings/__pycache__/cp864.cpython-314.pyc +0 -0
  521. package/python/lib/python3.14/encodings/__pycache__/cp865.cpython-314.pyc +0 -0
  522. package/python/lib/python3.14/encodings/__pycache__/cp866.cpython-314.pyc +0 -0
  523. package/python/lib/python3.14/encodings/__pycache__/cp869.cpython-314.pyc +0 -0
  524. package/python/lib/python3.14/encodings/__pycache__/cp874.cpython-314.pyc +0 -0
  525. package/python/lib/python3.14/encodings/__pycache__/cp875.cpython-314.pyc +0 -0
  526. package/python/lib/python3.14/encodings/__pycache__/cp932.cpython-314.pyc +0 -0
  527. package/python/lib/python3.14/encodings/__pycache__/cp949.cpython-314.pyc +0 -0
  528. package/python/lib/python3.14/encodings/__pycache__/cp950.cpython-314.pyc +0 -0
  529. package/python/lib/python3.14/encodings/__pycache__/euc_jis_2004.cpython-314.pyc +0 -0
  530. package/python/lib/python3.14/encodings/__pycache__/euc_jisx0213.cpython-314.pyc +0 -0
  531. package/python/lib/python3.14/encodings/__pycache__/euc_jp.cpython-314.pyc +0 -0
  532. package/python/lib/python3.14/encodings/__pycache__/euc_kr.cpython-314.pyc +0 -0
  533. package/python/lib/python3.14/encodings/__pycache__/gb18030.cpython-314.pyc +0 -0
  534. package/python/lib/python3.14/encodings/__pycache__/gb2312.cpython-314.pyc +0 -0
  535. package/python/lib/python3.14/encodings/__pycache__/gbk.cpython-314.pyc +0 -0
  536. package/python/lib/python3.14/encodings/__pycache__/hex_codec.cpython-314.pyc +0 -0
  537. package/python/lib/python3.14/encodings/__pycache__/hp_roman8.cpython-314.pyc +0 -0
  538. package/python/lib/python3.14/encodings/__pycache__/hz.cpython-314.pyc +0 -0
  539. package/python/lib/python3.14/encodings/__pycache__/idna.cpython-314.pyc +0 -0
  540. package/python/lib/python3.14/encodings/__pycache__/iso2022_jp.cpython-314.pyc +0 -0
  541. package/python/lib/python3.14/encodings/__pycache__/iso2022_jp_1.cpython-314.pyc +0 -0
  542. package/python/lib/python3.14/encodings/__pycache__/iso2022_jp_2.cpython-314.pyc +0 -0
  543. package/python/lib/python3.14/encodings/__pycache__/iso2022_jp_2004.cpython-314.pyc +0 -0
  544. package/python/lib/python3.14/encodings/__pycache__/iso2022_jp_3.cpython-314.pyc +0 -0
  545. package/python/lib/python3.14/encodings/__pycache__/iso2022_jp_ext.cpython-314.pyc +0 -0
  546. package/python/lib/python3.14/encodings/__pycache__/iso2022_kr.cpython-314.pyc +0 -0
  547. package/python/lib/python3.14/encodings/__pycache__/iso8859_1.cpython-314.pyc +0 -0
  548. package/python/lib/python3.14/encodings/__pycache__/iso8859_10.cpython-314.pyc +0 -0
  549. package/python/lib/python3.14/encodings/__pycache__/iso8859_11.cpython-314.pyc +0 -0
  550. package/python/lib/python3.14/encodings/__pycache__/iso8859_13.cpython-314.pyc +0 -0
  551. package/python/lib/python3.14/encodings/__pycache__/iso8859_14.cpython-314.pyc +0 -0
  552. package/python/lib/python3.14/encodings/__pycache__/iso8859_15.cpython-314.pyc +0 -0
  553. package/python/lib/python3.14/encodings/__pycache__/iso8859_16.cpython-314.pyc +0 -0
  554. package/python/lib/python3.14/encodings/__pycache__/iso8859_2.cpython-314.pyc +0 -0
  555. package/python/lib/python3.14/encodings/__pycache__/iso8859_3.cpython-314.pyc +0 -0
  556. package/python/lib/python3.14/encodings/__pycache__/iso8859_4.cpython-314.pyc +0 -0
  557. package/python/lib/python3.14/encodings/__pycache__/iso8859_5.cpython-314.pyc +0 -0
  558. package/python/lib/python3.14/encodings/__pycache__/iso8859_6.cpython-314.pyc +0 -0
  559. package/python/lib/python3.14/encodings/__pycache__/iso8859_7.cpython-314.pyc +0 -0
  560. package/python/lib/python3.14/encodings/__pycache__/iso8859_8.cpython-314.pyc +0 -0
  561. package/python/lib/python3.14/encodings/__pycache__/iso8859_9.cpython-314.pyc +0 -0
  562. package/python/lib/python3.14/encodings/__pycache__/johab.cpython-314.pyc +0 -0
  563. package/python/lib/python3.14/encodings/__pycache__/koi8_r.cpython-314.pyc +0 -0
  564. package/python/lib/python3.14/encodings/__pycache__/koi8_t.cpython-314.pyc +0 -0
  565. package/python/lib/python3.14/encodings/__pycache__/koi8_u.cpython-314.pyc +0 -0
  566. package/python/lib/python3.14/encodings/__pycache__/kz1048.cpython-314.pyc +0 -0
  567. package/python/lib/python3.14/encodings/__pycache__/latin_1.cpython-314.pyc +0 -0
  568. package/python/lib/python3.14/encodings/__pycache__/mac_arabic.cpython-314.pyc +0 -0
  569. package/python/lib/python3.14/encodings/__pycache__/mac_croatian.cpython-314.pyc +0 -0
  570. package/python/lib/python3.14/encodings/__pycache__/mac_cyrillic.cpython-314.pyc +0 -0
  571. package/python/lib/python3.14/encodings/__pycache__/mac_farsi.cpython-314.pyc +0 -0
  572. package/python/lib/python3.14/encodings/__pycache__/mac_greek.cpython-314.pyc +0 -0
  573. package/python/lib/python3.14/encodings/__pycache__/mac_iceland.cpython-314.pyc +0 -0
  574. package/python/lib/python3.14/encodings/__pycache__/mac_latin2.cpython-314.pyc +0 -0
  575. package/python/lib/python3.14/encodings/__pycache__/mac_roman.cpython-314.pyc +0 -0
  576. package/python/lib/python3.14/encodings/__pycache__/mac_romanian.cpython-314.pyc +0 -0
  577. package/python/lib/python3.14/encodings/__pycache__/mac_turkish.cpython-314.pyc +0 -0
  578. package/python/lib/python3.14/encodings/__pycache__/mbcs.cpython-314.pyc +0 -0
  579. package/python/lib/python3.14/encodings/__pycache__/oem.cpython-314.pyc +0 -0
  580. package/python/lib/python3.14/encodings/__pycache__/palmos.cpython-314.pyc +0 -0
  581. package/python/lib/python3.14/encodings/__pycache__/ptcp154.cpython-314.pyc +0 -0
  582. package/python/lib/python3.14/encodings/__pycache__/punycode.cpython-314.pyc +0 -0
  583. package/python/lib/python3.14/encodings/__pycache__/quopri_codec.cpython-314.pyc +0 -0
  584. package/python/lib/python3.14/encodings/__pycache__/raw_unicode_escape.cpython-314.pyc +0 -0
  585. package/python/lib/python3.14/encodings/__pycache__/rot_13.cpython-314.pyc +0 -0
  586. package/python/lib/python3.14/encodings/__pycache__/shift_jis.cpython-314.pyc +0 -0
  587. package/python/lib/python3.14/encodings/__pycache__/shift_jis_2004.cpython-314.pyc +0 -0
  588. package/python/lib/python3.14/encodings/__pycache__/shift_jisx0213.cpython-314.pyc +0 -0
  589. package/python/lib/python3.14/encodings/__pycache__/tis_620.cpython-314.pyc +0 -0
  590. package/python/lib/python3.14/encodings/__pycache__/undefined.cpython-314.pyc +0 -0
  591. package/python/lib/python3.14/encodings/__pycache__/unicode_escape.cpython-314.pyc +0 -0
  592. package/python/lib/python3.14/encodings/__pycache__/utf_16.cpython-314.pyc +0 -0
  593. package/python/lib/python3.14/encodings/__pycache__/utf_16_be.cpython-314.pyc +0 -0
  594. package/python/lib/python3.14/encodings/__pycache__/utf_16_le.cpython-314.pyc +0 -0
  595. package/python/lib/python3.14/encodings/__pycache__/utf_32.cpython-314.pyc +0 -0
  596. package/python/lib/python3.14/encodings/__pycache__/utf_32_be.cpython-314.pyc +0 -0
  597. package/python/lib/python3.14/encodings/__pycache__/utf_32_le.cpython-314.pyc +0 -0
  598. package/python/lib/python3.14/encodings/__pycache__/utf_7.cpython-314.pyc +0 -0
  599. package/python/lib/python3.14/encodings/__pycache__/utf_8.cpython-314.pyc +0 -0
  600. package/python/lib/python3.14/encodings/__pycache__/utf_8_sig.cpython-314.pyc +0 -0
  601. package/python/lib/python3.14/encodings/__pycache__/uu_codec.cpython-314.pyc +0 -0
  602. package/python/lib/python3.14/encodings/__pycache__/zlib_codec.cpython-314.pyc +0 -0
  603. package/python/lib/python3.14/encodings/_win_cp_codecs.py +36 -0
  604. package/python/lib/python3.14/encodings/aliases.py +568 -0
  605. package/python/lib/python3.14/encodings/ascii.py +50 -0
  606. package/python/lib/python3.14/encodings/base64_codec.py +55 -0
  607. package/python/lib/python3.14/encodings/big5.py +39 -0
  608. package/python/lib/python3.14/encodings/big5hkscs.py +39 -0
  609. package/python/lib/python3.14/encodings/bz2_codec.py +78 -0
  610. package/python/lib/python3.14/encodings/charmap.py +69 -0
  611. package/python/lib/python3.14/encodings/cp037.py +307 -0
  612. package/python/lib/python3.14/encodings/cp1006.py +307 -0
  613. package/python/lib/python3.14/encodings/cp1026.py +307 -0
  614. package/python/lib/python3.14/encodings/cp1125.py +698 -0
  615. package/python/lib/python3.14/encodings/cp1140.py +307 -0
  616. package/python/lib/python3.14/encodings/cp1250.py +307 -0
  617. package/python/lib/python3.14/encodings/cp1251.py +307 -0
  618. package/python/lib/python3.14/encodings/cp1252.py +307 -0
  619. package/python/lib/python3.14/encodings/cp1253.py +307 -0
  620. package/python/lib/python3.14/encodings/cp1254.py +307 -0
  621. package/python/lib/python3.14/encodings/cp1255.py +307 -0
  622. package/python/lib/python3.14/encodings/cp1256.py +307 -0
  623. package/python/lib/python3.14/encodings/cp1257.py +307 -0
  624. package/python/lib/python3.14/encodings/cp1258.py +307 -0
  625. package/python/lib/python3.14/encodings/cp273.py +307 -0
  626. package/python/lib/python3.14/encodings/cp424.py +307 -0
  627. package/python/lib/python3.14/encodings/cp437.py +698 -0
  628. package/python/lib/python3.14/encodings/cp500.py +307 -0
  629. package/python/lib/python3.14/encodings/cp720.py +309 -0
  630. package/python/lib/python3.14/encodings/cp737.py +698 -0
  631. package/python/lib/python3.14/encodings/cp775.py +697 -0
  632. package/python/lib/python3.14/encodings/cp850.py +698 -0
  633. package/python/lib/python3.14/encodings/cp852.py +698 -0
  634. package/python/lib/python3.14/encodings/cp855.py +698 -0
  635. package/python/lib/python3.14/encodings/cp856.py +307 -0
  636. package/python/lib/python3.14/encodings/cp857.py +694 -0
  637. package/python/lib/python3.14/encodings/cp858.py +698 -0
  638. package/python/lib/python3.14/encodings/cp860.py +698 -0
  639. package/python/lib/python3.14/encodings/cp861.py +698 -0
  640. package/python/lib/python3.14/encodings/cp862.py +698 -0
  641. package/python/lib/python3.14/encodings/cp863.py +698 -0
  642. package/python/lib/python3.14/encodings/cp864.py +690 -0
  643. package/python/lib/python3.14/encodings/cp865.py +698 -0
  644. package/python/lib/python3.14/encodings/cp866.py +698 -0
  645. package/python/lib/python3.14/encodings/cp869.py +689 -0
  646. package/python/lib/python3.14/encodings/cp874.py +307 -0
  647. package/python/lib/python3.14/encodings/cp875.py +307 -0
  648. package/python/lib/python3.14/encodings/cp932.py +39 -0
  649. package/python/lib/python3.14/encodings/cp949.py +39 -0
  650. package/python/lib/python3.14/encodings/cp950.py +39 -0
  651. package/python/lib/python3.14/encodings/euc_jis_2004.py +39 -0
  652. package/python/lib/python3.14/encodings/euc_jisx0213.py +39 -0
  653. package/python/lib/python3.14/encodings/euc_jp.py +39 -0
  654. package/python/lib/python3.14/encodings/euc_kr.py +39 -0
  655. package/python/lib/python3.14/encodings/gb18030.py +39 -0
  656. package/python/lib/python3.14/encodings/gb2312.py +39 -0
  657. package/python/lib/python3.14/encodings/gbk.py +39 -0
  658. package/python/lib/python3.14/encodings/hex_codec.py +55 -0
  659. package/python/lib/python3.14/encodings/hp_roman8.py +314 -0
  660. package/python/lib/python3.14/encodings/hz.py +39 -0
  661. package/python/lib/python3.14/encodings/idna.py +387 -0
  662. package/python/lib/python3.14/encodings/iso2022_jp.py +39 -0
  663. package/python/lib/python3.14/encodings/iso2022_jp_1.py +39 -0
  664. package/python/lib/python3.14/encodings/iso2022_jp_2.py +39 -0
  665. package/python/lib/python3.14/encodings/iso2022_jp_2004.py +39 -0
  666. package/python/lib/python3.14/encodings/iso2022_jp_3.py +39 -0
  667. package/python/lib/python3.14/encodings/iso2022_jp_ext.py +39 -0
  668. package/python/lib/python3.14/encodings/iso2022_kr.py +39 -0
  669. package/python/lib/python3.14/encodings/iso8859_1.py +307 -0
  670. package/python/lib/python3.14/encodings/iso8859_10.py +307 -0
  671. package/python/lib/python3.14/encodings/iso8859_11.py +307 -0
  672. package/python/lib/python3.14/encodings/iso8859_13.py +307 -0
  673. package/python/lib/python3.14/encodings/iso8859_14.py +307 -0
  674. package/python/lib/python3.14/encodings/iso8859_15.py +307 -0
  675. package/python/lib/python3.14/encodings/iso8859_16.py +307 -0
  676. package/python/lib/python3.14/encodings/iso8859_2.py +307 -0
  677. package/python/lib/python3.14/encodings/iso8859_3.py +307 -0
  678. package/python/lib/python3.14/encodings/iso8859_4.py +307 -0
  679. package/python/lib/python3.14/encodings/iso8859_5.py +307 -0
  680. package/python/lib/python3.14/encodings/iso8859_6.py +307 -0
  681. package/python/lib/python3.14/encodings/iso8859_7.py +307 -0
  682. package/python/lib/python3.14/encodings/iso8859_8.py +307 -0
  683. package/python/lib/python3.14/encodings/iso8859_9.py +307 -0
  684. package/python/lib/python3.14/encodings/johab.py +39 -0
  685. package/python/lib/python3.14/encodings/koi8_r.py +307 -0
  686. package/python/lib/python3.14/encodings/koi8_t.py +308 -0
  687. package/python/lib/python3.14/encodings/koi8_u.py +307 -0
  688. package/python/lib/python3.14/encodings/kz1048.py +307 -0
  689. package/python/lib/python3.14/encodings/latin_1.py +50 -0
  690. package/python/lib/python3.14/encodings/mac_arabic.py +698 -0
  691. package/python/lib/python3.14/encodings/mac_croatian.py +307 -0
  692. package/python/lib/python3.14/encodings/mac_cyrillic.py +307 -0
  693. package/python/lib/python3.14/encodings/mac_farsi.py +307 -0
  694. package/python/lib/python3.14/encodings/mac_greek.py +307 -0
  695. package/python/lib/python3.14/encodings/mac_iceland.py +307 -0
  696. package/python/lib/python3.14/encodings/mac_latin2.py +312 -0
  697. package/python/lib/python3.14/encodings/mac_roman.py +307 -0
  698. package/python/lib/python3.14/encodings/mac_romanian.py +307 -0
  699. package/python/lib/python3.14/encodings/mac_turkish.py +307 -0
  700. package/python/lib/python3.14/encodings/mbcs.py +47 -0
  701. package/python/lib/python3.14/encodings/oem.py +41 -0
  702. package/python/lib/python3.14/encodings/palmos.py +308 -0
  703. package/python/lib/python3.14/encodings/ptcp154.py +312 -0
  704. package/python/lib/python3.14/encodings/punycode.py +253 -0
  705. package/python/lib/python3.14/encodings/quopri_codec.py +56 -0
  706. package/python/lib/python3.14/encodings/raw_unicode_escape.py +46 -0
  707. package/python/lib/python3.14/encodings/rot_13.py +113 -0
  708. package/python/lib/python3.14/encodings/shift_jis.py +39 -0
  709. package/python/lib/python3.14/encodings/shift_jis_2004.py +39 -0
  710. package/python/lib/python3.14/encodings/shift_jisx0213.py +39 -0
  711. package/python/lib/python3.14/encodings/tis_620.py +307 -0
  712. package/python/lib/python3.14/encodings/undefined.py +49 -0
  713. package/python/lib/python3.14/encodings/unicode_escape.py +46 -0
  714. package/python/lib/python3.14/encodings/utf_16.py +155 -0
  715. package/python/lib/python3.14/encodings/utf_16_be.py +42 -0
  716. package/python/lib/python3.14/encodings/utf_16_le.py +42 -0
  717. package/python/lib/python3.14/encodings/utf_32.py +150 -0
  718. package/python/lib/python3.14/encodings/utf_32_be.py +37 -0
  719. package/python/lib/python3.14/encodings/utf_32_le.py +37 -0
  720. package/python/lib/python3.14/encodings/utf_7.py +38 -0
  721. package/python/lib/python3.14/encodings/utf_8.py +42 -0
  722. package/python/lib/python3.14/encodings/utf_8_sig.py +130 -0
  723. package/python/lib/python3.14/encodings/uu_codec.py +103 -0
  724. package/python/lib/python3.14/encodings/zlib_codec.py +77 -0
  725. package/python/lib/python3.14/enum.py +2169 -0
  726. package/python/lib/python3.14/filecmp.py +320 -0
  727. package/python/lib/python3.14/fileinput.py +442 -0
  728. package/python/lib/python3.14/fnmatch.py +209 -0
  729. package/python/lib/python3.14/fractions.py +1078 -0
  730. package/python/lib/python3.14/ftplib.py +975 -0
  731. package/python/lib/python3.14/functools.py +1165 -0
  732. package/python/lib/python3.14/genericpath.py +200 -0
  733. package/python/lib/python3.14/getopt.py +232 -0
  734. package/python/lib/python3.14/getpass.py +256 -0
  735. package/python/lib/python3.14/gettext.py +660 -0
  736. package/python/lib/python3.14/glob.py +574 -0
  737. package/python/lib/python3.14/graphlib.py +254 -0
  738. package/python/lib/python3.14/gzip.py +724 -0
  739. package/python/lib/python3.14/hashlib.py +255 -0
  740. package/python/lib/python3.14/heapq.py +611 -0
  741. package/python/lib/python3.14/hmac.py +279 -0
  742. package/python/lib/python3.14/html/__init__.py +132 -0
  743. package/python/lib/python3.14/html/__pycache__/__init__.cpython-314.pyc +0 -0
  744. package/python/lib/python3.14/html/__pycache__/entities.cpython-314.pyc +0 -0
  745. package/python/lib/python3.14/html/__pycache__/parser.cpython-314.pyc +0 -0
  746. package/python/lib/python3.14/html/entities.py +2513 -0
  747. package/python/lib/python3.14/html/parser.py +583 -0
  748. package/python/lib/python3.14/http/__init__.py +213 -0
  749. package/python/lib/python3.14/http/__pycache__/__init__.cpython-314.pyc +0 -0
  750. package/python/lib/python3.14/http/__pycache__/client.cpython-314.pyc +0 -0
  751. package/python/lib/python3.14/http/__pycache__/cookiejar.cpython-314.pyc +0 -0
  752. package/python/lib/python3.14/http/__pycache__/cookies.cpython-314.pyc +0 -0
  753. package/python/lib/python3.14/http/__pycache__/server.cpython-314.pyc +0 -0
  754. package/python/lib/python3.14/http/client.py +1598 -0
  755. package/python/lib/python3.14/http/cookiejar.py +2135 -0
  756. package/python/lib/python3.14/http/cookies.py +637 -0
  757. package/python/lib/python3.14/http/server.py +1445 -0
  758. package/python/lib/python3.14/imaplib.py +2090 -0
  759. package/python/lib/python3.14/importlib/__init__.py +136 -0
  760. package/python/lib/python3.14/importlib/__pycache__/__init__.cpython-314.pyc +0 -0
  761. package/python/lib/python3.14/importlib/__pycache__/_abc.cpython-314.pyc +0 -0
  762. package/python/lib/python3.14/importlib/__pycache__/_bootstrap.cpython-314.pyc +0 -0
  763. package/python/lib/python3.14/importlib/__pycache__/_bootstrap_external.cpython-314.pyc +0 -0
  764. package/python/lib/python3.14/importlib/__pycache__/abc.cpython-314.pyc +0 -0
  765. package/python/lib/python3.14/importlib/__pycache__/machinery.cpython-314.pyc +0 -0
  766. package/python/lib/python3.14/importlib/__pycache__/readers.cpython-314.pyc +0 -0
  767. package/python/lib/python3.14/importlib/__pycache__/simple.cpython-314.pyc +0 -0
  768. package/python/lib/python3.14/importlib/__pycache__/util.cpython-314.pyc +0 -0
  769. package/python/lib/python3.14/importlib/_abc.py +39 -0
  770. package/python/lib/python3.14/importlib/_bootstrap.py +1570 -0
  771. package/python/lib/python3.14/importlib/_bootstrap_external.py +1566 -0
  772. package/python/lib/python3.14/importlib/abc.py +234 -0
  773. package/python/lib/python3.14/importlib/machinery.py +50 -0
  774. package/python/lib/python3.14/importlib/metadata/__init__.py +1093 -0
  775. package/python/lib/python3.14/importlib/metadata/__pycache__/__init__.cpython-314.pyc +0 -0
  776. package/python/lib/python3.14/importlib/metadata/__pycache__/_adapters.cpython-314.pyc +0 -0
  777. package/python/lib/python3.14/importlib/metadata/__pycache__/_collections.cpython-314.pyc +0 -0
  778. package/python/lib/python3.14/importlib/metadata/__pycache__/_functools.cpython-314.pyc +0 -0
  779. package/python/lib/python3.14/importlib/metadata/__pycache__/_itertools.cpython-314.pyc +0 -0
  780. package/python/lib/python3.14/importlib/metadata/__pycache__/_meta.cpython-314.pyc +0 -0
  781. package/python/lib/python3.14/importlib/metadata/__pycache__/_text.cpython-314.pyc +0 -0
  782. package/python/lib/python3.14/importlib/metadata/__pycache__/diagnose.cpython-314.pyc +0 -0
  783. package/python/lib/python3.14/importlib/metadata/_adapters.py +89 -0
  784. package/python/lib/python3.14/importlib/metadata/_collections.py +30 -0
  785. package/python/lib/python3.14/importlib/metadata/_functools.py +104 -0
  786. package/python/lib/python3.14/importlib/metadata/_itertools.py +73 -0
  787. package/python/lib/python3.14/importlib/metadata/_meta.py +67 -0
  788. package/python/lib/python3.14/importlib/metadata/_text.py +99 -0
  789. package/python/lib/python3.14/importlib/metadata/diagnose.py +21 -0
  790. package/python/lib/python3.14/importlib/readers.py +12 -0
  791. package/python/lib/python3.14/importlib/resources/__init__.py +43 -0
  792. package/python/lib/python3.14/importlib/resources/__pycache__/__init__.cpython-314.pyc +0 -0
  793. package/python/lib/python3.14/importlib/resources/__pycache__/_adapters.cpython-314.pyc +0 -0
  794. package/python/lib/python3.14/importlib/resources/__pycache__/_common.cpython-314.pyc +0 -0
  795. package/python/lib/python3.14/importlib/resources/__pycache__/_functional.cpython-314.pyc +0 -0
  796. package/python/lib/python3.14/importlib/resources/__pycache__/_itertools.cpython-314.pyc +0 -0
  797. package/python/lib/python3.14/importlib/resources/__pycache__/abc.cpython-314.pyc +0 -0
  798. package/python/lib/python3.14/importlib/resources/__pycache__/readers.cpython-314.pyc +0 -0
  799. package/python/lib/python3.14/importlib/resources/__pycache__/simple.cpython-314.pyc +0 -0
  800. package/python/lib/python3.14/importlib/resources/_adapters.py +168 -0
  801. package/python/lib/python3.14/importlib/resources/_common.py +211 -0
  802. package/python/lib/python3.14/importlib/resources/_functional.py +81 -0
  803. package/python/lib/python3.14/importlib/resources/_itertools.py +38 -0
  804. package/python/lib/python3.14/importlib/resources/abc.py +173 -0
  805. package/python/lib/python3.14/importlib/resources/readers.py +203 -0
  806. package/python/lib/python3.14/importlib/resources/simple.py +106 -0
  807. package/python/lib/python3.14/importlib/simple.py +14 -0
  808. package/python/lib/python3.14/importlib/util.py +279 -0
  809. package/python/lib/python3.14/inspect.py +3425 -0
  810. package/python/lib/python3.14/io.py +150 -0
  811. package/python/lib/python3.14/ipaddress.py +2421 -0
  812. package/python/lib/python3.14/json/__init__.py +365 -0
  813. package/python/lib/python3.14/json/__main__.py +20 -0
  814. package/python/lib/python3.14/json/__pycache__/__init__.cpython-314.pyc +0 -0
  815. package/python/lib/python3.14/json/__pycache__/__main__.cpython-314.pyc +0 -0
  816. package/python/lib/python3.14/json/__pycache__/decoder.cpython-314.pyc +0 -0
  817. package/python/lib/python3.14/json/__pycache__/encoder.cpython-314.pyc +0 -0
  818. package/python/lib/python3.14/json/__pycache__/scanner.cpython-314.pyc +0 -0
  819. package/python/lib/python3.14/json/__pycache__/tool.cpython-314.pyc +0 -0
  820. package/python/lib/python3.14/json/decoder.py +364 -0
  821. package/python/lib/python3.14/json/encoder.py +461 -0
  822. package/python/lib/python3.14/json/scanner.py +73 -0
  823. package/python/lib/python3.14/json/tool.py +122 -0
  824. package/python/lib/python3.14/keyword.py +64 -0
  825. package/python/lib/python3.14/lib-dynload/.empty +0 -0
  826. package/python/lib/python3.14/lib-dynload/_dbm.cpython-314-s390x-linux-gnu.so +0 -0
  827. package/python/lib/python3.14/linecache.py +302 -0
  828. package/python/lib/python3.14/locale.py +1992 -0
  829. package/python/lib/python3.14/logging/__init__.py +2335 -0
  830. package/python/lib/python3.14/logging/__pycache__/__init__.cpython-314.pyc +0 -0
  831. package/python/lib/python3.14/logging/__pycache__/config.cpython-314.pyc +0 -0
  832. package/python/lib/python3.14/logging/__pycache__/handlers.cpython-314.pyc +0 -0
  833. package/python/lib/python3.14/logging/config.py +1093 -0
  834. package/python/lib/python3.14/logging/handlers.py +1654 -0
  835. package/python/lib/python3.14/lzma.py +364 -0
  836. package/python/lib/python3.14/mailbox.py +2220 -0
  837. package/python/lib/python3.14/mimetypes.py +755 -0
  838. package/python/lib/python3.14/modulefinder.py +671 -0
  839. package/python/lib/python3.14/multiprocessing/__init__.py +37 -0
  840. package/python/lib/python3.14/multiprocessing/__pycache__/__init__.cpython-314.pyc +0 -0
  841. package/python/lib/python3.14/multiprocessing/__pycache__/connection.cpython-314.pyc +0 -0
  842. package/python/lib/python3.14/multiprocessing/__pycache__/context.cpython-314.pyc +0 -0
  843. package/python/lib/python3.14/multiprocessing/__pycache__/forkserver.cpython-314.pyc +0 -0
  844. package/python/lib/python3.14/multiprocessing/__pycache__/heap.cpython-314.pyc +0 -0
  845. package/python/lib/python3.14/multiprocessing/__pycache__/managers.cpython-314.pyc +0 -0
  846. package/python/lib/python3.14/multiprocessing/__pycache__/pool.cpython-314.pyc +0 -0
  847. package/python/lib/python3.14/multiprocessing/__pycache__/popen_fork.cpython-314.pyc +0 -0
  848. package/python/lib/python3.14/multiprocessing/__pycache__/popen_forkserver.cpython-314.pyc +0 -0
  849. package/python/lib/python3.14/multiprocessing/__pycache__/popen_spawn_posix.cpython-314.pyc +0 -0
  850. package/python/lib/python3.14/multiprocessing/__pycache__/popen_spawn_win32.cpython-314.pyc +0 -0
  851. package/python/lib/python3.14/multiprocessing/__pycache__/process.cpython-314.pyc +0 -0
  852. package/python/lib/python3.14/multiprocessing/__pycache__/queues.cpython-314.pyc +0 -0
  853. package/python/lib/python3.14/multiprocessing/__pycache__/reduction.cpython-314.pyc +0 -0
  854. package/python/lib/python3.14/multiprocessing/__pycache__/resource_sharer.cpython-314.pyc +0 -0
  855. package/python/lib/python3.14/multiprocessing/__pycache__/resource_tracker.cpython-314.pyc +0 -0
  856. package/python/lib/python3.14/multiprocessing/__pycache__/shared_memory.cpython-314.pyc +0 -0
  857. package/python/lib/python3.14/multiprocessing/__pycache__/sharedctypes.cpython-314.pyc +0 -0
  858. package/python/lib/python3.14/multiprocessing/__pycache__/spawn.cpython-314.pyc +0 -0
  859. package/python/lib/python3.14/multiprocessing/__pycache__/synchronize.cpython-314.pyc +0 -0
  860. package/python/lib/python3.14/multiprocessing/__pycache__/util.cpython-314.pyc +0 -0
  861. package/python/lib/python3.14/multiprocessing/connection.py +1233 -0
  862. package/python/lib/python3.14/multiprocessing/context.py +405 -0
  863. package/python/lib/python3.14/multiprocessing/dummy/__init__.py +126 -0
  864. package/python/lib/python3.14/multiprocessing/dummy/__pycache__/__init__.cpython-314.pyc +0 -0
  865. package/python/lib/python3.14/multiprocessing/dummy/__pycache__/connection.cpython-314.pyc +0 -0
  866. package/python/lib/python3.14/multiprocessing/dummy/connection.py +75 -0
  867. package/python/lib/python3.14/multiprocessing/forkserver.py +429 -0
  868. package/python/lib/python3.14/multiprocessing/heap.py +337 -0
  869. package/python/lib/python3.14/multiprocessing/managers.py +1438 -0
  870. package/python/lib/python3.14/multiprocessing/pool.py +957 -0
  871. package/python/lib/python3.14/multiprocessing/popen_fork.py +100 -0
  872. package/python/lib/python3.14/multiprocessing/popen_forkserver.py +74 -0
  873. package/python/lib/python3.14/multiprocessing/popen_spawn_posix.py +76 -0
  874. package/python/lib/python3.14/multiprocessing/popen_spawn_win32.py +147 -0
  875. package/python/lib/python3.14/multiprocessing/process.py +443 -0
  876. package/python/lib/python3.14/multiprocessing/queues.py +399 -0
  877. package/python/lib/python3.14/multiprocessing/reduction.py +281 -0
  878. package/python/lib/python3.14/multiprocessing/resource_sharer.py +154 -0
  879. package/python/lib/python3.14/multiprocessing/resource_tracker.py +495 -0
  880. package/python/lib/python3.14/multiprocessing/shared_memory.py +544 -0
  881. package/python/lib/python3.14/multiprocessing/sharedctypes.py +240 -0
  882. package/python/lib/python3.14/multiprocessing/spawn.py +307 -0
  883. package/python/lib/python3.14/multiprocessing/synchronize.py +411 -0
  884. package/python/lib/python3.14/multiprocessing/util.py +619 -0
  885. package/python/lib/python3.14/netrc.py +200 -0
  886. package/python/lib/python3.14/ntpath.py +889 -0
  887. package/python/lib/python3.14/nturl2path.py +82 -0
  888. package/python/lib/python3.14/numbers.py +427 -0
  889. package/python/lib/python3.14/opcode.py +122 -0
  890. package/python/lib/python3.14/operator.py +475 -0
  891. package/python/lib/python3.14/optparse.py +1664 -0
  892. package/python/lib/python3.14/os.py +1191 -0
  893. package/python/lib/python3.14/pathlib/__init__.py +1307 -0
  894. package/python/lib/python3.14/pathlib/__pycache__/__init__.cpython-314.pyc +0 -0
  895. package/python/lib/python3.14/pathlib/__pycache__/_local.cpython-314.pyc +0 -0
  896. package/python/lib/python3.14/pathlib/__pycache__/_os.cpython-314.pyc +0 -0
  897. package/python/lib/python3.14/pathlib/__pycache__/types.cpython-314.pyc +0 -0
  898. package/python/lib/python3.14/pathlib/_local.py +12 -0
  899. package/python/lib/python3.14/pathlib/_os.py +530 -0
  900. package/python/lib/python3.14/pathlib/types.py +430 -0
  901. package/python/lib/python3.14/pdb.py +3682 -0
  902. package/python/lib/python3.14/pickle.py +1925 -0
  903. package/python/lib/python3.14/pickletools.py +2887 -0
  904. package/python/lib/python3.14/pkgutil.py +474 -0
  905. package/python/lib/python3.14/platform.py +1515 -0
  906. package/python/lib/python3.14/plistlib.py +956 -0
  907. package/python/lib/python3.14/poplib.py +477 -0
  908. package/python/lib/python3.14/posixpath.py +592 -0
  909. package/python/lib/python3.14/pprint.py +675 -0
  910. package/python/lib/python3.14/profile.py +615 -0
  911. package/python/lib/python3.14/pstats.py +777 -0
  912. package/python/lib/python3.14/pty.py +182 -0
  913. package/python/lib/python3.14/py_compile.py +212 -0
  914. package/python/lib/python3.14/pyclbr.py +314 -0
  915. package/python/lib/python3.14/pydoc.py +2890 -0
  916. package/python/lib/python3.14/queue.py +385 -0
  917. package/python/lib/python3.14/quopri.py +235 -0
  918. package/python/lib/python3.14/random.py +1087 -0
  919. package/python/lib/python3.14/re/__init__.py +428 -0
  920. package/python/lib/python3.14/re/__pycache__/__init__.cpython-314.pyc +0 -0
  921. package/python/lib/python3.14/re/__pycache__/_casefix.cpython-314.pyc +0 -0
  922. package/python/lib/python3.14/re/__pycache__/_compiler.cpython-314.pyc +0 -0
  923. package/python/lib/python3.14/re/__pycache__/_constants.cpython-314.pyc +0 -0
  924. package/python/lib/python3.14/re/__pycache__/_parser.cpython-314.pyc +0 -0
  925. package/python/lib/python3.14/re/_casefix.py +106 -0
  926. package/python/lib/python3.14/re/_compiler.py +782 -0
  927. package/python/lib/python3.14/re/_constants.py +224 -0
  928. package/python/lib/python3.14/re/_parser.py +1066 -0
  929. package/python/lib/python3.14/reprlib.py +230 -0
  930. package/python/lib/python3.14/rlcompleter.py +222 -0
  931. package/python/lib/python3.14/runpy.py +326 -0
  932. package/python/lib/python3.14/sched.py +167 -0
  933. package/python/lib/python3.14/secrets.py +71 -0
  934. package/python/lib/python3.14/selectors.py +603 -0
  935. package/python/lib/python3.14/shelve.py +250 -0
  936. package/python/lib/python3.14/shlex.py +351 -0
  937. package/python/lib/python3.14/shutil.py +1660 -0
  938. package/python/lib/python3.14/signal.py +94 -0
  939. package/python/lib/python3.14/site-packages/_yaml/__init__.py +33 -0
  940. package/python/lib/python3.14/site-packages/_yaml/__pycache__/__init__.cpython-314.pyc +0 -0
  941. package/python/lib/python3.14/site-packages/click/__init__.py +144 -0
  942. package/python/lib/python3.14/site-packages/click/__pycache__/__init__.cpython-314.pyc +0 -0
  943. package/python/lib/python3.14/site-packages/click/__pycache__/_compat.cpython-314.pyc +0 -0
  944. package/python/lib/python3.14/site-packages/click/__pycache__/_termui_impl.cpython-314.pyc +0 -0
  945. package/python/lib/python3.14/site-packages/click/__pycache__/_textwrap.cpython-314.pyc +0 -0
  946. package/python/lib/python3.14/site-packages/click/__pycache__/_utils.cpython-314.pyc +0 -0
  947. package/python/lib/python3.14/site-packages/click/__pycache__/_winconsole.cpython-314.pyc +0 -0
  948. package/python/lib/python3.14/site-packages/click/__pycache__/core.cpython-314.pyc +0 -0
  949. package/python/lib/python3.14/site-packages/click/__pycache__/decorators.cpython-314.pyc +0 -0
  950. package/python/lib/python3.14/site-packages/click/__pycache__/exceptions.cpython-314.pyc +0 -0
  951. package/python/lib/python3.14/site-packages/click/__pycache__/formatting.cpython-314.pyc +0 -0
  952. package/python/lib/python3.14/site-packages/click/__pycache__/globals.cpython-314.pyc +0 -0
  953. package/python/lib/python3.14/site-packages/click/__pycache__/parser.cpython-314.pyc +0 -0
  954. package/python/lib/python3.14/site-packages/click/__pycache__/shell_completion.cpython-314.pyc +0 -0
  955. package/python/lib/python3.14/site-packages/click/__pycache__/termui.cpython-314.pyc +0 -0
  956. package/python/lib/python3.14/site-packages/click/__pycache__/testing.cpython-314.pyc +0 -0
  957. package/python/lib/python3.14/site-packages/click/__pycache__/types.cpython-314.pyc +0 -0
  958. package/python/lib/python3.14/site-packages/click/__pycache__/utils.cpython-314.pyc +0 -0
  959. package/python/lib/python3.14/site-packages/click/_compat.py +590 -0
  960. package/python/lib/python3.14/site-packages/click/_termui_impl.py +970 -0
  961. package/python/lib/python3.14/site-packages/click/_textwrap.py +188 -0
  962. package/python/lib/python3.14/site-packages/click/_utils.py +45 -0
  963. package/python/lib/python3.14/site-packages/click/_winconsole.py +292 -0
  964. package/python/lib/python3.14/site-packages/click/core.py +3825 -0
  965. package/python/lib/python3.14/site-packages/click/decorators.py +625 -0
  966. package/python/lib/python3.14/site-packages/click/exceptions.py +378 -0
  967. package/python/lib/python3.14/site-packages/click/formatting.py +320 -0
  968. package/python/lib/python3.14/site-packages/click/globals.py +67 -0
  969. package/python/lib/python3.14/site-packages/click/parser.py +533 -0
  970. package/python/lib/python3.14/site-packages/click/py.typed +0 -0
  971. package/python/lib/python3.14/site-packages/click/shell_completion.py +796 -0
  972. package/python/lib/python3.14/site-packages/click/termui.py +1024 -0
  973. package/python/lib/python3.14/site-packages/click/testing.py +796 -0
  974. package/python/lib/python3.14/site-packages/click/types.py +1437 -0
  975. package/python/lib/python3.14/site-packages/click/utils.py +676 -0
  976. package/python/lib/python3.14/site-packages/click-8.5.1.dist-info/INSTALLER +1 -0
  977. package/python/lib/python3.14/site-packages/click-8.5.1.dist-info/METADATA +83 -0
  978. package/python/lib/python3.14/site-packages/click-8.5.1.dist-info/RECORD +24 -0
  979. package/python/lib/python3.14/site-packages/click-8.5.1.dist-info/REQUESTED +0 -0
  980. package/python/lib/python3.14/site-packages/click-8.5.1.dist-info/WHEEL +4 -0
  981. package/python/lib/python3.14/site-packages/click-8.5.1.dist-info/licenses/LICENSE.txt +28 -0
  982. package/python/lib/python3.14/site-packages/cssbeautifier/__init__.py +51 -0
  983. package/python/lib/python3.14/site-packages/cssbeautifier/__pycache__/__init__.cpython-314.pyc +0 -0
  984. package/python/lib/python3.14/site-packages/cssbeautifier/__pycache__/__version__.cpython-314.pyc +0 -0
  985. package/python/lib/python3.14/site-packages/cssbeautifier/__pycache__/_main.cpython-314.pyc +0 -0
  986. package/python/lib/python3.14/site-packages/cssbeautifier/__version__.py +1 -0
  987. package/python/lib/python3.14/site-packages/cssbeautifier/_main.py +208 -0
  988. package/python/lib/python3.14/site-packages/cssbeautifier/css/__init__.py +1 -0
  989. package/python/lib/python3.14/site-packages/cssbeautifier/css/__pycache__/__init__.cpython-314.pyc +0 -0
  990. package/python/lib/python3.14/site-packages/cssbeautifier/css/__pycache__/beautifier.cpython-314.pyc +0 -0
  991. package/python/lib/python3.14/site-packages/cssbeautifier/css/__pycache__/options.cpython-314.pyc +0 -0
  992. package/python/lib/python3.14/site-packages/cssbeautifier/css/beautifier.py +559 -0
  993. package/python/lib/python3.14/site-packages/cssbeautifier/css/options.py +60 -0
  994. package/python/lib/python3.14/site-packages/cssbeautifier/tests/__init__.py +1 -0
  995. package/python/lib/python3.14/site-packages/cssbeautifier/tests/__pycache__/__init__.cpython-314.pyc +0 -0
  996. package/python/lib/python3.14/site-packages/cssbeautifier/tests/generated/__init__.py +1 -0
  997. package/python/lib/python3.14/site-packages/cssbeautifier/tests/generated/__pycache__/__init__.cpython-314.pyc +0 -0
  998. package/python/lib/python3.14/site-packages/cssbeautifier/tests/generated/__pycache__/tests.cpython-314.pyc +0 -0
  999. package/python/lib/python3.14/site-packages/cssbeautifier/tests/generated/tests.py +11333 -0
  1000. package/python/lib/python3.14/site-packages/cssbeautifier-2.0.3.dist-info/INSTALLER +1 -0
  1001. package/python/lib/python3.14/site-packages/cssbeautifier-2.0.3.dist-info/METADATA +19 -0
  1002. package/python/lib/python3.14/site-packages/cssbeautifier-2.0.3.dist-info/RECORD +51 -0
  1003. package/python/lib/python3.14/site-packages/cssbeautifier-2.0.3.dist-info/REQUESTED +0 -0
  1004. package/python/lib/python3.14/site-packages/cssbeautifier-2.0.3.dist-info/WHEEL +5 -0
  1005. package/python/lib/python3.14/site-packages/cssbeautifier-2.0.3.dist-info/entry_points.txt +2 -0
  1006. package/python/lib/python3.14/site-packages/cssbeautifier-2.0.3.dist-info/top_level.txt +1 -0
  1007. package/python/lib/python3.14/site-packages/djlint/__init__.py +27 -0
  1008. package/python/lib/python3.14/site-packages/djlint/__main__.py +8 -0
  1009. package/python/lib/python3.14/site-packages/djlint/__pycache__/__init__.cpython-314.pyc +0 -0
  1010. package/python/lib/python3.14/site-packages/djlint/__pycache__/__main__.cpython-314.pyc +0 -0
  1011. package/python/lib/python3.14/site-packages/djlint/__pycache__/_cli.cpython-314.pyc +0 -0
  1012. package/python/lib/python3.14/site-packages/djlint/__pycache__/api.cpython-314.pyc +0 -0
  1013. package/python/lib/python3.14/site-packages/djlint/__pycache__/const.cpython-314.pyc +0 -0
  1014. package/python/lib/python3.14/site-packages/djlint/__pycache__/github_output.cpython-314.pyc +0 -0
  1015. package/python/lib/python3.14/site-packages/djlint/__pycache__/helpers.cpython-314.pyc +0 -0
  1016. package/python/lib/python3.14/site-packages/djlint/__pycache__/lint.cpython-314.pyc +0 -0
  1017. package/python/lib/python3.14/site-packages/djlint/__pycache__/output.cpython-314.pyc +0 -0
  1018. package/python/lib/python3.14/site-packages/djlint/__pycache__/reformat.cpython-314.pyc +0 -0
  1019. package/python/lib/python3.14/site-packages/djlint/__pycache__/sarif_output.cpython-314.pyc +0 -0
  1020. package/python/lib/python3.14/site-packages/djlint/__pycache__/server.cpython-314.pyc +0 -0
  1021. package/python/lib/python3.14/site-packages/djlint/__pycache__/settings.cpython-314.pyc +0 -0
  1022. package/python/lib/python3.14/site-packages/djlint/__pycache__/src.cpython-314.pyc +0 -0
  1023. package/python/lib/python3.14/site-packages/djlint/_cli.py +1006 -0
  1024. package/python/lib/python3.14/site-packages/djlint/api.py +106 -0
  1025. package/python/lib/python3.14/site-packages/djlint/const.py +506 -0
  1026. package/python/lib/python3.14/site-packages/djlint/formatter/__init__.py +0 -0
  1027. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/__init__.cpython-314.pyc +0 -0
  1028. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/attribute_values.cpython-314.pyc +0 -0
  1029. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/attributes.cpython-314.pyc +0 -0
  1030. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/beautifier.cpython-314.pyc +0 -0
  1031. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/class_attributes.cpython-314.pyc +0 -0
  1032. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/compress.cpython-314.pyc +0 -0
  1033. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/condense.cpython-314.pyc +0 -0
  1034. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/css.cpython-314.pyc +0 -0
  1035. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/endblocks.cpython-314.pyc +0 -0
  1036. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/entities.cpython-314.pyc +0 -0
  1037. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/expand.cpython-314.pyc +0 -0
  1038. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/indent.cpython-314.pyc +0 -0
  1039. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/js.cpython-314.pyc +0 -0
  1040. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/load_tags.cpython-314.pyc +0 -0
  1041. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/mako.cpython-314.pyc +0 -0
  1042. package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/tokenizer.cpython-314.pyc +0 -0
  1043. package/python/lib/python3.14/site-packages/djlint/formatter/attribute_values.py +152 -0
  1044. package/python/lib/python3.14/site-packages/djlint/formatter/attributes.py +580 -0
  1045. package/python/lib/python3.14/site-packages/djlint/formatter/beautifier.py +144 -0
  1046. package/python/lib/python3.14/site-packages/djlint/formatter/class_attributes.py +318 -0
  1047. package/python/lib/python3.14/site-packages/djlint/formatter/compress.py +158 -0
  1048. package/python/lib/python3.14/site-packages/djlint/formatter/condense.py +503 -0
  1049. package/python/lib/python3.14/site-packages/djlint/formatter/css.py +28 -0
  1050. package/python/lib/python3.14/site-packages/djlint/formatter/endblocks.py +68 -0
  1051. package/python/lib/python3.14/site-packages/djlint/formatter/entities.py +39 -0
  1052. package/python/lib/python3.14/site-packages/djlint/formatter/expand.py +576 -0
  1053. package/python/lib/python3.14/site-packages/djlint/formatter/indent.py +1239 -0
  1054. package/python/lib/python3.14/site-packages/djlint/formatter/js.py +82 -0
  1055. package/python/lib/python3.14/site-packages/djlint/formatter/load_tags.py +60 -0
  1056. package/python/lib/python3.14/site-packages/djlint/formatter/mako.py +501 -0
  1057. package/python/lib/python3.14/site-packages/djlint/formatter/tokenizer.py +359 -0
  1058. package/python/lib/python3.14/site-packages/djlint/github_output.py +117 -0
  1059. package/python/lib/python3.14/site-packages/djlint/helpers.py +979 -0
  1060. package/python/lib/python3.14/site-packages/djlint/lint.py +246 -0
  1061. package/python/lib/python3.14/site-packages/djlint/output.py +250 -0
  1062. package/python/lib/python3.14/site-packages/djlint/py.typed +0 -0
  1063. package/python/lib/python3.14/site-packages/djlint/reformat.py +130 -0
  1064. package/python/lib/python3.14/site-packages/djlint/rules/D058.py +78 -0
  1065. package/python/lib/python3.14/site-packages/djlint/rules/D059.py +139 -0
  1066. package/python/lib/python3.14/site-packages/djlint/rules/H009.py +54 -0
  1067. package/python/lib/python3.14/site-packages/djlint/rules/H012.py +240 -0
  1068. package/python/lib/python3.14/site-packages/djlint/rules/H014.py +68 -0
  1069. package/python/lib/python3.14/site-packages/djlint/rules/H016.py +83 -0
  1070. package/python/lib/python3.14/site-packages/djlint/rules/H022.py +161 -0
  1071. package/python/lib/python3.14/site-packages/djlint/rules/H025.py +141 -0
  1072. package/python/lib/python3.14/site-packages/djlint/rules/H036.py +183 -0
  1073. package/python/lib/python3.14/site-packages/djlint/rules/H037.py +138 -0
  1074. package/python/lib/python3.14/site-packages/djlint/rules/H041.py +113 -0
  1075. package/python/lib/python3.14/site-packages/djlint/rules/H042.py +199 -0
  1076. package/python/lib/python3.14/site-packages/djlint/rules/H044.py +119 -0
  1077. package/python/lib/python3.14/site-packages/djlint/rules/H047.py +118 -0
  1078. package/python/lib/python3.14/site-packages/djlint/rules/H048.py +82 -0
  1079. package/python/lib/python3.14/site-packages/djlint/rules/H051.py +98 -0
  1080. package/python/lib/python3.14/site-packages/djlint/rules/H053.py +361 -0
  1081. package/python/lib/python3.14/site-packages/djlint/rules/H054.py +264 -0
  1082. package/python/lib/python3.14/site-packages/djlint/rules/H057.py +235 -0
  1083. package/python/lib/python3.14/site-packages/djlint/rules/T001.py +103 -0
  1084. package/python/lib/python3.14/site-packages/djlint/rules/T002.py +75 -0
  1085. package/python/lib/python3.14/site-packages/djlint/rules/T003.py +93 -0
  1086. package/python/lib/python3.14/site-packages/djlint/rules/T027.py +183 -0
  1087. package/python/lib/python3.14/site-packages/djlint/rules/T038.py +152 -0
  1088. package/python/lib/python3.14/site-packages/djlint/rules/T039.py +167 -0
  1089. package/python/lib/python3.14/site-packages/djlint/rules/T041.py +307 -0
  1090. package/python/lib/python3.14/site-packages/djlint/rules/T042.py +219 -0
  1091. package/python/lib/python3.14/site-packages/djlint/rules/T043.py +154 -0
  1092. package/python/lib/python3.14/site-packages/djlint/rules/T044.py +189 -0
  1093. package/python/lib/python3.14/site-packages/djlint/rules/T045.py +281 -0
  1094. package/python/lib/python3.14/site-packages/djlint/rules/__init__.py +0 -0
  1095. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/D058.cpython-314.pyc +0 -0
  1096. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/D059.cpython-314.pyc +0 -0
  1097. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H009.cpython-314.pyc +0 -0
  1098. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H012.cpython-314.pyc +0 -0
  1099. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H014.cpython-314.pyc +0 -0
  1100. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H016.cpython-314.pyc +0 -0
  1101. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H022.cpython-314.pyc +0 -0
  1102. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H025.cpython-314.pyc +0 -0
  1103. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H036.cpython-314.pyc +0 -0
  1104. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H037.cpython-314.pyc +0 -0
  1105. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H041.cpython-314.pyc +0 -0
  1106. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H042.cpython-314.pyc +0 -0
  1107. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H044.cpython-314.pyc +0 -0
  1108. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H047.cpython-314.pyc +0 -0
  1109. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H048.cpython-314.pyc +0 -0
  1110. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H051.cpython-314.pyc +0 -0
  1111. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H053.cpython-314.pyc +0 -0
  1112. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H054.cpython-314.pyc +0 -0
  1113. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H057.cpython-314.pyc +0 -0
  1114. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T001.cpython-314.pyc +0 -0
  1115. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T002.cpython-314.pyc +0 -0
  1116. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T003.cpython-314.pyc +0 -0
  1117. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T027.cpython-314.pyc +0 -0
  1118. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T038.cpython-314.pyc +0 -0
  1119. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T039.cpython-314.pyc +0 -0
  1120. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T041.cpython-314.pyc +0 -0
  1121. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T042.cpython-314.pyc +0 -0
  1122. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T043.cpython-314.pyc +0 -0
  1123. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T044.cpython-314.pyc +0 -0
  1124. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T045.cpython-314.pyc +0 -0
  1125. package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/__init__.cpython-314.pyc +0 -0
  1126. package/python/lib/python3.14/site-packages/djlint/rules.yaml +482 -0
  1127. package/python/lib/python3.14/site-packages/djlint/sarif_output.py +171 -0
  1128. package/python/lib/python3.14/site-packages/djlint/server.py +983 -0
  1129. package/python/lib/python3.14/site-packages/djlint/settings.py +2381 -0
  1130. package/python/lib/python3.14/site-packages/djlint/src.py +192 -0
  1131. package/python/lib/python3.14/site-packages/djlint/types.pyi +20 -0
  1132. package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/INSTALLER +1 -0
  1133. package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/METADATA +236 -0
  1134. package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/RECORD +73 -0
  1135. package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/REQUESTED +0 -0
  1136. package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/WHEEL +4 -0
  1137. package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/entry_points.txt +2 -0
  1138. package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/licenses/LICENSE +675 -0
  1139. package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/licenses/LICENSE-THIRD-PARTY +271 -0
  1140. package/python/lib/python3.14/site-packages/editorconfig/__init__.py +20 -0
  1141. package/python/lib/python3.14/site-packages/editorconfig/__main__.py +83 -0
  1142. package/python/lib/python3.14/site-packages/editorconfig/__pycache__/__init__.cpython-314.pyc +0 -0
  1143. package/python/lib/python3.14/site-packages/editorconfig/__pycache__/__main__.cpython-314.pyc +0 -0
  1144. package/python/lib/python3.14/site-packages/editorconfig/__pycache__/exceptions.cpython-314.pyc +0 -0
  1145. package/python/lib/python3.14/site-packages/editorconfig/__pycache__/fnmatch.cpython-314.pyc +0 -0
  1146. package/python/lib/python3.14/site-packages/editorconfig/__pycache__/handler.cpython-314.pyc +0 -0
  1147. package/python/lib/python3.14/site-packages/editorconfig/__pycache__/ini.cpython-314.pyc +0 -0
  1148. package/python/lib/python3.14/site-packages/editorconfig/__pycache__/version.cpython-314.pyc +0 -0
  1149. package/python/lib/python3.14/site-packages/editorconfig/__pycache__/versiontools.cpython-314.pyc +0 -0
  1150. package/python/lib/python3.14/site-packages/editorconfig/exceptions.py +24 -0
  1151. package/python/lib/python3.14/site-packages/editorconfig/fnmatch.py +224 -0
  1152. package/python/lib/python3.14/site-packages/editorconfig/handler.py +128 -0
  1153. package/python/lib/python3.14/site-packages/editorconfig/ini.py +173 -0
  1154. package/python/lib/python3.14/site-packages/editorconfig/py.typed +0 -0
  1155. package/python/lib/python3.14/site-packages/editorconfig/version.py +1 -0
  1156. package/python/lib/python3.14/site-packages/editorconfig/versiontools.py +36 -0
  1157. package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/INSTALLER +1 -0
  1158. package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/METADATA +116 -0
  1159. package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/RECORD +20 -0
  1160. package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/REQUESTED +0 -0
  1161. package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/WHEEL +5 -0
  1162. package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/entry_points.txt +2 -0
  1163. package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/licenses/COPYING +11 -0
  1164. package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/licenses/LICENSE.BSD +22 -0
  1165. package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/licenses/LICENSE.PSF +192 -0
  1166. package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/top_level.txt +1 -0
  1167. package/python/lib/python3.14/site-packages/jsbeautifier/__init__.py +309 -0
  1168. package/python/lib/python3.14/site-packages/jsbeautifier/__pycache__/__init__.cpython-314.pyc +0 -0
  1169. package/python/lib/python3.14/site-packages/jsbeautifier/__pycache__/__version__.cpython-314.pyc +0 -0
  1170. package/python/lib/python3.14/site-packages/jsbeautifier/__version__.py +1 -0
  1171. package/python/lib/python3.14/site-packages/jsbeautifier/cli/__init__.py +210 -0
  1172. package/python/lib/python3.14/site-packages/jsbeautifier/cli/__pycache__/__init__.cpython-314.pyc +0 -0
  1173. package/python/lib/python3.14/site-packages/jsbeautifier/core/__init__.py +1 -0
  1174. package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/__init__.cpython-314.pyc +0 -0
  1175. package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/directives.cpython-314.pyc +0 -0
  1176. package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/inputscanner.cpython-314.pyc +0 -0
  1177. package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/options.cpython-314.pyc +0 -0
  1178. package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/output.cpython-314.pyc +0 -0
  1179. package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/pattern.cpython-314.pyc +0 -0
  1180. package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/templatablepattern.cpython-314.pyc +0 -0
  1181. package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/token.cpython-314.pyc +0 -0
  1182. package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/tokenizer.cpython-314.pyc +0 -0
  1183. package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/tokenstream.cpython-314.pyc +0 -0
  1184. package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/whitespacepattern.cpython-314.pyc +0 -0
  1185. package/python/lib/python3.14/site-packages/jsbeautifier/core/directives.py +55 -0
  1186. package/python/lib/python3.14/site-packages/jsbeautifier/core/inputscanner.py +139 -0
  1187. package/python/lib/python3.14/site-packages/jsbeautifier/core/options.py +230 -0
  1188. package/python/lib/python3.14/site-packages/jsbeautifier/core/output.py +352 -0
  1189. package/python/lib/python3.14/site-packages/jsbeautifier/core/pattern.py +83 -0
  1190. package/python/lib/python3.14/site-packages/jsbeautifier/core/templatablepattern.py +192 -0
  1191. package/python/lib/python3.14/site-packages/jsbeautifier/core/token.py +38 -0
  1192. package/python/lib/python3.14/site-packages/jsbeautifier/core/tokenizer.py +138 -0
  1193. package/python/lib/python3.14/site-packages/jsbeautifier/core/tokenstream.py +74 -0
  1194. package/python/lib/python3.14/site-packages/jsbeautifier/core/whitespacepattern.py +73 -0
  1195. package/python/lib/python3.14/site-packages/jsbeautifier/javascript/__init__.py +1 -0
  1196. package/python/lib/python3.14/site-packages/jsbeautifier/javascript/__pycache__/__init__.cpython-314.pyc +0 -0
  1197. package/python/lib/python3.14/site-packages/jsbeautifier/javascript/__pycache__/acorn.cpython-314.pyc +0 -0
  1198. package/python/lib/python3.14/site-packages/jsbeautifier/javascript/__pycache__/beautifier.cpython-314.pyc +0 -0
  1199. package/python/lib/python3.14/site-packages/jsbeautifier/javascript/__pycache__/options.cpython-314.pyc +0 -0
  1200. package/python/lib/python3.14/site-packages/jsbeautifier/javascript/__pycache__/tokenizer.cpython-314.pyc +0 -0
  1201. package/python/lib/python3.14/site-packages/jsbeautifier/javascript/acorn.py +81 -0
  1202. package/python/lib/python3.14/site-packages/jsbeautifier/javascript/beautifier.py +1647 -0
  1203. package/python/lib/python3.14/site-packages/jsbeautifier/javascript/options.py +102 -0
  1204. package/python/lib/python3.14/site-packages/jsbeautifier/javascript/tokenizer.py +628 -0
  1205. package/python/lib/python3.14/site-packages/jsbeautifier/tests/__init__.py +1 -0
  1206. package/python/lib/python3.14/site-packages/jsbeautifier/tests/__pycache__/__init__.cpython-314.pyc +0 -0
  1207. package/python/lib/python3.14/site-packages/jsbeautifier/tests/__pycache__/testindentation.cpython-314.pyc +0 -0
  1208. package/python/lib/python3.14/site-packages/jsbeautifier/tests/generated/__init__.py +1 -0
  1209. package/python/lib/python3.14/site-packages/jsbeautifier/tests/generated/__pycache__/__init__.cpython-314.pyc +0 -0
  1210. package/python/lib/python3.14/site-packages/jsbeautifier/tests/generated/__pycache__/tests.cpython-314.pyc +0 -0
  1211. package/python/lib/python3.14/site-packages/jsbeautifier/tests/generated/tests.py +10470 -0
  1212. package/python/lib/python3.14/site-packages/jsbeautifier/tests/testindentation.py +49 -0
  1213. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__init__.py +73 -0
  1214. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/__init__.cpython-314.pyc +0 -0
  1215. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/evalbased.cpython-314.pyc +0 -0
  1216. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/javascriptobfuscator.cpython-314.pyc +0 -0
  1217. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/myobfuscate.cpython-314.pyc +0 -0
  1218. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/packer.cpython-314.pyc +0 -0
  1219. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/urlencode.cpython-314.pyc +0 -0
  1220. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/evalbased.py +44 -0
  1221. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/javascriptobfuscator.py +61 -0
  1222. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/myobfuscate.py +83 -0
  1223. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/packer.py +158 -0
  1224. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/__init__.py +2 -0
  1225. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/__pycache__/__init__.cpython-314.pyc +0 -0
  1226. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/__pycache__/testjavascriptobfuscator.cpython-314.pyc +0 -0
  1227. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/__pycache__/testmyobfuscate.cpython-314.pyc +0 -0
  1228. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/__pycache__/testpacker.cpython-314.pyc +0 -0
  1229. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/__pycache__/testurlencode.cpython-314.pyc +0 -0
  1230. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/testjavascriptobfuscator.py +59 -0
  1231. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/testmyobfuscate.py +48 -0
  1232. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/testpacker.py +72 -0
  1233. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/testurlencode.py +46 -0
  1234. package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/urlencode.py +32 -0
  1235. package/python/lib/python3.14/site-packages/jsbeautifier-2.0.3.dist-info/INSTALLER +1 -0
  1236. package/python/lib/python3.14/site-packages/jsbeautifier-2.0.3.dist-info/METADATA +18 -0
  1237. package/python/lib/python3.14/site-packages/jsbeautifier-2.0.3.dist-info/RECORD +42 -0
  1238. package/python/lib/python3.14/site-packages/jsbeautifier-2.0.3.dist-info/REQUESTED +0 -0
  1239. package/python/lib/python3.14/site-packages/jsbeautifier-2.0.3.dist-info/WHEEL +5 -0
  1240. package/python/lib/python3.14/site-packages/jsbeautifier-2.0.3.dist-info/entry_points.txt +2 -0
  1241. package/python/lib/python3.14/site-packages/jsbeautifier-2.0.3.dist-info/top_level.txt +1 -0
  1242. package/python/lib/python3.14/site-packages/json5/__init__.py +30 -0
  1243. package/python/lib/python3.14/site-packages/json5/__main__.py +22 -0
  1244. package/python/lib/python3.14/site-packages/json5/__pycache__/__init__.cpython-314.pyc +0 -0
  1245. package/python/lib/python3.14/site-packages/json5/__pycache__/__main__.cpython-314.pyc +0 -0
  1246. package/python/lib/python3.14/site-packages/json5/__pycache__/host.cpython-314.pyc +0 -0
  1247. package/python/lib/python3.14/site-packages/json5/__pycache__/lib.cpython-314.pyc +0 -0
  1248. package/python/lib/python3.14/site-packages/json5/__pycache__/parser.cpython-314.pyc +0 -0
  1249. package/python/lib/python3.14/site-packages/json5/__pycache__/tool.cpython-314.pyc +0 -0
  1250. package/python/lib/python3.14/site-packages/json5/__pycache__/version.cpython-314.pyc +0 -0
  1251. package/python/lib/python3.14/site-packages/json5/host.py +53 -0
  1252. package/python/lib/python3.14/site-packages/json5/lib.py +1007 -0
  1253. package/python/lib/python3.14/site-packages/json5/parser.py +1376 -0
  1254. package/python/lib/python3.14/site-packages/json5/py.typed +0 -0
  1255. package/python/lib/python3.14/site-packages/json5/tool.py +198 -0
  1256. package/python/lib/python3.14/site-packages/json5/version.py +18 -0
  1257. package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/INSTALLER +1 -0
  1258. package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/METADATA +585 -0
  1259. package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/RECORD +17 -0
  1260. package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/REQUESTED +0 -0
  1261. package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/WHEEL +5 -0
  1262. package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/entry_points.txt +2 -0
  1263. package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/licenses/LICENSE +281 -0
  1264. package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/top_level.txt +1 -0
  1265. package/python/lib/python3.14/site-packages/pathspec/__init__.py +68 -0
  1266. package/python/lib/python3.14/site-packages/pathspec/__pycache__/__init__.cpython-314.pyc +0 -0
  1267. package/python/lib/python3.14/site-packages/pathspec/__pycache__/_meta.cpython-314.pyc +0 -0
  1268. package/python/lib/python3.14/site-packages/pathspec/__pycache__/_typing.cpython-314.pyc +0 -0
  1269. package/python/lib/python3.14/site-packages/pathspec/__pycache__/_version.cpython-314.pyc +0 -0
  1270. package/python/lib/python3.14/site-packages/pathspec/__pycache__/backend.cpython-314.pyc +0 -0
  1271. package/python/lib/python3.14/site-packages/pathspec/__pycache__/gitignore.cpython-314.pyc +0 -0
  1272. package/python/lib/python3.14/site-packages/pathspec/__pycache__/pathspec.cpython-314.pyc +0 -0
  1273. package/python/lib/python3.14/site-packages/pathspec/__pycache__/pattern.cpython-314.pyc +0 -0
  1274. package/python/lib/python3.14/site-packages/pathspec/__pycache__/util.cpython-314.pyc +0 -0
  1275. package/python/lib/python3.14/site-packages/pathspec/_backends/__init__.py +4 -0
  1276. package/python/lib/python3.14/site-packages/pathspec/_backends/__pycache__/__init__.cpython-314.pyc +0 -0
  1277. package/python/lib/python3.14/site-packages/pathspec/_backends/__pycache__/_utils.cpython-314.pyc +0 -0
  1278. package/python/lib/python3.14/site-packages/pathspec/_backends/__pycache__/agg.cpython-314.pyc +0 -0
  1279. package/python/lib/python3.14/site-packages/pathspec/_backends/_utils.py +45 -0
  1280. package/python/lib/python3.14/site-packages/pathspec/_backends/agg.py +104 -0
  1281. package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/__init__.py +0 -0
  1282. package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/__pycache__/__init__.cpython-314.pyc +0 -0
  1283. package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/__pycache__/_base.cpython-314.pyc +0 -0
  1284. package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/__pycache__/base.cpython-314.pyc +0 -0
  1285. package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/__pycache__/gitignore.cpython-314.pyc +0 -0
  1286. package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/__pycache__/pathspec.cpython-314.pyc +0 -0
  1287. package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/_base.py +78 -0
  1288. package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/base.py +24 -0
  1289. package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/gitignore.py +250 -0
  1290. package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/pathspec.py +257 -0
  1291. package/python/lib/python3.14/site-packages/pathspec/_backends/re2/__init__.py +0 -0
  1292. package/python/lib/python3.14/site-packages/pathspec/_backends/re2/__pycache__/__init__.cpython-314.pyc +0 -0
  1293. package/python/lib/python3.14/site-packages/pathspec/_backends/re2/__pycache__/_base.cpython-314.pyc +0 -0
  1294. package/python/lib/python3.14/site-packages/pathspec/_backends/re2/__pycache__/base.cpython-314.pyc +0 -0
  1295. package/python/lib/python3.14/site-packages/pathspec/_backends/re2/__pycache__/gitignore.cpython-314.pyc +0 -0
  1296. package/python/lib/python3.14/site-packages/pathspec/_backends/re2/__pycache__/pathspec.cpython-314.pyc +0 -0
  1297. package/python/lib/python3.14/site-packages/pathspec/_backends/re2/_base.py +95 -0
  1298. package/python/lib/python3.14/site-packages/pathspec/_backends/re2/base.py +18 -0
  1299. package/python/lib/python3.14/site-packages/pathspec/_backends/re2/gitignore.py +180 -0
  1300. package/python/lib/python3.14/site-packages/pathspec/_backends/re2/pathspec.py +189 -0
  1301. package/python/lib/python3.14/site-packages/pathspec/_backends/simple/__init__.py +0 -0
  1302. package/python/lib/python3.14/site-packages/pathspec/_backends/simple/__pycache__/__init__.cpython-314.pyc +0 -0
  1303. package/python/lib/python3.14/site-packages/pathspec/_backends/simple/__pycache__/gitignore.cpython-314.pyc +0 -0
  1304. package/python/lib/python3.14/site-packages/pathspec/_backends/simple/__pycache__/pathspec.cpython-314.pyc +0 -0
  1305. package/python/lib/python3.14/site-packages/pathspec/_backends/simple/gitignore.py +104 -0
  1306. package/python/lib/python3.14/site-packages/pathspec/_backends/simple/pathspec.py +76 -0
  1307. package/python/lib/python3.14/site-packages/pathspec/_meta.py +70 -0
  1308. package/python/lib/python3.14/site-packages/pathspec/_typing.py +64 -0
  1309. package/python/lib/python3.14/site-packages/pathspec/_version.py +5 -0
  1310. package/python/lib/python3.14/site-packages/pathspec/backend.py +51 -0
  1311. package/python/lib/python3.14/site-packages/pathspec/gitignore.py +172 -0
  1312. package/python/lib/python3.14/site-packages/pathspec/pathspec.py +527 -0
  1313. package/python/lib/python3.14/site-packages/pathspec/pattern.py +259 -0
  1314. package/python/lib/python3.14/site-packages/pathspec/patterns/__init__.py +12 -0
  1315. package/python/lib/python3.14/site-packages/pathspec/patterns/__pycache__/__init__.cpython-314.pyc +0 -0
  1316. package/python/lib/python3.14/site-packages/pathspec/patterns/__pycache__/gitwildmatch.cpython-314.pyc +0 -0
  1317. package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/__init__.py +17 -0
  1318. package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/__pycache__/__init__.cpython-314.pyc +0 -0
  1319. package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/__pycache__/base.cpython-314.pyc +0 -0
  1320. package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/__pycache__/basic.cpython-314.pyc +0 -0
  1321. package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/__pycache__/spec.cpython-314.pyc +0 -0
  1322. package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/base.py +210 -0
  1323. package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/basic.py +320 -0
  1324. package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/spec.py +344 -0
  1325. package/python/lib/python3.14/site-packages/pathspec/patterns/gitwildmatch.py +52 -0
  1326. package/python/lib/python3.14/site-packages/pathspec/py.typed +1 -0
  1327. package/python/lib/python3.14/site-packages/pathspec/util.py +864 -0
  1328. package/python/lib/python3.14/site-packages/pathspec-1.1.1.dist-info/INSTALLER +1 -0
  1329. package/python/lib/python3.14/site-packages/pathspec-1.1.1.dist-info/METADATA +392 -0
  1330. package/python/lib/python3.14/site-packages/pathspec-1.1.1.dist-info/RECORD +38 -0
  1331. package/python/lib/python3.14/site-packages/pathspec-1.1.1.dist-info/REQUESTED +0 -0
  1332. package/python/lib/python3.14/site-packages/pathspec-1.1.1.dist-info/WHEEL +4 -0
  1333. package/python/lib/python3.14/site-packages/pathspec-1.1.1.dist-info/licenses/LICENSE +373 -0
  1334. package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/INSTALLER +1 -0
  1335. package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/METADATA +59 -0
  1336. package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/RECORD +26 -0
  1337. package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/REQUESTED +0 -0
  1338. package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/WHEEL +7 -0
  1339. package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/licenses/LICENSE +20 -0
  1340. package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/top_level.txt +2 -0
  1341. package/python/lib/python3.14/site-packages/regex/__init__.py +3 -0
  1342. package/python/lib/python3.14/site-packages/regex/__pycache__/__init__.cpython-314.pyc +0 -0
  1343. package/python/lib/python3.14/site-packages/regex/__pycache__/_main.cpython-314.pyc +0 -0
  1344. package/python/lib/python3.14/site-packages/regex/__pycache__/_regex_core.cpython-314.pyc +0 -0
  1345. package/python/lib/python3.14/site-packages/regex/_main.py +759 -0
  1346. package/python/lib/python3.14/site-packages/regex/_regex.cpython-314-s390x-linux-gnu.so +0 -0
  1347. package/python/lib/python3.14/site-packages/regex/_regex_core.py +4689 -0
  1348. package/python/lib/python3.14/site-packages/regex/tests/__pycache__/test_regex.cpython-314.pyc +0 -0
  1349. package/python/lib/python3.14/site-packages/regex/tests/test_regex.py +4557 -0
  1350. package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/INSTALLER +1 -0
  1351. package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/METADATA +1060 -0
  1352. package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/RECORD +12 -0
  1353. package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/REQUESTED +0 -0
  1354. package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/WHEEL +7 -0
  1355. package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/licenses/LICENSE.txt +208 -0
  1356. package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/top_level.txt +1 -0
  1357. package/python/lib/python3.14/site-packages/yaml/__init__.py +390 -0
  1358. package/python/lib/python3.14/site-packages/yaml/__pycache__/__init__.cpython-314.pyc +0 -0
  1359. package/python/lib/python3.14/site-packages/yaml/__pycache__/composer.cpython-314.pyc +0 -0
  1360. package/python/lib/python3.14/site-packages/yaml/__pycache__/constructor.cpython-314.pyc +0 -0
  1361. package/python/lib/python3.14/site-packages/yaml/__pycache__/cyaml.cpython-314.pyc +0 -0
  1362. package/python/lib/python3.14/site-packages/yaml/__pycache__/dumper.cpython-314.pyc +0 -0
  1363. package/python/lib/python3.14/site-packages/yaml/__pycache__/emitter.cpython-314.pyc +0 -0
  1364. package/python/lib/python3.14/site-packages/yaml/__pycache__/error.cpython-314.pyc +0 -0
  1365. package/python/lib/python3.14/site-packages/yaml/__pycache__/events.cpython-314.pyc +0 -0
  1366. package/python/lib/python3.14/site-packages/yaml/__pycache__/loader.cpython-314.pyc +0 -0
  1367. package/python/lib/python3.14/site-packages/yaml/__pycache__/nodes.cpython-314.pyc +0 -0
  1368. package/python/lib/python3.14/site-packages/yaml/__pycache__/parser.cpython-314.pyc +0 -0
  1369. package/python/lib/python3.14/site-packages/yaml/__pycache__/reader.cpython-314.pyc +0 -0
  1370. package/python/lib/python3.14/site-packages/yaml/__pycache__/representer.cpython-314.pyc +0 -0
  1371. package/python/lib/python3.14/site-packages/yaml/__pycache__/resolver.cpython-314.pyc +0 -0
  1372. package/python/lib/python3.14/site-packages/yaml/__pycache__/scanner.cpython-314.pyc +0 -0
  1373. package/python/lib/python3.14/site-packages/yaml/__pycache__/serializer.cpython-314.pyc +0 -0
  1374. package/python/lib/python3.14/site-packages/yaml/__pycache__/tokens.cpython-314.pyc +0 -0
  1375. package/python/lib/python3.14/site-packages/yaml/_yaml.cpython-314-s390x-linux-gnu.so +0 -0
  1376. package/python/lib/python3.14/site-packages/yaml/composer.py +139 -0
  1377. package/python/lib/python3.14/site-packages/yaml/constructor.py +748 -0
  1378. package/python/lib/python3.14/site-packages/yaml/cyaml.py +101 -0
  1379. package/python/lib/python3.14/site-packages/yaml/dumper.py +62 -0
  1380. package/python/lib/python3.14/site-packages/yaml/emitter.py +1137 -0
  1381. package/python/lib/python3.14/site-packages/yaml/error.py +75 -0
  1382. package/python/lib/python3.14/site-packages/yaml/events.py +86 -0
  1383. package/python/lib/python3.14/site-packages/yaml/loader.py +63 -0
  1384. package/python/lib/python3.14/site-packages/yaml/nodes.py +49 -0
  1385. package/python/lib/python3.14/site-packages/yaml/parser.py +589 -0
  1386. package/python/lib/python3.14/site-packages/yaml/reader.py +185 -0
  1387. package/python/lib/python3.14/site-packages/yaml/representer.py +389 -0
  1388. package/python/lib/python3.14/site-packages/yaml/resolver.py +227 -0
  1389. package/python/lib/python3.14/site-packages/yaml/scanner.py +1435 -0
  1390. package/python/lib/python3.14/site-packages/yaml/serializer.py +111 -0
  1391. package/python/lib/python3.14/site-packages/yaml/tokens.py +104 -0
  1392. package/python/lib/python3.14/site.py +779 -0
  1393. package/python/lib/python3.14/smtplib.py +1121 -0
  1394. package/python/lib/python3.14/socket.py +994 -0
  1395. package/python/lib/python3.14/socketserver.py +863 -0
  1396. package/python/lib/python3.14/sqlite3/__init__.py +57 -0
  1397. package/python/lib/python3.14/sqlite3/__main__.py +139 -0
  1398. package/python/lib/python3.14/sqlite3/__pycache__/__init__.cpython-314.pyc +0 -0
  1399. package/python/lib/python3.14/sqlite3/__pycache__/__main__.cpython-314.pyc +0 -0
  1400. package/python/lib/python3.14/sqlite3/__pycache__/dbapi2.cpython-314.pyc +0 -0
  1401. package/python/lib/python3.14/sqlite3/__pycache__/dump.cpython-314.pyc +0 -0
  1402. package/python/lib/python3.14/sqlite3/dbapi2.py +96 -0
  1403. package/python/lib/python3.14/sqlite3/dump.py +118 -0
  1404. package/python/lib/python3.14/sre_compile.py +7 -0
  1405. package/python/lib/python3.14/sre_constants.py +7 -0
  1406. package/python/lib/python3.14/sre_parse.py +7 -0
  1407. package/python/lib/python3.14/ssl.py +1552 -0
  1408. package/python/lib/python3.14/stat.py +212 -0
  1409. package/python/lib/python3.14/statistics.py +1879 -0
  1410. package/python/lib/python3.14/string/__init__.py +332 -0
  1411. package/python/lib/python3.14/string/__pycache__/__init__.cpython-314.pyc +0 -0
  1412. package/python/lib/python3.14/string/__pycache__/templatelib.cpython-314.pyc +0 -0
  1413. package/python/lib/python3.14/string/templatelib.py +33 -0
  1414. package/python/lib/python3.14/stringprep.py +456 -0
  1415. package/python/lib/python3.14/struct.py +15 -0
  1416. package/python/lib/python3.14/subprocess.py +2257 -0
  1417. package/python/lib/python3.14/symtable.py +451 -0
  1418. package/python/lib/python3.14/sysconfig/__init__.py +798 -0
  1419. package/python/lib/python3.14/sysconfig/__main__.py +276 -0
  1420. package/python/lib/python3.14/sysconfig/__pycache__/__init__.cpython-314.pyc +0 -0
  1421. package/python/lib/python3.14/sysconfig/__pycache__/__main__.cpython-314.pyc +0 -0
  1422. package/python/lib/python3.14/tabnanny.py +338 -0
  1423. package/python/lib/python3.14/tarfile.py +3228 -0
  1424. package/python/lib/python3.14/tempfile.py +1057 -0
  1425. package/python/lib/python3.14/textwrap.py +475 -0
  1426. package/python/lib/python3.14/this.py +28 -0
  1427. package/python/lib/python3.14/threading.py +1643 -0
  1428. package/python/lib/python3.14/timeit.py +378 -0
  1429. package/python/lib/python3.14/token.py +144 -0
  1430. package/python/lib/python3.14/tokenize.py +598 -0
  1431. package/python/lib/python3.14/tomllib/__init__.py +10 -0
  1432. package/python/lib/python3.14/tomllib/__pycache__/__init__.cpython-314.pyc +0 -0
  1433. package/python/lib/python3.14/tomllib/__pycache__/_parser.cpython-314.pyc +0 -0
  1434. package/python/lib/python3.14/tomllib/__pycache__/_re.cpython-314.pyc +0 -0
  1435. package/python/lib/python3.14/tomllib/__pycache__/_types.cpython-314.pyc +0 -0
  1436. package/python/lib/python3.14/tomllib/_parser.py +765 -0
  1437. package/python/lib/python3.14/tomllib/_re.py +113 -0
  1438. package/python/lib/python3.14/tomllib/_types.py +10 -0
  1439. package/python/lib/python3.14/tomllib/mypy.ini +15 -0
  1440. package/python/lib/python3.14/trace.py +751 -0
  1441. package/python/lib/python3.14/traceback.py +1751 -0
  1442. package/python/lib/python3.14/tracemalloc.py +560 -0
  1443. package/python/lib/python3.14/tty.py +73 -0
  1444. package/python/lib/python3.14/types.py +345 -0
  1445. package/python/lib/python3.14/typing.py +3866 -0
  1446. package/python/lib/python3.14/unittest/__init__.py +80 -0
  1447. package/python/lib/python3.14/unittest/__main__.py +18 -0
  1448. package/python/lib/python3.14/unittest/__pycache__/__init__.cpython-314.pyc +0 -0
  1449. package/python/lib/python3.14/unittest/__pycache__/__main__.cpython-314.pyc +0 -0
  1450. package/python/lib/python3.14/unittest/__pycache__/_log.cpython-314.pyc +0 -0
  1451. package/python/lib/python3.14/unittest/__pycache__/async_case.cpython-314.pyc +0 -0
  1452. package/python/lib/python3.14/unittest/__pycache__/case.cpython-314.pyc +0 -0
  1453. package/python/lib/python3.14/unittest/__pycache__/loader.cpython-314.pyc +0 -0
  1454. package/python/lib/python3.14/unittest/__pycache__/main.cpython-314.pyc +0 -0
  1455. package/python/lib/python3.14/unittest/__pycache__/mock.cpython-314.pyc +0 -0
  1456. package/python/lib/python3.14/unittest/__pycache__/result.cpython-314.pyc +0 -0
  1457. package/python/lib/python3.14/unittest/__pycache__/runner.cpython-314.pyc +0 -0
  1458. package/python/lib/python3.14/unittest/__pycache__/signals.cpython-314.pyc +0 -0
  1459. package/python/lib/python3.14/unittest/__pycache__/suite.cpython-314.pyc +0 -0
  1460. package/python/lib/python3.14/unittest/__pycache__/util.cpython-314.pyc +0 -0
  1461. package/python/lib/python3.14/unittest/_log.py +86 -0
  1462. package/python/lib/python3.14/unittest/async_case.py +158 -0
  1463. package/python/lib/python3.14/unittest/case.py +1628 -0
  1464. package/python/lib/python3.14/unittest/loader.py +491 -0
  1465. package/python/lib/python3.14/unittest/main.py +280 -0
  1466. package/python/lib/python3.14/unittest/mock.py +3208 -0
  1467. package/python/lib/python3.14/unittest/result.py +259 -0
  1468. package/python/lib/python3.14/unittest/runner.py +313 -0
  1469. package/python/lib/python3.14/unittest/signals.py +71 -0
  1470. package/python/lib/python3.14/unittest/suite.py +379 -0
  1471. package/python/lib/python3.14/unittest/util.py +170 -0
  1472. package/python/lib/python3.14/urllib/__init__.py +0 -0
  1473. package/python/lib/python3.14/urllib/__pycache__/__init__.cpython-314.pyc +0 -0
  1474. package/python/lib/python3.14/urllib/__pycache__/error.cpython-314.pyc +0 -0
  1475. package/python/lib/python3.14/urllib/__pycache__/parse.cpython-314.pyc +0 -0
  1476. package/python/lib/python3.14/urllib/__pycache__/request.cpython-314.pyc +0 -0
  1477. package/python/lib/python3.14/urllib/__pycache__/response.cpython-314.pyc +0 -0
  1478. package/python/lib/python3.14/urllib/__pycache__/robotparser.cpython-314.pyc +0 -0
  1479. package/python/lib/python3.14/urllib/error.py +74 -0
  1480. package/python/lib/python3.14/urllib/parse.py +1289 -0
  1481. package/python/lib/python3.14/urllib/request.py +2175 -0
  1482. package/python/lib/python3.14/urllib/response.py +84 -0
  1483. package/python/lib/python3.14/urllib/robotparser.py +363 -0
  1484. package/python/lib/python3.14/uuid.py +1013 -0
  1485. package/python/lib/python3.14/venv/__init__.py +700 -0
  1486. package/python/lib/python3.14/venv/__main__.py +10 -0
  1487. package/python/lib/python3.14/venv/__pycache__/__init__.cpython-314.pyc +0 -0
  1488. package/python/lib/python3.14/venv/__pycache__/__main__.cpython-314.pyc +0 -0
  1489. package/python/lib/python3.14/venv/scripts/common/Activate.ps1 +248 -0
  1490. package/python/lib/python3.14/venv/scripts/common/activate +76 -0
  1491. package/python/lib/python3.14/venv/scripts/common/activate.fish +69 -0
  1492. package/python/lib/python3.14/venv/scripts/posix/activate.csh +29 -0
  1493. package/python/lib/python3.14/warnings.py +99 -0
  1494. package/python/lib/python3.14/wave.py +665 -0
  1495. package/python/lib/python3.14/weakref.py +574 -0
  1496. package/python/lib/python3.14/webbrowser.py +763 -0
  1497. package/python/lib/python3.14/wsgiref/__init__.py +25 -0
  1498. package/python/lib/python3.14/wsgiref/__pycache__/__init__.cpython-314.pyc +0 -0
  1499. package/python/lib/python3.14/wsgiref/__pycache__/handlers.cpython-314.pyc +0 -0
  1500. package/python/lib/python3.14/wsgiref/__pycache__/headers.cpython-314.pyc +0 -0
  1501. package/python/lib/python3.14/wsgiref/__pycache__/simple_server.cpython-314.pyc +0 -0
  1502. package/python/lib/python3.14/wsgiref/__pycache__/types.cpython-314.pyc +0 -0
  1503. package/python/lib/python3.14/wsgiref/__pycache__/util.cpython-314.pyc +0 -0
  1504. package/python/lib/python3.14/wsgiref/__pycache__/validate.cpython-314.pyc +0 -0
  1505. package/python/lib/python3.14/wsgiref/handlers.py +575 -0
  1506. package/python/lib/python3.14/wsgiref/headers.py +192 -0
  1507. package/python/lib/python3.14/wsgiref/simple_server.py +161 -0
  1508. package/python/lib/python3.14/wsgiref/types.py +54 -0
  1509. package/python/lib/python3.14/wsgiref/util.py +159 -0
  1510. package/python/lib/python3.14/wsgiref/validate.py +438 -0
  1511. package/python/lib/python3.14/xml/__init__.py +20 -0
  1512. package/python/lib/python3.14/xml/__pycache__/__init__.cpython-314.pyc +0 -0
  1513. package/python/lib/python3.14/xml/dom/NodeFilter.py +27 -0
  1514. package/python/lib/python3.14/xml/dom/__init__.py +140 -0
  1515. package/python/lib/python3.14/xml/dom/__pycache__/NodeFilter.cpython-314.pyc +0 -0
  1516. package/python/lib/python3.14/xml/dom/__pycache__/__init__.cpython-314.pyc +0 -0
  1517. package/python/lib/python3.14/xml/dom/__pycache__/domreg.cpython-314.pyc +0 -0
  1518. package/python/lib/python3.14/xml/dom/__pycache__/expatbuilder.cpython-314.pyc +0 -0
  1519. package/python/lib/python3.14/xml/dom/__pycache__/minicompat.cpython-314.pyc +0 -0
  1520. package/python/lib/python3.14/xml/dom/__pycache__/minidom.cpython-314.pyc +0 -0
  1521. package/python/lib/python3.14/xml/dom/__pycache__/pulldom.cpython-314.pyc +0 -0
  1522. package/python/lib/python3.14/xml/dom/__pycache__/xmlbuilder.cpython-314.pyc +0 -0
  1523. package/python/lib/python3.14/xml/dom/domreg.py +99 -0
  1524. package/python/lib/python3.14/xml/dom/expatbuilder.py +964 -0
  1525. package/python/lib/python3.14/xml/dom/minicompat.py +109 -0
  1526. package/python/lib/python3.14/xml/dom/minidom.py +2027 -0
  1527. package/python/lib/python3.14/xml/dom/pulldom.py +350 -0
  1528. package/python/lib/python3.14/xml/dom/xmlbuilder.py +389 -0
  1529. package/python/lib/python3.14/xml/etree/ElementInclude.py +186 -0
  1530. package/python/lib/python3.14/xml/etree/ElementPath.py +430 -0
  1531. package/python/lib/python3.14/xml/etree/ElementTree.py +2093 -0
  1532. package/python/lib/python3.14/xml/etree/__init__.py +33 -0
  1533. package/python/lib/python3.14/xml/etree/__pycache__/ElementInclude.cpython-314.pyc +0 -0
  1534. package/python/lib/python3.14/xml/etree/__pycache__/ElementPath.cpython-314.pyc +0 -0
  1535. package/python/lib/python3.14/xml/etree/__pycache__/ElementTree.cpython-314.pyc +0 -0
  1536. package/python/lib/python3.14/xml/etree/__pycache__/__init__.cpython-314.pyc +0 -0
  1537. package/python/lib/python3.14/xml/etree/__pycache__/cElementTree.cpython-314.pyc +0 -0
  1538. package/python/lib/python3.14/xml/etree/cElementTree.py +3 -0
  1539. package/python/lib/python3.14/xml/parsers/__init__.py +8 -0
  1540. package/python/lib/python3.14/xml/parsers/__pycache__/__init__.cpython-314.pyc +0 -0
  1541. package/python/lib/python3.14/xml/parsers/__pycache__/expat.cpython-314.pyc +0 -0
  1542. package/python/lib/python3.14/xml/parsers/expat.py +8 -0
  1543. package/python/lib/python3.14/xml/sax/__init__.py +109 -0
  1544. package/python/lib/python3.14/xml/sax/__pycache__/__init__.cpython-314.pyc +0 -0
  1545. package/python/lib/python3.14/xml/sax/__pycache__/_exceptions.cpython-314.pyc +0 -0
  1546. package/python/lib/python3.14/xml/sax/__pycache__/expatreader.cpython-314.pyc +0 -0
  1547. package/python/lib/python3.14/xml/sax/__pycache__/handler.cpython-314.pyc +0 -0
  1548. package/python/lib/python3.14/xml/sax/__pycache__/saxutils.cpython-314.pyc +0 -0
  1549. package/python/lib/python3.14/xml/sax/__pycache__/xmlreader.cpython-314.pyc +0 -0
  1550. package/python/lib/python3.14/xml/sax/_exceptions.py +127 -0
  1551. package/python/lib/python3.14/xml/sax/expatreader.py +454 -0
  1552. package/python/lib/python3.14/xml/sax/handler.py +387 -0
  1553. package/python/lib/python3.14/xml/sax/saxutils.py +370 -0
  1554. package/python/lib/python3.14/xml/sax/xmlreader.py +379 -0
  1555. package/python/lib/python3.14/xmlrpc/__init__.py +1 -0
  1556. package/python/lib/python3.14/xmlrpc/__pycache__/__init__.cpython-314.pyc +0 -0
  1557. package/python/lib/python3.14/xmlrpc/__pycache__/client.cpython-314.pyc +0 -0
  1558. package/python/lib/python3.14/xmlrpc/__pycache__/server.cpython-314.pyc +0 -0
  1559. package/python/lib/python3.14/xmlrpc/client.py +1503 -0
  1560. package/python/lib/python3.14/xmlrpc/server.py +1003 -0
  1561. package/python/lib/python3.14/zipapp.py +231 -0
  1562. package/python/lib/python3.14/zipfile/__init__.py +2488 -0
  1563. package/python/lib/python3.14/zipfile/__main__.py +4 -0
  1564. package/python/lib/python3.14/zipfile/__pycache__/__init__.cpython-314.pyc +0 -0
  1565. package/python/lib/python3.14/zipfile/__pycache__/__main__.cpython-314.pyc +0 -0
  1566. package/python/lib/python3.14/zipfile/_path/__init__.py +455 -0
  1567. package/python/lib/python3.14/zipfile/_path/__pycache__/__init__.cpython-314.pyc +0 -0
  1568. package/python/lib/python3.14/zipfile/_path/__pycache__/glob.cpython-314.pyc +0 -0
  1569. package/python/lib/python3.14/zipfile/_path/glob.py +113 -0
  1570. package/python/lib/python3.14/zipimport.py +827 -0
  1571. package/python/lib/python3.14/zoneinfo/__init__.py +34 -0
  1572. package/python/lib/python3.14/zoneinfo/__pycache__/__init__.cpython-314.pyc +0 -0
  1573. package/python/lib/python3.14/zoneinfo/__pycache__/_common.cpython-314.pyc +0 -0
  1574. package/python/lib/python3.14/zoneinfo/__pycache__/_tzpath.cpython-314.pyc +0 -0
  1575. package/python/lib/python3.14/zoneinfo/__pycache__/_zoneinfo.cpython-314.pyc +0 -0
  1576. package/python/lib/python3.14/zoneinfo/_common.py +172 -0
  1577. package/python/lib/python3.14/zoneinfo/_tzpath.py +189 -0
  1578. package/python/lib/python3.14/zoneinfo/_zoneinfo.py +779 -0
  1579. package/python/licenses/LICENSE.bdb.txt +126 -0
  1580. package/python/licenses/LICENSE.bzip2.txt +37 -0
  1581. package/python/licenses/LICENSE.cpython.txt +771 -0
  1582. package/python/licenses/LICENSE.expat.txt +21 -0
  1583. package/python/licenses/LICENSE.libX11.txt +942 -0
  1584. package/python/licenses/LICENSE.libXau.txt +21 -0
  1585. package/python/licenses/LICENSE.libedit.txt +29 -0
  1586. package/python/licenses/LICENSE.libffi.txt +21 -0
  1587. package/python/licenses/LICENSE.liblzma.txt +13 -0
  1588. package/python/licenses/LICENSE.libuuid.txt +27 -0
  1589. package/python/licenses/LICENSE.libxcb.txt +30 -0
  1590. package/python/licenses/LICENSE.mpdecimal.txt +24 -0
  1591. package/python/licenses/LICENSE.ncurses.txt +29 -0
  1592. package/python/licenses/LICENSE.openssl-3.txt +177 -0
  1593. package/python/licenses/LICENSE.sqlite.txt +23 -0
  1594. package/python/licenses/LICENSE.tcl.txt +40 -0
  1595. package/python/licenses/LICENSE.tix.txt +54 -0
  1596. package/python/licenses/LICENSE.zlib-ng.txt +19 -0
  1597. package/python/licenses/LICENSE.zlib.txt +22 -0
  1598. package/python/licenses/LICENSE.zstd.txt +30 -0
@@ -0,0 +1,2090 @@
1
+ """IMAP4 client.
2
+
3
+ Based on RFC 3501.
4
+
5
+ Public class: IMAP4
6
+ Public variable: Debug
7
+ Public functions: Internaldate2tuple
8
+ Int2AP
9
+ ParseFlags
10
+ Time2Internaldate
11
+ """
12
+
13
+ # Author: Piers Lauder <piers@cs.su.oz.au> December 1997.
14
+ #
15
+ # Authentication code contributed by Donn Cave <donn@u.washington.edu> June 1998.
16
+ # String method conversion by ESR, February 2001.
17
+ # GET/SETACL contributed by Anthony Baxter <anthony@interlink.com.au> April 2001.
18
+ # IMAP4_SSL contributed by Tino Lange <Tino.Lange@isg.de> March 2002.
19
+ # GET/SETQUOTA contributed by Andreas Zeidler <az@kreativkombinat.de> June 2002.
20
+ # PROXYAUTH contributed by Rick Holbert <holbert.13@osu.edu> November 2002.
21
+ # GET/SETANNOTATION contributed by Tomas Lindroos <skitta@abo.fi> June 2005.
22
+ # IDLE contributed by Forest <forestix@nom.one> August 2024.
23
+
24
+ __version__ = "2.60"
25
+
26
+ import binascii, errno, random, re, socket, subprocess, sys, time, calendar
27
+ from datetime import datetime, timezone, timedelta
28
+ from io import DEFAULT_BUFFER_SIZE
29
+
30
+ try:
31
+ import ssl
32
+ HAVE_SSL = True
33
+ except ImportError:
34
+ HAVE_SSL = False
35
+
36
+ __all__ = ["IMAP4", "IMAP4_stream", "Internaldate2tuple",
37
+ "Int2AP", "ParseFlags", "Time2Internaldate"]
38
+
39
+ # Globals
40
+
41
+ CRLF = b'\r\n'
42
+ Debug = 0
43
+ IMAP4_PORT = 143
44
+ IMAP4_SSL_PORT = 993
45
+ AllowedVersions = ('IMAP4REV1', 'IMAP4') # Most recent first
46
+
47
+ # Maximal line length when calling readline(). This is to prevent
48
+ # reading arbitrary length lines. RFC 3501 (IMAP 4rev1)
49
+ # doesn't specify a line length. RFC 2683 suggests limiting client
50
+ # command lines to 1000 octets and that servers should be prepared
51
+ # to accept command lines up to 8000 octets, so we used to use 10K here.
52
+ # In the modern world (eg: gmail) the response to, for example, a
53
+ # search command can be quite large, so we now use 1M.
54
+ _MAXLINE = 1000000
55
+
56
+
57
+ # Commands
58
+
59
+ Commands = {
60
+ # name valid states
61
+ 'APPEND': ('AUTH', 'SELECTED'),
62
+ 'AUTHENTICATE': ('NONAUTH',),
63
+ 'CAPABILITY': ('NONAUTH', 'AUTH', 'SELECTED', 'LOGOUT'),
64
+ 'CHECK': ('SELECTED',),
65
+ 'CLOSE': ('SELECTED',),
66
+ 'COPY': ('SELECTED',),
67
+ 'CREATE': ('AUTH', 'SELECTED'),
68
+ 'DELETE': ('AUTH', 'SELECTED'),
69
+ 'DELETEACL': ('AUTH', 'SELECTED'),
70
+ 'ENABLE': ('AUTH', ),
71
+ 'EXAMINE': ('AUTH', 'SELECTED'),
72
+ 'EXPUNGE': ('SELECTED',),
73
+ 'FETCH': ('SELECTED',),
74
+ 'GETACL': ('AUTH', 'SELECTED'),
75
+ 'GETANNOTATION':('AUTH', 'SELECTED'),
76
+ 'GETQUOTA': ('AUTH', 'SELECTED'),
77
+ 'GETQUOTAROOT': ('AUTH', 'SELECTED'),
78
+ 'IDLE': ('AUTH', 'SELECTED'),
79
+ 'MYRIGHTS': ('AUTH', 'SELECTED'),
80
+ 'LIST': ('AUTH', 'SELECTED'),
81
+ 'LOGIN': ('NONAUTH',),
82
+ 'LOGOUT': ('NONAUTH', 'AUTH', 'SELECTED', 'LOGOUT'),
83
+ 'LSUB': ('AUTH', 'SELECTED'),
84
+ 'MOVE': ('SELECTED',),
85
+ 'NAMESPACE': ('AUTH', 'SELECTED'),
86
+ 'NOOP': ('NONAUTH', 'AUTH', 'SELECTED', 'LOGOUT'),
87
+ 'PARTIAL': ('SELECTED',), # NB: obsolete
88
+ 'PROXYAUTH': ('AUTH',),
89
+ 'RENAME': ('AUTH', 'SELECTED'),
90
+ 'SEARCH': ('SELECTED',),
91
+ 'SELECT': ('AUTH', 'SELECTED'),
92
+ 'SETACL': ('AUTH', 'SELECTED'),
93
+ 'SETANNOTATION':('AUTH', 'SELECTED'),
94
+ 'SETQUOTA': ('AUTH', 'SELECTED'),
95
+ 'SORT': ('SELECTED',),
96
+ 'STARTTLS': ('NONAUTH',),
97
+ 'STATUS': ('AUTH', 'SELECTED'),
98
+ 'STORE': ('SELECTED',),
99
+ 'SUBSCRIBE': ('AUTH', 'SELECTED'),
100
+ 'THREAD': ('SELECTED',),
101
+ 'UID': ('SELECTED',),
102
+ 'UNSUBSCRIBE': ('AUTH', 'SELECTED'),
103
+ 'UNSELECT': ('SELECTED',),
104
+ }
105
+
106
+ # Patterns to match server responses
107
+
108
+ Continuation = re.compile(br'\+( (?P<data>.*))?')
109
+ Flags = re.compile(br'.*FLAGS \((?P<flags>[^\)]*)\)')
110
+ InternalDate = re.compile(br'.*INTERNALDATE "'
111
+ br'(?P<day>[ 0123][0-9])-(?P<mon>[A-Z][a-z][a-z])-(?P<year>[0-9][0-9][0-9][0-9])'
112
+ br' (?P<hour>[0-9][0-9]):(?P<min>[0-9][0-9]):(?P<sec>[0-9][0-9])'
113
+ br' (?P<zonen>[-+])(?P<zoneh>[0-9][0-9])(?P<zonem>[0-9][0-9])'
114
+ br'"')
115
+ # Literal is no longer used; kept for backward compatibility.
116
+ Literal = re.compile(br'.*{(?P<size>\d+)}$', re.ASCII)
117
+ MapCRLF = re.compile(br'\r\n|\r|\n')
118
+ # We no longer exclude the ']' character from the data portion of the response
119
+ # code, even though it violates the RFC. Popular IMAP servers such as Gmail
120
+ # allow flags with ']', and there are programs (including imaplib!) that can
121
+ # produce them. The problem with this is if the 'text' portion of the response
122
+ # includes a ']' we'll parse the response wrong (which is the point of the RFC
123
+ # restriction). However, that seems less likely to be a problem in practice
124
+ # than being unable to correctly parse flags that include ']' chars, which
125
+ # was reported as a real-world problem in issue #21815.
126
+ Response_code = re.compile(br'\[(?P<type>[A-Z-]+)( (?P<data>.*))?\]')
127
+ Untagged_response = re.compile(br'\* (?P<type>[A-Z-]+)( (?P<data>.*))?')
128
+ # Untagged_status is no longer used; kept for backward compatibility
129
+ Untagged_status = re.compile(
130
+ br'\* (?P<data>\d+) (?P<type>[A-Z-]+)( (?P<data2>.*))?', re.ASCII)
131
+ # We compile these in _mode_xxx.
132
+ _Literal = br'.*{(?P<size>\d+)}$'
133
+ _Untagged_status = br'\* (?P<data>\d+) (?P<type>[A-Z-]+)( (?P<data2>.*))?'
134
+ # Only NUL, CR and LF are unsafe (they cannot be represented even in
135
+ # a quoted string); other control characters are sent quoted.
136
+ _control_chars = re.compile(b'[\x00\r\n]')
137
+ _non_astring_char = re.compile(br'[(){ \x00-\x1f\x7f-\xff%*\\"]')
138
+ _non_list_char = re.compile(br'[(){ \x00-\x1f\x7f-\xff\\"]')
139
+ _quoted = re.compile(br'"(?:[^"\\]|\\.)*+"')
140
+
141
+
142
+ def _paren_depth(data, depth=0):
143
+ # Net parenthesis nesting of data, ignoring parentheses in quoted strings.
144
+ data = _quoted.sub(b'', data)
145
+ return depth + data.count(b'(') - data.count(b')')
146
+
147
+
148
+ class IMAP4:
149
+
150
+ r"""IMAP4 client class.
151
+
152
+ Instantiate with: IMAP4([host[, port[, timeout=None]]])
153
+
154
+ host - host's name (default: localhost);
155
+ port - port number (default: standard IMAP4 port).
156
+ timeout - socket timeout (default: None)
157
+ If timeout is not given or is None,
158
+ the global default socket timeout is used
159
+
160
+ All IMAP4rev1 commands are supported by methods of the same
161
+ name (in lowercase).
162
+
163
+ All arguments to commands are converted to strings, except for
164
+ AUTHENTICATE, and the last argument to APPEND which is passed as
165
+ an IMAP4 literal. If necessary (the string contains any
166
+ non-printing characters or white-space and isn't enclosed with
167
+ either parentheses or double quotes) each string is quoted.
168
+ However, the 'password' argument to the LOGIN command is always
169
+ quoted. If you want to avoid having an argument string quoted
170
+ (eg: the 'flags' argument to STORE) then enclose the string in
171
+ parentheses (eg: "(\Deleted)").
172
+
173
+ Each command returns a tuple: (type, [data, ...]) where 'type'
174
+ is usually 'OK' or 'NO', and 'data' is either the text from the
175
+ tagged response, or untagged results from command. Each 'data'
176
+ is either a string, or a tuple. If a tuple, then the first part
177
+ is the header of the response, and the second part contains
178
+ the data (ie: 'literal' value).
179
+
180
+ Errors raise the exception class <instance>.error("<reason>").
181
+ IMAP4 server errors raise <instance>.abort("<reason>"),
182
+ which is a sub-class of 'error'. Mailbox status changes
183
+ from READ-WRITE to READ-ONLY raise the exception class
184
+ <instance>.readonly("<reason>"), which is a sub-class of 'abort'.
185
+
186
+ "error" exceptions imply a program error.
187
+ "abort" exceptions imply the connection should be reset, and
188
+ the command re-tried.
189
+ "readonly" exceptions imply the command should be re-tried.
190
+
191
+ Note: to use this module, you must read the RFCs pertaining to the
192
+ IMAP4 protocol, as the semantics of the arguments to each IMAP4
193
+ command are left to the invoker, not to mention the results. Also,
194
+ most IMAP servers implement a sub-set of the commands available here.
195
+ """
196
+
197
+ class error(Exception): pass # Logical errors - debug required
198
+ class abort(error): pass # Service errors - close and retry
199
+ class readonly(abort): pass # Mailbox status changed to READ-ONLY
200
+ class _responsetimeout(TimeoutError): pass # No response during IDLE
201
+
202
+ def __init__(self, host='', port=IMAP4_PORT, timeout=None):
203
+ self.debug = Debug
204
+ self.state = 'LOGOUT'
205
+ self.literal = None # A literal argument to a command
206
+ self.tagged_commands = {} # Tagged commands awaiting response
207
+ self.untagged_responses = {} # {typ: [data, ...], ...}
208
+ self.continuation_response = '' # Last continuation response
209
+ self._idle_responses = [] # Response queue for idle iteration
210
+ self._idle_capture = False # Whether to queue responses for idle
211
+ self.is_readonly = False # READ-ONLY desired state
212
+ self.tagnum = 0
213
+ self._tls_established = False
214
+ self._mode_ascii()
215
+ self._readbuf = []
216
+
217
+ # Open socket to server.
218
+
219
+ self.open(host, port, timeout)
220
+
221
+ try:
222
+ self._connect()
223
+ except Exception:
224
+ try:
225
+ self.shutdown()
226
+ except OSError:
227
+ pass
228
+ raise
229
+
230
+ def _mode_ascii(self):
231
+ self.utf8_enabled = False
232
+ self._encoding = 'ascii'
233
+ self.Literal = re.compile(_Literal, re.ASCII)
234
+ self.Untagged_status = re.compile(_Untagged_status, re.ASCII)
235
+
236
+
237
+ def _mode_utf8(self):
238
+ self.utf8_enabled = True
239
+ self._encoding = 'utf-8'
240
+ self.Literal = re.compile(_Literal)
241
+ self.Untagged_status = re.compile(_Untagged_status)
242
+
243
+
244
+ def _connect(self):
245
+ # Create unique tag for this session,
246
+ # and compile tagged response matcher.
247
+
248
+ self.tagpre = Int2AP(random.randint(4096, 65535))
249
+ self.tagre = re.compile(br'(?P<tag>'
250
+ + self.tagpre
251
+ + br'\d+) (?P<type>[A-Z]+) (?P<data>.*)', re.ASCII)
252
+
253
+ # Get server welcome message,
254
+ # request and store CAPABILITY response.
255
+
256
+ if __debug__:
257
+ self._cmd_log_len = 10
258
+ self._cmd_log_idx = 0
259
+ self._cmd_log = {} # Last '_cmd_log_len' interactions
260
+ if self.debug >= 1:
261
+ self._mesg('imaplib version %s' % __version__)
262
+ self._mesg('new IMAP4 connection, tag=%s' % self.tagpre)
263
+
264
+ self.welcome = self._get_response()
265
+ if 'PREAUTH' in self.untagged_responses:
266
+ self.state = 'AUTH'
267
+ elif 'OK' in self.untagged_responses:
268
+ self.state = 'NONAUTH'
269
+ else:
270
+ # A continuation ('+') greeting is returned as None; report its
271
+ # raw line, still held by the last match (gh-108280).
272
+ greeting = (self.welcome or self.mo.string).decode(
273
+ self._encoding, 'replace')
274
+ raise self.error('invalid greeting: ' + greeting)
275
+
276
+ # The greeting is not a response to a command.
277
+ self._refresh_capabilities(consume=True)
278
+ if __debug__:
279
+ if self.debug >= 3:
280
+ self._mesg('CAPABILITIES: %r' % (self.capabilities,))
281
+
282
+ for version in AllowedVersions:
283
+ if not version in self.capabilities:
284
+ continue
285
+ self.PROTOCOL_VERSION = version
286
+ return
287
+
288
+ raise self.error('server not IMAP4 compliant')
289
+
290
+
291
+ def __getattr__(self, attr):
292
+ # Allow UPPERCASE variants of IMAP4 command methods.
293
+ if attr in Commands:
294
+ return getattr(self, attr.lower())
295
+ raise AttributeError("Unknown IMAP4 command: '%s'" % attr)
296
+
297
+ def __enter__(self):
298
+ return self
299
+
300
+ def __exit__(self, *args):
301
+ if self.state == "LOGOUT":
302
+ return
303
+
304
+ try:
305
+ self.logout()
306
+ except OSError:
307
+ pass
308
+
309
+
310
+ # Overridable methods
311
+
312
+
313
+ def _create_socket(self, timeout):
314
+ # Default value of IMAP4.host is '', but socket.getaddrinfo()
315
+ # (which is used by socket.create_connection()) expects None
316
+ # as a default value for host.
317
+ if timeout is not None and not timeout:
318
+ raise ValueError('Non-blocking socket (timeout=0) is not supported')
319
+ host = None if not self.host else self.host
320
+ sys.audit("imaplib.open", self, self.host, self.port)
321
+ address = (host, self.port)
322
+ if timeout is not None:
323
+ return socket.create_connection(address, timeout)
324
+ return socket.create_connection(address)
325
+
326
+ def open(self, host='', port=IMAP4_PORT, timeout=None):
327
+ """Setup connection to remote server on "host:port"
328
+ (default: localhost:standard IMAP4 port).
329
+ This connection will be used by the routines:
330
+ read, readline, send, shutdown.
331
+ """
332
+ self.host = host
333
+ self.port = port
334
+ self.sock = self._create_socket(timeout)
335
+ self._file = self.sock.makefile('rb')
336
+
337
+
338
+ @property
339
+ def file(self):
340
+ # The old 'file' attribute is no longer used now that we do our own
341
+ # read() and readline() buffering, with which it conflicts.
342
+ # As an undocumented interface, it should never have been accessed by
343
+ # external code, and therefore does not warrant deprecation.
344
+ # Nevertheless, we provide this property for now, to avoid suddenly
345
+ # breaking any code in the wild that might have been using it in a
346
+ # harmless way.
347
+ import warnings
348
+ warnings.warn(
349
+ 'IMAP4.file is unsupported, can cause errors, and may be removed.',
350
+ RuntimeWarning,
351
+ stacklevel=2)
352
+ return self._file
353
+
354
+
355
+ def read(self, size):
356
+ """Read 'size' bytes from remote."""
357
+ # We need buffered read() to continue working after socket timeouts,
358
+ # since we use them during IDLE. Unfortunately, the standard library's
359
+ # SocketIO implementation makes this impossible, by setting a permanent
360
+ # error condition instead of letting the caller decide how to handle a
361
+ # timeout. We therefore implement our own buffered read().
362
+ # https://github.com/python/cpython/issues/51571
363
+ #
364
+ # Reading in chunks instead of delegating to a single
365
+ # BufferedReader.read() call also means we avoid its preallocation
366
+ # of an unreasonably large memory block if a malicious server claims
367
+ # it will send a huge literal without actually sending one.
368
+ # https://github.com/python/cpython/issues/119511
369
+
370
+ parts = []
371
+
372
+ while size > 0:
373
+
374
+ if len(parts) < len(self._readbuf):
375
+ buf = self._readbuf[len(parts)]
376
+ else:
377
+ try:
378
+ buf = self.sock.recv(DEFAULT_BUFFER_SIZE)
379
+ except ConnectionError:
380
+ break
381
+ if not buf:
382
+ break
383
+ self._readbuf.append(buf)
384
+
385
+ if len(buf) >= size:
386
+ parts.append(buf[:size])
387
+ self._readbuf = [buf[size:]] + self._readbuf[len(parts):]
388
+ break
389
+ parts.append(buf)
390
+ size -= len(buf)
391
+
392
+ return b''.join(parts)
393
+
394
+
395
+ def readline(self):
396
+ """Read line from remote."""
397
+ # The comment in read() explains why we implement our own readline().
398
+
399
+ LF = b'\n'
400
+ parts = []
401
+ length = 0
402
+
403
+ while length < _MAXLINE:
404
+
405
+ if len(parts) < len(self._readbuf):
406
+ buf = self._readbuf[len(parts)]
407
+ else:
408
+ try:
409
+ buf = self.sock.recv(DEFAULT_BUFFER_SIZE)
410
+ except ConnectionError:
411
+ break
412
+ if not buf:
413
+ break
414
+ self._readbuf.append(buf)
415
+
416
+ pos = buf.find(LF)
417
+ if pos != -1:
418
+ pos += 1
419
+ parts.append(buf[:pos])
420
+ self._readbuf = [buf[pos:]] + self._readbuf[len(parts):]
421
+ break
422
+ parts.append(buf)
423
+ length += len(buf)
424
+
425
+ line = b''.join(parts)
426
+ if len(line) > _MAXLINE:
427
+ raise self.error("got more than %d bytes" % _MAXLINE)
428
+ return line
429
+
430
+
431
+ def send(self, data):
432
+ """Send data to remote."""
433
+ sys.audit("imaplib.send", self, data)
434
+ self.sock.sendall(data)
435
+
436
+
437
+ def shutdown(self):
438
+ """Close I/O established in "open"."""
439
+ self._file.close()
440
+ try:
441
+ self.sock.shutdown(socket.SHUT_RDWR)
442
+ except OSError as exc:
443
+ # The server might already have closed the connection.
444
+ # On Windows, this may result in WSAEINVAL (error 10022):
445
+ # An invalid operation was attempted.
446
+ if (exc.errno != errno.ENOTCONN
447
+ and getattr(exc, 'winerror', 0) != 10022):
448
+ raise
449
+ finally:
450
+ self.sock.close()
451
+
452
+
453
+ def socket(self):
454
+ """Return socket instance used to connect to IMAP4 server.
455
+
456
+ socket = <instance>.socket()
457
+ """
458
+ return self.sock
459
+
460
+
461
+
462
+ # Utility methods
463
+
464
+
465
+ def recent(self):
466
+ """Return most recent 'RECENT' responses if any exist,
467
+ else prompt server for an update using the 'NOOP' command.
468
+
469
+ (typ, [data]) = <instance>.recent()
470
+
471
+ 'data' is None if no new messages,
472
+ else list of RECENT responses, most recent last.
473
+ """
474
+ name = 'RECENT'
475
+ typ, dat = self._untagged_response('OK', [None], name)
476
+ if dat[-1]:
477
+ return typ, dat
478
+ typ, dat = self.noop() # Prod server for response
479
+ return self._untagged_response(typ, dat, name)
480
+
481
+
482
+ def response(self, code):
483
+ """Return data for response 'code' if received, or None.
484
+
485
+ Old value for response 'code' is cleared.
486
+
487
+ (code, [data]) = <instance>.response(code)
488
+ """
489
+ return self._untagged_response(code, [None], code.upper())
490
+
491
+
492
+
493
+ # IMAP4 commands
494
+
495
+
496
+ def append(self, mailbox, flags, date_time, message):
497
+ """Append message to named mailbox.
498
+
499
+ (typ, [data]) = <instance>.append(mailbox, flags, date_time, message)
500
+
501
+ All args except 'message' can be None.
502
+ """
503
+ name = 'APPEND'
504
+ if not mailbox:
505
+ mailbox = 'INBOX'
506
+ if flags:
507
+ flags = self._set_quote(flags)
508
+ else:
509
+ flags = None
510
+ if date_time:
511
+ date_time = Time2Internaldate(date_time)
512
+ else:
513
+ date_time = None
514
+ literal = MapCRLF.sub(CRLF, message)
515
+ self.literal = literal
516
+ return self._simple_command(name, self._astring(mailbox), flags, date_time)
517
+
518
+
519
+ def authenticate(self, mechanism, authobject):
520
+ """Authenticate command - requires response processing.
521
+
522
+ 'mechanism' specifies which authentication mechanism is to
523
+ be used - it must appear in <instance>.capabilities in the
524
+ form AUTH=<mechanism>.
525
+
526
+ 'authobject' must be a callable object:
527
+
528
+ data = authobject(response)
529
+
530
+ It will be called to process server continuation responses; the
531
+ response argument it is passed will be a bytes. It should return bytes
532
+ data that will be base64 encoded and sent to the server. It should
533
+ return None if the client abort response '*' should be sent instead.
534
+ """
535
+ mech = mechanism.upper()
536
+ # XXX: shouldn't this code be removed, not commented out?
537
+ #cap = 'AUTH=%s' % mech
538
+ #if not cap in self.capabilities: # Let the server decide!
539
+ # raise self.error("Server doesn't allow %s authentication." % mech)
540
+ self.literal = _Authenticator(authobject).process
541
+ typ, dat = self._simple_command('AUTHENTICATE', self._atom(mech))
542
+ if typ != 'OK':
543
+ raise self.error(dat[-1].decode('utf-8', 'replace'))
544
+ self.state = 'AUTH'
545
+ self._refresh_capabilities()
546
+ return typ, dat
547
+
548
+
549
+ def capability(self):
550
+ """(typ, [data]) = <instance>.capability()
551
+ Fetch capabilities list from server."""
552
+
553
+ name = 'CAPABILITY'
554
+ typ, dat = self._simple_command(name)
555
+ return self._untagged_response(typ, dat, name)
556
+
557
+
558
+ def check(self):
559
+ """Checkpoint mailbox on server.
560
+
561
+ (typ, [data]) = <instance>.check()
562
+ """
563
+ return self._simple_command('CHECK')
564
+
565
+
566
+ def close(self):
567
+ """Close currently selected mailbox.
568
+
569
+ Deleted messages are removed from writable mailbox.
570
+ This is the recommended command before 'LOGOUT'.
571
+
572
+ (typ, [data]) = <instance>.close()
573
+ """
574
+ try:
575
+ typ, dat = self._simple_command('CLOSE')
576
+ finally:
577
+ self.state = 'AUTH'
578
+ return typ, dat
579
+
580
+
581
+ def copy(self, message_set, new_mailbox):
582
+ """Copy 'message_set' messages onto end of 'new_mailbox'.
583
+
584
+ (typ, [data]) = <instance>.copy(message_set, new_mailbox)
585
+ """
586
+ return self._simple_command('COPY', self._sequence_set(message_set),
587
+ self._astring(new_mailbox))
588
+
589
+
590
+ def create(self, mailbox):
591
+ """Create new mailbox.
592
+
593
+ (typ, [data]) = <instance>.create(mailbox)
594
+ """
595
+ return self._simple_command('CREATE', self._astring(mailbox))
596
+
597
+
598
+ def delete(self, mailbox):
599
+ """Delete old mailbox.
600
+
601
+ (typ, [data]) = <instance>.delete(mailbox)
602
+ """
603
+ return self._simple_command('DELETE', self._astring(mailbox))
604
+
605
+ def deleteacl(self, mailbox, who):
606
+ """Delete the ACLs (remove any rights) set for who on mailbox.
607
+
608
+ (typ, [data]) = <instance>.deleteacl(mailbox, who)
609
+ """
610
+ return self._simple_command('DELETEACL', self._astring(mailbox),
611
+ self._astring(who))
612
+
613
+ def enable(self, capability):
614
+ """Send an RFC5161 enable string to the server.
615
+
616
+ (typ, [data]) = <instance>.enable(capability)
617
+ """
618
+ if 'ENABLE' not in self.capabilities:
619
+ raise IMAP4.error("Server does not support ENABLE")
620
+ typ, data = self._simple_command('ENABLE', capability)
621
+ if typ == 'OK' and 'UTF8=ACCEPT' in capability.upper():
622
+ self._mode_utf8()
623
+ return typ, data
624
+
625
+ def expunge(self):
626
+ """Permanently remove deleted items from selected mailbox.
627
+
628
+ Generates 'EXPUNGE' response for each deleted message.
629
+
630
+ (typ, [data]) = <instance>.expunge()
631
+
632
+ 'data' is list of 'EXPUNGE'd message numbers in order received.
633
+ """
634
+ name = 'EXPUNGE'
635
+ typ, dat = self._simple_command(name)
636
+ return self._untagged_response(typ, dat, name)
637
+
638
+
639
+ def fetch(self, message_set, message_parts):
640
+ """Fetch (parts of) messages.
641
+
642
+ (typ, [data, ...]) = <instance>.fetch(message_set, message_parts)
643
+
644
+ 'message_parts' should be a string of selected parts
645
+ enclosed in parentheses, eg: "(UID BODY[TEXT])".
646
+
647
+ 'data' are tuples of message part envelope and data.
648
+ """
649
+ name = 'FETCH'
650
+ typ, dat = self._simple_command(name, self._sequence_set(message_set),
651
+ self._fetch_parts(message_parts))
652
+ return self._untagged_response(typ, dat, name)
653
+
654
+
655
+ def getacl(self, mailbox):
656
+ """Get the ACLs for a mailbox.
657
+
658
+ (typ, [data]) = <instance>.getacl(mailbox)
659
+ """
660
+ typ, dat = self._simple_command('GETACL', self._astring(mailbox))
661
+ return self._untagged_response(typ, dat, 'ACL')
662
+
663
+
664
+ def getannotation(self, mailbox, entry, attribute):
665
+ """(typ, [data]) = <instance>.getannotation(mailbox, entry, attribute)
666
+ Retrieve ANNOTATIONs."""
667
+
668
+ typ, dat = self._simple_command('GETANNOTATION', self._astring(mailbox),
669
+ entry, attribute)
670
+ return self._untagged_response(typ, dat, 'ANNOTATION')
671
+
672
+
673
+ def getquota(self, root):
674
+ """Get the quota root's resource usage and limits.
675
+
676
+ Part of the IMAP4 QUOTA extension defined in rfc2087.
677
+
678
+ (typ, [data]) = <instance>.getquota(root)
679
+ """
680
+ typ, dat = self._simple_command('GETQUOTA', self._astring(root))
681
+ return self._untagged_response(typ, dat, 'QUOTA')
682
+
683
+
684
+ def getquotaroot(self, mailbox):
685
+ """Get the list of quota roots for the named mailbox.
686
+
687
+ (typ, [[QUOTAROOT responses...], [QUOTA responses]]) = <instance>.getquotaroot(mailbox)
688
+ """
689
+ typ, dat = self._simple_command('GETQUOTAROOT', self._astring(mailbox))
690
+ typ, quota = self._untagged_response(typ, dat, 'QUOTA')
691
+ typ, quotaroot = self._untagged_response(typ, dat, 'QUOTAROOT')
692
+ return typ, [quotaroot, quota]
693
+
694
+
695
+ def idle(self, duration=None):
696
+ """Return an iterable IDLE context manager producing untagged responses.
697
+ If the argument is not None, limit iteration to 'duration' seconds.
698
+
699
+ with M.idle(duration=29 * 60) as idler:
700
+ for typ, data in idler:
701
+ print(typ, data)
702
+
703
+ Note: 'duration' requires a socket connection (not IMAP4_stream).
704
+ """
705
+ return Idler(self, duration)
706
+
707
+
708
+ def list(self, directory='', pattern='*'):
709
+ """List mailbox names in directory matching pattern.
710
+
711
+ (typ, [data]) = <instance>.list(directory='', pattern='*')
712
+
713
+ 'data' is list of LIST responses.
714
+ """
715
+ name = 'LIST'
716
+ typ, dat = self._simple_command(name, self._astring(directory),
717
+ self._list_mailbox(pattern))
718
+ return self._untagged_response(typ, dat, name)
719
+
720
+
721
+ def login(self, user, password):
722
+ """Identify client using plaintext password.
723
+
724
+ (typ, [data]) = <instance>.login(user, password)
725
+
726
+ NB: 'password' will be quoted.
727
+ """
728
+ typ, dat = self._simple_command('LOGIN', self._astring(user),
729
+ self._quote(password))
730
+ if typ != 'OK':
731
+ raise self.error(dat[-1].decode('UTF-8', 'replace'))
732
+ self.state = 'AUTH'
733
+ self._refresh_capabilities()
734
+ return typ, dat
735
+
736
+
737
+ def login_cram_md5(self, user, password):
738
+ """ Force use of CRAM-MD5 authentication.
739
+
740
+ (typ, [data]) = <instance>.login_cram_md5(user, password)
741
+ """
742
+ self.user, self.password = user, password
743
+ return self.authenticate('CRAM-MD5', self._CRAM_MD5_AUTH)
744
+
745
+
746
+ def _CRAM_MD5_AUTH(self, challenge):
747
+ """ Authobject to use with CRAM-MD5 authentication. """
748
+ import hmac
749
+
750
+ if isinstance(self.password, str):
751
+ password = self.password.encode('utf-8')
752
+ else:
753
+ password = self.password
754
+
755
+ try:
756
+ authcode = hmac.HMAC(password, challenge, 'md5')
757
+ except ValueError: # HMAC-MD5 is not available
758
+ raise self.error("CRAM-MD5 authentication is not supported")
759
+ return f"{self.user} {authcode.hexdigest()}"
760
+
761
+
762
+ def logout(self):
763
+ """Shutdown connection to server.
764
+
765
+ (typ, [data]) = <instance>.logout()
766
+
767
+ Returns server 'BYE' response.
768
+ """
769
+ self.state = 'LOGOUT'
770
+ typ, dat = self._simple_command('LOGOUT')
771
+ self.shutdown()
772
+ return typ, dat
773
+
774
+
775
+ def lsub(self, directory='', pattern='*'):
776
+ """List 'subscribed' mailbox names in directory matching pattern.
777
+
778
+ (typ, [data, ...]) = <instance>.lsub(directory='', pattern='*')
779
+
780
+ 'data' are tuples of message part envelope and data.
781
+ """
782
+ name = 'LSUB'
783
+ typ, dat = self._simple_command(name, self._astring(directory),
784
+ self._list_mailbox(pattern))
785
+ return self._untagged_response(typ, dat, name)
786
+
787
+ def myrights(self, mailbox):
788
+ """Show my ACLs for a mailbox (i.e. the rights that I have on mailbox).
789
+
790
+ (typ, [data]) = <instance>.myrights(mailbox)
791
+ """
792
+ typ,dat = self._simple_command('MYRIGHTS', self._astring(mailbox))
793
+ return self._untagged_response(typ, dat, 'MYRIGHTS')
794
+
795
+ def namespace(self):
796
+ """ Returns IMAP namespaces ala rfc2342
797
+
798
+ (typ, [data, ...]) = <instance>.namespace()
799
+ """
800
+ name = 'NAMESPACE'
801
+ typ, dat = self._simple_command(name)
802
+ return self._untagged_response(typ, dat, name)
803
+
804
+
805
+ def noop(self):
806
+ """Send NOOP command.
807
+
808
+ (typ, [data]) = <instance>.noop()
809
+ """
810
+ if __debug__:
811
+ if self.debug >= 3:
812
+ self._dump_ur(self.untagged_responses)
813
+ return self._simple_command('NOOP')
814
+
815
+
816
+ def partial(self, message_num, message_part, start, length):
817
+ """Fetch truncated part of a message.
818
+
819
+ (typ, [data, ...]) = <instance>.partial(message_num, message_part, start, length)
820
+
821
+ 'data' is tuple of message part envelope and data.
822
+ """
823
+ name = 'PARTIAL'
824
+ typ, dat = self._simple_command(name, message_num, message_part, start, length)
825
+ return self._untagged_response(typ, dat, 'FETCH')
826
+
827
+
828
+ def proxyauth(self, user):
829
+ """Assume authentication as "user".
830
+
831
+ Allows an authorised administrator to proxy into any user's
832
+ mailbox.
833
+
834
+ (typ, [data]) = <instance>.proxyauth(user)
835
+ """
836
+
837
+ name = 'PROXYAUTH'
838
+ return self._simple_command(name, self._astring(user))
839
+
840
+
841
+ def rename(self, oldmailbox, newmailbox):
842
+ """Rename old mailbox name to new.
843
+
844
+ (typ, [data]) = <instance>.rename(oldmailbox, newmailbox)
845
+ """
846
+ return self._simple_command('RENAME', self._astring(oldmailbox),
847
+ self._astring(newmailbox))
848
+
849
+
850
+ def search(self, charset, *criteria):
851
+ """Search mailbox for matching messages.
852
+
853
+ (typ, [data]) = <instance>.search(charset, criterion, ...)
854
+
855
+ 'data' is space separated list of matching message numbers.
856
+ If UTF8 is enabled, charset MUST be None.
857
+ """
858
+ name = 'SEARCH'
859
+ if charset is not None:
860
+ if self.utf8_enabled:
861
+ raise IMAP4.error("Non-None charset not valid in UTF8 mode")
862
+ typ, dat = self._simple_command(name,
863
+ 'CHARSET', self._astring(charset), *criteria)
864
+ else:
865
+ typ, dat = self._simple_command(name, *criteria)
866
+ return self._untagged_response(typ, dat, name)
867
+
868
+
869
+ def select(self, mailbox='INBOX', readonly=False):
870
+ """Select a mailbox.
871
+
872
+ Flush all untagged responses.
873
+
874
+ (typ, [data]) = <instance>.select(mailbox='INBOX', readonly=False)
875
+
876
+ 'data' is count of messages in mailbox ('EXISTS' response).
877
+
878
+ Mandated responses are ('FLAGS', 'EXISTS', 'RECENT', 'UIDVALIDITY'), so
879
+ other responses should be obtained via <instance>.response('FLAGS') etc.
880
+ """
881
+ self.untagged_responses = {} # Flush old responses.
882
+ self.is_readonly = readonly
883
+ if readonly:
884
+ name = 'EXAMINE'
885
+ else:
886
+ name = 'SELECT'
887
+ typ, dat = self._simple_command(name, self._astring(mailbox))
888
+ if typ != 'OK':
889
+ self.state = 'AUTH' # Might have been 'SELECTED'
890
+ return typ, dat
891
+ self.state = 'SELECTED'
892
+ if 'READ-ONLY' in self.untagged_responses \
893
+ and not readonly:
894
+ if __debug__:
895
+ if self.debug >= 1:
896
+ self._dump_ur(self.untagged_responses)
897
+ raise self.readonly('%r is not writable' % (mailbox,))
898
+ return typ, self.untagged_responses.get('EXISTS', [None])
899
+
900
+
901
+ def setacl(self, mailbox, who, what):
902
+ """Set a mailbox acl.
903
+
904
+ (typ, [data]) = <instance>.setacl(mailbox, who, what)
905
+ """
906
+ return self._simple_command('SETACL', self._astring(mailbox),
907
+ self._astring(who), self._astring(what))
908
+
909
+
910
+ def setannotation(self, mailbox, *args):
911
+ """(typ, [data]) = <instance>.setannotation(mailbox[, entry, attribute]+)
912
+ Set ANNOTATIONs."""
913
+
914
+ typ, dat = self._simple_command('SETANNOTATION', self._astring(mailbox), *args)
915
+ return self._untagged_response(typ, dat, 'ANNOTATION')
916
+
917
+
918
+ def setquota(self, root, limits):
919
+ """Set the quota root's resource limits.
920
+
921
+ (typ, [data]) = <instance>.setquota(root, limits)
922
+ """
923
+ typ, dat = self._simple_command('SETQUOTA', self._astring(root),
924
+ self._set_quote(limits))
925
+ return self._untagged_response(typ, dat, 'QUOTA')
926
+
927
+
928
+ def sort(self, sort_criteria, charset, *search_criteria):
929
+ """IMAP4rev1 extension SORT command.
930
+
931
+ (typ, [data]) = <instance>.sort(sort_criteria, charset, search_criteria, ...)
932
+ """
933
+ name = 'SORT'
934
+ #if not name in self.capabilities: # Let the server decide!
935
+ # raise self.error('unimplemented extension command: %s' % name)
936
+ sort_criteria = self._set_quote(sort_criteria)
937
+ if charset is not None:
938
+ charset = self._astring(charset)
939
+ typ, dat = self._simple_command(name, sort_criteria, charset, *search_criteria)
940
+ return self._untagged_response(typ, dat, name)
941
+
942
+
943
+ def starttls(self, ssl_context=None):
944
+ name = 'STARTTLS'
945
+ if not HAVE_SSL:
946
+ raise self.error('SSL support missing')
947
+ if self._tls_established:
948
+ raise self.abort('TLS session already established')
949
+ if name not in self.capabilities:
950
+ raise self.abort('TLS not supported by server')
951
+ # Generate a default SSL context if none was passed.
952
+ if ssl_context is None:
953
+ ssl_context = ssl._create_stdlib_context()
954
+ typ, dat = self._simple_command(name)
955
+ if typ == 'OK':
956
+ self.sock = ssl_context.wrap_socket(self.sock,
957
+ server_hostname=self.host)
958
+ self._file = self.sock.makefile('rb')
959
+ self._tls_established = True
960
+ self._get_capabilities()
961
+ else:
962
+ raise self.error("Couldn't establish TLS session")
963
+ return self._untagged_response(typ, dat, name)
964
+
965
+
966
+ def status(self, mailbox, names):
967
+ """Request named status conditions for mailbox.
968
+
969
+ (typ, [data]) = <instance>.status(mailbox, names)
970
+ """
971
+ name = 'STATUS'
972
+ #if self.PROTOCOL_VERSION == 'IMAP4': # Let the server decide!
973
+ # raise self.error('%s unimplemented in IMAP4 (obtain IMAP4rev1 server, or re-code)' % name)
974
+ typ, dat = self._simple_command(name, self._astring(mailbox),
975
+ self._set_quote(names))
976
+ return self._untagged_response(typ, dat, name)
977
+
978
+
979
+ def store(self, message_set, command, flags):
980
+ """Alters flag dispositions for messages in mailbox.
981
+
982
+ (typ, [data]) = <instance>.store(message_set, command, flags)
983
+ """
984
+ flags = self._set_quote(flags)
985
+ typ, dat = self._simple_command('STORE', self._sequence_set(message_set),
986
+ command, flags)
987
+ return self._untagged_response(typ, dat, 'FETCH')
988
+
989
+
990
+ def subscribe(self, mailbox):
991
+ """Subscribe to new mailbox.
992
+
993
+ (typ, [data]) = <instance>.subscribe(mailbox)
994
+ """
995
+ return self._simple_command('SUBSCRIBE', self._astring(mailbox))
996
+
997
+
998
+ def thread(self, threading_algorithm, charset, *search_criteria):
999
+ """IMAPrev1 extension THREAD command.
1000
+
1001
+ (type, [data]) = <instance>.thread(threading_algorithm, charset, search_criteria, ...)
1002
+ """
1003
+ name = 'THREAD'
1004
+ if charset is not None:
1005
+ charset = self._astring(charset)
1006
+ typ, dat = self._simple_command(name, self._atom(threading_algorithm),
1007
+ charset, *search_criteria)
1008
+ return self._untagged_response(typ, dat, name)
1009
+
1010
+
1011
+ def uid(self, command, *args):
1012
+ """Execute "command arg ..." with messages identified by UID,
1013
+ rather than message number.
1014
+
1015
+ (typ, [data]) = <instance>.uid(command, arg1, arg2, ...)
1016
+
1017
+ Returns response appropriate to 'command'.
1018
+ """
1019
+ command = command.upper()
1020
+ if not command in Commands:
1021
+ raise self.error("Unknown IMAP4 UID command: %r" % (command,))
1022
+ if self.state not in Commands[command]:
1023
+ raise self.error("command %s illegal in state %s, "
1024
+ "only allowed in states %s" %
1025
+ (command, self.state,
1026
+ ', '.join(Commands[command])))
1027
+ name = 'UID'
1028
+ if command == 'COPY':
1029
+ message_set, new_mailbox = args
1030
+ args = (self._sequence_set(message_set),
1031
+ self._astring(new_mailbox))
1032
+ elif command == 'FETCH':
1033
+ message_set, message_parts = args
1034
+ args = (self._sequence_set(message_set),
1035
+ self._fetch_parts(message_parts))
1036
+ elif command == 'STORE':
1037
+ message_set, op, flags = args
1038
+ args = (self._sequence_set(message_set), op,
1039
+ self._set_quote(flags))
1040
+ elif command == 'SORT':
1041
+ sort_criteria, charset, *search_criteria = args
1042
+ if charset is not None:
1043
+ charset = self._astring(charset)
1044
+ args = (self._set_quote(sort_criteria), charset,
1045
+ *search_criteria)
1046
+ elif command == 'THREAD':
1047
+ threading_algorithm, charset, *search_criteria = args
1048
+ if charset is not None:
1049
+ charset = self._astring(charset)
1050
+ args = (self._atom(threading_algorithm), charset,
1051
+ *search_criteria)
1052
+ typ, dat = self._simple_command(name, self._atom(command), *args)
1053
+ if command in ('SEARCH', 'SORT', 'THREAD'):
1054
+ name = command
1055
+ else:
1056
+ name = 'FETCH'
1057
+ return self._untagged_response(typ, dat, name)
1058
+
1059
+
1060
+ def unsubscribe(self, mailbox):
1061
+ """Unsubscribe from old mailbox.
1062
+
1063
+ (typ, [data]) = <instance>.unsubscribe(mailbox)
1064
+ """
1065
+ return self._simple_command('UNSUBSCRIBE', self._astring(mailbox))
1066
+
1067
+
1068
+ def unselect(self):
1069
+ """Free server's resources associated with the selected mailbox
1070
+ and returns the server to the authenticated state.
1071
+ This command performs the same actions as CLOSE, except
1072
+ that no messages are permanently removed from the currently
1073
+ selected mailbox.
1074
+
1075
+ (typ, [data]) = <instance>.unselect()
1076
+ """
1077
+ try:
1078
+ typ, data = self._simple_command('UNSELECT')
1079
+ finally:
1080
+ self.state = 'AUTH'
1081
+ return typ, data
1082
+
1083
+
1084
+ def xatom(self, name, *args):
1085
+ """Allow simple extension commands
1086
+ notified by server in CAPABILITY response.
1087
+
1088
+ Assumes command is legal in current state.
1089
+
1090
+ (typ, [data]) = <instance>.xatom(name, arg, ...)
1091
+
1092
+ Returns response appropriate to extension command 'name'.
1093
+ """
1094
+ name = name.upper()
1095
+ #if not name in self.capabilities: # Let the server decide!
1096
+ # raise self.error('unknown extension command: %s' % name)
1097
+ if not name in Commands:
1098
+ Commands[name] = (self.state,)
1099
+ return self._simple_command(name, *args)
1100
+
1101
+
1102
+
1103
+ # Private methods
1104
+
1105
+
1106
+ def _append_untagged(self, typ, dat):
1107
+ if dat is None:
1108
+ dat = b''
1109
+
1110
+ # During idle, queue untagged responses for delivery via iteration
1111
+ if self._idle_capture:
1112
+ # Responses containing literal strings are passed to us one data
1113
+ # fragment at a time, while others arrive in a single call.
1114
+ if (not self._idle_responses or
1115
+ isinstance(self._idle_responses[-1][1][-1], bytes)):
1116
+ # We are not continuing a fragmented response; start a new one
1117
+ self._idle_responses.append((typ, [dat]))
1118
+ else:
1119
+ # We are continuing a fragmented response; append the fragment
1120
+ response = self._idle_responses[-1]
1121
+ assert response[0] == typ
1122
+ response[1].append(dat)
1123
+ if __debug__ and self.debug >= 5:
1124
+ self._mesg(f'idle: queue untagged {typ} {dat!r}')
1125
+ return
1126
+
1127
+ ur = self.untagged_responses
1128
+ if __debug__:
1129
+ if self.debug >= 5:
1130
+ self._mesg('untagged_responses[%s] %s += ["%r"]' %
1131
+ (typ, len(ur.get(typ,'')), dat))
1132
+ if typ in ur:
1133
+ ur[typ].append(dat)
1134
+ else:
1135
+ ur[typ] = [dat]
1136
+
1137
+
1138
+ def _check_bye(self):
1139
+ bye = self.untagged_responses.get('BYE')
1140
+ if bye:
1141
+ raise self.abort(bye[-1].decode(self._encoding, 'replace'))
1142
+
1143
+
1144
+ def _command(self, name, *args):
1145
+
1146
+ if self.state not in Commands[name]:
1147
+ self.literal = None
1148
+ raise self.error("command %s illegal in state %s, "
1149
+ "only allowed in states %s" %
1150
+ (name, self.state,
1151
+ ', '.join(Commands[name])))
1152
+
1153
+ for typ in ('OK', 'NO', 'BAD'):
1154
+ if typ in self.untagged_responses:
1155
+ del self.untagged_responses[typ]
1156
+
1157
+ if 'READ-ONLY' in self.untagged_responses \
1158
+ and not self.is_readonly:
1159
+ raise self.readonly('mailbox status changed to READ-ONLY')
1160
+
1161
+ tag = self._new_tag()
1162
+ name = bytes(name, self._encoding)
1163
+ data = tag + b' ' + name
1164
+ for arg in args:
1165
+ if arg is None: continue
1166
+ if isinstance(arg, str):
1167
+ arg = bytes(arg, self._encoding)
1168
+ if _control_chars.search(arg):
1169
+ raise ValueError("NUL, CR and LF not allowed in commands")
1170
+ data = data + b' ' + arg
1171
+
1172
+ literal = self.literal
1173
+ if literal is not None:
1174
+ self.literal = None
1175
+ if type(literal) is type(self._command):
1176
+ literator = literal
1177
+ else:
1178
+ literator = None
1179
+ if self.utf8_enabled:
1180
+ data = data + bytes(' UTF8 (~{%s}' % len(literal), self._encoding)
1181
+ literal = literal + b')'
1182
+ else:
1183
+ data = data + bytes(' {%s}' % len(literal), self._encoding)
1184
+
1185
+ if __debug__:
1186
+ if self.debug >= 4:
1187
+ self._mesg('> %r' % data)
1188
+ else:
1189
+ self._log('> %r' % data)
1190
+
1191
+ try:
1192
+ self.send(data + CRLF)
1193
+ except OSError as val:
1194
+ raise self.abort('socket error: %s' % val)
1195
+
1196
+ if literal is None:
1197
+ return tag
1198
+
1199
+ while 1:
1200
+ # Wait for continuation response
1201
+
1202
+ while self._get_response():
1203
+ if self.tagged_commands[tag]: # BAD/NO?
1204
+ return tag
1205
+
1206
+ # Send literal
1207
+
1208
+ if literator:
1209
+ literal = literator(self.continuation_response)
1210
+
1211
+ if __debug__:
1212
+ if self.debug >= 4:
1213
+ self._mesg('write literal size %s' % len(literal))
1214
+
1215
+ try:
1216
+ self.send(literal)
1217
+ self.send(CRLF)
1218
+ except OSError as val:
1219
+ raise self.abort('socket error: %s' % val)
1220
+
1221
+ if not literator:
1222
+ break
1223
+
1224
+ return tag
1225
+
1226
+
1227
+ def _command_complete(self, name, tag):
1228
+ logout = (name == 'LOGOUT')
1229
+ # BYE is expected after LOGOUT
1230
+ if not logout:
1231
+ self._check_bye()
1232
+ try:
1233
+ typ, data = self._get_tagged_response(tag, expect_bye=logout)
1234
+ except self.abort as val:
1235
+ raise self.abort('command: %s => %s' % (name, val))
1236
+ except self.error as val:
1237
+ raise self.error('command: %s => %s' % (name, val))
1238
+ if not logout:
1239
+ self._check_bye()
1240
+ if typ == 'BAD':
1241
+ raise self.error('%s command error: %s %s' % (name, typ, data))
1242
+ return typ, data
1243
+
1244
+
1245
+ def _get_capabilities(self):
1246
+ typ, dat = self.capability()
1247
+ if dat == [None]:
1248
+ raise self.error('no CAPABILITY response from server')
1249
+ dat = str(dat[-1], self._encoding)
1250
+ dat = dat.upper()
1251
+ self.capabilities = tuple(dat.split())
1252
+
1253
+
1254
+ def _refresh_capabilities(self, consume=False):
1255
+ # Use a CAPABILITY response sent by the server, or ask for it.
1256
+ # Unless it is consumed, the response can still be read with
1257
+ # response('CAPABILITY').
1258
+ if 'CAPABILITY' in self.untagged_responses:
1259
+ dat = self.untagged_responses['CAPABILITY'][-1]
1260
+ if consume:
1261
+ del self.untagged_responses['CAPABILITY']
1262
+ self.capabilities = tuple(str(dat, self._encoding).upper().split())
1263
+ else:
1264
+ self._get_capabilities()
1265
+
1266
+
1267
+ def _get_response(self, start_timeout=False):
1268
+
1269
+ # Read response and store.
1270
+ #
1271
+ # Returns None for continuation responses,
1272
+ # otherwise first response line received.
1273
+ #
1274
+ # If start_timeout is given, temporarily uses it as a socket
1275
+ # timeout while waiting for the start of a response, raising
1276
+ # _responsetimeout if one doesn't arrive. (Used by Idler.)
1277
+
1278
+ if start_timeout is not False and self.sock:
1279
+ assert start_timeout is None or start_timeout > 0
1280
+ saved_timeout = self.sock.gettimeout()
1281
+ self.sock.settimeout(start_timeout)
1282
+ try:
1283
+ resp = self._get_line()
1284
+ except TimeoutError as err:
1285
+ raise self._responsetimeout from err
1286
+ finally:
1287
+ self.sock.settimeout(saved_timeout)
1288
+ else:
1289
+ resp = self._get_line()
1290
+
1291
+ # Skip spurious blank lines between responses (some servers send one
1292
+ # after a literal that ends a response).
1293
+ while resp == b'':
1294
+ resp = self._get_line()
1295
+
1296
+ # Command completion response?
1297
+
1298
+ if self._match(self.tagre, resp):
1299
+ tag = self.mo.group('tag')
1300
+ if not tag in self.tagged_commands:
1301
+ raise self.abort('unexpected tagged response: %r' % resp)
1302
+
1303
+ typ = self.mo.group('type')
1304
+ typ = str(typ, self._encoding)
1305
+ dat = self.mo.group('data')
1306
+ self.tagged_commands[tag] = (typ, [dat])
1307
+ else:
1308
+ dat2 = None
1309
+
1310
+ # '*' (untagged) responses?
1311
+
1312
+ if not self._match(Untagged_response, resp):
1313
+ if self._match(self.Untagged_status, resp):
1314
+ dat2 = self.mo.group('data2')
1315
+
1316
+ if self.mo is None:
1317
+ # Only other possibility is '+' (continuation) response...
1318
+
1319
+ if self._match(Continuation, resp):
1320
+ self.continuation_response = self.mo.group('data')
1321
+ return None # NB: indicates continuation
1322
+
1323
+ raise self.abort("unexpected response: %r" % resp)
1324
+
1325
+ typ = self.mo.group('type')
1326
+ typ = str(typ, self._encoding)
1327
+ dat = self.mo.group('data')
1328
+ if dat is None: dat = b'' # Null untagged response
1329
+ if dat2: dat = dat + b' ' + dat2
1330
+
1331
+ # Is there a literal to come?
1332
+
1333
+ depth = 0 # open parenthesis nesting so far
1334
+ while self._match(self.Literal, dat):
1335
+
1336
+ # Read literal direct from connection.
1337
+
1338
+ size = int(self.mo.group('size'))
1339
+ if __debug__:
1340
+ if self.debug >= 4:
1341
+ self._mesg('read literal size %s' % size)
1342
+ data = self.read(size)
1343
+
1344
+ # Store response with literal as tuple
1345
+
1346
+ self._append_untagged(typ, (dat, data))
1347
+ depth = _paren_depth(dat, depth)
1348
+
1349
+ # Read trailer - possibly containing another literal
1350
+
1351
+ dat = self._get_line()
1352
+
1353
+ # Skip spurious blank lines after a literal, but only inside an
1354
+ # unclosed parenthesis (at top level they end the response).
1355
+ while dat == b'' and depth > 0:
1356
+ dat = self._get_line()
1357
+
1358
+ self._append_untagged(typ, dat)
1359
+
1360
+ # Bracketed response information?
1361
+
1362
+ if typ in ('OK', 'NO', 'BAD') and self._match(Response_code, dat):
1363
+ typ = self.mo.group('type')
1364
+ typ = str(typ, self._encoding)
1365
+ self._append_untagged(typ, self.mo.group('data'))
1366
+
1367
+ if __debug__:
1368
+ if self.debug >= 1 and typ in ('NO', 'BAD', 'BYE'):
1369
+ self._mesg('%s response: %r' % (typ, dat))
1370
+
1371
+ return resp
1372
+
1373
+
1374
+ def _get_tagged_response(self, tag, expect_bye=False):
1375
+
1376
+ while 1:
1377
+ result = self.tagged_commands[tag]
1378
+ if result is not None:
1379
+ del self.tagged_commands[tag]
1380
+ return result
1381
+
1382
+ if expect_bye:
1383
+ typ = 'BYE'
1384
+ bye = self.untagged_responses.pop(typ, None)
1385
+ if bye is not None:
1386
+ # Server replies to the "LOGOUT" command with "BYE"
1387
+ return (typ, bye)
1388
+
1389
+ # If we've seen a BYE at this point, the socket will be
1390
+ # closed, so report the BYE now.
1391
+ self._check_bye()
1392
+
1393
+ # Some have reported "unexpected response" exceptions.
1394
+ # Note that ignoring them here causes loops.
1395
+ # Instead, send me details of the unexpected response and
1396
+ # I'll update the code in '_get_response()'.
1397
+
1398
+ try:
1399
+ self._get_response()
1400
+ except self.abort as val:
1401
+ if __debug__:
1402
+ if self.debug >= 1:
1403
+ self.print_log()
1404
+ raise
1405
+
1406
+
1407
+ def _get_line(self):
1408
+
1409
+ line = self.readline()
1410
+ if not line:
1411
+ raise self.abort('socket error: EOF')
1412
+
1413
+ # Protocol mandates all lines terminated by CRLF
1414
+ if not line.endswith(b'\r\n'):
1415
+ raise self.abort('socket error: unterminated line: %r' % line)
1416
+
1417
+ line = line[:-2]
1418
+ if __debug__:
1419
+ if self.debug >= 4:
1420
+ self._mesg('< %r' % line)
1421
+ else:
1422
+ self._log('< %r' % line)
1423
+ return line
1424
+
1425
+
1426
+ def _match(self, cre, s):
1427
+
1428
+ # Run compiled regular expression match method on 's'.
1429
+ # Save result, return success.
1430
+
1431
+ self.mo = cre.match(s)
1432
+ if __debug__:
1433
+ if self.mo is not None and self.debug >= 5:
1434
+ self._mesg("\tmatched %r => %r" % (cre.pattern, self.mo.groups()))
1435
+ return self.mo is not None
1436
+
1437
+
1438
+ def _new_tag(self):
1439
+
1440
+ tag = self.tagpre + bytes(str(self.tagnum), self._encoding)
1441
+ self.tagnum = self.tagnum + 1
1442
+ self.tagged_commands[tag] = None
1443
+ return tag
1444
+
1445
+
1446
+ def _atom(self, arg):
1447
+ return arg
1448
+
1449
+ def _sequence_set(self, arg):
1450
+ return arg
1451
+
1452
+ def _set_quote(self, arg):
1453
+ if arg and arg[0] == '(' and arg[-1] == ')':
1454
+ return arg
1455
+ return '(' + arg + ')'
1456
+
1457
+ def _fetch_parts(self, arg):
1458
+ # "ALL", "FULL" and "FAST" are macros, not data item names;
1459
+ # they cannot be enclosed in parentheses.
1460
+ if arg.upper() in ('ALL', 'FULL', 'FAST'):
1461
+ return arg
1462
+ return self._set_quote(arg)
1463
+
1464
+ def _quote(self, arg):
1465
+ if isinstance(arg, str):
1466
+ arg = bytes(arg, self._encoding)
1467
+ arg = arg.replace(b'\\', br'\\')
1468
+ arg = arg.replace(b'"', br'\"')
1469
+ return b'"' + arg + b'"'
1470
+
1471
+ # For backward compatibility, an argument already enclosed in double
1472
+ # quotes is left unquoted, so that code which quotes arguments itself
1473
+ # keeps working. New code should pass arguments unquoted and let the
1474
+ # module quote them as needed.
1475
+
1476
+ def _astring(self, arg):
1477
+ if isinstance(arg, str):
1478
+ arg = bytes(arg, self._encoding)
1479
+ if _quoted.fullmatch(arg):
1480
+ return arg
1481
+ if arg and _non_astring_char.search(arg) is None:
1482
+ return arg
1483
+ return self._quote(arg)
1484
+
1485
+ def _list_mailbox(self, arg):
1486
+ if isinstance(arg, str):
1487
+ arg = bytes(arg, self._encoding)
1488
+ if _quoted.fullmatch(arg):
1489
+ return arg
1490
+ if arg and _non_list_char.search(arg) is None:
1491
+ return arg
1492
+ return self._quote(arg)
1493
+
1494
+ def _simple_command(self, name, *args):
1495
+
1496
+ return self._command_complete(name, self._command(name, *args))
1497
+
1498
+
1499
+ def _untagged_response(self, typ, dat, name):
1500
+ if typ == 'NO':
1501
+ return typ, dat
1502
+ if not name in self.untagged_responses:
1503
+ return typ, [None]
1504
+ data = self.untagged_responses.pop(name)
1505
+ if __debug__:
1506
+ if self.debug >= 5:
1507
+ self._mesg('untagged_responses[%s] => %s' % (name, data))
1508
+ return typ, data
1509
+
1510
+
1511
+ if __debug__:
1512
+
1513
+ def _mesg(self, s, secs=None):
1514
+ if secs is None:
1515
+ secs = time.time()
1516
+ tm = time.strftime('%M:%S', time.localtime(secs))
1517
+ sys.stderr.write(' %s.%02d %s\n' % (tm, (secs*100)%100, s))
1518
+ sys.stderr.flush()
1519
+
1520
+ def _dump_ur(self, untagged_resp_dict):
1521
+ if not untagged_resp_dict:
1522
+ return
1523
+ items = (f'{key}: {value!r}'
1524
+ for key, value in untagged_resp_dict.items())
1525
+ self._mesg('untagged responses dump:' + '\n\t\t'.join(items))
1526
+
1527
+ def _log(self, line):
1528
+ # Keep log of last '_cmd_log_len' interactions for debugging.
1529
+ self._cmd_log[self._cmd_log_idx] = (line, time.time())
1530
+ self._cmd_log_idx += 1
1531
+ if self._cmd_log_idx >= self._cmd_log_len:
1532
+ self._cmd_log_idx = 0
1533
+
1534
+ def print_log(self):
1535
+ self._mesg('last %d IMAP4 interactions:' % len(self._cmd_log))
1536
+ i, n = self._cmd_log_idx, self._cmd_log_len
1537
+ while n:
1538
+ try:
1539
+ self._mesg(*self._cmd_log[i])
1540
+ except:
1541
+ pass
1542
+ i += 1
1543
+ if i >= self._cmd_log_len:
1544
+ i = 0
1545
+ n -= 1
1546
+
1547
+
1548
+ class Idler:
1549
+ """Iterable IDLE context manager: start IDLE & produce untagged responses.
1550
+
1551
+ An object of this type is returned by the IMAP4.idle() method.
1552
+
1553
+ Note: The name and structure of this class are subject to change.
1554
+ """
1555
+
1556
+ def __init__(self, imap, duration=None):
1557
+ if 'IDLE' not in imap.capabilities:
1558
+ raise imap.error("Server does not support IMAP4 IDLE")
1559
+ if duration is not None and not imap.sock:
1560
+ # IMAP4_stream pipes don't support timeouts
1561
+ raise imap.error('duration requires a socket connection')
1562
+ self._duration = duration
1563
+ self._deadline = None
1564
+ self._imap = imap
1565
+ self._tag = None
1566
+ self._saved_state = None
1567
+
1568
+ def __enter__(self):
1569
+ imap = self._imap
1570
+ assert not imap._idle_responses
1571
+ assert not imap._idle_capture
1572
+
1573
+ if __debug__ and imap.debug >= 4:
1574
+ imap._mesg(f'idle start duration={self._duration}')
1575
+
1576
+ # Start capturing untagged responses before sending IDLE,
1577
+ # so we can deliver via iteration any that arrive while
1578
+ # the IDLE command continuation request is still pending.
1579
+ imap._idle_capture = True
1580
+
1581
+ try:
1582
+ self._tag = imap._command('IDLE')
1583
+ # As with any command, the server is allowed to send us unrelated,
1584
+ # untagged responses before acting on IDLE. These lines will be
1585
+ # returned by _get_response(). When the server is ready, it will
1586
+ # send an IDLE continuation request, indicated by _get_response()
1587
+ # returning None. We therefore process responses in a loop until
1588
+ # this occurs.
1589
+ while resp := imap._get_response():
1590
+ if imap.tagged_commands[self._tag]:
1591
+ typ, data = imap.tagged_commands.pop(self._tag)
1592
+ if typ == 'NO':
1593
+ raise imap.error(f'idle denied: {data}')
1594
+ raise imap.abort(f'unexpected status response: {resp}')
1595
+
1596
+ if __debug__ and imap.debug >= 4:
1597
+ prompt = imap.continuation_response
1598
+ imap._mesg(f'idle continuation prompt: {prompt}')
1599
+ except BaseException:
1600
+ imap._idle_capture = False
1601
+ raise
1602
+
1603
+ if self._duration is not None:
1604
+ self._deadline = time.monotonic() + self._duration
1605
+
1606
+ self._saved_state = imap.state
1607
+ imap.state = 'IDLING'
1608
+
1609
+ return self
1610
+
1611
+ def __exit__(self, exc_type, exc_val, exc_tb):
1612
+ imap = self._imap
1613
+
1614
+ if __debug__ and imap.debug >= 4:
1615
+ imap._mesg('idle done')
1616
+ imap.state = self._saved_state
1617
+
1618
+ # Stop intercepting untagged responses before sending DONE,
1619
+ # since we can no longer deliver them via iteration.
1620
+ imap._idle_capture = False
1621
+
1622
+ # If we captured untagged responses while the IDLE command
1623
+ # continuation request was still pending, but the user did not
1624
+ # iterate over them before exiting IDLE, we must put them
1625
+ # someplace where the user can retrieve them. The only
1626
+ # sensible place for this is the untagged_responses dict,
1627
+ # despite its unfortunate inability to preserve the relative
1628
+ # order of different response types.
1629
+ if leftovers := len(imap._idle_responses):
1630
+ if __debug__ and imap.debug >= 4:
1631
+ imap._mesg(f'idle quit with {leftovers} leftover responses')
1632
+ while imap._idle_responses:
1633
+ typ, data = imap._idle_responses.pop(0)
1634
+ # Append one fragment at a time, just as _get_response() does
1635
+ for datum in data:
1636
+ imap._append_untagged(typ, datum)
1637
+
1638
+ try:
1639
+ imap.send(b'DONE' + CRLF)
1640
+ status, [msg] = imap._command_complete('IDLE', self._tag)
1641
+ if __debug__ and imap.debug >= 4:
1642
+ imap._mesg(f'idle status: {status} {msg!r}')
1643
+ except OSError:
1644
+ if not exc_type:
1645
+ raise
1646
+
1647
+ return False # Do not suppress context body exceptions
1648
+
1649
+ def __iter__(self):
1650
+ return self
1651
+
1652
+ def _pop(self, timeout, default=('', None)):
1653
+ # Get the next response, or a default value on timeout.
1654
+ # The timeout arg can be an int or float, or None for no timeout.
1655
+ # Timeouts require a socket connection (not IMAP4_stream).
1656
+ # This method ignores self._duration.
1657
+
1658
+ # Historical Note:
1659
+ # The timeout was originally implemented using select() after
1660
+ # checking for the presence of already-buffered data.
1661
+ # That allowed timeouts on pipe connetions like IMAP4_stream.
1662
+ # However, it seemed possible that SSL data arriving without any
1663
+ # IMAP data afterward could cause select() to indicate available
1664
+ # application data when there was none, leading to a read() call
1665
+ # that would block with no timeout. It was unclear under what
1666
+ # conditions this would happen in practice. Our implementation was
1667
+ # changed to use socket timeouts instead of select(), just to be
1668
+ # safe.
1669
+
1670
+ imap = self._imap
1671
+ if imap.state != 'IDLING':
1672
+ raise imap.error('_pop() only works during IDLE')
1673
+
1674
+ if imap._idle_responses:
1675
+ # Response is ready to return to the user
1676
+ resp = imap._idle_responses.pop(0)
1677
+ if __debug__ and imap.debug >= 4:
1678
+ imap._mesg(f'idle _pop({timeout}) de-queued {resp[0]}')
1679
+ return resp
1680
+
1681
+ if __debug__ and imap.debug >= 4:
1682
+ imap._mesg(f'idle _pop({timeout}) reading')
1683
+
1684
+ if timeout is not None:
1685
+ if timeout <= 0:
1686
+ return default
1687
+ timeout = float(timeout) # Required by socket.settimeout()
1688
+
1689
+ try:
1690
+ imap._get_response(timeout) # Reads line, calls _append_untagged()
1691
+ except IMAP4._responsetimeout:
1692
+ if __debug__ and imap.debug >= 4:
1693
+ imap._mesg(f'idle _pop({timeout}) done')
1694
+ return default
1695
+
1696
+ resp = imap._idle_responses.pop(0)
1697
+
1698
+ if __debug__ and imap.debug >= 4:
1699
+ imap._mesg(f'idle _pop({timeout}) read {resp[0]}')
1700
+ return resp
1701
+
1702
+ def __next__(self):
1703
+ imap = self._imap
1704
+
1705
+ if self._duration is None:
1706
+ timeout = None
1707
+ else:
1708
+ timeout = self._deadline - time.monotonic()
1709
+ typ, data = self._pop(timeout)
1710
+
1711
+ if not typ:
1712
+ if __debug__ and imap.debug >= 4:
1713
+ imap._mesg('idle iterator exhausted')
1714
+ raise StopIteration
1715
+
1716
+ return typ, data
1717
+
1718
+ def burst(self, interval=0.1):
1719
+ """Yield a burst of responses no more than 'interval' seconds apart.
1720
+
1721
+ with M.idle() as idler:
1722
+ # get a response and any others following by < 0.1 seconds
1723
+ batch = list(idler.burst())
1724
+ print(f'processing {len(batch)} responses...')
1725
+ print(batch)
1726
+
1727
+ Note: This generator requires a socket connection (not IMAP4_stream).
1728
+ """
1729
+ if not self._imap.sock:
1730
+ raise self._imap.error('burst() requires a socket connection')
1731
+
1732
+ try:
1733
+ yield next(self)
1734
+ except StopIteration:
1735
+ return
1736
+
1737
+ while response := self._pop(interval, None):
1738
+ yield response
1739
+
1740
+
1741
+ if HAVE_SSL:
1742
+
1743
+ class IMAP4_SSL(IMAP4):
1744
+
1745
+ """IMAP4 client class over SSL connection
1746
+
1747
+ Instantiate with: IMAP4_SSL([host[, port[, ssl_context[, timeout=None]]]])
1748
+
1749
+ host - host's name (default: localhost);
1750
+ port - port number (default: standard IMAP4 SSL port);
1751
+ ssl_context - a SSLContext object that contains your certificate chain
1752
+ and private key (default: None)
1753
+ timeout - socket timeout (default: None) If timeout is not given or is None,
1754
+ the global default socket timeout is used
1755
+
1756
+ for more documentation see the docstring of the parent class IMAP4.
1757
+ """
1758
+
1759
+
1760
+ def __init__(self, host='', port=IMAP4_SSL_PORT,
1761
+ *, ssl_context=None, timeout=None):
1762
+ if ssl_context is None:
1763
+ ssl_context = ssl._create_stdlib_context()
1764
+ self.ssl_context = ssl_context
1765
+ IMAP4.__init__(self, host, port, timeout)
1766
+
1767
+ def _create_socket(self, timeout):
1768
+ sock = IMAP4._create_socket(self, timeout)
1769
+ return self.ssl_context.wrap_socket(sock,
1770
+ server_hostname=self.host)
1771
+
1772
+ def open(self, host='', port=IMAP4_SSL_PORT, timeout=None):
1773
+ """Setup connection to remote server on "host:port".
1774
+ (default: localhost:standard IMAP4 SSL port).
1775
+ This connection will be used by the routines:
1776
+ read, readline, send, shutdown.
1777
+ """
1778
+ IMAP4.open(self, host, port, timeout)
1779
+
1780
+ __all__.append("IMAP4_SSL")
1781
+
1782
+
1783
+ class IMAP4_stream(IMAP4):
1784
+
1785
+ """IMAP4 client class over a stream
1786
+
1787
+ Instantiate with: IMAP4_stream(command)
1788
+
1789
+ "command" - a string that can be passed to subprocess.Popen()
1790
+
1791
+ for more documentation see the docstring of the parent class IMAP4.
1792
+ """
1793
+
1794
+
1795
+ def __init__(self, command):
1796
+ self.command = command
1797
+ IMAP4.__init__(self)
1798
+
1799
+
1800
+ def open(self, host=None, port=None, timeout=None):
1801
+ """Setup a stream connection.
1802
+ This connection will be used by the routines:
1803
+ read, readline, send, shutdown.
1804
+ """
1805
+ self.host = None # For compatibility with parent class
1806
+ self.port = None
1807
+ self.sock = None
1808
+ self._file = None
1809
+ self.process = subprocess.Popen(self.command,
1810
+ bufsize=DEFAULT_BUFFER_SIZE,
1811
+ stdin=subprocess.PIPE, stdout=subprocess.PIPE,
1812
+ shell=True, close_fds=True)
1813
+ self.writefile = self.process.stdin
1814
+ self.readfile = self.process.stdout
1815
+
1816
+ def read(self, size):
1817
+ """Read 'size' bytes from remote."""
1818
+ return self.readfile.read(size)
1819
+
1820
+
1821
+ def readline(self):
1822
+ """Read line from remote."""
1823
+ return self.readfile.readline()
1824
+
1825
+
1826
+ def send(self, data):
1827
+ """Send data to remote."""
1828
+ self.writefile.write(data)
1829
+ self.writefile.flush()
1830
+
1831
+
1832
+ def shutdown(self):
1833
+ """Close I/O established in "open"."""
1834
+ self.readfile.close()
1835
+ self.writefile.close()
1836
+ self.process.wait()
1837
+
1838
+
1839
+
1840
+ class _Authenticator:
1841
+
1842
+ """Private class to provide en/decoding
1843
+ for base64-based authentication conversation.
1844
+ """
1845
+
1846
+ def __init__(self, mechinst):
1847
+ self.mech = mechinst # Callable object to provide/process data
1848
+
1849
+ def process(self, data):
1850
+ ret = self.mech(self.decode(data))
1851
+ if ret is None:
1852
+ return b'*' # Abort conversation
1853
+ return self.encode(ret)
1854
+
1855
+ def encode(self, inp):
1856
+ #
1857
+ # Invoke binascii.b2a_base64 iteratively with
1858
+ # short even length buffers, strip the trailing
1859
+ # line feed from the result and append. "Even"
1860
+ # means a number that factors to both 6 and 8,
1861
+ # so when it gets to the end of the 8-bit input
1862
+ # there's no partial 6-bit output.
1863
+ #
1864
+ oup = b''
1865
+ if isinstance(inp, str):
1866
+ inp = inp.encode('utf-8')
1867
+ while inp:
1868
+ if len(inp) > 48:
1869
+ t = inp[:48]
1870
+ inp = inp[48:]
1871
+ else:
1872
+ t = inp
1873
+ inp = b''
1874
+ e = binascii.b2a_base64(t)
1875
+ if e:
1876
+ oup = oup + e[:-1]
1877
+ return oup
1878
+
1879
+ def decode(self, inp):
1880
+ if not inp:
1881
+ return b''
1882
+ return binascii.a2b_base64(inp)
1883
+
1884
+ Months = ' Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec'.split(' ')
1885
+ Mon2num = {s.encode():n+1 for n, s in enumerate(Months[1:])}
1886
+
1887
+ def Internaldate2tuple(resp):
1888
+ """Parse an IMAP4 INTERNALDATE string.
1889
+
1890
+ Return corresponding local time. The return value is a
1891
+ time.struct_time tuple or None if the string has wrong format.
1892
+ """
1893
+
1894
+ mo = InternalDate.match(resp)
1895
+ if not mo:
1896
+ return None
1897
+
1898
+ mon = Mon2num[mo.group('mon')]
1899
+ zonen = mo.group('zonen')
1900
+
1901
+ day = int(mo.group('day'))
1902
+ year = int(mo.group('year'))
1903
+ hour = int(mo.group('hour'))
1904
+ min = int(mo.group('min'))
1905
+ sec = int(mo.group('sec'))
1906
+ zoneh = int(mo.group('zoneh'))
1907
+ zonem = int(mo.group('zonem'))
1908
+
1909
+ # INTERNALDATE timezone must be subtracted to get UT
1910
+
1911
+ zone = (zoneh*60 + zonem)*60
1912
+ if zonen == b'-':
1913
+ zone = -zone
1914
+
1915
+ tt = (year, mon, day, hour, min, sec, -1, -1, -1)
1916
+ utc = calendar.timegm(tt) - zone
1917
+
1918
+ return time.localtime(utc)
1919
+
1920
+
1921
+
1922
+ def Int2AP(num):
1923
+
1924
+ """Convert integer to A-P string representation."""
1925
+
1926
+ val = b''; AP = b'ABCDEFGHIJKLMNOP'
1927
+ num = int(abs(num))
1928
+ while num:
1929
+ num, mod = divmod(num, 16)
1930
+ val = AP[mod:mod+1] + val
1931
+ return val
1932
+
1933
+
1934
+
1935
+ def ParseFlags(resp):
1936
+
1937
+ """Convert IMAP4 flags response to python tuple."""
1938
+
1939
+ mo = Flags.match(resp)
1940
+ if not mo:
1941
+ return ()
1942
+
1943
+ return tuple(mo.group('flags').split())
1944
+
1945
+
1946
+ def Time2Internaldate(date_time):
1947
+
1948
+ """Convert date_time to IMAP4 INTERNALDATE representation.
1949
+
1950
+ Return string in form: '"DD-Mmm-YYYY HH:MM:SS +HHMM"'. The
1951
+ date_time argument can be a number (int or float) representing
1952
+ seconds since epoch (as returned by time.time()), a 9-tuple
1953
+ representing local time, an instance of time.struct_time (as
1954
+ returned by time.localtime()), an aware datetime instance or a
1955
+ double-quoted string. In the last case, it is assumed to already
1956
+ be in the correct format.
1957
+ """
1958
+ if isinstance(date_time, (int, float)):
1959
+ dt = datetime.fromtimestamp(date_time,
1960
+ timezone.utc).astimezone()
1961
+ elif isinstance(date_time, tuple):
1962
+ gmtoff = getattr(date_time, "tm_gmtoff", None)
1963
+ if gmtoff is None:
1964
+ if time.daylight:
1965
+ dst = date_time[8]
1966
+ if dst == -1:
1967
+ dst = time.localtime(time.mktime(date_time))[8]
1968
+ gmtoff = -(time.timezone, time.altzone)[dst]
1969
+ else:
1970
+ gmtoff = -time.timezone
1971
+ delta = timedelta(seconds=gmtoff)
1972
+ dt = datetime(*date_time[:6], tzinfo=timezone(delta))
1973
+ elif isinstance(date_time, datetime):
1974
+ if date_time.tzinfo is None:
1975
+ raise ValueError("date_time must be aware")
1976
+ dt = date_time
1977
+ elif isinstance(date_time, str) and (date_time[0],date_time[-1]) == ('"','"'):
1978
+ return date_time # Assume in correct format
1979
+ else:
1980
+ raise ValueError("date_time not of a known type")
1981
+ fmt = '"%d-{}-%Y %H:%M:%S %z"'.format(Months[dt.month])
1982
+ return dt.strftime(fmt)
1983
+
1984
+
1985
+
1986
+ if __name__ == '__main__':
1987
+
1988
+ # To test: invoke either as 'python imaplib.py [IMAP4_server_hostname]'
1989
+ # or 'python imaplib.py -s "rsh IMAP4_server_hostname exec /etc/rimapd"'
1990
+ # to test the IMAP4_stream class
1991
+
1992
+ import getopt, getpass
1993
+
1994
+ try:
1995
+ optlist, args = getopt.getopt(sys.argv[1:], 'd:s:')
1996
+ except getopt.error as val:
1997
+ optlist, args = (), ()
1998
+
1999
+ stream_command = None
2000
+ for opt,val in optlist:
2001
+ if opt == '-d':
2002
+ Debug = int(val)
2003
+ elif opt == '-s':
2004
+ stream_command = val
2005
+ if not args: args = (stream_command,)
2006
+
2007
+ if not args: args = ('',)
2008
+
2009
+ host = args[0]
2010
+
2011
+ USER = getpass.getuser()
2012
+ PASSWD = getpass.getpass("IMAP password for %s on %s: " % (USER, host or "localhost"))
2013
+
2014
+ test_mesg = 'From: %(user)s@localhost%(lf)sSubject: IMAP4 test%(lf)s%(lf)sdata...%(lf)s' % {'user':USER, 'lf':'\n'}
2015
+ test_seq1 = (
2016
+ ('login', (USER, PASSWD)),
2017
+ ('create', ('/tmp/xxx 1',)),
2018
+ ('rename', ('/tmp/xxx 1', '/tmp/yyy')),
2019
+ ('CREATE', ('/tmp/yyz 2',)),
2020
+ ('append', ('/tmp/yyz 2', None, None, test_mesg)),
2021
+ ('list', ('/tmp', 'yy*')),
2022
+ ('select', ('/tmp/yyz 2',)),
2023
+ ('search', (None, 'SUBJECT', 'test')),
2024
+ ('fetch', ('1', '(FLAGS INTERNALDATE RFC822)')),
2025
+ ('store', ('1', 'FLAGS', r'(\Deleted)')),
2026
+ ('namespace', ()),
2027
+ ('expunge', ()),
2028
+ ('recent', ()),
2029
+ ('close', ()),
2030
+ )
2031
+
2032
+ test_seq2 = (
2033
+ ('select', ()),
2034
+ ('response',('UIDVALIDITY',)),
2035
+ ('uid', ('SEARCH', 'ALL')),
2036
+ ('response', ('EXISTS',)),
2037
+ ('append', (None, None, None, test_mesg)),
2038
+ ('recent', ()),
2039
+ ('logout', ()),
2040
+ )
2041
+
2042
+ def run(cmd, args):
2043
+ M._mesg('%s %s' % (cmd, args))
2044
+ typ, dat = getattr(M, cmd)(*args)
2045
+ M._mesg('%s => %s %s' % (cmd, typ, dat))
2046
+ if typ == 'NO': raise dat[0]
2047
+ return dat
2048
+
2049
+ try:
2050
+ if stream_command:
2051
+ M = IMAP4_stream(stream_command)
2052
+ else:
2053
+ M = IMAP4(host)
2054
+ if M.state == 'AUTH':
2055
+ test_seq1 = test_seq1[1:] # Login not needed
2056
+ M._mesg('PROTOCOL_VERSION = %s' % M.PROTOCOL_VERSION)
2057
+ M._mesg('CAPABILITIES = %r' % (M.capabilities,))
2058
+
2059
+ for cmd,args in test_seq1:
2060
+ run(cmd, args)
2061
+
2062
+ for ml in run('list', ('/tmp/', 'yy%')):
2063
+ mo = re.match(r'.*"([^"]+)"$', ml)
2064
+ if mo: path = mo.group(1)
2065
+ else: path = ml.split()[-1]
2066
+ run('delete', (path,))
2067
+
2068
+ for cmd,args in test_seq2:
2069
+ dat = run(cmd, args)
2070
+
2071
+ if (cmd,args) != ('uid', ('SEARCH', 'ALL')):
2072
+ continue
2073
+
2074
+ uid = dat[-1].split()
2075
+ if not uid: continue
2076
+ run('uid', ('FETCH', '%s' % uid[-1],
2077
+ '(FLAGS INTERNALDATE RFC822.SIZE RFC822.HEADER RFC822.TEXT)'))
2078
+
2079
+ print('\nAll tests OK.')
2080
+
2081
+ except:
2082
+ print('\nTests failed.')
2083
+
2084
+ if not Debug:
2085
+ print('''
2086
+ If you would like to see debugging output,
2087
+ try: %s -d5
2088
+ ''' % sys.argv[0])
2089
+
2090
+ raise