@djlint/linux-s390x-gnu 0.0.0-stage → 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 +4 -2
  3. package/package.json +23 -4
  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,2135 @@
1
+ r"""HTTP cookie handling for web clients.
2
+
3
+ This module has (now fairly distant) origins in Gisle Aas' Perl module
4
+ HTTP::Cookies, from the libwww-perl library.
5
+
6
+ Docstrings, comments and debug strings in this code refer to the
7
+ attributes of the HTTP cookie system as cookie-attributes, to distinguish
8
+ them clearly from Python attributes.
9
+
10
+ Class diagram (note that BSDDBCookieJar and the MSIE* classes are not
11
+ distributed with the Python standard library, but are available from
12
+ http://wwwsearch.sf.net/):
13
+
14
+ CookieJar____
15
+ / \ \
16
+ FileCookieJar \ \
17
+ / | \ \ \
18
+ MozillaCookieJar | LWPCookieJar \ \
19
+ | | \
20
+ | ---MSIEBase | \
21
+ | / | | \
22
+ | / MSIEDBCookieJar BSDDBCookieJar
23
+ |/
24
+ MSIECookieJar
25
+
26
+ """
27
+
28
+ __all__ = ['Cookie', 'CookieJar', 'CookiePolicy', 'DefaultCookiePolicy',
29
+ 'FileCookieJar', 'LWPCookieJar', 'LoadError', 'MozillaCookieJar']
30
+
31
+ import os
32
+ import copy
33
+ import datetime
34
+ import re
35
+ import time
36
+ import urllib.parse, urllib.request
37
+ import threading as _threading
38
+ import http.client # only for the default HTTP port
39
+ from calendar import timegm
40
+
41
+ debug = False # set to True to enable debugging via the logging module
42
+ logger = None
43
+
44
+ def _debug(*args):
45
+ if not debug:
46
+ return
47
+ global logger
48
+ if not logger:
49
+ import logging
50
+ logger = logging.getLogger("http.cookiejar")
51
+ return logger.debug(*args)
52
+
53
+ HTTPONLY_ATTR = "HTTPOnly"
54
+ HTTPONLY_PREFIX = "#HttpOnly_"
55
+ DEFAULT_HTTP_PORT = str(http.client.HTTP_PORT)
56
+ NETSCAPE_MAGIC_RGX = re.compile("#( Netscape)? HTTP Cookie File",
57
+ re.IGNORECASE | re.ASCII)
58
+ MISSING_FILENAME_TEXT = ("a filename was not supplied (nor was the CookieJar "
59
+ "instance initialised with one)")
60
+ NETSCAPE_HEADER_TEXT = """\
61
+ # Netscape HTTP Cookie File
62
+ # http://curl.haxx.se/rfc/cookie_spec.html
63
+ # This is a generated file! Do not edit.
64
+
65
+ """
66
+
67
+ def _warn_unhandled_exception():
68
+ # There are a few catch-all except: statements in this module, for
69
+ # catching input that's bad in unexpected ways. Warn if any
70
+ # exceptions are caught there.
71
+ import io, warnings, traceback
72
+ f = io.StringIO()
73
+ traceback.print_exc(None, f)
74
+ msg = f.getvalue()
75
+ warnings.warn("http.cookiejar bug!\n%s" % msg, stacklevel=2)
76
+
77
+
78
+ # Date/time conversion
79
+ # -----------------------------------------------------------------------------
80
+
81
+ EPOCH_YEAR = 1970
82
+ def _timegm(tt):
83
+ year, month, mday, hour, min, sec = tt[:6]
84
+ if ((year >= EPOCH_YEAR) and (1 <= month <= 12) and (1 <= mday <= 31) and
85
+ (0 <= hour <= 24) and (0 <= min <= 59) and (0 <= sec <= 61)):
86
+ return timegm(tt)
87
+ else:
88
+ return None
89
+
90
+ DAYS = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]
91
+ MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun",
92
+ "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
93
+ MONTHS_LOWER = [month.lower() for month in MONTHS]
94
+
95
+ def time2isoz(t=None):
96
+ """Return a string representing time in seconds since epoch, t.
97
+
98
+ If the function is called without an argument, it will use the current
99
+ time.
100
+
101
+ The format of the returned string is like "YYYY-MM-DD hh:mm:ssZ",
102
+ representing Universal Time (UTC, aka GMT). An example of this format is:
103
+
104
+ 1994-11-24 08:49:37Z
105
+
106
+ """
107
+ if t is None:
108
+ dt = datetime.datetime.now(tz=datetime.UTC)
109
+ else:
110
+ dt = datetime.datetime.fromtimestamp(t, tz=datetime.UTC)
111
+ return "%04d-%02d-%02d %02d:%02d:%02dZ" % (
112
+ dt.year, dt.month, dt.day, dt.hour, dt.minute, dt.second)
113
+
114
+ def time2netscape(t=None):
115
+ """Return a string representing time in seconds since epoch, t.
116
+
117
+ If the function is called without an argument, it will use the current
118
+ time.
119
+
120
+ The format of the returned string is like this:
121
+
122
+ Wed, DD-Mon-YYYY HH:MM:SS GMT
123
+
124
+ """
125
+ if t is None:
126
+ dt = datetime.datetime.now(tz=datetime.UTC)
127
+ else:
128
+ dt = datetime.datetime.fromtimestamp(t, tz=datetime.UTC)
129
+ return "%s, %02d-%s-%04d %02d:%02d:%02d GMT" % (
130
+ DAYS[dt.weekday()], dt.day, MONTHS[dt.month-1],
131
+ dt.year, dt.hour, dt.minute, dt.second)
132
+
133
+
134
+ UTC_ZONES = {"GMT": None, "UTC": None, "UT": None, "Z": None}
135
+
136
+ TIMEZONE_RE = re.compile(r"^([-+])?(\d\d?):?(\d\d)?$", re.ASCII)
137
+ def offset_from_tz_string(tz):
138
+ offset = None
139
+ if tz in UTC_ZONES:
140
+ offset = 0
141
+ else:
142
+ m = TIMEZONE_RE.search(tz)
143
+ if m:
144
+ offset = 3600 * int(m.group(2))
145
+ if m.group(3):
146
+ offset = offset + 60 * int(m.group(3))
147
+ if m.group(1) == '-':
148
+ offset = -offset
149
+ return offset
150
+
151
+ def _str2time(day, mon, yr, hr, min, sec, tz):
152
+ yr = int(yr)
153
+ if yr > datetime.MAXYEAR:
154
+ return None
155
+
156
+ # translate month name to number
157
+ # month numbers start with 1 (January)
158
+ try:
159
+ mon = MONTHS_LOWER.index(mon.lower())+1
160
+ except ValueError:
161
+ # maybe it's already a number
162
+ try:
163
+ imon = int(mon)
164
+ except ValueError:
165
+ return None
166
+ if 1 <= imon <= 12:
167
+ mon = imon
168
+ else:
169
+ return None
170
+
171
+ # make sure clock elements are defined
172
+ if hr is None: hr = 0
173
+ if min is None: min = 0
174
+ if sec is None: sec = 0
175
+
176
+ day = int(day)
177
+ hr = int(hr)
178
+ min = int(min)
179
+ sec = int(sec)
180
+
181
+ if yr < 1000:
182
+ # find "obvious" year
183
+ cur_yr = time.localtime(time.time())[0]
184
+ m = cur_yr % 100
185
+ tmp = yr
186
+ yr = yr + cur_yr - m
187
+ m = m - tmp
188
+ if abs(m) > 50:
189
+ if m > 0: yr = yr + 100
190
+ else: yr = yr - 100
191
+
192
+ # convert UTC time tuple to seconds since epoch (not timezone-adjusted)
193
+ t = _timegm((yr, mon, day, hr, min, sec, tz))
194
+
195
+ if t is not None:
196
+ # adjust time using timezone string, to get absolute time since epoch
197
+ if tz is None:
198
+ tz = "UTC"
199
+ tz = tz.upper()
200
+ offset = offset_from_tz_string(tz)
201
+ if offset is None:
202
+ return None
203
+ t = t - offset
204
+
205
+ return t
206
+
207
+ STRICT_DATE_RE = re.compile(
208
+ r"^[SMTWF][a-z][a-z], (\d\d) ([JFMASOND][a-z][a-z]) "
209
+ r"(\d\d\d\d) (\d\d):(\d\d):(\d\d) GMT$", re.ASCII)
210
+ WEEKDAY_RE = re.compile(
211
+ r"^(?:Sun|Mon|Tue|Wed|Thu|Fri|Sat)[a-z]*,?\s*", re.I | re.ASCII)
212
+ LOOSE_HTTP_DATE_RE = re.compile(
213
+ r"""^
214
+ (\d\d?) # day
215
+ (?:\s+|[-\/])
216
+ (\w+) # month
217
+ (?:\s+|[-\/])
218
+ (\d+) # year
219
+ (?:
220
+ (?:\s+|:) # separator before clock
221
+ (\d\d?):(\d\d) # hour:min
222
+ (?::(\d\d))? # optional seconds
223
+ )? # optional clock
224
+ \s*
225
+ (?:
226
+ ([-+]?\d{2,4}|(?![APap][Mm]\b)[A-Za-z]+) # timezone
227
+ \s*
228
+ )?
229
+ (?:
230
+ \(\w+\) # ASCII representation of timezone in parens.
231
+ \s*
232
+ )?$""", re.X | re.ASCII)
233
+ def http2time(text):
234
+ """Returns time in seconds since epoch of time represented by a string.
235
+
236
+ Return value is an integer.
237
+
238
+ None is returned if the format of str is unrecognized, the time is outside
239
+ the representable range, or the timezone string is not recognized. If the
240
+ string contains no timezone, UTC is assumed.
241
+
242
+ The timezone in the string may be numerical (like "-0800" or "+0100") or a
243
+ string timezone (like "UTC", "GMT", "BST" or "EST"). Currently, only the
244
+ timezone strings equivalent to UTC (zero offset) are known to the function.
245
+
246
+ The function loosely parses the following formats:
247
+
248
+ Wed, 09 Feb 1994 22:23:32 GMT -- HTTP format
249
+ Tuesday, 08-Feb-94 14:15:29 GMT -- old rfc850 HTTP format
250
+ Tuesday, 08-Feb-1994 14:15:29 GMT -- broken rfc850 HTTP format
251
+ 09 Feb 1994 22:23:32 GMT -- HTTP format (no weekday)
252
+ 08-Feb-94 14:15:29 GMT -- rfc850 format (no weekday)
253
+ 08-Feb-1994 14:15:29 GMT -- broken rfc850 format (no weekday)
254
+
255
+ The parser ignores leading and trailing whitespace. The time may be
256
+ absent.
257
+
258
+ If the year is given with only 2 digits, the function will select the
259
+ century that makes the year closest to the current date.
260
+
261
+ """
262
+ # fast exit for strictly conforming string
263
+ m = STRICT_DATE_RE.search(text)
264
+ if m:
265
+ g = m.groups()
266
+ mon = MONTHS_LOWER.index(g[1].lower()) + 1
267
+ tt = (int(g[2]), mon, int(g[0]),
268
+ int(g[3]), int(g[4]), float(g[5]))
269
+ return _timegm(tt)
270
+
271
+ # No, we need some messy parsing...
272
+
273
+ # clean up
274
+ text = text.lstrip()
275
+ text = WEEKDAY_RE.sub("", text, 1) # Useless weekday
276
+
277
+ # tz is time zone specifier string
278
+ day, mon, yr, hr, min, sec, tz = [None]*7
279
+
280
+ # loose regexp parse
281
+ m = LOOSE_HTTP_DATE_RE.search(text)
282
+ if m is not None:
283
+ day, mon, yr, hr, min, sec, tz = m.groups()
284
+ else:
285
+ return None # bad format
286
+
287
+ return _str2time(day, mon, yr, hr, min, sec, tz)
288
+
289
+ ISO_DATE_RE = re.compile(
290
+ r"""^
291
+ (\d{4}) # year
292
+ [-\/]?
293
+ (\d\d?) # numerical month
294
+ [-\/]?
295
+ (\d\d?) # day
296
+ (?:
297
+ (?:\s+|[-:Tt]) # separator before clock
298
+ (\d\d?):?(\d\d) # hour:min
299
+ (?::?(\d\d(?:\.\d*)?))? # optional seconds (and fractional)
300
+ )? # optional clock
301
+ \s*
302
+ (?:
303
+ ([-+]?\d\d?:?(:?\d\d)?
304
+ |Z|z) # timezone (Z is "zero meridian", i.e. GMT)
305
+ \s*
306
+ )?$""", re.X | re. ASCII)
307
+ def iso2time(text):
308
+ """
309
+ As for http2time, but parses the ISO 8601 formats:
310
+
311
+ 1994-02-03 14:15:29 -0100 -- ISO 8601 format
312
+ 1994-02-03 14:15:29 -- zone is optional
313
+ 1994-02-03 -- only date
314
+ 1994-02-03T14:15:29 -- Use T as separator
315
+ 19940203T141529Z -- ISO 8601 compact format
316
+ 19940203 -- only date
317
+
318
+ """
319
+ # clean up
320
+ text = text.lstrip()
321
+
322
+ # tz is time zone specifier string
323
+ day, mon, yr, hr, min, sec, tz = [None]*7
324
+
325
+ # loose regexp parse
326
+ m = ISO_DATE_RE.search(text)
327
+ if m is not None:
328
+ # XXX there's an extra bit of the timezone I'm ignoring here: is
329
+ # this the right thing to do?
330
+ yr, mon, day, hr, min, sec, tz, _ = m.groups()
331
+ else:
332
+ return None # bad format
333
+
334
+ return _str2time(day, mon, yr, hr, min, sec, tz)
335
+
336
+
337
+ # Header parsing
338
+ # -----------------------------------------------------------------------------
339
+
340
+ def unmatched(match):
341
+ """Return unmatched part of re.Match object."""
342
+ start, end = match.span(0)
343
+ return match.string[:start]+match.string[end:]
344
+
345
+ HEADER_TOKEN_RE = re.compile(r"^\s*([^=\s;,]+)")
346
+ HEADER_QUOTED_VALUE_RE = re.compile(r"^\s*=\s*\"([^\"\\]*(?:\\.[^\"\\]*)*)\"")
347
+ HEADER_VALUE_RE = re.compile(r"^\s*=\s*([^\s;,]*)")
348
+ HEADER_ESCAPE_RE = re.compile(r"\\(.)")
349
+ def split_header_words(header_values):
350
+ r"""Parse header values into a list of lists containing key,value pairs.
351
+
352
+ The function knows how to deal with ",", ";" and "=" as well as quoted
353
+ values after "=". A list of space separated tokens are parsed as if they
354
+ were separated by ";".
355
+
356
+ If the header_values passed as argument contains multiple values, then they
357
+ are treated as if they were a single value separated by comma ",".
358
+
359
+ This means that this function is useful for parsing header fields that
360
+ follow this syntax (BNF as from the HTTP/1.1 specification, but we relax
361
+ the requirement for tokens).
362
+
363
+ headers = #header
364
+ header = (token | parameter) *( [";"] (token | parameter))
365
+
366
+ token = 1*<any CHAR except CTLs or separators>
367
+ separators = "(" | ")" | "<" | ">" | "@"
368
+ | "," | ";" | ":" | "\" | <">
369
+ | "/" | "[" | "]" | "?" | "="
370
+ | "{" | "}" | SP | HT
371
+
372
+ quoted-string = ( <"> *(qdtext | quoted-pair ) <"> )
373
+ qdtext = <any TEXT except <">>
374
+ quoted-pair = "\" CHAR
375
+
376
+ parameter = attribute "=" value
377
+ attribute = token
378
+ value = token | quoted-string
379
+
380
+ Each header is represented by a list of key/value pairs. The value for a
381
+ simple token (not part of a parameter) is None. Syntactically incorrect
382
+ headers will not necessarily be parsed as you would want.
383
+
384
+ This is easier to describe with some examples:
385
+
386
+ >>> split_header_words(['foo="bar"; port="80,81"; discard, bar=baz'])
387
+ [[('foo', 'bar'), ('port', '80,81'), ('discard', None)], [('bar', 'baz')]]
388
+ >>> split_header_words(['text/html; charset="iso-8859-1"'])
389
+ [[('text/html', None), ('charset', 'iso-8859-1')]]
390
+ >>> split_header_words([r'Basic realm="\"foo\bar\""'])
391
+ [[('Basic', None), ('realm', '"foobar"')]]
392
+
393
+ """
394
+ assert not isinstance(header_values, str)
395
+ result = []
396
+ for text in header_values:
397
+ orig_text = text
398
+ pairs = []
399
+ while text:
400
+ m = HEADER_TOKEN_RE.search(text)
401
+ if m:
402
+ text = unmatched(m)
403
+ name = m.group(1)
404
+ m = HEADER_QUOTED_VALUE_RE.search(text)
405
+ if m: # quoted value
406
+ text = unmatched(m)
407
+ value = m.group(1)
408
+ value = HEADER_ESCAPE_RE.sub(r"\1", value)
409
+ else:
410
+ m = HEADER_VALUE_RE.search(text)
411
+ if m: # unquoted value
412
+ text = unmatched(m)
413
+ value = m.group(1)
414
+ value = value.rstrip()
415
+ else:
416
+ # no value, a lone token
417
+ value = None
418
+ pairs.append((name, value))
419
+ elif text.lstrip().startswith(","):
420
+ # concatenated headers, as per RFC 2616 section 4.2
421
+ text = text.lstrip()[1:]
422
+ if pairs: result.append(pairs)
423
+ pairs = []
424
+ else:
425
+ # skip junk
426
+ non_junk, nr_junk_chars = re.subn(r"^[=\s;]*", "", text)
427
+ assert nr_junk_chars > 0, (
428
+ "split_header_words bug: '%s', '%s', %s" %
429
+ (orig_text, text, pairs))
430
+ text = non_junk
431
+ if pairs: result.append(pairs)
432
+ return result
433
+
434
+ HEADER_JOIN_TOKEN_RE = re.compile(r"[!#$%&'*+\-.^_`|~0-9A-Za-z]+")
435
+ HEADER_JOIN_ESCAPE_RE = re.compile(r"([\"\\])")
436
+ def join_header_words(lists):
437
+ """Do the inverse (almost) of the conversion done by split_header_words.
438
+
439
+ Takes a list of lists of (key, value) pairs and produces a single header
440
+ value. Attribute values are quoted if needed.
441
+
442
+ >>> join_header_words([[("text/plain", None), ("charset", "iso-8859/1")]])
443
+ 'text/plain; charset="iso-8859/1"'
444
+ >>> join_header_words([[("text/plain", None)], [("charset", "iso-8859/1")]])
445
+ 'text/plain, charset="iso-8859/1"'
446
+
447
+ """
448
+ headers = []
449
+ for pairs in lists:
450
+ attr = []
451
+ for k, v in pairs:
452
+ if v is not None:
453
+ if not HEADER_JOIN_TOKEN_RE.fullmatch(v):
454
+ v = HEADER_JOIN_ESCAPE_RE.sub(r"\\\1", v) # escape " and \
455
+ v = '"%s"' % v
456
+ k = "%s=%s" % (k, v)
457
+ attr.append(k)
458
+ if attr: headers.append("; ".join(attr))
459
+ return ", ".join(headers)
460
+
461
+ def strip_quotes(text):
462
+ if text.startswith('"'):
463
+ text = text[1:]
464
+ if text.endswith('"'):
465
+ text = text[:-1]
466
+ return text
467
+
468
+ def parse_ns_headers(ns_headers):
469
+ """Ad-hoc parser for Netscape protocol cookie-attributes.
470
+
471
+ The old Netscape cookie format for Set-Cookie can for instance contain
472
+ an unquoted "," in the expires field, so we have to use this ad-hoc
473
+ parser instead of split_header_words.
474
+
475
+ XXX This may not make the best possible effort to parse all the crap
476
+ that Netscape Cookie headers contain. Ronald Tschalar's HTTPClient
477
+ parser is probably better, so could do worse than following that if
478
+ this ever gives any trouble.
479
+
480
+ Currently, this is also used for parsing RFC 2109 cookies.
481
+
482
+ """
483
+ known_attrs = ("expires", "domain", "path", "secure",
484
+ # RFC 2109 attrs (may turn up in Netscape cookies, too)
485
+ "version", "port", "max-age")
486
+
487
+ result = []
488
+ for ns_header in ns_headers:
489
+ pairs = []
490
+ version_set = False
491
+
492
+ # XXX: The following does not strictly adhere to RFCs in that empty
493
+ # names and values are legal (the former will only appear once and will
494
+ # be overwritten if multiple occurrences are present). This is
495
+ # mostly to deal with backwards compatibility.
496
+ for ii, param in enumerate(ns_header.split(';')):
497
+ param = param.strip()
498
+
499
+ key, sep, val = param.partition('=')
500
+ key = key.strip()
501
+
502
+ if not key:
503
+ if ii == 0:
504
+ break
505
+ else:
506
+ continue
507
+
508
+ # allow for a distinction between present and empty and missing
509
+ # altogether
510
+ val = val.strip() if sep else None
511
+
512
+ if ii != 0:
513
+ lc = key.lower()
514
+ if lc in known_attrs:
515
+ key = lc
516
+
517
+ if key == "version":
518
+ # This is an RFC 2109 cookie.
519
+ if val is not None:
520
+ val = strip_quotes(val)
521
+ version_set = True
522
+ elif key == "expires":
523
+ # convert expires date to seconds since epoch
524
+ if val is not None:
525
+ val = http2time(strip_quotes(val)) # None if invalid
526
+ pairs.append((key, val))
527
+
528
+ if pairs:
529
+ if not version_set:
530
+ pairs.append(("version", "0"))
531
+ result.append(pairs)
532
+
533
+ return result
534
+
535
+
536
+ IPV4_RE = re.compile(r"\.\d+$", re.ASCII)
537
+ def is_HDN(text):
538
+ """Return True if text is a host domain name."""
539
+ # XXX
540
+ # This may well be wrong. Which RFC is HDN defined in, if any (for
541
+ # the purposes of RFC 2965)?
542
+ # For the current implementation, what about IPv6? Remember to look
543
+ # at other uses of IPV4_RE also, if change this.
544
+ if IPV4_RE.search(text):
545
+ return False
546
+ if text == "":
547
+ return False
548
+ if text[0] == "." or text[-1] == ".":
549
+ return False
550
+ return True
551
+
552
+ def domain_match(A, B):
553
+ """Return True if domain A domain-matches domain B, according to RFC 2965.
554
+
555
+ A and B may be host domain names or IP addresses.
556
+
557
+ RFC 2965, section 1:
558
+
559
+ Host names can be specified either as an IP address or a HDN string.
560
+ Sometimes we compare one host name with another. (Such comparisons SHALL
561
+ be case-insensitive.) Host A's name domain-matches host B's if
562
+
563
+ * their host name strings string-compare equal; or
564
+
565
+ * A is a HDN string and has the form NB, where N is a non-empty
566
+ name string, B has the form .B', and B' is a HDN string. (So,
567
+ x.y.com domain-matches .Y.com but not Y.com.)
568
+
569
+ Note that domain-match is not a commutative operation: a.b.c.com
570
+ domain-matches .c.com, but not the reverse.
571
+
572
+ """
573
+ # Note that, if A or B are IP addresses, the only relevant part of the
574
+ # definition of the domain-match algorithm is the direct string-compare.
575
+ A = A.lower()
576
+ B = B.lower()
577
+ if A == B:
578
+ return True
579
+ if not is_HDN(A):
580
+ return False
581
+ i = A.rfind(B)
582
+ if i == -1 or i == 0:
583
+ # A does not have form NB, or N is the empty string
584
+ return False
585
+ if not B.startswith("."):
586
+ return False
587
+ if not is_HDN(B[1:]):
588
+ return False
589
+ return True
590
+
591
+ def liberal_is_HDN(text):
592
+ """Return True if text is a sort-of-like a host domain name.
593
+
594
+ For accepting/blocking domains.
595
+
596
+ """
597
+ if IPV4_RE.search(text):
598
+ return False
599
+ return True
600
+
601
+ def user_domain_match(A, B):
602
+ """For blocking/accepting domains.
603
+
604
+ A and B may be host domain names or IP addresses.
605
+
606
+ """
607
+ A = A.lower()
608
+ B = B.lower()
609
+ if not (liberal_is_HDN(A) and liberal_is_HDN(B)):
610
+ if A == B:
611
+ # equal IP addresses
612
+ return True
613
+ return False
614
+ initial_dot = B.startswith(".")
615
+ if initial_dot and A.endswith(B):
616
+ return True
617
+ if not initial_dot and A == B:
618
+ return True
619
+ return False
620
+
621
+ cut_port_re = re.compile(r":\d+$", re.ASCII)
622
+ def request_host(request):
623
+ """Return request-host, as defined by RFC 2965.
624
+
625
+ Variation from RFC: returned value is lowercased, for convenient
626
+ comparison.
627
+
628
+ """
629
+ url = request.get_full_url()
630
+ host = urllib.parse.urlparse(url)[1]
631
+ if host == "":
632
+ host = request.get_header("Host", "")
633
+
634
+ # remove port, if present
635
+ host = cut_port_re.sub("", host, 1)
636
+ return host.lower()
637
+
638
+ def eff_request_host(request):
639
+ """Return a tuple (request-host, effective request-host name).
640
+
641
+ As defined by RFC 2965, except both are lowercased.
642
+
643
+ """
644
+ erhn = req_host = request_host(request)
645
+ if "." not in req_host:
646
+ erhn = req_host + ".local"
647
+ return req_host, erhn
648
+
649
+ def request_path(request):
650
+ """Path component of request-URI, as defined by RFC 2965."""
651
+ url = request.get_full_url()
652
+ parts = urllib.parse.urlsplit(url)
653
+ path = escape_path(parts.path)
654
+ if not path.startswith("/"):
655
+ # fix bad RFC 2396 absoluteURI
656
+ path = "/" + path
657
+ return path
658
+
659
+ def request_port(request):
660
+ host = request.host
661
+ i = host.find(':')
662
+ if i >= 0:
663
+ port = host[i+1:]
664
+ try:
665
+ int(port)
666
+ except ValueError:
667
+ _debug("nonnumeric port: '%s'", port)
668
+ return None
669
+ else:
670
+ port = DEFAULT_HTTP_PORT
671
+ return port
672
+
673
+ # Characters in addition to A-Z, a-z, 0-9, '_', '.', and '-' that don't
674
+ # need to be escaped to form a valid HTTP URL (RFCs 2396 and 1738).
675
+ HTTP_PATH_SAFE = "%/;:@&=+$,!~*'()"
676
+ ESCAPED_CHAR_RE = re.compile(r"%([0-9a-fA-F][0-9a-fA-F])")
677
+ def uppercase_escaped_char(match):
678
+ return "%%%s" % match.group(1).upper()
679
+ def escape_path(path):
680
+ """Escape any invalid characters in HTTP URL, and uppercase all escapes."""
681
+ # There's no knowing what character encoding was used to create URLs
682
+ # containing %-escapes, but since we have to pick one to escape invalid
683
+ # path characters, we pick UTF-8, as recommended in the HTML 4.0
684
+ # specification:
685
+ # http://www.w3.org/TR/REC-html40/appendix/notes.html#h-B.2.1
686
+ # And here, kind of: draft-fielding-uri-rfc2396bis-03
687
+ # (And in draft IRI specification: draft-duerst-iri-05)
688
+ # (And here, for new URI schemes: RFC 2718)
689
+ path = urllib.parse.quote(path, HTTP_PATH_SAFE)
690
+ path = ESCAPED_CHAR_RE.sub(uppercase_escaped_char, path)
691
+ return path
692
+
693
+ def reach(h):
694
+ """Return reach of host h, as defined by RFC 2965, section 1.
695
+
696
+ The reach R of a host name H is defined as follows:
697
+
698
+ * If
699
+
700
+ - H is the host domain name of a host; and,
701
+
702
+ - H has the form A.B; and
703
+
704
+ - A has no embedded (that is, interior) dots; and
705
+
706
+ - B has at least one embedded dot, or B is the string "local".
707
+ then the reach of H is .B.
708
+
709
+ * Otherwise, the reach of H is H.
710
+
711
+ >>> reach("www.acme.com")
712
+ '.acme.com'
713
+ >>> reach("acme.com")
714
+ 'acme.com'
715
+ >>> reach("acme.local")
716
+ '.local'
717
+
718
+ """
719
+ i = h.find(".")
720
+ if i >= 0:
721
+ #a = h[:i] # this line is only here to show what a is
722
+ b = h[i+1:]
723
+ i = b.find(".")
724
+ if is_HDN(h) and (i >= 0 or b == "local"):
725
+ return "."+b
726
+ return h
727
+
728
+ def is_third_party(request):
729
+ """
730
+
731
+ RFC 2965, section 3.3.6:
732
+
733
+ An unverifiable transaction is to a third-party host if its request-
734
+ host U does not domain-match the reach R of the request-host O in the
735
+ origin transaction.
736
+
737
+ """
738
+ req_host = request_host(request)
739
+ if not domain_match(req_host, reach(request.origin_req_host)):
740
+ return True
741
+ else:
742
+ return False
743
+
744
+
745
+ class Cookie:
746
+ """HTTP Cookie.
747
+
748
+ This class represents both Netscape and RFC 2965 cookies.
749
+
750
+ This is deliberately a very simple class. It just holds attributes. It's
751
+ possible to construct Cookie instances that don't comply with the cookie
752
+ standards. CookieJar.make_cookies is the factory function for Cookie
753
+ objects -- it deals with cookie parsing, supplying defaults, and
754
+ normalising to the representation used in this class. CookiePolicy is
755
+ responsible for checking them to see whether they should be accepted from
756
+ and returned to the server.
757
+
758
+ Note that the port may be present in the headers, but unspecified ("Port"
759
+ rather than"Port=80", for example); if this is the case, port is None.
760
+
761
+ """
762
+
763
+ def __init__(self, version, name, value,
764
+ port, port_specified,
765
+ domain, domain_specified, domain_initial_dot,
766
+ path, path_specified,
767
+ secure,
768
+ expires,
769
+ discard,
770
+ comment,
771
+ comment_url,
772
+ rest,
773
+ rfc2109=False,
774
+ ):
775
+
776
+ if version is not None: version = int(version)
777
+ if expires is not None: expires = int(float(expires))
778
+ if port is None and port_specified is True:
779
+ raise ValueError("if port is None, port_specified must be false")
780
+
781
+ self.version = version
782
+ self.name = name
783
+ self.value = value
784
+ self.port = port
785
+ self.port_specified = port_specified
786
+ # normalise case, as per RFC 2965 section 3.3.3
787
+ self.domain = domain.lower()
788
+ self.domain_specified = domain_specified
789
+ # Sigh. We need to know whether the domain given in the
790
+ # cookie-attribute had an initial dot, in order to follow RFC 2965
791
+ # (as clarified in draft errata). Needed for the returned $Domain
792
+ # value.
793
+ self.domain_initial_dot = domain_initial_dot
794
+ self.path = path
795
+ self.path_specified = path_specified
796
+ self.secure = secure
797
+ self.expires = expires
798
+ self.discard = discard
799
+ self.comment = comment
800
+ self.comment_url = comment_url
801
+ self.rfc2109 = rfc2109
802
+
803
+ self._rest = copy.copy(rest)
804
+
805
+ def has_nonstandard_attr(self, name):
806
+ return name in self._rest
807
+ def get_nonstandard_attr(self, name, default=None):
808
+ return self._rest.get(name, default)
809
+ def set_nonstandard_attr(self, name, value):
810
+ self._rest[name] = value
811
+
812
+ def is_expired(self, now=None):
813
+ if now is None: now = time.time()
814
+ if (self.expires is not None) and (self.expires <= now):
815
+ return True
816
+ return False
817
+
818
+ def __str__(self):
819
+ if self.port is None: p = ""
820
+ else: p = ":"+self.port
821
+ limit = self.domain + p + self.path
822
+ if self.value is not None:
823
+ namevalue = "%s=%s" % (self.name, self.value)
824
+ else:
825
+ namevalue = self.name
826
+ return "<Cookie %s for %s>" % (namevalue, limit)
827
+
828
+ def __repr__(self):
829
+ args = []
830
+ for name in ("version", "name", "value",
831
+ "port", "port_specified",
832
+ "domain", "domain_specified", "domain_initial_dot",
833
+ "path", "path_specified",
834
+ "secure", "expires", "discard", "comment", "comment_url",
835
+ ):
836
+ attr = getattr(self, name)
837
+ args.append("%s=%s" % (name, repr(attr)))
838
+ args.append("rest=%s" % repr(self._rest))
839
+ args.append("rfc2109=%s" % repr(self.rfc2109))
840
+ return "%s(%s)" % (self.__class__.__name__, ", ".join(args))
841
+
842
+
843
+ class CookiePolicy:
844
+ """Defines which cookies get accepted from and returned to server.
845
+
846
+ May also modify cookies, though this is probably a bad idea.
847
+
848
+ The subclass DefaultCookiePolicy defines the standard rules for Netscape
849
+ and RFC 2965 cookies -- override that if you want a customized policy.
850
+
851
+ """
852
+ def set_ok(self, cookie, request):
853
+ """Return true if (and only if) cookie should be accepted from server.
854
+
855
+ Currently, pre-expired cookies never get this far -- the CookieJar
856
+ class deletes such cookies itself.
857
+
858
+ """
859
+ raise NotImplementedError()
860
+
861
+ def return_ok(self, cookie, request):
862
+ """Return true if (and only if) cookie should be returned to server."""
863
+ raise NotImplementedError()
864
+
865
+ def domain_return_ok(self, domain, request):
866
+ """Return false if cookies should not be returned, given cookie domain.
867
+ """
868
+ return True
869
+
870
+ def path_return_ok(self, path, request):
871
+ """Return false if cookies should not be returned, given cookie path.
872
+ """
873
+ return True
874
+
875
+
876
+ class DefaultCookiePolicy(CookiePolicy):
877
+ """Implements the standard rules for accepting and returning cookies."""
878
+
879
+ DomainStrictNoDots = 1
880
+ DomainStrictNonDomain = 2
881
+ DomainRFC2965Match = 4
882
+
883
+ DomainLiberal = 0
884
+ DomainStrict = DomainStrictNoDots|DomainStrictNonDomain
885
+
886
+ def __init__(self,
887
+ blocked_domains=None, allowed_domains=None,
888
+ netscape=True, rfc2965=False,
889
+ rfc2109_as_netscape=None,
890
+ hide_cookie2=False,
891
+ strict_domain=False,
892
+ strict_rfc2965_unverifiable=True,
893
+ strict_ns_unverifiable=False,
894
+ strict_ns_domain=DomainLiberal,
895
+ strict_ns_set_initial_dollar=False,
896
+ strict_ns_set_path=False,
897
+ secure_protocols=("https", "wss")
898
+ ):
899
+ """Constructor arguments should be passed as keyword arguments only."""
900
+ self.netscape = netscape
901
+ self.rfc2965 = rfc2965
902
+ self.rfc2109_as_netscape = rfc2109_as_netscape
903
+ self.hide_cookie2 = hide_cookie2
904
+ self.strict_domain = strict_domain
905
+ self.strict_rfc2965_unverifiable = strict_rfc2965_unverifiable
906
+ self.strict_ns_unverifiable = strict_ns_unverifiable
907
+ self.strict_ns_domain = strict_ns_domain
908
+ self.strict_ns_set_initial_dollar = strict_ns_set_initial_dollar
909
+ self.strict_ns_set_path = strict_ns_set_path
910
+ self.secure_protocols = secure_protocols
911
+
912
+ if blocked_domains is not None:
913
+ self._blocked_domains = tuple(blocked_domains)
914
+ else:
915
+ self._blocked_domains = ()
916
+
917
+ if allowed_domains is not None:
918
+ allowed_domains = tuple(allowed_domains)
919
+ self._allowed_domains = allowed_domains
920
+
921
+ def blocked_domains(self):
922
+ """Return the sequence of blocked domains (as a tuple)."""
923
+ return self._blocked_domains
924
+ def set_blocked_domains(self, blocked_domains):
925
+ """Set the sequence of blocked domains."""
926
+ self._blocked_domains = tuple(blocked_domains)
927
+
928
+ def is_blocked(self, domain):
929
+ for blocked_domain in self._blocked_domains:
930
+ if user_domain_match(domain, blocked_domain):
931
+ return True
932
+ return False
933
+
934
+ def allowed_domains(self):
935
+ """Return None, or the sequence of allowed domains (as a tuple)."""
936
+ return self._allowed_domains
937
+ def set_allowed_domains(self, allowed_domains):
938
+ """Set the sequence of allowed domains, or None."""
939
+ if allowed_domains is not None:
940
+ allowed_domains = tuple(allowed_domains)
941
+ self._allowed_domains = allowed_domains
942
+
943
+ def is_not_allowed(self, domain):
944
+ if self._allowed_domains is None:
945
+ return False
946
+ for allowed_domain in self._allowed_domains:
947
+ if user_domain_match(domain, allowed_domain):
948
+ return False
949
+ return True
950
+
951
+ def set_ok(self, cookie, request):
952
+ """
953
+ If you override .set_ok(), be sure to call this method. If it returns
954
+ false, so should your subclass (assuming your subclass wants to be more
955
+ strict about which cookies to accept).
956
+
957
+ """
958
+ _debug(" - checking cookie %s=%s", cookie.name, cookie.value)
959
+
960
+ assert cookie.name is not None
961
+
962
+ for n in "version", "verifiability", "name", "path", "domain", "port":
963
+ fn_name = "set_ok_"+n
964
+ fn = getattr(self, fn_name)
965
+ if not fn(cookie, request):
966
+ return False
967
+
968
+ return True
969
+
970
+ def set_ok_version(self, cookie, request):
971
+ if cookie.version is None:
972
+ # Version is always set to 0 by parse_ns_headers if it's a Netscape
973
+ # cookie, so this must be an invalid RFC 2965 cookie.
974
+ _debug(" Set-Cookie2 without version attribute (%s=%s)",
975
+ cookie.name, cookie.value)
976
+ return False
977
+ if cookie.version < 0:
978
+ # Neither the Netscape (version 0) nor the RFC 2965 (version > 0)
979
+ # rules would apply, so the domain checks would all be skipped.
980
+ _debug(" negative version attribute (%s=%s)",
981
+ cookie.name, cookie.value)
982
+ return False
983
+ if cookie.version > 0 and not self.rfc2965:
984
+ _debug(" RFC 2965 cookies are switched off")
985
+ return False
986
+ elif cookie.version == 0 and not self.netscape:
987
+ _debug(" Netscape cookies are switched off")
988
+ return False
989
+ return True
990
+
991
+ def set_ok_verifiability(self, cookie, request):
992
+ if request.unverifiable and is_third_party(request):
993
+ if cookie.version > 0 and self.strict_rfc2965_unverifiable:
994
+ _debug(" third-party RFC 2965 cookie during "
995
+ "unverifiable transaction")
996
+ return False
997
+ elif cookie.version == 0 and self.strict_ns_unverifiable:
998
+ _debug(" third-party Netscape cookie during "
999
+ "unverifiable transaction")
1000
+ return False
1001
+ return True
1002
+
1003
+ def set_ok_name(self, cookie, request):
1004
+ # Try and stop servers setting V0 cookies designed to hack other
1005
+ # servers that know both V0 and V1 protocols.
1006
+ if (cookie.version == 0 and self.strict_ns_set_initial_dollar and
1007
+ cookie.name.startswith("$")):
1008
+ _debug(" illegal name (starts with '$'): '%s'", cookie.name)
1009
+ return False
1010
+ return True
1011
+
1012
+ def set_ok_path(self, cookie, request):
1013
+ if cookie.path_specified:
1014
+ req_path = request_path(request)
1015
+ if ((cookie.version > 0 or
1016
+ (cookie.version == 0 and self.strict_ns_set_path)) and
1017
+ not self.path_return_ok(cookie.path, request)):
1018
+ _debug(" path attribute %s is not a prefix of request "
1019
+ "path %s", cookie.path, req_path)
1020
+ return False
1021
+ return True
1022
+
1023
+ def set_ok_domain(self, cookie, request):
1024
+ if self.is_blocked(cookie.domain):
1025
+ _debug(" domain %s is in user block-list", cookie.domain)
1026
+ return False
1027
+ if self.is_not_allowed(cookie.domain):
1028
+ _debug(" domain %s is not in user allow-list", cookie.domain)
1029
+ return False
1030
+ if cookie.domain_specified:
1031
+ req_host, erhn = eff_request_host(request)
1032
+ domain = cookie.domain
1033
+ if self.strict_domain and (domain.count(".") >= 2):
1034
+ # XXX This should probably be compared with the Konqueror
1035
+ # (kcookiejar.cpp) and Mozilla implementations, but it's a
1036
+ # losing battle.
1037
+ i = domain.rfind(".")
1038
+ j = domain.rfind(".", 0, i)
1039
+ if j == 0: # domain like .foo.bar
1040
+ tld = domain[i+1:]
1041
+ sld = domain[j+1:i]
1042
+ if sld.lower() in ("co", "ac", "com", "edu", "org", "net",
1043
+ "gov", "mil", "int", "aero", "biz", "cat", "coop",
1044
+ "info", "jobs", "mobi", "museum", "name", "pro",
1045
+ "travel", "eu") and len(tld) == 2:
1046
+ # domain like .co.uk
1047
+ _debug(" country-code second level domain %s", domain)
1048
+ return False
1049
+ if domain.startswith("."):
1050
+ undotted_domain = domain[1:]
1051
+ else:
1052
+ undotted_domain = domain
1053
+ embedded_dots = (undotted_domain.find(".") >= 0)
1054
+ if not embedded_dots and not erhn.endswith(".local"):
1055
+ _debug(" non-local domain %s contains no embedded dot",
1056
+ domain)
1057
+ return False
1058
+ if cookie.version == 0:
1059
+ if (not (erhn.endswith(domain) or
1060
+ erhn.endswith(f"{undotted_domain}.local")) and
1061
+ (not erhn.startswith(".") and
1062
+ not ("."+erhn).endswith(domain))):
1063
+ _debug(" effective request-host %s (even with added "
1064
+ "initial dot) does not end with %s",
1065
+ erhn, domain)
1066
+ return False
1067
+ if (cookie.version > 0 or
1068
+ (self.strict_ns_domain & self.DomainRFC2965Match)):
1069
+ if not domain_match(erhn, domain):
1070
+ _debug(" effective request-host %s does not domain-match "
1071
+ "%s", erhn, domain)
1072
+ return False
1073
+ if (cookie.version > 0 or
1074
+ (self.strict_ns_domain & self.DomainStrictNoDots)):
1075
+ host_prefix = req_host[:-len(domain)]
1076
+ if (host_prefix.find(".") >= 0 and
1077
+ not IPV4_RE.search(req_host)):
1078
+ _debug(" host prefix %s for domain %s contains a dot",
1079
+ host_prefix, domain)
1080
+ return False
1081
+ return True
1082
+
1083
+ def set_ok_port(self, cookie, request):
1084
+ if cookie.port_specified:
1085
+ req_port = request_port(request)
1086
+ if req_port is None:
1087
+ req_port = "80"
1088
+ else:
1089
+ req_port = str(req_port)
1090
+ for p in cookie.port.split(","):
1091
+ try:
1092
+ int(p)
1093
+ except ValueError:
1094
+ _debug(" bad port %s (not numeric)", p)
1095
+ return False
1096
+ if p == req_port:
1097
+ break
1098
+ else:
1099
+ _debug(" request port (%s) not found in %s",
1100
+ req_port, cookie.port)
1101
+ return False
1102
+ return True
1103
+
1104
+ def return_ok(self, cookie, request):
1105
+ """
1106
+ If you override .return_ok(), be sure to call this method. If it
1107
+ returns false, so should your subclass (assuming your subclass wants to
1108
+ be more strict about which cookies to return).
1109
+
1110
+ """
1111
+ # Path has already been checked by .path_return_ok(), and domain
1112
+ # blocking done by .domain_return_ok().
1113
+ _debug(" - checking cookie %s=%s", cookie.name, cookie.value)
1114
+
1115
+ for n in "version", "verifiability", "secure", "expires", "port", "domain":
1116
+ fn_name = "return_ok_"+n
1117
+ fn = getattr(self, fn_name)
1118
+ if not fn(cookie, request):
1119
+ return False
1120
+ return True
1121
+
1122
+ def return_ok_version(self, cookie, request):
1123
+ if cookie.version < 0:
1124
+ _debug(" negative version attribute")
1125
+ return False
1126
+ if cookie.version > 0 and not self.rfc2965:
1127
+ _debug(" RFC 2965 cookies are switched off")
1128
+ return False
1129
+ elif cookie.version == 0 and not self.netscape:
1130
+ _debug(" Netscape cookies are switched off")
1131
+ return False
1132
+ return True
1133
+
1134
+ def return_ok_verifiability(self, cookie, request):
1135
+ if request.unverifiable and is_third_party(request):
1136
+ if cookie.version > 0 and self.strict_rfc2965_unverifiable:
1137
+ _debug(" third-party RFC 2965 cookie during unverifiable "
1138
+ "transaction")
1139
+ return False
1140
+ elif cookie.version == 0 and self.strict_ns_unverifiable:
1141
+ _debug(" third-party Netscape cookie during unverifiable "
1142
+ "transaction")
1143
+ return False
1144
+ return True
1145
+
1146
+ def return_ok_secure(self, cookie, request):
1147
+ if cookie.secure and request.type not in self.secure_protocols:
1148
+ _debug(" secure cookie with non-secure request")
1149
+ return False
1150
+ return True
1151
+
1152
+ def return_ok_expires(self, cookie, request):
1153
+ if cookie.is_expired(self._now):
1154
+ _debug(" cookie expired")
1155
+ return False
1156
+ return True
1157
+
1158
+ def return_ok_port(self, cookie, request):
1159
+ if cookie.port:
1160
+ req_port = request_port(request)
1161
+ if req_port is None:
1162
+ req_port = "80"
1163
+ for p in cookie.port.split(","):
1164
+ if p == req_port:
1165
+ break
1166
+ else:
1167
+ _debug(" request port %s does not match cookie port %s",
1168
+ req_port, cookie.port)
1169
+ return False
1170
+ return True
1171
+
1172
+ def return_ok_domain(self, cookie, request):
1173
+ req_host, erhn = eff_request_host(request)
1174
+ domain = cookie.domain
1175
+
1176
+ if domain and not domain.startswith("."):
1177
+ dotdomain = "." + domain
1178
+ else:
1179
+ dotdomain = domain
1180
+
1181
+ # strict check of non-domain cookies: Mozilla does this, MSIE5 doesn't
1182
+ if (cookie.version == 0 and
1183
+ (self.strict_ns_domain & self.DomainStrictNonDomain) and
1184
+ not cookie.domain_specified and domain != erhn):
1185
+ _debug(" cookie with unspecified domain does not string-compare "
1186
+ "equal to request domain")
1187
+ return False
1188
+
1189
+ if cookie.version > 0 and not domain_match(erhn, domain):
1190
+ _debug(" effective request-host name %s does not domain-match "
1191
+ "RFC 2965 cookie domain %s", erhn, domain)
1192
+ return False
1193
+ if cookie.version == 0 and not ("."+erhn).endswith(dotdomain):
1194
+ _debug(" request-host %s does not match Netscape cookie domain "
1195
+ "%s", req_host, domain)
1196
+ return False
1197
+ return True
1198
+
1199
+ def domain_return_ok(self, domain, request):
1200
+ # Liberal check of. This is here as an optimization to avoid
1201
+ # having to load lots of MSIE cookie files unless necessary.
1202
+ req_host, erhn = eff_request_host(request)
1203
+ if not req_host.startswith("."):
1204
+ req_host = "."+req_host
1205
+ if not erhn.startswith("."):
1206
+ erhn = "."+erhn
1207
+ if domain and not domain.startswith("."):
1208
+ dotdomain = "." + domain
1209
+ else:
1210
+ dotdomain = domain
1211
+ if not (req_host.endswith(dotdomain) or erhn.endswith(dotdomain)):
1212
+ #_debug(" request domain %s does not match cookie domain %s",
1213
+ # req_host, domain)
1214
+ return False
1215
+
1216
+ if self.is_blocked(domain):
1217
+ _debug(" domain %s is in user block-list", domain)
1218
+ return False
1219
+ if self.is_not_allowed(domain):
1220
+ _debug(" domain %s is not in user allow-list", domain)
1221
+ return False
1222
+
1223
+ return True
1224
+
1225
+ def path_return_ok(self, path, request):
1226
+ _debug("- checking cookie path=%s", path)
1227
+ req_path = request_path(request)
1228
+ pathlen = len(path)
1229
+ if req_path == path:
1230
+ return True
1231
+ elif (req_path.startswith(path) and
1232
+ (path.endswith("/") or req_path[pathlen:pathlen+1] == "/")):
1233
+ return True
1234
+
1235
+ _debug(" %s does not path-match %s", req_path, path)
1236
+ return False
1237
+
1238
+ def deepvalues(mapping):
1239
+ """Iterates over nested mapping, depth-first"""
1240
+ for obj in list(mapping.values()):
1241
+ mapping = False
1242
+ try:
1243
+ obj.items
1244
+ except AttributeError:
1245
+ pass
1246
+ else:
1247
+ mapping = True
1248
+ yield from deepvalues(obj)
1249
+ if not mapping:
1250
+ yield obj
1251
+
1252
+
1253
+ # Used as second parameter to dict.get() method, to distinguish absent
1254
+ # dict key from one with a None value.
1255
+ class Absent: pass
1256
+
1257
+ class CookieJar:
1258
+ """Collection of HTTP cookies.
1259
+
1260
+ You may not need to know about this class: try
1261
+ urllib.request.build_opener(HTTPCookieProcessor).open(url).
1262
+ """
1263
+
1264
+ non_word_re = re.compile(r"\W")
1265
+ quote_re = re.compile(r"([\"\\])")
1266
+ strict_domain_re = re.compile(r"\.?[^.]*")
1267
+ domain_re = re.compile(r"[^.]*")
1268
+ dots_re = re.compile(r"^\.+")
1269
+
1270
+ magic_re = re.compile(r"^\#LWP-Cookies-(\d+\.\d+)", re.ASCII)
1271
+
1272
+ def __init__(self, policy=None):
1273
+ if policy is None:
1274
+ policy = DefaultCookiePolicy()
1275
+ self._policy = policy
1276
+
1277
+ self._cookies_lock = _threading.RLock()
1278
+ self._cookies = {}
1279
+
1280
+ def set_policy(self, policy):
1281
+ self._policy = policy
1282
+
1283
+ def _cookies_for_domain(self, domain, request):
1284
+ cookies = []
1285
+ if not self._policy.domain_return_ok(domain, request):
1286
+ return []
1287
+ _debug("Checking %s for cookies to return", domain)
1288
+ cookies_by_path = self._cookies[domain]
1289
+ for path in cookies_by_path.keys():
1290
+ if not self._policy.path_return_ok(path, request):
1291
+ continue
1292
+ cookies_by_name = cookies_by_path[path]
1293
+ for cookie in cookies_by_name.values():
1294
+ if not self._policy.return_ok(cookie, request):
1295
+ _debug(" not returning cookie")
1296
+ continue
1297
+ _debug(" it's a match")
1298
+ cookies.append(cookie)
1299
+ return cookies
1300
+
1301
+ def _cookies_for_request(self, request):
1302
+ """Return a list of cookies to be returned to server."""
1303
+ cookies = []
1304
+ for domain in self._cookies.keys():
1305
+ cookies.extend(self._cookies_for_domain(domain, request))
1306
+ return cookies
1307
+
1308
+ def _cookie_attrs(self, cookies):
1309
+ """Return a list of cookie-attributes to be returned to server.
1310
+
1311
+ like ['foo="bar"; $Path="/"', ...]
1312
+
1313
+ The $Version attribute is also added when appropriate (currently only
1314
+ once per request).
1315
+
1316
+ """
1317
+ # add cookies in order of most specific (ie. longest) path first
1318
+ cookies.sort(key=lambda a: len(a.path), reverse=True)
1319
+
1320
+ version_set = False
1321
+
1322
+ attrs = []
1323
+ for cookie in cookies:
1324
+ # set version of Cookie header
1325
+ # XXX
1326
+ # What should it be if multiple matching Set-Cookie headers have
1327
+ # different versions themselves?
1328
+ # Answer: there is no answer; was supposed to be settled by
1329
+ # RFC 2965 errata, but that may never appear...
1330
+ version = cookie.version
1331
+ if not version_set:
1332
+ version_set = True
1333
+ if version > 0:
1334
+ attrs.append("$Version=%s" % version)
1335
+
1336
+ # quote cookie value if necessary
1337
+ # (not for Netscape protocol, which already has any quotes
1338
+ # intact, due to the poorly-specified Netscape Cookie: syntax)
1339
+ if ((cookie.value is not None) and
1340
+ self.non_word_re.search(cookie.value) and version > 0):
1341
+ value = self.quote_re.sub(r"\\\1", cookie.value)
1342
+ else:
1343
+ value = cookie.value
1344
+
1345
+ # add cookie-attributes to be returned in Cookie header
1346
+ if cookie.value is None:
1347
+ attrs.append(cookie.name)
1348
+ else:
1349
+ attrs.append("%s=%s" % (cookie.name, value))
1350
+ if version > 0:
1351
+ if cookie.path_specified:
1352
+ attrs.append('$Path="%s"' % cookie.path)
1353
+ if cookie.domain.startswith("."):
1354
+ domain = cookie.domain
1355
+ if (not cookie.domain_initial_dot and
1356
+ domain.startswith(".")):
1357
+ domain = domain[1:]
1358
+ attrs.append('$Domain="%s"' % domain)
1359
+ if cookie.port is not None:
1360
+ p = "$Port"
1361
+ if cookie.port_specified:
1362
+ p = p + ('="%s"' % cookie.port)
1363
+ attrs.append(p)
1364
+
1365
+ return attrs
1366
+
1367
+ def add_cookie_header(self, request):
1368
+ """Add correct Cookie: header to request (urllib.request.Request object).
1369
+
1370
+ The Cookie2 header is also added unless policy.hide_cookie2 is true.
1371
+
1372
+ """
1373
+ _debug("add_cookie_header")
1374
+ self._cookies_lock.acquire()
1375
+ try:
1376
+
1377
+ self._policy._now = self._now = int(time.time())
1378
+
1379
+ cookies = self._cookies_for_request(request)
1380
+
1381
+ attrs = self._cookie_attrs(cookies)
1382
+ if attrs:
1383
+ if not request.has_header("Cookie"):
1384
+ request.add_unredirected_header(
1385
+ "Cookie", "; ".join(attrs))
1386
+
1387
+ # if necessary, advertise that we know RFC 2965
1388
+ if (self._policy.rfc2965 and not self._policy.hide_cookie2 and
1389
+ not request.has_header("Cookie2")):
1390
+ for cookie in cookies:
1391
+ if cookie.version != 1:
1392
+ request.add_unredirected_header("Cookie2", '$Version="1"')
1393
+ break
1394
+
1395
+ finally:
1396
+ self._cookies_lock.release()
1397
+
1398
+ self.clear_expired_cookies()
1399
+
1400
+ def _normalized_cookie_tuples(self, attrs_set):
1401
+ """Return list of tuples containing normalised cookie information.
1402
+
1403
+ attrs_set is the list of lists of key,value pairs extracted from
1404
+ the Set-Cookie or Set-Cookie2 headers.
1405
+
1406
+ Tuples are name, value, standard, rest, where name and value are the
1407
+ cookie name and value, standard is a dictionary containing the standard
1408
+ cookie-attributes (discard, secure, version, expires or max-age,
1409
+ domain, path and port) and rest is a dictionary containing the rest of
1410
+ the cookie-attributes.
1411
+
1412
+ """
1413
+ cookie_tuples = []
1414
+
1415
+ boolean_attrs = "discard", "secure"
1416
+ value_attrs = ("version",
1417
+ "expires", "max-age",
1418
+ "domain", "path", "port",
1419
+ "comment", "commenturl")
1420
+
1421
+ for cookie_attrs in attrs_set:
1422
+ name, value = cookie_attrs[0]
1423
+
1424
+ # Build dictionary of standard cookie-attributes (standard) and
1425
+ # dictionary of other cookie-attributes (rest).
1426
+
1427
+ # Note: expiry time is normalised to seconds since epoch. V0
1428
+ # cookies should have the Expires cookie-attribute, and V1 cookies
1429
+ # should have Max-Age, but since V1 includes RFC 2109 cookies (and
1430
+ # since V0 cookies may be a mish-mash of Netscape and RFC 2109), we
1431
+ # accept either (but prefer Max-Age).
1432
+ max_age_set = False
1433
+
1434
+ bad_cookie = False
1435
+
1436
+ standard = {}
1437
+ rest = {}
1438
+ for k, v in cookie_attrs[1:]:
1439
+ lc = k.lower()
1440
+ # don't lose case distinction for unknown fields
1441
+ if lc in value_attrs or lc in boolean_attrs:
1442
+ k = lc
1443
+ if k in boolean_attrs and v is None:
1444
+ # boolean cookie-attribute is present, but has no value
1445
+ # (like "discard", rather than "port=80")
1446
+ v = True
1447
+ if k in standard:
1448
+ # only first value is significant
1449
+ continue
1450
+ if k == "domain":
1451
+ if v is None:
1452
+ _debug(" missing value for domain attribute")
1453
+ bad_cookie = True
1454
+ break
1455
+ # RFC 2965 section 3.3.3
1456
+ v = v.lower()
1457
+ if k == "expires":
1458
+ if max_age_set:
1459
+ # Prefer max-age to expires (like Mozilla)
1460
+ continue
1461
+ if v is None:
1462
+ _debug(" missing or invalid value for expires "
1463
+ "attribute: treating as session cookie")
1464
+ continue
1465
+ if k == "max-age":
1466
+ max_age_set = True
1467
+ try:
1468
+ v = int(v)
1469
+ except ValueError:
1470
+ _debug(" missing or invalid (non-numeric) value for "
1471
+ "max-age attribute")
1472
+ bad_cookie = True
1473
+ break
1474
+ # convert RFC 2965 Max-Age to seconds since epoch
1475
+ # XXX Strictly you're supposed to follow RFC 2616
1476
+ # age-calculation rules. Remember that zero Max-Age
1477
+ # is a request to discard (old and new) cookie, though.
1478
+ k = "expires"
1479
+ v = self._now + v
1480
+ if (k in value_attrs) or (k in boolean_attrs):
1481
+ if (v is None and
1482
+ k not in ("port", "comment", "commenturl")):
1483
+ _debug(" missing value for %s attribute" % k)
1484
+ bad_cookie = True
1485
+ break
1486
+ standard[k] = v
1487
+ else:
1488
+ rest[k] = v
1489
+
1490
+ if bad_cookie:
1491
+ continue
1492
+
1493
+ cookie_tuples.append((name, value, standard, rest))
1494
+
1495
+ return cookie_tuples
1496
+
1497
+ def _cookie_from_cookie_tuple(self, tup, request):
1498
+ # standard is dict of standard cookie-attributes, rest is dict of the
1499
+ # rest of them
1500
+ name, value, standard, rest = tup
1501
+
1502
+ domain = standard.get("domain", Absent)
1503
+ path = standard.get("path", Absent)
1504
+ port = standard.get("port", Absent)
1505
+ expires = standard.get("expires", Absent)
1506
+
1507
+ # set the easy defaults
1508
+ version = standard.get("version", None)
1509
+ if version is not None:
1510
+ try:
1511
+ version = int(version)
1512
+ except ValueError:
1513
+ return None # invalid version, ignore cookie
1514
+ if version < 0:
1515
+ return None # invalid version, ignore cookie
1516
+ secure = standard.get("secure", False)
1517
+ # (discard is also set if expires is Absent)
1518
+ discard = standard.get("discard", False)
1519
+ comment = standard.get("comment", None)
1520
+ comment_url = standard.get("commenturl", None)
1521
+
1522
+ # set default path
1523
+ if path is not Absent and path != "":
1524
+ path_specified = True
1525
+ path = escape_path(path)
1526
+ else:
1527
+ path_specified = False
1528
+ path = request_path(request)
1529
+ i = path.rfind("/")
1530
+ if i != -1:
1531
+ if version == 0:
1532
+ # Netscape spec parts company from reality here
1533
+ path = path[:i]
1534
+ else:
1535
+ path = path[:i+1]
1536
+ if len(path) == 0: path = "/"
1537
+
1538
+ # set default domain
1539
+ domain_specified = domain is not Absent
1540
+ # but first we have to remember whether it starts with a dot
1541
+ domain_initial_dot = False
1542
+ if domain_specified:
1543
+ domain_initial_dot = bool(domain.startswith("."))
1544
+ if domain is Absent:
1545
+ req_host, erhn = eff_request_host(request)
1546
+ domain = erhn
1547
+ elif not domain.startswith("."):
1548
+ domain = "."+domain
1549
+
1550
+ # set default port
1551
+ port_specified = False
1552
+ if port is not Absent:
1553
+ if port is None:
1554
+ # Port attr present, but has no value: default to request port.
1555
+ # Cookie should then only be sent back on that port.
1556
+ port = request_port(request)
1557
+ else:
1558
+ port_specified = True
1559
+ port = re.sub(r"\s+", "", port)
1560
+ else:
1561
+ # No port attr present. Cookie can be sent back on any port.
1562
+ port = None
1563
+
1564
+ # set default expires and discard
1565
+ if expires is Absent:
1566
+ expires = None
1567
+ discard = True
1568
+ elif expires <= self._now:
1569
+ # Expiry date in past is request to delete cookie. This can't be
1570
+ # in DefaultCookiePolicy, because can't delete cookies there.
1571
+ try:
1572
+ self.clear(domain, path, name)
1573
+ except KeyError:
1574
+ pass
1575
+ _debug("Expiring cookie, domain='%s', path='%s', name='%s'",
1576
+ domain, path, name)
1577
+ return None
1578
+
1579
+ return Cookie(version,
1580
+ name, value,
1581
+ port, port_specified,
1582
+ domain, domain_specified, domain_initial_dot,
1583
+ path, path_specified,
1584
+ secure,
1585
+ expires,
1586
+ discard,
1587
+ comment,
1588
+ comment_url,
1589
+ rest)
1590
+
1591
+ def _cookies_from_attrs_set(self, attrs_set, request):
1592
+ cookie_tuples = self._normalized_cookie_tuples(attrs_set)
1593
+
1594
+ cookies = []
1595
+ for tup in cookie_tuples:
1596
+ cookie = self._cookie_from_cookie_tuple(tup, request)
1597
+ if cookie: cookies.append(cookie)
1598
+ return cookies
1599
+
1600
+ def _process_rfc2109_cookies(self, cookies):
1601
+ rfc2109_as_ns = getattr(self._policy, 'rfc2109_as_netscape', None)
1602
+ if rfc2109_as_ns is None:
1603
+ rfc2109_as_ns = not self._policy.rfc2965
1604
+ for cookie in cookies:
1605
+ if cookie.version == 1:
1606
+ cookie.rfc2109 = True
1607
+ if rfc2109_as_ns:
1608
+ # treat 2109 cookies as Netscape cookies rather than
1609
+ # as RFC2965 cookies
1610
+ cookie.version = 0
1611
+
1612
+ def make_cookies(self, response, request):
1613
+ """Return sequence of Cookie objects extracted from response object."""
1614
+ # get cookie-attributes for RFC 2965 and Netscape protocols
1615
+ headers = response.info()
1616
+ rfc2965_hdrs = headers.get_all("Set-Cookie2", [])
1617
+ ns_hdrs = headers.get_all("Set-Cookie", [])
1618
+ self._policy._now = self._now = int(time.time())
1619
+
1620
+ rfc2965 = self._policy.rfc2965
1621
+ netscape = self._policy.netscape
1622
+
1623
+ if ((not rfc2965_hdrs and not ns_hdrs) or
1624
+ (not ns_hdrs and not rfc2965) or
1625
+ (not rfc2965_hdrs and not netscape) or
1626
+ (not netscape and not rfc2965)):
1627
+ return [] # no relevant cookie headers: quick exit
1628
+
1629
+ try:
1630
+ cookies = self._cookies_from_attrs_set(
1631
+ split_header_words(rfc2965_hdrs), request)
1632
+ except Exception:
1633
+ _warn_unhandled_exception()
1634
+ cookies = []
1635
+
1636
+ if ns_hdrs and netscape:
1637
+ try:
1638
+ # RFC 2109 and Netscape cookies
1639
+ ns_cookies = self._cookies_from_attrs_set(
1640
+ parse_ns_headers(ns_hdrs), request)
1641
+ except Exception:
1642
+ _warn_unhandled_exception()
1643
+ ns_cookies = []
1644
+ self._process_rfc2109_cookies(ns_cookies)
1645
+
1646
+ # Look for Netscape cookies (from Set-Cookie headers) that match
1647
+ # corresponding RFC 2965 cookies (from Set-Cookie2 headers).
1648
+ # For each match, keep the RFC 2965 cookie and ignore the Netscape
1649
+ # cookie (RFC 2965 section 9.1). Actually, RFC 2109 cookies are
1650
+ # bundled in with the Netscape cookies for this purpose, which is
1651
+ # reasonable behaviour.
1652
+ if rfc2965:
1653
+ lookup = {}
1654
+ for cookie in cookies:
1655
+ lookup[(cookie.domain, cookie.path, cookie.name)] = None
1656
+
1657
+ def no_matching_rfc2965(ns_cookie, lookup=lookup):
1658
+ key = ns_cookie.domain, ns_cookie.path, ns_cookie.name
1659
+ return key not in lookup
1660
+ ns_cookies = filter(no_matching_rfc2965, ns_cookies)
1661
+
1662
+ if ns_cookies:
1663
+ cookies.extend(ns_cookies)
1664
+
1665
+ return cookies
1666
+
1667
+ def set_cookie_if_ok(self, cookie, request):
1668
+ """Set a cookie if policy says it's OK to do so."""
1669
+ self._cookies_lock.acquire()
1670
+ try:
1671
+ self._policy._now = self._now = int(time.time())
1672
+
1673
+ if self._policy.set_ok(cookie, request):
1674
+ self.set_cookie(cookie)
1675
+
1676
+
1677
+ finally:
1678
+ self._cookies_lock.release()
1679
+
1680
+ def set_cookie(self, cookie):
1681
+ """Set a cookie, without checking whether or not it should be set."""
1682
+ c = self._cookies
1683
+ self._cookies_lock.acquire()
1684
+ try:
1685
+ if cookie.domain not in c: c[cookie.domain] = {}
1686
+ c2 = c[cookie.domain]
1687
+ if cookie.path not in c2: c2[cookie.path] = {}
1688
+ c3 = c2[cookie.path]
1689
+ c3[cookie.name] = cookie
1690
+ finally:
1691
+ self._cookies_lock.release()
1692
+
1693
+ def extract_cookies(self, response, request):
1694
+ """Extract cookies from response, where allowable given the request."""
1695
+ _debug("extract_cookies: %s", response.info())
1696
+ self._cookies_lock.acquire()
1697
+ try:
1698
+ for cookie in self.make_cookies(response, request):
1699
+ if self._policy.set_ok(cookie, request):
1700
+ _debug(" setting cookie: %s", cookie)
1701
+ self.set_cookie(cookie)
1702
+ finally:
1703
+ self._cookies_lock.release()
1704
+
1705
+ def clear(self, domain=None, path=None, name=None):
1706
+ """Clear some cookies.
1707
+
1708
+ Invoking this method without arguments will clear all cookies. If
1709
+ given a single argument, only cookies belonging to that domain will be
1710
+ removed. If given two arguments, cookies belonging to the specified
1711
+ path within that domain are removed. If given three arguments, then
1712
+ the cookie with the specified name, path and domain is removed.
1713
+
1714
+ Raises KeyError if no matching cookie exists.
1715
+
1716
+ """
1717
+ if name is not None:
1718
+ if (domain is None) or (path is None):
1719
+ raise ValueError(
1720
+ "domain and path must be given to remove a cookie by name")
1721
+ del self._cookies[domain][path][name]
1722
+ elif path is not None:
1723
+ if domain is None:
1724
+ raise ValueError(
1725
+ "domain must be given to remove cookies by path")
1726
+ del self._cookies[domain][path]
1727
+ elif domain is not None:
1728
+ del self._cookies[domain]
1729
+ else:
1730
+ self._cookies = {}
1731
+
1732
+ def clear_session_cookies(self):
1733
+ """Discard all session cookies.
1734
+
1735
+ Note that the .save() method won't save session cookies anyway, unless
1736
+ you ask otherwise by passing a true ignore_discard argument.
1737
+
1738
+ """
1739
+ self._cookies_lock.acquire()
1740
+ try:
1741
+ for cookie in self:
1742
+ if cookie.discard:
1743
+ self.clear(cookie.domain, cookie.path, cookie.name)
1744
+ finally:
1745
+ self._cookies_lock.release()
1746
+
1747
+ def clear_expired_cookies(self):
1748
+ """Discard all expired cookies.
1749
+
1750
+ You probably don't need to call this method: expired cookies are never
1751
+ sent back to the server (provided you're using DefaultCookiePolicy),
1752
+ this method is called by CookieJar itself every so often, and the
1753
+ .save() method won't save expired cookies anyway (unless you ask
1754
+ otherwise by passing a true ignore_expires argument).
1755
+
1756
+ """
1757
+ self._cookies_lock.acquire()
1758
+ try:
1759
+ now = time.time()
1760
+ for cookie in self:
1761
+ if cookie.is_expired(now):
1762
+ self.clear(cookie.domain, cookie.path, cookie.name)
1763
+ finally:
1764
+ self._cookies_lock.release()
1765
+
1766
+ def __iter__(self):
1767
+ return deepvalues(self._cookies)
1768
+
1769
+ def __len__(self):
1770
+ """Return number of contained cookies."""
1771
+ i = 0
1772
+ for cookie in self: i = i + 1
1773
+ return i
1774
+
1775
+ def __repr__(self):
1776
+ r = []
1777
+ for cookie in self: r.append(repr(cookie))
1778
+ return "<%s[%s]>" % (self.__class__.__name__, ", ".join(r))
1779
+
1780
+ def __str__(self):
1781
+ r = []
1782
+ for cookie in self: r.append(str(cookie))
1783
+ return "<%s[%s]>" % (self.__class__.__name__, ", ".join(r))
1784
+
1785
+
1786
+ # derives from OSError for backwards-compatibility with Python 2.4.0
1787
+ class LoadError(OSError): pass
1788
+
1789
+ class FileCookieJar(CookieJar):
1790
+ """CookieJar that can be loaded from and saved to a file."""
1791
+
1792
+ def __init__(self, filename=None, delayload=False, policy=None):
1793
+ """
1794
+ Cookies are NOT loaded from the named file until either the .load() or
1795
+ .revert() method is called.
1796
+
1797
+ """
1798
+ CookieJar.__init__(self, policy)
1799
+ if filename is not None:
1800
+ filename = os.fspath(filename)
1801
+ self.filename = filename
1802
+ self.delayload = bool(delayload)
1803
+
1804
+ def save(self, filename=None, ignore_discard=False, ignore_expires=False):
1805
+ """Save cookies to a file."""
1806
+ raise NotImplementedError()
1807
+
1808
+ def load(self, filename=None, ignore_discard=False, ignore_expires=False):
1809
+ """Load cookies from a file."""
1810
+ if filename is None:
1811
+ if self.filename is not None: filename = self.filename
1812
+ else: raise ValueError(MISSING_FILENAME_TEXT)
1813
+
1814
+ with open(filename) as f:
1815
+ self._really_load(f, filename, ignore_discard, ignore_expires)
1816
+
1817
+ def revert(self, filename=None,
1818
+ ignore_discard=False, ignore_expires=False):
1819
+ """Clear all cookies and reload cookies from a saved file.
1820
+
1821
+ Raises LoadError (or OSError) if reversion is not successful; the
1822
+ object's state will not be altered if this happens.
1823
+
1824
+ """
1825
+ if filename is None:
1826
+ if self.filename is not None: filename = self.filename
1827
+ else: raise ValueError(MISSING_FILENAME_TEXT)
1828
+
1829
+ self._cookies_lock.acquire()
1830
+ try:
1831
+
1832
+ old_state = copy.deepcopy(self._cookies)
1833
+ self._cookies = {}
1834
+ try:
1835
+ self.load(filename, ignore_discard, ignore_expires)
1836
+ except OSError:
1837
+ self._cookies = old_state
1838
+ raise
1839
+
1840
+ finally:
1841
+ self._cookies_lock.release()
1842
+
1843
+
1844
+ def lwp_cookie_str(cookie):
1845
+ """Return string representation of Cookie in the LWP cookie file format.
1846
+
1847
+ Actually, the format is extended a bit -- see module docstring.
1848
+
1849
+ """
1850
+ h = [(cookie.name, cookie.value),
1851
+ ("path", cookie.path),
1852
+ ("domain", cookie.domain)]
1853
+ if cookie.port is not None: h.append(("port", cookie.port))
1854
+ if cookie.path_specified: h.append(("path_spec", None))
1855
+ if cookie.port_specified: h.append(("port_spec", None))
1856
+ if cookie.domain_initial_dot: h.append(("domain_dot", None))
1857
+ if cookie.secure: h.append(("secure", None))
1858
+ if cookie.expires: h.append(("expires",
1859
+ time2isoz(float(cookie.expires))))
1860
+ if cookie.discard: h.append(("discard", None))
1861
+ if cookie.comment: h.append(("comment", cookie.comment))
1862
+ if cookie.comment_url: h.append(("commenturl", cookie.comment_url))
1863
+
1864
+ keys = sorted(cookie._rest.keys())
1865
+ for k in keys:
1866
+ h.append((k, str(cookie._rest[k])))
1867
+
1868
+ h.append(("version", str(cookie.version)))
1869
+
1870
+ return join_header_words([h])
1871
+
1872
+ class LWPCookieJar(FileCookieJar):
1873
+ """
1874
+ The LWPCookieJar saves a sequence of "Set-Cookie3" lines.
1875
+ "Set-Cookie3" is the format used by the libwww-perl library, not known
1876
+ to be compatible with any browser, but which is easy to read and
1877
+ doesn't lose information about RFC 2965 cookies.
1878
+
1879
+ Additional methods
1880
+
1881
+ as_lwp_str(ignore_discard=True, ignore_expired=True)
1882
+
1883
+ """
1884
+
1885
+ def as_lwp_str(self, ignore_discard=True, ignore_expires=True):
1886
+ """Return cookies as a string of "\\n"-separated "Set-Cookie3" headers.
1887
+
1888
+ ignore_discard and ignore_expires: see docstring for FileCookieJar.save
1889
+
1890
+ """
1891
+ now = time.time()
1892
+ r = []
1893
+ for cookie in self:
1894
+ if not ignore_discard and cookie.discard:
1895
+ continue
1896
+ if not ignore_expires and cookie.is_expired(now):
1897
+ continue
1898
+ r.append("Set-Cookie3: %s" % lwp_cookie_str(cookie))
1899
+ return "\n".join(r+[""])
1900
+
1901
+ def save(self, filename=None, ignore_discard=False, ignore_expires=False):
1902
+ if filename is None:
1903
+ if self.filename is not None: filename = self.filename
1904
+ else: raise ValueError(MISSING_FILENAME_TEXT)
1905
+
1906
+ with os.fdopen(
1907
+ os.open(filename, os.O_CREAT | os.O_WRONLY | os.O_TRUNC, 0o600),
1908
+ 'w',
1909
+ ) as f:
1910
+ # There really isn't an LWP Cookies 2.0 format, but this indicates
1911
+ # that there is extra information in here (domain_dot and
1912
+ # port_spec) while still being compatible with libwww-perl, I hope.
1913
+ f.write("#LWP-Cookies-2.0\n")
1914
+ f.write(self.as_lwp_str(ignore_discard, ignore_expires))
1915
+
1916
+ def _really_load(self, f, filename, ignore_discard, ignore_expires):
1917
+ magic = f.readline()
1918
+ if not self.magic_re.search(magic):
1919
+ msg = ("%r does not look like a Set-Cookie3 (LWP) format "
1920
+ "file" % filename)
1921
+ raise LoadError(msg)
1922
+
1923
+ now = time.time()
1924
+
1925
+ header = "Set-Cookie3:"
1926
+ boolean_attrs = ("port_spec", "path_spec", "domain_dot",
1927
+ "secure", "discard")
1928
+ value_attrs = ("version",
1929
+ "port", "path", "domain",
1930
+ "expires",
1931
+ "comment", "commenturl")
1932
+
1933
+ try:
1934
+ while (line := f.readline()) != "":
1935
+ if not line.startswith(header):
1936
+ continue
1937
+ line = line[len(header):].strip()
1938
+
1939
+ for data in split_header_words([line]):
1940
+ name, value = data[0]
1941
+ standard = {}
1942
+ rest = {}
1943
+ for k in boolean_attrs:
1944
+ standard[k] = False
1945
+ for k, v in data[1:]:
1946
+ if k is not None:
1947
+ lc = k.lower()
1948
+ else:
1949
+ lc = None
1950
+ # don't lose case distinction for unknown fields
1951
+ if (lc in value_attrs) or (lc in boolean_attrs):
1952
+ k = lc
1953
+ if k in boolean_attrs:
1954
+ if v is None: v = True
1955
+ standard[k] = v
1956
+ elif k in value_attrs:
1957
+ standard[k] = v
1958
+ else:
1959
+ rest[k] = v
1960
+
1961
+ h = standard.get
1962
+ expires = h("expires")
1963
+ discard = h("discard")
1964
+ if expires is not None:
1965
+ expires = iso2time(expires)
1966
+ if expires is None:
1967
+ discard = True
1968
+ domain = h("domain")
1969
+ domain_specified = domain.startswith(".")
1970
+ c = Cookie(h("version"), name, value,
1971
+ h("port"), h("port_spec"),
1972
+ domain, domain_specified, h("domain_dot"),
1973
+ h("path"), h("path_spec"),
1974
+ h("secure"),
1975
+ expires,
1976
+ discard,
1977
+ h("comment"),
1978
+ h("commenturl"),
1979
+ rest)
1980
+ if not ignore_discard and c.discard:
1981
+ continue
1982
+ if not ignore_expires and c.is_expired(now):
1983
+ continue
1984
+ self.set_cookie(c)
1985
+ except OSError:
1986
+ raise
1987
+ except Exception:
1988
+ _warn_unhandled_exception()
1989
+ raise LoadError("invalid Set-Cookie3 format file %r: %r" %
1990
+ (filename, line))
1991
+
1992
+
1993
+ class MozillaCookieJar(FileCookieJar):
1994
+ """
1995
+
1996
+ WARNING: you may want to backup your browser's cookies file if you use
1997
+ this class to save cookies. I *think* it works, but there have been
1998
+ bugs in the past!
1999
+
2000
+ This class differs from CookieJar only in the format it uses to save and
2001
+ load cookies to and from a file. This class uses the Mozilla/Netscape
2002
+ 'cookies.txt' format. curl and lynx use this file format, too.
2003
+
2004
+ Don't expect cookies saved while the browser is running to be noticed by
2005
+ the browser (in fact, Mozilla on unix will overwrite your saved cookies if
2006
+ you change them on disk while it's running; on Windows, you probably can't
2007
+ save at all while the browser is running).
2008
+
2009
+ Note that the Mozilla/Netscape format will downgrade RFC2965 cookies to
2010
+ Netscape cookies on saving.
2011
+
2012
+ In particular, the cookie version and port number information is lost,
2013
+ together with information about whether or not Path, Port and Discard were
2014
+ specified by the Set-Cookie2 (or Set-Cookie) header, and whether or not the
2015
+ domain as set in the HTTP header started with a dot (yes, I'm aware some
2016
+ domains in Netscape files start with a dot and some don't -- trust me, you
2017
+ really don't want to know any more about this).
2018
+
2019
+ Note that though Mozilla and Netscape use the same format, they use
2020
+ slightly different headers. The class saves cookies using the Netscape
2021
+ header by default (Mozilla can cope with that).
2022
+
2023
+ """
2024
+
2025
+ def _really_load(self, f, filename, ignore_discard, ignore_expires):
2026
+ now = time.time()
2027
+
2028
+ if not NETSCAPE_MAGIC_RGX.match(f.readline()):
2029
+ raise LoadError(
2030
+ "%r does not look like a Netscape format cookies file" %
2031
+ filename)
2032
+
2033
+ try:
2034
+ while (line := f.readline()) != "":
2035
+ rest = {}
2036
+
2037
+ # httponly is a cookie flag as defined in rfc6265
2038
+ # when encoded in a netscape cookie file,
2039
+ # the line is prepended with "#HttpOnly_"
2040
+ if line.startswith(HTTPONLY_PREFIX):
2041
+ rest[HTTPONLY_ATTR] = ""
2042
+ line = line[len(HTTPONLY_PREFIX):]
2043
+
2044
+ # last field may be absent, so keep any trailing tab
2045
+ if line.endswith("\n"): line = line[:-1]
2046
+
2047
+ # skip comments and blank lines XXX what is $ for?
2048
+ if (line.strip().startswith(("#", "$")) or
2049
+ line.strip() == ""):
2050
+ continue
2051
+
2052
+ domain, domain_specified, path, secure, expires, name, value = \
2053
+ line.split("\t")
2054
+ secure = (secure == "TRUE")
2055
+ domain_specified = (domain_specified == "TRUE")
2056
+ if name == "":
2057
+ # cookies.txt regards 'Set-Cookie: foo' as a cookie
2058
+ # with no name, whereas http.cookiejar regards it as a
2059
+ # cookie with no value.
2060
+ name = value
2061
+ value = None
2062
+
2063
+ initial_dot = domain.startswith(".")
2064
+ assert domain_specified == initial_dot
2065
+
2066
+ discard = False
2067
+ # curl and Wget set expires to 0 for session cookies.
2068
+ if expires == "0" or expires == "":
2069
+ expires = None
2070
+ discard = True
2071
+
2072
+ # assume path_specified is false
2073
+ c = Cookie(0, name, value,
2074
+ None, False,
2075
+ domain, domain_specified, initial_dot,
2076
+ path, False,
2077
+ secure,
2078
+ expires,
2079
+ discard,
2080
+ None,
2081
+ None,
2082
+ rest)
2083
+ if not ignore_discard and c.discard:
2084
+ continue
2085
+ if not ignore_expires and c.is_expired(now):
2086
+ continue
2087
+ self.set_cookie(c)
2088
+
2089
+ except OSError:
2090
+ raise
2091
+ except Exception:
2092
+ _warn_unhandled_exception()
2093
+ raise LoadError("invalid Netscape format cookies file %r: %r" %
2094
+ (filename, line))
2095
+
2096
+ def save(self, filename=None, ignore_discard=False, ignore_expires=False):
2097
+ if filename is None:
2098
+ if self.filename is not None: filename = self.filename
2099
+ else: raise ValueError(MISSING_FILENAME_TEXT)
2100
+
2101
+ with os.fdopen(
2102
+ os.open(filename, os.O_CREAT | os.O_WRONLY | os.O_TRUNC, 0o600),
2103
+ 'w',
2104
+ ) as f:
2105
+ f.write(NETSCAPE_HEADER_TEXT)
2106
+ now = time.time()
2107
+ for cookie in self:
2108
+ domain = cookie.domain
2109
+ if not ignore_discard and cookie.discard:
2110
+ continue
2111
+ if not ignore_expires and cookie.is_expired(now):
2112
+ continue
2113
+ if cookie.secure: secure = "TRUE"
2114
+ else: secure = "FALSE"
2115
+ if domain.startswith("."): initial_dot = "TRUE"
2116
+ else: initial_dot = "FALSE"
2117
+ if cookie.expires is not None:
2118
+ expires = str(cookie.expires)
2119
+ else:
2120
+ expires = ""
2121
+ if cookie.value is None:
2122
+ # cookies.txt regards 'Set-Cookie: foo' as a cookie
2123
+ # with no name, whereas http.cookiejar regards it as a
2124
+ # cookie with no value.
2125
+ name = ""
2126
+ value = cookie.name
2127
+ else:
2128
+ name = cookie.name
2129
+ value = cookie.value
2130
+ if cookie.has_nonstandard_attr(HTTPONLY_ATTR):
2131
+ domain = HTTPONLY_PREFIX + domain
2132
+ f.write(
2133
+ "\t".join([domain, initial_dot, cookie.path,
2134
+ secure, expires, name, value])+
2135
+ "\n")