@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,2169 @@
1
+ import sys
2
+ import builtins as bltns
3
+ from types import MappingProxyType, DynamicClassAttribute
4
+
5
+
6
+ __all__ = [
7
+ 'EnumType', 'EnumMeta', 'EnumDict',
8
+ 'Enum', 'IntEnum', 'StrEnum', 'Flag', 'IntFlag', 'ReprEnum',
9
+ 'auto', 'unique', 'property', 'verify', 'member', 'nonmember',
10
+ 'FlagBoundary', 'STRICT', 'CONFORM', 'EJECT', 'KEEP',
11
+ 'global_flag_repr', 'global_enum_repr', 'global_str', 'global_enum',
12
+ 'EnumCheck', 'CONTINUOUS', 'NAMED_FLAGS', 'UNIQUE',
13
+ 'pickle_by_global_name', 'pickle_by_enum_name',
14
+ ]
15
+
16
+
17
+ # Dummy value for Enum and Flag as there are explicit checks for them
18
+ # before they have been created.
19
+ # This is also why there are checks in EnumType like `if Enum is not None`
20
+ Enum = Flag = EJECT = _stdlib_enums = ReprEnum = None
21
+
22
+ class nonmember(object):
23
+ """
24
+ Protects item from becoming an Enum member during class creation.
25
+ """
26
+ def __init__(self, value):
27
+ self.value = value
28
+
29
+ class member(object):
30
+ """
31
+ Forces item to become an Enum member during class creation.
32
+ """
33
+ def __init__(self, value):
34
+ self.value = value
35
+
36
+ def _is_descriptor(obj):
37
+ """
38
+ Returns True if obj is a descriptor, False otherwise.
39
+ """
40
+ return (
41
+ hasattr(obj, '__get__') or
42
+ hasattr(obj, '__set__') or
43
+ hasattr(obj, '__delete__')
44
+ )
45
+
46
+ def _is_dunder(name):
47
+ """
48
+ Returns True if a __dunder__ name, False otherwise.
49
+ """
50
+ return (
51
+ len(name) > 4 and
52
+ name[:2] == name[-2:] == '__' and
53
+ name[2] != '_' and
54
+ name[-3] != '_'
55
+ )
56
+
57
+ def _is_sunder(name):
58
+ """
59
+ Returns True if a _sunder_ name, False otherwise.
60
+ """
61
+ return (
62
+ len(name) > 2 and
63
+ name[0] == name[-1] == '_' and
64
+ name[1] != '_' and
65
+ name[-2] != '_'
66
+ )
67
+
68
+ def _is_internal_class(cls_name, obj):
69
+ # do not use `re` as `re` imports `enum`
70
+ if not isinstance(obj, type):
71
+ return False
72
+ qualname = getattr(obj, '__qualname__', '')
73
+ s_pattern = cls_name + '.' + getattr(obj, '__name__', '')
74
+ e_pattern = '.' + s_pattern
75
+ return qualname == s_pattern or qualname.endswith(e_pattern)
76
+
77
+ def _is_private(cls_name, name):
78
+ # do not use `re` as `re` imports `enum`
79
+ pattern = '_%s__' % (cls_name, )
80
+ pat_len = len(pattern)
81
+ if (
82
+ len(name) > pat_len
83
+ and name.startswith(pattern)
84
+ and (name[-1] != '_' or name[-2] != '_')
85
+ ):
86
+ return True
87
+ else:
88
+ return False
89
+
90
+ def _is_single_bit(num):
91
+ """
92
+ True if only one bit set in num (should be an int)
93
+ """
94
+ if num == 0:
95
+ return False
96
+ num &= num - 1
97
+ return num == 0
98
+
99
+ def _make_class_unpicklable(obj):
100
+ """
101
+ Make the given obj un-picklable.
102
+
103
+ obj should be either a dictionary, or an Enum
104
+ """
105
+ def _break_on_call_reduce(self, proto):
106
+ raise TypeError('%r cannot be pickled' % self)
107
+ if isinstance(obj, dict):
108
+ obj['__reduce_ex__'] = _break_on_call_reduce
109
+ obj['__module__'] = '<unknown>'
110
+ else:
111
+ setattr(obj, '__reduce_ex__', _break_on_call_reduce)
112
+ setattr(obj, '__module__', '<unknown>')
113
+
114
+ def _iter_bits_lsb(num):
115
+ # num must be a positive integer
116
+ original = num
117
+ if isinstance(num, Enum):
118
+ num = num.value
119
+ if num < 0:
120
+ raise ValueError('%r is not a positive integer' % original)
121
+ while num:
122
+ b = num & (~num + 1)
123
+ yield b
124
+ num ^= b
125
+
126
+ def show_flag_values(value):
127
+ return list(_iter_bits_lsb(value))
128
+
129
+ def bin(num, max_bits=None):
130
+ """
131
+ Like built-in bin(), except negative values are represented in
132
+ twos-complement, and the leading bit always indicates sign
133
+ (0=positive, 1=negative).
134
+
135
+ >>> bin(10)
136
+ '0b0 1010'
137
+ >>> bin(~10) # ~10 is -11
138
+ '0b1 0101'
139
+ """
140
+
141
+ num = num.__index__()
142
+ ceiling = 2 ** (num).bit_length()
143
+ if num >= 0:
144
+ s = bltns.bin(num + ceiling).replace('1', '0', 1)
145
+ else:
146
+ s = bltns.bin(~num ^ (ceiling - 1) + ceiling)
147
+ sign = s[:3]
148
+ digits = s[3:]
149
+ if max_bits is not None:
150
+ if len(digits) < max_bits:
151
+ digits = (sign[-1] * max_bits + digits)[-max_bits:]
152
+ return "%s %s" % (sign, digits)
153
+
154
+ class _not_given:
155
+ def __repr__(self):
156
+ return('<not given>')
157
+ _not_given = _not_given()
158
+
159
+ class _auto_null:
160
+ def __repr__(self):
161
+ return '_auto_null'
162
+ _auto_null = _auto_null()
163
+
164
+ class auto:
165
+ """
166
+ Instances are replaced with an appropriate value in Enum class suites.
167
+ """
168
+ def __init__(self, value=_auto_null):
169
+ self.value = value
170
+
171
+ def __repr__(self):
172
+ return "auto(%r)" % self.value
173
+
174
+ class property(DynamicClassAttribute):
175
+ """
176
+ This is a descriptor, used to define attributes that act differently
177
+ when accessed through an enum member and through an enum class.
178
+ Instance access is the same as property(), but access to an attribute
179
+ through the enum class will instead look in the class' _member_map_ for
180
+ a corresponding enum member.
181
+ """
182
+
183
+ member = None
184
+ _attr_type = None
185
+ _cls_type = None
186
+
187
+ def __get__(self, instance, ownerclass=None):
188
+ if instance is None:
189
+ if self.member is not None:
190
+ return self.member
191
+ else:
192
+ raise AttributeError(
193
+ '%r has no attribute %r' % (ownerclass, self.name)
194
+ )
195
+ if self.fget is not None:
196
+ # use previous enum.property
197
+ return self.fget(instance)
198
+ elif self._attr_type == 'attr':
199
+ # look up previous attribute
200
+ return getattr(self._cls_type, self.name)
201
+ elif self._attr_type == 'desc':
202
+ # use previous descriptor
203
+ return getattr(instance._value_, self.name)
204
+ # look for a member by this name.
205
+ try:
206
+ return ownerclass._member_map_[self.name]
207
+ except KeyError:
208
+ raise AttributeError(
209
+ '%r has no attribute %r' % (ownerclass, self.name)
210
+ ) from None
211
+
212
+ def __set__(self, instance, value):
213
+ if self.fset is not None:
214
+ return self.fset(instance, value)
215
+ raise AttributeError(
216
+ "<enum %r> cannot set attribute %r" % (self.clsname, self.name)
217
+ )
218
+
219
+ def __delete__(self, instance):
220
+ if self.fdel is not None:
221
+ return self.fdel(instance)
222
+ raise AttributeError(
223
+ "<enum %r> cannot delete attribute %r" % (self.clsname, self.name)
224
+ )
225
+
226
+ def __set_name__(self, ownerclass, name):
227
+ self.name = name
228
+ self.clsname = ownerclass.__name__
229
+
230
+
231
+ class _proto_member:
232
+ """
233
+ intermediate step for enum members between class execution and final creation
234
+ """
235
+
236
+ def __init__(self, value):
237
+ self.value = value
238
+
239
+ def __set_name__(self, enum_class, member_name):
240
+ """
241
+ convert each quasi-member into an instance of the new enum class
242
+ """
243
+ # first step: remove ourself from enum_class
244
+ delattr(enum_class, member_name)
245
+ # second step: create member based on enum_class
246
+ value = self.value
247
+ if not isinstance(value, tuple):
248
+ args = (value, )
249
+ else:
250
+ args = value
251
+ if enum_class._member_type_ is tuple: # special case for tuple enums
252
+ args = (args, ) # wrap it one more time
253
+ if not enum_class._use_args_:
254
+ enum_member = enum_class._new_member_(enum_class)
255
+ else:
256
+ enum_member = enum_class._new_member_(enum_class, *args)
257
+ if not hasattr(enum_member, '_value_'):
258
+ if enum_class._member_type_ is object:
259
+ enum_member._value_ = value
260
+ else:
261
+ try:
262
+ enum_member._value_ = enum_class._member_type_(*args)
263
+ except Exception as exc:
264
+ new_exc = TypeError(
265
+ '_value_ not set in __new__, unable to create it'
266
+ )
267
+ new_exc.__cause__ = exc
268
+ raise new_exc
269
+ value = enum_member._value_
270
+ enum_member._name_ = member_name
271
+ enum_member.__objclass__ = enum_class
272
+ enum_member.__init__(*args)
273
+ enum_member._sort_order_ = len(enum_class._member_names_)
274
+
275
+ if Flag is not None and issubclass(enum_class, Flag):
276
+ if isinstance(value, int):
277
+ enum_class._flag_mask_ |= value
278
+ if _is_single_bit(value):
279
+ enum_class._singles_mask_ |= value
280
+ enum_class._all_bits_ = 2 ** ((enum_class._flag_mask_).bit_length()) - 1
281
+
282
+ # If another member with the same value was already defined, the
283
+ # new member becomes an alias to the existing one.
284
+ try:
285
+ try:
286
+ # try to do a fast lookup to avoid the quadratic loop
287
+ enum_member = enum_class._value2member_map_[value]
288
+ except TypeError:
289
+ for name, canonical_member in enum_class._member_map_.items():
290
+ if canonical_member._value_ == value:
291
+ enum_member = canonical_member
292
+ break
293
+ else:
294
+ raise KeyError
295
+ except KeyError:
296
+ # this could still be an alias if the value is multi-bit and the
297
+ # class is a flag class
298
+ if (
299
+ Flag is None
300
+ or not issubclass(enum_class, Flag)
301
+ ):
302
+ # no other instances found, record this member in _member_names_
303
+ enum_class._member_names_.append(member_name)
304
+ elif (
305
+ Flag is not None
306
+ and issubclass(enum_class, Flag)
307
+ and isinstance(value, int)
308
+ and _is_single_bit(value)
309
+ ):
310
+ # no other instances found, record this member in _member_names_
311
+ enum_class._member_names_.append(member_name)
312
+
313
+ enum_class._add_member_(member_name, enum_member)
314
+ try:
315
+ # This may fail if value is not hashable. We can't add the value
316
+ # to the map, and by-value lookups for this value will be
317
+ # linear.
318
+ enum_class._value2member_map_.setdefault(value, enum_member)
319
+ if value not in enum_class._hashable_values_:
320
+ enum_class._hashable_values_.append(value)
321
+ except TypeError:
322
+ # keep track of the value in a list so containment checks are quick
323
+ enum_class._unhashable_values_.append(value)
324
+ enum_class._unhashable_values_map_.setdefault(member_name, []).append(value)
325
+
326
+
327
+ class EnumDict(dict):
328
+ """
329
+ Track enum member order and ensure member names are not reused.
330
+
331
+ EnumType will use the names found in self._member_names as the
332
+ enumeration member names.
333
+ """
334
+ def __init__(self, cls_name=None):
335
+ super().__init__()
336
+ self._member_names = {} # use a dict -- faster look-up than a list, and keeps insertion order since 3.7
337
+ self._last_values = []
338
+ self._ignore = []
339
+ self._auto_called = False
340
+ self._cls_name = cls_name
341
+
342
+ def __setitem__(self, key, value):
343
+ """
344
+ Changes anything not dundered or not a descriptor.
345
+
346
+ If an enum member name is used twice, an error is raised; duplicate
347
+ values are not checked for.
348
+
349
+ Single underscore (sunder) names are reserved.
350
+ """
351
+ if self._cls_name is not None and _is_private(self._cls_name, key):
352
+ # do nothing, name will be a normal attribute
353
+ pass
354
+ elif _is_sunder(key):
355
+ if key not in (
356
+ '_order_',
357
+ '_generate_next_value_', '_numeric_repr_', '_missing_', '_ignore_',
358
+ '_iter_member_', '_iter_member_by_value_', '_iter_member_by_def_',
359
+ '_add_alias_', '_add_value_alias_',
360
+ # While not in use internally, those are common for pretty
361
+ # printing and thus excluded from Enum's reservation of
362
+ # _sunder_ names
363
+ ) and not key.startswith('_repr_'):
364
+ raise ValueError(
365
+ '_sunder_ names, such as %r, are reserved for future Enum use'
366
+ % (key, )
367
+ )
368
+ if key == '_generate_next_value_':
369
+ # check if members already defined as auto()
370
+ if self._auto_called:
371
+ raise TypeError("_generate_next_value_ must be defined before members")
372
+ _gnv = value.__func__ if isinstance(value, staticmethod) else value
373
+ setattr(self, '_generate_next_value', _gnv)
374
+ elif key == '_ignore_':
375
+ if isinstance(value, str):
376
+ value = value.replace(',',' ').split()
377
+ else:
378
+ value = list(value)
379
+ self._ignore = value
380
+ already = set(value) & set(self._member_names)
381
+ if already:
382
+ raise ValueError(
383
+ '_ignore_ cannot specify already set names: %r'
384
+ % (already, )
385
+ )
386
+ elif _is_dunder(key):
387
+ if key == '__order__':
388
+ key = '_order_'
389
+ elif key in self._member_names:
390
+ # descriptor overwriting an enum?
391
+ raise TypeError('%r already defined as %r' % (key, self[key]))
392
+ elif key in self._ignore:
393
+ pass
394
+ elif isinstance(value, nonmember):
395
+ # unwrap value here; it won't be processed by the below `else`
396
+ value = value.value
397
+ elif _is_descriptor(value):
398
+ pass
399
+ elif self._cls_name is not None and _is_internal_class(self._cls_name, value):
400
+ # do nothing, name will be a normal attribute
401
+ pass
402
+ else:
403
+ if key in self:
404
+ # enum overwriting a descriptor?
405
+ raise TypeError('%r already defined as %r' % (key, self[key]))
406
+ elif isinstance(value, member):
407
+ # unwrap value here -- it will become a member
408
+ value = value.value
409
+ non_auto_store = True
410
+ single = False
411
+ if isinstance(value, auto):
412
+ single = True
413
+ value = (value, )
414
+ if isinstance(value, tuple) and any(isinstance(v, auto) for v in value):
415
+ # insist on an actual tuple, no subclasses, in keeping with only supporting
416
+ # top-level auto() usage (not contained in any other data structure)
417
+ auto_valued = []
418
+ t = type(value)
419
+ for v in value:
420
+ if isinstance(v, auto):
421
+ non_auto_store = False
422
+ if v.value == _auto_null:
423
+ v.value = self._generate_next_value(
424
+ key, 1, len(self._member_names), self._last_values[:],
425
+ )
426
+ self._auto_called = True
427
+ v = v.value
428
+ self._last_values.append(v)
429
+ auto_valued.append(v)
430
+ if single:
431
+ value = auto_valued[0]
432
+ else:
433
+ try:
434
+ # accepts iterable as multiple arguments?
435
+ value = t(auto_valued)
436
+ except TypeError:
437
+ # then pass them in singly
438
+ value = t(*auto_valued)
439
+ self._member_names[key] = None
440
+ if non_auto_store:
441
+ self._last_values.append(value)
442
+ super().__setitem__(key, value)
443
+
444
+ @property
445
+ def member_names(self):
446
+ return list(self._member_names)
447
+
448
+ def update(self, members, **more_members):
449
+ try:
450
+ for name in members.keys():
451
+ self[name] = members[name]
452
+ except AttributeError:
453
+ for name, value in members:
454
+ self[name] = value
455
+ for name, value in more_members.items():
456
+ self[name] = value
457
+
458
+ _EnumDict = EnumDict # keep private name for backwards compatibility
459
+
460
+
461
+ class EnumType(type):
462
+ """
463
+ Metaclass for Enum
464
+ """
465
+
466
+ @classmethod
467
+ def __prepare__(metacls, cls, bases, **kwds):
468
+ # check that previous enum members do not exist
469
+ metacls._check_for_existing_members_(cls, bases)
470
+ # create the namespace dict
471
+ enum_dict = EnumDict(cls)
472
+ # inherit previous flags and _generate_next_value_ function
473
+ member_type, first_enum = metacls._get_mixins_(cls, bases)
474
+ if first_enum is not None:
475
+ enum_dict['_generate_next_value_'] = getattr(
476
+ first_enum, '_generate_next_value_', None,
477
+ )
478
+ return enum_dict
479
+
480
+ def __new__(metacls, cls, bases, classdict, *, boundary=None, _simple=False, **kwds):
481
+ # an Enum class is final once enumeration items have been defined; it
482
+ # cannot be mixed with other types (int, float, etc.) if it has an
483
+ # inherited __new__ unless a new __new__ is defined (or the resulting
484
+ # class will fail).
485
+ #
486
+ if _simple:
487
+ return super().__new__(metacls, cls, bases, classdict, **kwds)
488
+ #
489
+ # remove any keys listed in _ignore_
490
+ classdict.setdefault('_ignore_', []).append('_ignore_')
491
+ ignore = classdict['_ignore_']
492
+ for key in ignore:
493
+ classdict.pop(key, None)
494
+ #
495
+ # grab member names
496
+ member_names = classdict._member_names
497
+ #
498
+ # check for illegal enum names (any others?)
499
+ invalid_names = set(member_names) & {'mro', ''}
500
+ if invalid_names:
501
+ raise ValueError('invalid enum member name(s) %s' % (
502
+ ','.join(repr(n) for n in invalid_names)
503
+ ))
504
+ #
505
+ # adjust the sunders
506
+ _order_ = classdict.pop('_order_', None)
507
+ _gnv = classdict.get('_generate_next_value_')
508
+ if _gnv is not None and type(_gnv) is not staticmethod:
509
+ _gnv = staticmethod(_gnv)
510
+ # convert to normal dict
511
+ classdict = dict(classdict.items())
512
+ if _gnv is not None:
513
+ classdict['_generate_next_value_'] = _gnv
514
+ #
515
+ # data type of member and the controlling Enum class
516
+ member_type, first_enum = metacls._get_mixins_(cls, bases)
517
+ __new__, save_new, use_args = metacls._find_new_(
518
+ classdict, member_type, first_enum,
519
+ )
520
+ classdict['_new_member_'] = __new__
521
+ classdict['_use_args_'] = use_args
522
+ #
523
+ # convert future enum members into temporary _proto_members
524
+ for name in member_names:
525
+ value = classdict[name]
526
+ classdict[name] = _proto_member(value)
527
+ #
528
+ # house-keeping structures
529
+ classdict['_member_names_'] = []
530
+ classdict['_member_map_'] = {}
531
+ classdict['_value2member_map_'] = {}
532
+ classdict['_hashable_values_'] = [] # for comparing with non-hashable types
533
+ classdict['_unhashable_values_'] = [] # e.g. frozenset() with set()
534
+ classdict['_unhashable_values_map_'] = {}
535
+ classdict['_member_type_'] = member_type
536
+ # now set the __repr__ for the value
537
+ classdict['_value_repr_'] = metacls._find_data_repr_(cls, bases)
538
+ #
539
+ # Flag structures (will be removed if final class is not a Flag
540
+ classdict['_boundary_'] = (
541
+ boundary
542
+ or getattr(first_enum, '_boundary_', None)
543
+ )
544
+ classdict['_flag_mask_'] = 0
545
+ classdict['_singles_mask_'] = 0
546
+ classdict['_all_bits_'] = 0
547
+ classdict['_inverted_'] = None
548
+ try:
549
+ classdict['_%s__in_progress' % cls] = True
550
+ enum_class = super().__new__(metacls, cls, bases, classdict, **kwds)
551
+ classdict['_%s__in_progress' % cls] = False
552
+ delattr(enum_class, '_%s__in_progress' % cls)
553
+ except Exception as e:
554
+ # since 3.12 the note "Error calling __set_name__ on '_proto_member' instance ..."
555
+ # is tacked on to the error instead of raising a RuntimeError, so discard it
556
+ if hasattr(e, '__notes__'):
557
+ del e.__notes__
558
+ raise
559
+ # update classdict with any changes made by __init_subclass__
560
+ classdict.update(enum_class.__dict__)
561
+ #
562
+ # double check that repr and friends are not the mixin's or various
563
+ # things break (such as pickle)
564
+ # however, if the method is defined in the Enum itself, don't replace
565
+ # it
566
+ #
567
+ # Also, special handling for ReprEnum
568
+ if ReprEnum is not None and ReprEnum in bases:
569
+ if member_type is object:
570
+ raise TypeError(
571
+ 'ReprEnum subclasses must be mixed with a data type (i.e.'
572
+ ' int, str, float, etc.)'
573
+ )
574
+ if '__format__' not in classdict:
575
+ enum_class.__format__ = member_type.__format__
576
+ classdict['__format__'] = enum_class.__format__
577
+ if '__str__' not in classdict:
578
+ method = member_type.__str__
579
+ if method is object.__str__:
580
+ # if member_type does not define __str__, object.__str__ will use
581
+ # its __repr__ instead, so we'll also use its __repr__
582
+ method = member_type.__repr__
583
+ enum_class.__str__ = method
584
+ classdict['__str__'] = enum_class.__str__
585
+ for name in ('__repr__', '__str__', '__format__', '__reduce_ex__'):
586
+ if name not in classdict:
587
+ # check for mixin overrides before replacing
588
+ enum_method = getattr(first_enum, name)
589
+ found_method = getattr(enum_class, name)
590
+ object_method = getattr(object, name)
591
+ data_type_method = getattr(member_type, name)
592
+ if found_method in (data_type_method, object_method):
593
+ setattr(enum_class, name, enum_method)
594
+ #
595
+ # for Flag, add __or__, __and__, __xor__, and __invert__
596
+ if Flag is not None and issubclass(enum_class, Flag):
597
+ for name in (
598
+ '__or__', '__and__', '__xor__',
599
+ '__ror__', '__rand__', '__rxor__',
600
+ '__invert__'
601
+ ):
602
+ if name not in classdict:
603
+ enum_method = getattr(Flag, name)
604
+ setattr(enum_class, name, enum_method)
605
+ classdict[name] = enum_method
606
+ #
607
+ # replace any other __new__ with our own (as long as Enum is not None,
608
+ # anyway) -- again, this is to support pickle
609
+ if Enum is not None:
610
+ # if the user defined their own __new__, save it before it gets
611
+ # clobbered in case they subclass later
612
+ if save_new:
613
+ enum_class.__new_member__ = __new__
614
+ enum_class.__new__ = Enum.__new__
615
+ #
616
+ # py3 support for definition order (helps keep py2/py3 code in sync)
617
+ #
618
+ # _order_ checking is spread out into three/four steps
619
+ # - if enum_class is a Flag:
620
+ # - remove any non-single-bit flags from _order_
621
+ # - remove any aliases from _order_
622
+ # - check that _order_ and _member_names_ match
623
+ #
624
+ # step 1: ensure we have a list
625
+ if _order_ is not None:
626
+ if isinstance(_order_, str):
627
+ _order_ = _order_.replace(',', ' ').split()
628
+ #
629
+ # remove Flag structures if final class is not a Flag
630
+ if (
631
+ Flag is None and cls != 'Flag'
632
+ or Flag is not None and not issubclass(enum_class, Flag)
633
+ ):
634
+ delattr(enum_class, '_boundary_')
635
+ delattr(enum_class, '_flag_mask_')
636
+ delattr(enum_class, '_singles_mask_')
637
+ delattr(enum_class, '_all_bits_')
638
+ delattr(enum_class, '_inverted_')
639
+ elif Flag is not None and issubclass(enum_class, Flag):
640
+ # set correct __iter__
641
+ member_list = [m._value_ for m in enum_class]
642
+ if member_list != sorted(member_list):
643
+ enum_class._iter_member_ = enum_class._iter_member_by_def_
644
+ if _order_:
645
+ # _order_ step 2: remove any items from _order_ that are not single-bit
646
+ _order_ = [
647
+ o
648
+ for o in _order_
649
+ if o not in enum_class._member_map_ or _is_single_bit(enum_class[o]._value_)
650
+ ]
651
+ #
652
+ if _order_:
653
+ # _order_ step 3: remove aliases from _order_
654
+ _order_ = [
655
+ o
656
+ for o in _order_
657
+ if (
658
+ o not in enum_class._member_map_
659
+ or
660
+ (o in enum_class._member_map_ and o in enum_class._member_names_)
661
+ )]
662
+ # _order_ step 4: verify that _order_ and _member_names_ match
663
+ if _order_ != enum_class._member_names_:
664
+ raise TypeError(
665
+ 'member order does not match _order_:\n %r\n %r'
666
+ % (enum_class._member_names_, _order_)
667
+ )
668
+ #
669
+ return enum_class
670
+
671
+ def __bool__(cls):
672
+ """
673
+ classes/types should always be True.
674
+ """
675
+ return True
676
+
677
+ def __call__(cls, value, names=_not_given, *values, module=None, qualname=None, type=None, start=1, boundary=None):
678
+ """
679
+ Either returns an existing member, or creates a new enum class.
680
+
681
+ This method is used both when an enum class is given a value to
682
+ match to an enumeration member (i.e. Color(3)) and for the
683
+ functional API (i.e. Color = Enum('Color', names='RED GREEN BLUE')).
684
+
685
+ The value lookup branch is chosen if the enum is final.
686
+
687
+ When used for the functional API:
688
+
689
+ `value` will be the name of the new class.
690
+
691
+ `names` should be either a string of white-space/comma delimited
692
+ names (values will start at `start`), or an iterator/mapping of
693
+ name, value pairs.
694
+
695
+ `module` should be set to the module this class is being created in;
696
+ if it is not set, an attempt to find that module will be made, but
697
+ if it fails the class will not be picklable.
698
+
699
+ `qualname` should be set to the actual location this class can be
700
+ found at in its module; by default it is set to the global scope.
701
+ If this is not correct, unpickling will fail in some circumstances.
702
+
703
+ `type`, if set, will be mixed in as the first base class.
704
+ """
705
+ if cls._member_map_:
706
+ # simple value lookup if members exist
707
+ if names is not _not_given:
708
+ value = (value, names) + values
709
+ return cls.__new__(cls, value)
710
+ # otherwise, functional API: we're creating a new Enum type
711
+ if names is _not_given and type is None:
712
+ # no body? no data-type? possibly wrong usage
713
+ raise TypeError(
714
+ f"{cls} has no members; specify `names=()` if you meant to create a new, empty, enum"
715
+ )
716
+ return cls._create_(
717
+ class_name=value,
718
+ names=None if names is _not_given else names,
719
+ module=module,
720
+ qualname=qualname,
721
+ type=type,
722
+ start=start,
723
+ boundary=boundary,
724
+ )
725
+
726
+ def __contains__(cls, value):
727
+ """Return True if `value` is in `cls`.
728
+
729
+ `value` is in `cls` if:
730
+ 1) `value` is a member of `cls`, or
731
+ 2) `value` is the value of one of the `cls`'s members.
732
+ 3) `value` is a pseudo-member (flags)
733
+ """
734
+ if isinstance(value, cls):
735
+ return True
736
+ if issubclass(cls, Flag):
737
+ try:
738
+ result = cls._missing_(value)
739
+ return isinstance(result, cls)
740
+ except ValueError:
741
+ pass
742
+ return (
743
+ value in cls._unhashable_values_ # both structures are lists
744
+ or value in cls._hashable_values_
745
+ )
746
+
747
+ def __delattr__(cls, attr):
748
+ # nicer error message when someone tries to delete an attribute
749
+ # (see issue19025).
750
+ if attr in cls._member_map_:
751
+ raise AttributeError("%r cannot delete member %r." % (cls.__name__, attr))
752
+ super().__delattr__(attr)
753
+
754
+ def __dir__(cls):
755
+ interesting = set([
756
+ '__class__', '__contains__', '__doc__', '__getitem__',
757
+ '__iter__', '__len__', '__members__', '__module__',
758
+ '__name__', '__qualname__',
759
+ ]
760
+ + cls._member_names_
761
+ )
762
+ if cls._new_member_ is not object.__new__:
763
+ interesting.add('__new__')
764
+ if cls.__init_subclass__ is not object.__init_subclass__:
765
+ interesting.add('__init_subclass__')
766
+ if cls._member_type_ is object:
767
+ return sorted(interesting)
768
+ else:
769
+ # return whatever mixed-in data type has
770
+ return sorted(set(dir(cls._member_type_)) | interesting)
771
+
772
+ def __getitem__(cls, name):
773
+ """
774
+ Return the member matching `name`.
775
+ """
776
+ return cls._member_map_[name]
777
+
778
+ def __iter__(cls):
779
+ """
780
+ Return members in definition order.
781
+ """
782
+ return (cls._member_map_[name] for name in cls._member_names_)
783
+
784
+ def __len__(cls):
785
+ """
786
+ Return the number of members (no aliases)
787
+ """
788
+ return len(cls._member_names_)
789
+
790
+ @bltns.property
791
+ def __members__(cls):
792
+ """
793
+ Returns a mapping of member name->value.
794
+
795
+ This mapping lists all enum members, including aliases. Note that
796
+ this is a read-only view of the internal mapping.
797
+ """
798
+ return MappingProxyType(cls._member_map_)
799
+
800
+ def __repr__(cls):
801
+ if Flag is not None and issubclass(cls, Flag):
802
+ return "<flag %r>" % cls.__name__
803
+ else:
804
+ return "<enum %r>" % cls.__name__
805
+
806
+ def __reversed__(cls):
807
+ """
808
+ Return members in reverse definition order.
809
+ """
810
+ return (cls._member_map_[name] for name in reversed(cls._member_names_))
811
+
812
+ def __setattr__(cls, name, value):
813
+ """
814
+ Block attempts to reassign Enum members.
815
+
816
+ A simple assignment to the class namespace only changes one of the
817
+ several possible ways to get an Enum member from the Enum class,
818
+ resulting in an inconsistent Enumeration.
819
+ """
820
+ member_map = cls.__dict__.get('_member_map_', {})
821
+ if name in member_map:
822
+ raise AttributeError('cannot reassign member %r' % (name, ))
823
+ super().__setattr__(name, value)
824
+
825
+ def _create_(cls, class_name, names, *, module=None, qualname=None, type=None, start=1, boundary=None):
826
+ """
827
+ Convenience method to create a new Enum class.
828
+
829
+ `names` can be:
830
+
831
+ * A string containing member names, separated either with spaces or
832
+ commas. Values are incremented by 1 from `start`.
833
+ * An iterable of member names. Values are incremented by 1 from `start`.
834
+ * An iterable of (member name, value) pairs.
835
+ * A mapping of member name -> value pairs.
836
+ """
837
+ metacls = cls.__class__
838
+ bases = (cls, ) if type is None else (type, cls)
839
+ _, first_enum = cls._get_mixins_(class_name, bases)
840
+ classdict = metacls.__prepare__(class_name, bases)
841
+
842
+ # special processing needed for names?
843
+ if isinstance(names, str):
844
+ names = names.replace(',', ' ').split()
845
+ if isinstance(names, (tuple, list)) and names and isinstance(names[0], str):
846
+ original_names, names = names, []
847
+ last_values = []
848
+ for count, name in enumerate(original_names):
849
+ value = first_enum._generate_next_value_(name, start, count, last_values[:])
850
+ last_values.append(value)
851
+ names.append((name, value))
852
+ if names is None:
853
+ names = ()
854
+
855
+ # Here, names is either an iterable of (name, value) or a mapping.
856
+ for item in names:
857
+ if isinstance(item, str):
858
+ member_name, member_value = item, names[item]
859
+ else:
860
+ member_name, member_value = item
861
+ classdict[member_name] = member_value
862
+
863
+ if module is None:
864
+ try:
865
+ module = sys._getframemodulename(2)
866
+ except AttributeError:
867
+ # Fall back on _getframe if _getframemodulename is missing
868
+ try:
869
+ module = sys._getframe(2).f_globals['__name__']
870
+ except (AttributeError, ValueError, KeyError):
871
+ pass
872
+ if module is None:
873
+ _make_class_unpicklable(classdict)
874
+ else:
875
+ classdict['__module__'] = module
876
+ if qualname is not None:
877
+ classdict['__qualname__'] = qualname
878
+
879
+ return metacls.__new__(metacls, class_name, bases, classdict, boundary=boundary)
880
+
881
+ def _convert_(cls, name, module, filter, source=None, *, boundary=None, as_global=False):
882
+ """
883
+ Create a new Enum subclass that replaces a collection of global constants
884
+ """
885
+ # convert all constants from source (or module) that pass filter() to
886
+ # a new Enum called name, and export the enum and its members back to
887
+ # module;
888
+ # also, replace the __reduce_ex__ method so unpickling works in
889
+ # previous Python versions
890
+ module_globals = sys.modules[module].__dict__
891
+ if source:
892
+ source = source.__dict__
893
+ else:
894
+ source = module_globals
895
+ # _value2member_map_ is populated in the same order every time
896
+ # for a consistent reverse mapping of number to name when there
897
+ # are multiple names for the same number.
898
+ members = [
899
+ (name, value)
900
+ for name, value in source.items()
901
+ if filter(name)]
902
+ try:
903
+ # sort by value
904
+ members.sort(key=lambda t: (t[1], t[0]))
905
+ except TypeError:
906
+ # unless some values aren't comparable, in which case sort by name
907
+ members.sort(key=lambda t: t[0])
908
+ body = {t[0]: t[1] for t in members}
909
+ body['__module__'] = module
910
+ tmp_cls = type(name, (object, ), body)
911
+ cls = _simple_enum(etype=cls, boundary=boundary or KEEP)(tmp_cls)
912
+ if as_global:
913
+ global_enum(cls)
914
+ else:
915
+ sys.modules[cls.__module__].__dict__.update(cls.__members__)
916
+ module_globals[name] = cls
917
+ return cls
918
+
919
+ @classmethod
920
+ def _check_for_existing_members_(mcls, class_name, bases):
921
+ for chain in bases:
922
+ for base in chain.__mro__:
923
+ if isinstance(base, EnumType) and base._member_names_:
924
+ raise TypeError(
925
+ "<enum %r> cannot extend %r"
926
+ % (class_name, base)
927
+ )
928
+
929
+ @classmethod
930
+ def _get_mixins_(mcls, class_name, bases):
931
+ """
932
+ Returns the type for creating enum members, and the first inherited
933
+ enum class.
934
+
935
+ bases: the tuple of bases that was given to __new__
936
+ """
937
+ if not bases:
938
+ return object, Enum
939
+ # ensure final parent class is an Enum derivative, find any concrete
940
+ # data type, and check that Enum has no members
941
+ first_enum = bases[-1]
942
+ if not isinstance(first_enum, EnumType):
943
+ raise TypeError("new enumerations should be created as "
944
+ "`EnumName([mixin_type, ...] [data_type,] enum_type)`")
945
+ member_type = mcls._find_data_type_(class_name, bases) or object
946
+ return member_type, first_enum
947
+
948
+ @classmethod
949
+ def _find_data_repr_(mcls, class_name, bases):
950
+ for chain in bases:
951
+ for base in chain.__mro__:
952
+ if base is object:
953
+ continue
954
+ elif isinstance(base, EnumType):
955
+ # if we hit an Enum, use it's _value_repr_
956
+ return base._value_repr_
957
+ elif '__repr__' in base.__dict__:
958
+ # this is our data repr
959
+ # double-check if a dataclass with a default __repr__
960
+ if (
961
+ '__dataclass_fields__' in base.__dict__
962
+ and '__dataclass_params__' in base.__dict__
963
+ and base.__dict__['__dataclass_params__'].repr
964
+ ):
965
+ return _dataclass_repr
966
+ else:
967
+ return base.__dict__['__repr__']
968
+ return None
969
+
970
+ @classmethod
971
+ def _find_data_type_(mcls, class_name, bases):
972
+ # a datatype has a __new__ method, or a __dataclass_fields__ attribute
973
+ data_types = set()
974
+ base_chain = set()
975
+ for chain in bases:
976
+ candidate = None
977
+ for base in chain.__mro__:
978
+ base_chain.add(base)
979
+ if base is object:
980
+ continue
981
+ elif isinstance(base, EnumType):
982
+ if base._member_type_ is not object:
983
+ data_types.add(base._member_type_)
984
+ break
985
+ elif '__new__' in base.__dict__ or '__dataclass_fields__' in base.__dict__:
986
+ data_types.add(candidate or base)
987
+ break
988
+ else:
989
+ candidate = candidate or base
990
+ if len(data_types) > 1:
991
+ raise TypeError('too many data types for %r: %r' % (class_name, data_types))
992
+ elif data_types:
993
+ return data_types.pop()
994
+ else:
995
+ return None
996
+
997
+ @classmethod
998
+ def _find_new_(mcls, classdict, member_type, first_enum):
999
+ """
1000
+ Returns the __new__ to be used for creating the enum members.
1001
+
1002
+ classdict: the class dictionary given to __new__
1003
+ member_type: the data type whose __new__ will be used by default
1004
+ first_enum: enumeration to check for an overriding __new__
1005
+ """
1006
+ # now find the correct __new__, checking to see of one was defined
1007
+ # by the user; also check earlier enum classes in case a __new__ was
1008
+ # saved as __new_member__
1009
+ __new__ = classdict.get('__new__', None)
1010
+
1011
+ # should __new__ be saved as __new_member__ later?
1012
+ save_new = first_enum is not None and __new__ is not None
1013
+
1014
+ if __new__ is None:
1015
+ # check all possibles for __new_member__ before falling back to
1016
+ # __new__
1017
+ for method in ('__new_member__', '__new__'):
1018
+ for possible in (member_type, first_enum):
1019
+ target = getattr(possible, method, None)
1020
+ if target not in {
1021
+ None,
1022
+ None.__new__,
1023
+ object.__new__,
1024
+ Enum.__new__,
1025
+ }:
1026
+ __new__ = target
1027
+ break
1028
+ if __new__ is not None:
1029
+ break
1030
+ else:
1031
+ __new__ = object.__new__
1032
+
1033
+ # if a non-object.__new__ is used then whatever value/tuple was
1034
+ # assigned to the enum member name will be passed to __new__ and to the
1035
+ # new enum member's __init__
1036
+ if first_enum is None or __new__ in (Enum.__new__, object.__new__):
1037
+ use_args = False
1038
+ else:
1039
+ use_args = True
1040
+ return __new__, save_new, use_args
1041
+
1042
+ def _add_member_(cls, name, member):
1043
+ # _value_ structures are not updated
1044
+ if name in cls._member_map_:
1045
+ if cls._member_map_[name] is not member:
1046
+ raise NameError('%r is already bound: %r' % (name, cls._member_map_[name]))
1047
+ return
1048
+ #
1049
+ # if necessary, get redirect in place and then add it to _member_map_
1050
+ found_descriptor = None
1051
+ descriptor_type = None
1052
+ class_type = None
1053
+ for base in cls.__mro__[1:]:
1054
+ attr = base.__dict__.get(name)
1055
+ if attr is not None:
1056
+ if isinstance(attr, (property, DynamicClassAttribute)):
1057
+ found_descriptor = attr
1058
+ class_type = base
1059
+ descriptor_type = 'enum'
1060
+ break
1061
+ elif _is_descriptor(attr):
1062
+ found_descriptor = attr
1063
+ descriptor_type = descriptor_type or 'desc'
1064
+ class_type = class_type or base
1065
+ continue
1066
+ else:
1067
+ descriptor_type = 'attr'
1068
+ class_type = base
1069
+ if found_descriptor:
1070
+ redirect = property()
1071
+ redirect.member = member
1072
+ redirect.__set_name__(cls, name)
1073
+ if descriptor_type in ('enum', 'desc'):
1074
+ # earlier descriptor found; copy fget, fset, fdel to this one.
1075
+ redirect.fget = getattr(found_descriptor, 'fget', None)
1076
+ redirect._get = getattr(found_descriptor, '__get__', None)
1077
+ redirect.fset = getattr(found_descriptor, 'fset', None)
1078
+ redirect._set = getattr(found_descriptor, '__set__', None)
1079
+ redirect.fdel = getattr(found_descriptor, 'fdel', None)
1080
+ redirect._del = getattr(found_descriptor, '__delete__', None)
1081
+ redirect._attr_type = descriptor_type
1082
+ redirect._cls_type = class_type
1083
+ setattr(cls, name, redirect)
1084
+ else:
1085
+ setattr(cls, name, member)
1086
+ # now add to _member_map_ (even aliases)
1087
+ cls._member_map_[name] = member
1088
+
1089
+ @property
1090
+ def __signature__(cls):
1091
+ from inspect import Parameter, Signature
1092
+ if cls._member_names_:
1093
+ return Signature([Parameter('values', Parameter.VAR_POSITIONAL)])
1094
+ else:
1095
+ return Signature([Parameter('new_class_name', Parameter.POSITIONAL_ONLY),
1096
+ Parameter('names', Parameter.POSITIONAL_OR_KEYWORD),
1097
+ Parameter('module', Parameter.KEYWORD_ONLY, default=None),
1098
+ Parameter('qualname', Parameter.KEYWORD_ONLY, default=None),
1099
+ Parameter('type', Parameter.KEYWORD_ONLY, default=None),
1100
+ Parameter('start', Parameter.KEYWORD_ONLY, default=1),
1101
+ Parameter('boundary', Parameter.KEYWORD_ONLY, default=None)])
1102
+
1103
+
1104
+ EnumMeta = EnumType # keep EnumMeta name for backwards compatibility
1105
+
1106
+
1107
+ class Enum(metaclass=EnumType):
1108
+ """
1109
+ Create a collection of name/value pairs.
1110
+
1111
+ Example enumeration:
1112
+
1113
+ >>> class Color(Enum):
1114
+ ... RED = 1
1115
+ ... BLUE = 2
1116
+ ... GREEN = 3
1117
+
1118
+ Access them by:
1119
+
1120
+ - attribute access:
1121
+
1122
+ >>> Color.RED
1123
+ <Color.RED: 1>
1124
+
1125
+ - value lookup:
1126
+
1127
+ >>> Color(1)
1128
+ <Color.RED: 1>
1129
+
1130
+ - name lookup:
1131
+
1132
+ >>> Color['RED']
1133
+ <Color.RED: 1>
1134
+
1135
+ Enumerations can be iterated over, and know how many members they have:
1136
+
1137
+ >>> len(Color)
1138
+ 3
1139
+
1140
+ >>> list(Color)
1141
+ [<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]
1142
+
1143
+ Methods can be added to enumerations, and members can have their own
1144
+ attributes -- see the documentation for details.
1145
+ """
1146
+
1147
+ def __new__(cls, value):
1148
+ # all enum instances are actually created during class construction
1149
+ # without calling this method; this method is called by the metaclass'
1150
+ # __call__ (i.e. Color(3) ), and by pickle
1151
+ if type(value) is cls:
1152
+ # For lookups like Color(Color.RED)
1153
+ return value
1154
+ # by-value search for a matching enum member
1155
+ # see if it's in the reverse mapping (for hashable values)
1156
+ try:
1157
+ return cls._value2member_map_[value]
1158
+ except KeyError:
1159
+ # Not found, no need to do long O(n) search
1160
+ pass
1161
+ except TypeError:
1162
+ # not there, now do long search -- O(n) behavior
1163
+ for name, unhashable_values in cls._unhashable_values_map_.items():
1164
+ if value in unhashable_values:
1165
+ return cls[name]
1166
+ for name, member in cls._member_map_.items():
1167
+ if value == member._value_:
1168
+ return cls[name]
1169
+ # still not found -- verify that members exist, in-case somebody got here mistakenly
1170
+ # (such as via super when trying to override __new__)
1171
+ if not cls._member_map_:
1172
+ if getattr(cls, '_%s__in_progress' % cls.__name__, False):
1173
+ raise TypeError('do not use `super().__new__; call the appropriate __new__ directly') from None
1174
+ raise TypeError("%r has no members defined" % cls)
1175
+ #
1176
+ # still not found -- try _missing_ hook
1177
+ try:
1178
+ exc = None
1179
+ result = cls._missing_(value)
1180
+ except Exception as e:
1181
+ exc = e
1182
+ result = None
1183
+ try:
1184
+ if isinstance(result, cls):
1185
+ return result
1186
+ elif (
1187
+ Flag is not None and issubclass(cls, Flag)
1188
+ and cls._boundary_ is EJECT and isinstance(result, int)
1189
+ ):
1190
+ return result
1191
+ else:
1192
+ ve_exc = ValueError("%r is not a valid %s" % (value, cls.__qualname__))
1193
+ if result is None and exc is None:
1194
+ raise ve_exc
1195
+ elif exc is None:
1196
+ exc = TypeError(
1197
+ 'error in %s._missing_: returned %r instead of None or a valid member'
1198
+ % (cls.__name__, result)
1199
+ )
1200
+ if not isinstance(exc, ValueError):
1201
+ exc.__context__ = ve_exc
1202
+ raise exc
1203
+ finally:
1204
+ # ensure all variables that could hold an exception are destroyed
1205
+ exc = None
1206
+ ve_exc = None
1207
+
1208
+ def _add_alias_(self, name):
1209
+ self.__class__._add_member_(name, self)
1210
+
1211
+ def _add_value_alias_(self, value):
1212
+ cls = self.__class__
1213
+ try:
1214
+ if value in cls._value2member_map_:
1215
+ if cls._value2member_map_[value] is not self:
1216
+ raise ValueError('%r is already bound: %r' % (value, cls._value2member_map_[value]))
1217
+ return
1218
+ except TypeError:
1219
+ # unhashable value, do long search
1220
+ for m in cls._member_map_.values():
1221
+ if m._value_ == value:
1222
+ if m is not self:
1223
+ raise ValueError('%r is already bound: %r' % (value, cls._value2member_map_[value]))
1224
+ return
1225
+ try:
1226
+ # This may fail if value is not hashable. We can't add the value
1227
+ # to the map, and by-value lookups for this value will be
1228
+ # linear.
1229
+ cls._value2member_map_.setdefault(value, self)
1230
+ cls._hashable_values_.append(value)
1231
+ except TypeError:
1232
+ # keep track of the value in a list so containment checks are quick
1233
+ cls._unhashable_values_.append(value)
1234
+ cls._unhashable_values_map_.setdefault(self.name, []).append(value)
1235
+
1236
+ @staticmethod
1237
+ def _generate_next_value_(name, start, count, last_values):
1238
+ """
1239
+ Generate the next value when not given.
1240
+
1241
+ name: the name of the member
1242
+ start: the initial start value or None
1243
+ count: the number of existing members
1244
+ last_values: the list of values assigned
1245
+ """
1246
+ if not last_values:
1247
+ return start
1248
+ try:
1249
+ last_value = sorted(last_values).pop()
1250
+ except TypeError:
1251
+ raise TypeError('unable to sort non-numeric values') from None
1252
+ try:
1253
+ return last_value + 1
1254
+ except TypeError:
1255
+ raise TypeError('unable to increment %r' % (last_value, )) from None
1256
+
1257
+ @classmethod
1258
+ def _missing_(cls, value):
1259
+ return None
1260
+
1261
+ def __repr__(self):
1262
+ v_repr = self.__class__._value_repr_ or repr
1263
+ return "<%s.%s: %s>" % (self.__class__.__name__, self._name_, v_repr(self._value_))
1264
+
1265
+ def __str__(self):
1266
+ return "%s.%s" % (self.__class__.__name__, self._name_, )
1267
+
1268
+ def __dir__(self):
1269
+ """
1270
+ Returns public methods and other interesting attributes.
1271
+ """
1272
+ interesting = set()
1273
+ if self.__class__._member_type_ is not object:
1274
+ interesting = set(object.__dir__(self))
1275
+ for name in getattr(self, '__dict__', []):
1276
+ if name[0] != '_' and name not in self._member_map_:
1277
+ interesting.add(name)
1278
+ for cls in self.__class__.mro():
1279
+ for name, obj in cls.__dict__.items():
1280
+ if name[0] == '_':
1281
+ continue
1282
+ if isinstance(obj, property):
1283
+ # that's an enum.property
1284
+ if obj.fget is not None or name not in self._member_map_:
1285
+ interesting.add(name)
1286
+ else:
1287
+ # in case it was added by `dir(self)`
1288
+ interesting.discard(name)
1289
+ elif name not in self._member_map_:
1290
+ interesting.add(name)
1291
+ names = sorted(
1292
+ set(['__class__', '__doc__', '__eq__', '__hash__', '__module__'])
1293
+ | interesting
1294
+ )
1295
+ return names
1296
+
1297
+ def __format__(self, format_spec):
1298
+ return str.__format__(str(self), format_spec)
1299
+
1300
+ def __hash__(self):
1301
+ return hash(self._name_)
1302
+
1303
+ def __reduce_ex__(self, proto):
1304
+ return self.__class__, (self._value_, )
1305
+
1306
+ def __deepcopy__(self,memo):
1307
+ return self
1308
+
1309
+ def __copy__(self):
1310
+ return self
1311
+
1312
+ # enum.property is used to provide access to the `name` and
1313
+ # `value` attributes of enum members while keeping some measure of
1314
+ # protection from modification, while still allowing for an enumeration
1315
+ # to have members named `name` and `value`. This works because each
1316
+ # instance of enum.property saves its companion member, which it returns
1317
+ # on class lookup; on instance lookup it either executes a provided function
1318
+ # or raises an AttributeError.
1319
+
1320
+ @property
1321
+ def name(self):
1322
+ """The name of the Enum member."""
1323
+ return self._name_
1324
+
1325
+ @property
1326
+ def value(self):
1327
+ """The value of the Enum member."""
1328
+ return self._value_
1329
+
1330
+
1331
+ class ReprEnum(Enum):
1332
+ """
1333
+ Only changes the repr(), leaving str() and format() to the mixed-in type.
1334
+ """
1335
+
1336
+
1337
+ class IntEnum(int, ReprEnum):
1338
+ """
1339
+ Enum where members are also (and must be) ints
1340
+ """
1341
+
1342
+
1343
+ class StrEnum(str, ReprEnum):
1344
+ """
1345
+ Enum where members are also (and must be) strings
1346
+ """
1347
+
1348
+ def __new__(cls, *values):
1349
+ "values must already be of type `str`"
1350
+ if len(values) > 3:
1351
+ raise TypeError('too many arguments for str(): %r' % (values, ))
1352
+ if len(values) == 1:
1353
+ # it must be a string
1354
+ if not isinstance(values[0], str):
1355
+ raise TypeError('%r is not a string' % (values[0], ))
1356
+ if len(values) >= 2:
1357
+ # check that encoding argument is a string
1358
+ if not isinstance(values[1], str):
1359
+ raise TypeError('encoding must be a string, not %r' % (values[1], ))
1360
+ if len(values) == 3:
1361
+ # check that errors argument is a string
1362
+ if not isinstance(values[2], str):
1363
+ raise TypeError('errors must be a string, not %r' % (values[2]))
1364
+ value = str(*values)
1365
+ member = str.__new__(cls, value)
1366
+ member._value_ = value
1367
+ return member
1368
+
1369
+ @staticmethod
1370
+ def _generate_next_value_(name, start, count, last_values):
1371
+ """
1372
+ Return the lower-cased version of the member name.
1373
+ """
1374
+ return name.lower()
1375
+
1376
+
1377
+ def pickle_by_global_name(self, proto):
1378
+ # should not be used with Flag-type enums
1379
+ return self.name
1380
+ _reduce_ex_by_global_name = pickle_by_global_name
1381
+
1382
+ def pickle_by_enum_name(self, proto):
1383
+ # should not be used with Flag-type enums
1384
+ return getattr, (self.__class__, self._name_)
1385
+
1386
+ class FlagBoundary(StrEnum):
1387
+ """
1388
+ control how out of range values are handled
1389
+ "strict" -> error is raised [default for Flag]
1390
+ "conform" -> extra bits are discarded
1391
+ "eject" -> lose flag status
1392
+ "keep" -> keep flag status and all bits [default for IntFlag]
1393
+ """
1394
+ STRICT = auto()
1395
+ CONFORM = auto()
1396
+ EJECT = auto()
1397
+ KEEP = auto()
1398
+ STRICT, CONFORM, EJECT, KEEP = FlagBoundary
1399
+
1400
+
1401
+ class Flag(Enum, boundary=STRICT):
1402
+ """
1403
+ Support for flags
1404
+ """
1405
+
1406
+ _numeric_repr_ = repr
1407
+
1408
+ @staticmethod
1409
+ def _generate_next_value_(name, start, count, last_values):
1410
+ """
1411
+ Generate the next value when not given.
1412
+
1413
+ name: the name of the member
1414
+ start: the initial start value or None
1415
+ count: the number of existing members
1416
+ last_values: the last value assigned or None
1417
+ """
1418
+ if not count:
1419
+ return start if start is not None else 1
1420
+ last_value = max(last_values)
1421
+ try:
1422
+ high_bit = _high_bit(last_value)
1423
+ except Exception:
1424
+ raise TypeError('invalid flag value %r' % last_value) from None
1425
+ return 2 ** (high_bit+1)
1426
+
1427
+ @classmethod
1428
+ def _iter_member_by_value_(cls, value):
1429
+ """
1430
+ Extract all members from the value in definition (i.e. increasing value) order.
1431
+ """
1432
+ for val in _iter_bits_lsb(value & cls._flag_mask_):
1433
+ yield cls._value2member_map_.get(val)
1434
+
1435
+ _iter_member_ = _iter_member_by_value_
1436
+
1437
+ @classmethod
1438
+ def _iter_member_by_def_(cls, value):
1439
+ """
1440
+ Extract all members from the value in definition order.
1441
+ """
1442
+ yield from sorted(
1443
+ cls._iter_member_by_value_(value),
1444
+ key=lambda m: m._sort_order_,
1445
+ )
1446
+
1447
+ @classmethod
1448
+ def _missing_(cls, value):
1449
+ """
1450
+ Create a composite member containing all canonical members present in `value`.
1451
+
1452
+ If non-member values are present, result depends on `_boundary_` setting.
1453
+ """
1454
+ if not isinstance(value, int):
1455
+ raise ValueError(
1456
+ "%r is not a valid %s" % (value, cls.__qualname__)
1457
+ )
1458
+ # check boundaries
1459
+ # - value must be in range (e.g. -16 <-> +15, i.e. ~15 <-> 15)
1460
+ # - value must not include any skipped flags (e.g. if bit 2 is not
1461
+ # defined, then 0d10 is invalid)
1462
+ flag_mask = cls._flag_mask_
1463
+ singles_mask = cls._singles_mask_
1464
+ all_bits = cls._all_bits_
1465
+ neg_value = None
1466
+ if (
1467
+ not ~all_bits <= value <= all_bits
1468
+ or value & (all_bits ^ flag_mask)
1469
+ ):
1470
+ if cls._boundary_ is STRICT:
1471
+ max_bits = max(value.bit_length(), flag_mask.bit_length())
1472
+ raise ValueError(
1473
+ "%r invalid value %r\n given %s\n allowed %s" % (
1474
+ cls, value, bin(value, max_bits), bin(flag_mask, max_bits),
1475
+ ))
1476
+ elif cls._boundary_ is CONFORM:
1477
+ value = value & flag_mask
1478
+ elif cls._boundary_ is EJECT:
1479
+ return value
1480
+ elif cls._boundary_ is KEEP:
1481
+ if value < 0:
1482
+ value = (
1483
+ max(all_bits+1, 2**(value.bit_length()))
1484
+ + value
1485
+ )
1486
+ else:
1487
+ raise ValueError(
1488
+ '%r unknown flag boundary %r' % (cls, cls._boundary_, )
1489
+ )
1490
+ if value < 0:
1491
+ neg_value = value
1492
+ value = all_bits + 1 + value
1493
+ # get members and unknown
1494
+ unknown = value & ~flag_mask
1495
+ aliases = value & ~singles_mask
1496
+ member_value = value & singles_mask
1497
+ if unknown and cls._boundary_ is not KEEP:
1498
+ raise ValueError(
1499
+ '%s(%r) --> unknown values %r [%s]'
1500
+ % (cls.__name__, value, unknown, bin(unknown))
1501
+ )
1502
+ # normal Flag?
1503
+ if cls._member_type_ is object:
1504
+ # construct a singleton enum pseudo-member
1505
+ pseudo_member = object.__new__(cls)
1506
+ else:
1507
+ pseudo_member = cls._member_type_.__new__(cls, value)
1508
+ if not hasattr(pseudo_member, '_value_'):
1509
+ pseudo_member._value_ = value
1510
+ if member_value or aliases:
1511
+ members = []
1512
+ combined_value = 0
1513
+ for m in cls._iter_member_(member_value):
1514
+ members.append(m)
1515
+ combined_value |= m._value_
1516
+ if aliases:
1517
+ value = member_value | aliases
1518
+ for n, pm in cls._member_map_.items():
1519
+ if pm not in members and pm._value_ and pm._value_ & value == pm._value_:
1520
+ members.append(pm)
1521
+ combined_value |= pm._value_
1522
+ unknown = value ^ combined_value
1523
+ pseudo_member._name_ = '|'.join([m._name_ for m in members])
1524
+ if not combined_value:
1525
+ pseudo_member._name_ = None
1526
+ elif unknown and cls._boundary_ is STRICT:
1527
+ raise ValueError('%r: no members with value %r' % (cls, unknown))
1528
+ elif unknown:
1529
+ pseudo_member._name_ += '|%s' % cls._numeric_repr_(unknown)
1530
+ else:
1531
+ pseudo_member._name_ = None
1532
+ # use setdefault in case another thread already created a composite
1533
+ # with this value
1534
+ # note: zero is a special case -- always add it
1535
+ pseudo_member = cls._value2member_map_.setdefault(value, pseudo_member)
1536
+ if neg_value is not None:
1537
+ cls._value2member_map_[neg_value] = pseudo_member
1538
+ return pseudo_member
1539
+
1540
+ def __contains__(self, other):
1541
+ """
1542
+ Returns True if self has at least the same flags set as other.
1543
+ """
1544
+ if not isinstance(other, self.__class__):
1545
+ raise TypeError(
1546
+ "unsupported operand type(s) for 'in': %r and %r" % (
1547
+ type(other).__qualname__, self.__class__.__qualname__))
1548
+ return other._value_ & self._value_ == other._value_
1549
+
1550
+ def __iter__(self):
1551
+ """
1552
+ Returns flags in definition order.
1553
+ """
1554
+ yield from self._iter_member_(self._value_)
1555
+
1556
+ def __len__(self):
1557
+ return self._value_.bit_count()
1558
+
1559
+ def __repr__(self):
1560
+ cls_name = self.__class__.__name__
1561
+ v_repr = self.__class__._value_repr_ or repr
1562
+ if self._name_ is None:
1563
+ return "<%s: %s>" % (cls_name, v_repr(self._value_))
1564
+ else:
1565
+ return "<%s.%s: %s>" % (cls_name, self._name_, v_repr(self._value_))
1566
+
1567
+ def __str__(self):
1568
+ cls_name = self.__class__.__name__
1569
+ if self._name_ is None:
1570
+ return '%s(%r)' % (cls_name, self._value_)
1571
+ else:
1572
+ return "%s.%s" % (cls_name, self._name_)
1573
+
1574
+ def __bool__(self):
1575
+ return bool(self._value_)
1576
+
1577
+ def _get_value(self, flag):
1578
+ if isinstance(flag, self.__class__):
1579
+ return flag._value_
1580
+ elif self._member_type_ is not object and isinstance(flag, self._member_type_):
1581
+ return flag
1582
+ return NotImplemented
1583
+
1584
+ def __or__(self, other):
1585
+ other_value = self._get_value(other)
1586
+ if other_value is NotImplemented:
1587
+ return NotImplemented
1588
+
1589
+ for flag in self, other:
1590
+ if self._get_value(flag) is None:
1591
+ raise TypeError(f"'{flag}' cannot be combined with other flags with |")
1592
+ value = self._value_
1593
+ return self.__class__(value | other_value)
1594
+
1595
+ def __and__(self, other):
1596
+ other_value = self._get_value(other)
1597
+ if other_value is NotImplemented:
1598
+ return NotImplemented
1599
+
1600
+ for flag in self, other:
1601
+ if self._get_value(flag) is None:
1602
+ raise TypeError(f"'{flag}' cannot be combined with other flags with &")
1603
+ value = self._value_
1604
+ return self.__class__(value & other_value)
1605
+
1606
+ def __xor__(self, other):
1607
+ other_value = self._get_value(other)
1608
+ if other_value is NotImplemented:
1609
+ return NotImplemented
1610
+
1611
+ for flag in self, other:
1612
+ if self._get_value(flag) is None:
1613
+ raise TypeError(f"'{flag}' cannot be combined with other flags with ^")
1614
+ value = self._value_
1615
+ return self.__class__(value ^ other_value)
1616
+
1617
+ def __invert__(self):
1618
+ if self._get_value(self) is None:
1619
+ raise TypeError(f"'{self}' cannot be inverted")
1620
+
1621
+ if self._inverted_ is None:
1622
+ if self._boundary_ in (EJECT, KEEP):
1623
+ self._inverted_ = self.__class__(~self._value_)
1624
+ else:
1625
+ self._inverted_ = self.__class__(self._singles_mask_ & ~self._value_)
1626
+ return self._inverted_
1627
+
1628
+ __rand__ = __and__
1629
+ __ror__ = __or__
1630
+ __rxor__ = __xor__
1631
+
1632
+
1633
+ class IntFlag(int, ReprEnum, Flag, boundary=KEEP):
1634
+ """
1635
+ Support for integer-based Flags
1636
+ """
1637
+
1638
+
1639
+ def _high_bit(value):
1640
+ """
1641
+ returns index of highest bit, or -1 if value is zero or negative
1642
+ """
1643
+ return value.bit_length() - 1
1644
+
1645
+ def unique(enumeration):
1646
+ """
1647
+ Class decorator for enumerations ensuring unique member values.
1648
+ """
1649
+ duplicates = []
1650
+ for name, member in enumeration.__members__.items():
1651
+ if name != member.name:
1652
+ duplicates.append((name, member.name))
1653
+ if duplicates:
1654
+ alias_details = ', '.join(
1655
+ ["%s -> %s" % (alias, name) for (alias, name) in duplicates])
1656
+ raise ValueError('duplicate values found in %r: %s' %
1657
+ (enumeration, alias_details))
1658
+ return enumeration
1659
+
1660
+ def _dataclass_repr(self):
1661
+ dcf = self.__dataclass_fields__
1662
+ return ', '.join(
1663
+ '%s=%r' % (k, getattr(self, k))
1664
+ for k in dcf.keys()
1665
+ if dcf[k].repr
1666
+ )
1667
+
1668
+ def global_enum_repr(self):
1669
+ """
1670
+ use module.enum_name instead of class.enum_name
1671
+
1672
+ the module is the last module in case of a multi-module name
1673
+ """
1674
+ module = self.__class__.__module__.split('.')[-1]
1675
+ return '%s.%s' % (module, self._name_)
1676
+
1677
+ def global_flag_repr(self):
1678
+ """
1679
+ use module.flag_name instead of class.flag_name
1680
+
1681
+ the module is the last module in case of a multi-module name
1682
+ """
1683
+ module = self.__class__.__module__.split('.')[-1]
1684
+ cls_name = self.__class__.__name__
1685
+ if self._name_ is None:
1686
+ return "%s.%s(%r)" % (module, cls_name, self._value_)
1687
+ if _is_single_bit(self._value_):
1688
+ return '%s.%s' % (module, self._name_)
1689
+ if self._boundary_ is not FlagBoundary.KEEP:
1690
+ return '|'.join(['%s.%s' % (module, name) for name in self.name.split('|')])
1691
+ else:
1692
+ name = []
1693
+ for n in self._name_.split('|'):
1694
+ if n[0].isdigit():
1695
+ name.append(n)
1696
+ else:
1697
+ name.append('%s.%s' % (module, n))
1698
+ return '|'.join(name)
1699
+
1700
+ def global_str(self):
1701
+ """
1702
+ use enum_name instead of class.enum_name
1703
+ """
1704
+ if self._name_ is None:
1705
+ cls_name = self.__class__.__name__
1706
+ return "%s(%r)" % (cls_name, self._value_)
1707
+ else:
1708
+ return self._name_
1709
+
1710
+ def global_enum(cls, update_str=False):
1711
+ """
1712
+ decorator that makes the repr() of an enum member reference its module
1713
+ instead of its class; also exports all members to the enum's module's
1714
+ global namespace
1715
+ """
1716
+ if issubclass(cls, Flag):
1717
+ cls.__repr__ = global_flag_repr
1718
+ else:
1719
+ cls.__repr__ = global_enum_repr
1720
+ if not issubclass(cls, ReprEnum) or update_str:
1721
+ cls.__str__ = global_str
1722
+ sys.modules[cls.__module__].__dict__.update(cls.__members__)
1723
+ return cls
1724
+
1725
+ def _simple_enum(etype=Enum, *, boundary=None, use_args=None):
1726
+ """
1727
+ Class decorator that converts a normal class into an :class:`Enum`. No
1728
+ safety checks are done, and some advanced behavior (such as
1729
+ :func:`__init_subclass__`) is not available. Enum creation can be faster
1730
+ using :func:`_simple_enum`.
1731
+
1732
+ >>> from enum import Enum, _simple_enum
1733
+ >>> @_simple_enum(Enum)
1734
+ ... class Color:
1735
+ ... RED = auto()
1736
+ ... GREEN = auto()
1737
+ ... BLUE = auto()
1738
+ >>> Color
1739
+ <enum 'Color'>
1740
+ """
1741
+ def convert_class(cls):
1742
+ nonlocal use_args
1743
+ cls_name = cls.__name__
1744
+ if use_args is None:
1745
+ use_args = etype._use_args_
1746
+ __new__ = cls.__dict__.get('__new__')
1747
+ if __new__ is not None:
1748
+ new_member = __new__.__func__
1749
+ else:
1750
+ new_member = etype._member_type_.__new__
1751
+ attrs = {}
1752
+ body = {}
1753
+ if __new__ is not None:
1754
+ body['__new_member__'] = new_member
1755
+ body['_new_member_'] = new_member
1756
+ body['_use_args_'] = use_args
1757
+ body['_generate_next_value_'] = gnv = etype._generate_next_value_
1758
+ body['_member_names_'] = member_names = []
1759
+ body['_member_map_'] = member_map = {}
1760
+ body['_value2member_map_'] = value2member_map = {}
1761
+ body['_hashable_values_'] = hashable_values = []
1762
+ body['_unhashable_values_'] = unhashable_values = []
1763
+ body['_unhashable_values_map_'] = {}
1764
+ body['_member_type_'] = member_type = etype._member_type_
1765
+ body['_value_repr_'] = etype._value_repr_
1766
+ if issubclass(etype, Flag):
1767
+ body['_boundary_'] = boundary or etype._boundary_
1768
+ body['_flag_mask_'] = None
1769
+ body['_all_bits_'] = None
1770
+ body['_singles_mask_'] = None
1771
+ body['_inverted_'] = None
1772
+ body['__or__'] = Flag.__or__
1773
+ body['__xor__'] = Flag.__xor__
1774
+ body['__and__'] = Flag.__and__
1775
+ body['__ror__'] = Flag.__ror__
1776
+ body['__rxor__'] = Flag.__rxor__
1777
+ body['__rand__'] = Flag.__rand__
1778
+ body['__invert__'] = Flag.__invert__
1779
+ for name, obj in cls.__dict__.items():
1780
+ if name in ('__dict__', '__weakref__'):
1781
+ continue
1782
+ if _is_dunder(name) or _is_private(cls_name, name) or _is_sunder(name) or _is_descriptor(obj):
1783
+ body[name] = obj
1784
+ else:
1785
+ attrs[name] = obj
1786
+ if cls.__dict__.get('__doc__') is None:
1787
+ body['__doc__'] = 'An enumeration.'
1788
+ #
1789
+ # double check that repr and friends are not the mixin's or various
1790
+ # things break (such as pickle)
1791
+ # however, if the method is defined in the Enum itself, don't replace
1792
+ # it
1793
+ enum_class = type(cls_name, (etype, ), body, boundary=boundary, _simple=True)
1794
+ for name in ('__repr__', '__str__', '__format__', '__reduce_ex__'):
1795
+ if name not in body:
1796
+ # check for mixin overrides before replacing
1797
+ enum_method = getattr(etype, name)
1798
+ found_method = getattr(enum_class, name)
1799
+ object_method = getattr(object, name)
1800
+ data_type_method = getattr(member_type, name)
1801
+ if found_method in (data_type_method, object_method):
1802
+ setattr(enum_class, name, enum_method)
1803
+ gnv_last_values = []
1804
+ if issubclass(enum_class, Flag):
1805
+ # Flag / IntFlag
1806
+ single_bits = multi_bits = 0
1807
+ for name, value in attrs.items():
1808
+ if isinstance(value, auto) and auto.value is _auto_null:
1809
+ value = gnv(name, 1, len(member_names), gnv_last_values)
1810
+ # create basic member (possibly isolate value for alias check)
1811
+ if use_args:
1812
+ if not isinstance(value, tuple):
1813
+ value = (value, )
1814
+ member = new_member(enum_class, *value)
1815
+ value = value[0]
1816
+ else:
1817
+ member = new_member(enum_class)
1818
+ if __new__ is None:
1819
+ member._value_ = value
1820
+ # now check if alias
1821
+ try:
1822
+ contained = value2member_map.get(member._value_)
1823
+ except TypeError:
1824
+ contained = None
1825
+ if member._value_ in unhashable_values or member.value in hashable_values:
1826
+ for m in enum_class:
1827
+ if m._value_ == member._value_:
1828
+ contained = m
1829
+ break
1830
+ if contained is not None:
1831
+ # an alias to an existing member
1832
+ contained._add_alias_(name)
1833
+ else:
1834
+ # finish creating member
1835
+ member._name_ = name
1836
+ member.__objclass__ = enum_class
1837
+ member.__init__(value)
1838
+ member._sort_order_ = len(member_names)
1839
+ if name not in ('name', 'value'):
1840
+ setattr(enum_class, name, member)
1841
+ member_map[name] = member
1842
+ else:
1843
+ enum_class._add_member_(name, member)
1844
+ value2member_map[value] = member
1845
+ hashable_values.append(value)
1846
+ if _is_single_bit(value):
1847
+ # not a multi-bit alias, record in _member_names_ and _flag_mask_
1848
+ member_names.append(name)
1849
+ single_bits |= value
1850
+ else:
1851
+ multi_bits |= value
1852
+ gnv_last_values.append(value)
1853
+ enum_class._flag_mask_ = single_bits | multi_bits
1854
+ enum_class._singles_mask_ = single_bits
1855
+ enum_class._all_bits_ = 2 ** ((single_bits|multi_bits).bit_length()) - 1
1856
+ # set correct __iter__
1857
+ member_list = [m._value_ for m in enum_class]
1858
+ if member_list != sorted(member_list):
1859
+ enum_class._iter_member_ = enum_class._iter_member_by_def_
1860
+ else:
1861
+ # Enum / IntEnum / StrEnum
1862
+ for name, value in attrs.items():
1863
+ if isinstance(value, auto):
1864
+ if value.value is _auto_null:
1865
+ value.value = gnv(name, 1, len(member_names), gnv_last_values)
1866
+ value = value.value
1867
+ # create basic member (possibly isolate value for alias check)
1868
+ if use_args:
1869
+ if not isinstance(value, tuple):
1870
+ value = (value, )
1871
+ member = new_member(enum_class, *value)
1872
+ value = value[0]
1873
+ else:
1874
+ member = new_member(enum_class)
1875
+ if __new__ is None:
1876
+ member._value_ = value
1877
+ # now check if alias
1878
+ try:
1879
+ contained = value2member_map.get(member._value_)
1880
+ except TypeError:
1881
+ contained = None
1882
+ if member._value_ in unhashable_values or member._value_ in hashable_values:
1883
+ for m in enum_class:
1884
+ if m._value_ == member._value_:
1885
+ contained = m
1886
+ break
1887
+ if contained is not None:
1888
+ # an alias to an existing member
1889
+ contained._add_alias_(name)
1890
+ else:
1891
+ # finish creating member
1892
+ member._name_ = name
1893
+ member.__objclass__ = enum_class
1894
+ member.__init__(value)
1895
+ member._sort_order_ = len(member_names)
1896
+ if name not in ('name', 'value'):
1897
+ setattr(enum_class, name, member)
1898
+ member_map[name] = member
1899
+ else:
1900
+ enum_class._add_member_(name, member)
1901
+ member_names.append(name)
1902
+ gnv_last_values.append(value)
1903
+ try:
1904
+ # This may fail if value is not hashable. We can't add the value
1905
+ # to the map, and by-value lookups for this value will be
1906
+ # linear.
1907
+ enum_class._value2member_map_.setdefault(value, member)
1908
+ if value not in hashable_values:
1909
+ hashable_values.append(value)
1910
+ except TypeError:
1911
+ # keep track of the value in a list so containment checks are quick
1912
+ enum_class._unhashable_values_.append(value)
1913
+ enum_class._unhashable_values_map_.setdefault(name, []).append(value)
1914
+ if '__new__' in body:
1915
+ enum_class.__new_member__ = enum_class.__new__
1916
+ enum_class.__new__ = Enum.__new__
1917
+ return enum_class
1918
+ return convert_class
1919
+
1920
+ @_simple_enum(StrEnum)
1921
+ class EnumCheck:
1922
+ """
1923
+ various conditions to check an enumeration for
1924
+ """
1925
+ CONTINUOUS = "no skipped integer values"
1926
+ NAMED_FLAGS = "multi-flag aliases may not contain unnamed flags"
1927
+ UNIQUE = "one name per value"
1928
+ CONTINUOUS, NAMED_FLAGS, UNIQUE = EnumCheck
1929
+
1930
+
1931
+ class verify:
1932
+ """
1933
+ Check an enumeration for various constraints. (see EnumCheck)
1934
+ """
1935
+ def __init__(self, *checks):
1936
+ self.checks = checks
1937
+ def __call__(self, enumeration):
1938
+ checks = self.checks
1939
+ cls_name = enumeration.__name__
1940
+ if Flag is not None and issubclass(enumeration, Flag):
1941
+ enum_type = 'flag'
1942
+ elif issubclass(enumeration, Enum):
1943
+ enum_type = 'enum'
1944
+ else:
1945
+ raise TypeError("the 'verify' decorator only works with Enum and Flag")
1946
+ for check in checks:
1947
+ if check is UNIQUE:
1948
+ # check for duplicate names
1949
+ duplicates = []
1950
+ for name, member in enumeration.__members__.items():
1951
+ if name != member.name:
1952
+ duplicates.append((name, member.name))
1953
+ if duplicates:
1954
+ alias_details = ', '.join(
1955
+ ["%s -> %s" % (alias, name) for (alias, name) in duplicates])
1956
+ raise ValueError('aliases found in %r: %s' %
1957
+ (enumeration, alias_details))
1958
+ elif check is CONTINUOUS:
1959
+ values = set(e.value for e in enumeration)
1960
+ if len(values) < 2:
1961
+ continue
1962
+ low, high = min(values), max(values)
1963
+ missing = []
1964
+ if enum_type == 'flag':
1965
+ # check for powers of two
1966
+ for i in range(_high_bit(low)+1, _high_bit(high)):
1967
+ if 2**i not in values:
1968
+ missing.append(2**i)
1969
+ elif enum_type == 'enum':
1970
+ # check for missing consecutive integers
1971
+ for i in range(low+1, high):
1972
+ if i not in values:
1973
+ missing.append(i)
1974
+ else:
1975
+ raise Exception('verify: unknown type %r' % enum_type)
1976
+ if missing:
1977
+ raise ValueError(('invalid %s %r: missing values %s' % (
1978
+ enum_type, cls_name, ', '.join((str(m) for m in missing)))
1979
+ )[:256])
1980
+ # limit max length to protect against DOS attacks
1981
+ elif check is NAMED_FLAGS:
1982
+ # examine each alias and check for unnamed flags
1983
+ member_names = enumeration._member_names_
1984
+ member_values = [m.value for m in enumeration]
1985
+ missing_names = []
1986
+ missing_value = 0
1987
+ for name, alias in enumeration._member_map_.items():
1988
+ if name in member_names:
1989
+ # not an alias
1990
+ continue
1991
+ if alias.value < 0:
1992
+ # negative numbers are not checked
1993
+ continue
1994
+ values = list(_iter_bits_lsb(alias.value))
1995
+ missed = [v for v in values if v not in member_values]
1996
+ if missed:
1997
+ missing_names.append(name)
1998
+ for val in missed:
1999
+ missing_value |= val
2000
+ if missing_names:
2001
+ if len(missing_names) == 1:
2002
+ alias = 'alias %s is missing' % missing_names[0]
2003
+ else:
2004
+ alias = 'aliases %s and %s are missing' % (
2005
+ ', '.join(missing_names[:-1]), missing_names[-1]
2006
+ )
2007
+ if _is_single_bit(missing_value):
2008
+ value = 'value 0x%x' % missing_value
2009
+ else:
2010
+ value = 'combined values of 0x%x' % missing_value
2011
+ raise ValueError(
2012
+ 'invalid Flag %r: %s %s [use enum.show_flag_values(value) for details]'
2013
+ % (cls_name, alias, value)
2014
+ )
2015
+ return enumeration
2016
+
2017
+ def _test_simple_enum(checked_enum, simple_enum):
2018
+ """
2019
+ A function that can be used to test an enum created with :func:`_simple_enum`
2020
+ against the version created by subclassing :class:`Enum`::
2021
+
2022
+ >>> from enum import Enum, _simple_enum, _test_simple_enum
2023
+ >>> @_simple_enum(Enum)
2024
+ ... class Color:
2025
+ ... RED = auto()
2026
+ ... GREEN = auto()
2027
+ ... BLUE = auto()
2028
+ >>> class CheckedColor(Enum):
2029
+ ... RED = auto()
2030
+ ... GREEN = auto()
2031
+ ... BLUE = auto()
2032
+ >>> _test_simple_enum(CheckedColor, Color)
2033
+
2034
+ If differences are found, a :exc:`TypeError` is raised.
2035
+ """
2036
+ failed = []
2037
+ if checked_enum.__dict__ != simple_enum.__dict__:
2038
+ checked_dict = checked_enum.__dict__
2039
+ checked_keys = list(checked_dict.keys())
2040
+ simple_dict = simple_enum.__dict__
2041
+ simple_keys = list(simple_dict.keys())
2042
+ member_names = set(
2043
+ list(checked_enum._member_map_.keys())
2044
+ + list(simple_enum._member_map_.keys())
2045
+ )
2046
+ for key in set(checked_keys + simple_keys):
2047
+ if key in ('__module__', '_member_map_', '_value2member_map_', '__doc__',
2048
+ '__static_attributes__', '__firstlineno__'):
2049
+ # keys known to be different, or very long
2050
+ continue
2051
+ elif key in member_names:
2052
+ # members are checked below
2053
+ continue
2054
+ elif key not in simple_keys:
2055
+ failed.append("missing key: %r" % (key, ))
2056
+ elif key not in checked_keys:
2057
+ failed.append("extra key: %r" % (key, ))
2058
+ else:
2059
+ checked_value = checked_dict[key]
2060
+ simple_value = simple_dict[key]
2061
+ if callable(checked_value) or isinstance(checked_value, bltns.property):
2062
+ continue
2063
+ if key == '__doc__':
2064
+ # remove all spaces/tabs
2065
+ compressed_checked_value = checked_value.replace(' ','').replace('\t','')
2066
+ compressed_simple_value = simple_value.replace(' ','').replace('\t','')
2067
+ if compressed_checked_value != compressed_simple_value:
2068
+ failed.append("%r:\n %s\n %s" % (
2069
+ key,
2070
+ "checked -> %r" % (checked_value, ),
2071
+ "simple -> %r" % (simple_value, ),
2072
+ ))
2073
+ elif checked_value != simple_value:
2074
+ failed.append("%r:\n %s\n %s" % (
2075
+ key,
2076
+ "checked -> %r" % (checked_value, ),
2077
+ "simple -> %r" % (simple_value, ),
2078
+ ))
2079
+ failed.sort()
2080
+ for name in member_names:
2081
+ failed_member = []
2082
+ if name not in simple_keys:
2083
+ failed.append('missing member from simple enum: %r' % name)
2084
+ elif name not in checked_keys:
2085
+ failed.append('extra member in simple enum: %r' % name)
2086
+ else:
2087
+ checked_member_dict = checked_enum[name].__dict__
2088
+ checked_member_keys = list(checked_member_dict.keys())
2089
+ simple_member_dict = simple_enum[name].__dict__
2090
+ simple_member_keys = list(simple_member_dict.keys())
2091
+ for key in set(checked_member_keys + simple_member_keys):
2092
+ if key in ('__module__', '__objclass__', '_inverted_'):
2093
+ # keys known to be different or absent
2094
+ continue
2095
+ elif key not in simple_member_keys:
2096
+ failed_member.append("missing key %r not in the simple enum member %r" % (key, name))
2097
+ elif key not in checked_member_keys:
2098
+ failed_member.append("extra key %r in simple enum member %r" % (key, name))
2099
+ else:
2100
+ checked_value = checked_member_dict[key]
2101
+ simple_value = simple_member_dict[key]
2102
+ if checked_value != simple_value:
2103
+ failed_member.append("%r:\n %s\n %s" % (
2104
+ key,
2105
+ "checked member -> %r" % (checked_value, ),
2106
+ "simple member -> %r" % (simple_value, ),
2107
+ ))
2108
+ if failed_member:
2109
+ failed.append('%r member mismatch:\n %s' % (
2110
+ name, '\n '.join(failed_member),
2111
+ ))
2112
+ for method in (
2113
+ '__str__', '__repr__', '__reduce_ex__', '__format__',
2114
+ '__getnewargs_ex__', '__getnewargs__', '__reduce_ex__', '__reduce__'
2115
+ ):
2116
+ if method in simple_keys and method in checked_keys:
2117
+ # cannot compare functions, and it exists in both, so we're good
2118
+ continue
2119
+ elif method not in simple_keys and method not in checked_keys:
2120
+ # method is inherited -- check it out
2121
+ checked_method = getattr(checked_enum, method, None)
2122
+ simple_method = getattr(simple_enum, method, None)
2123
+ if hasattr(checked_method, '__func__'):
2124
+ checked_method = checked_method.__func__
2125
+ simple_method = simple_method.__func__
2126
+ if checked_method != simple_method:
2127
+ failed.append("%r: %-30s %s" % (
2128
+ method,
2129
+ "checked -> %r" % (checked_method, ),
2130
+ "simple -> %r" % (simple_method, ),
2131
+ ))
2132
+ else:
2133
+ # if the method existed in only one of the enums, it will have been caught
2134
+ # in the first checks above
2135
+ pass
2136
+ if failed:
2137
+ raise TypeError('enum mismatch:\n %s' % '\n '.join(failed))
2138
+
2139
+ def _old_convert_(etype, name, module, filter, source=None, *, boundary=None):
2140
+ """
2141
+ Create a new Enum subclass that replaces a collection of global constants
2142
+ """
2143
+ # convert all constants from source (or module) that pass filter() to
2144
+ # a new Enum called name, and export the enum and its members back to
2145
+ # module;
2146
+ # also, replace the __reduce_ex__ method so unpickling works in
2147
+ # previous Python versions
2148
+ module_globals = sys.modules[module].__dict__
2149
+ if source:
2150
+ source = source.__dict__
2151
+ else:
2152
+ source = module_globals
2153
+ # _value2member_map_ is populated in the same order every time
2154
+ # for a consistent reverse mapping of number to name when there
2155
+ # are multiple names for the same number.
2156
+ members = [
2157
+ (name, value)
2158
+ for name, value in source.items()
2159
+ if filter(name)]
2160
+ try:
2161
+ # sort by value
2162
+ members.sort(key=lambda t: (t[1], t[0]))
2163
+ except TypeError:
2164
+ # unless some values aren't comparable, in which case sort by name
2165
+ members.sort(key=lambda t: t[0])
2166
+ cls = etype(name, members, module=module, boundary=boundary or KEEP)
2167
+ return cls
2168
+
2169
+ _stdlib_enums = IntEnum, StrEnum, IntFlag