@ai-ecoverse/wasix-python 3.14.2-2

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 (2512) hide show
  1. package/LICENSE +277 -0
  2. package/README.md +22 -0
  3. package/bin/python.wasm +0 -0
  4. package/include/python3.14/Python.h +155 -0
  5. package/include/python3.14/README.rst +14 -0
  6. package/include/python3.14/abstract.h +915 -0
  7. package/include/python3.14/audit.h +30 -0
  8. package/include/python3.14/bltinmodule.h +14 -0
  9. package/include/python3.14/boolobject.h +54 -0
  10. package/include/python3.14/bytearrayobject.h +44 -0
  11. package/include/python3.14/bytesobject.h +66 -0
  12. package/include/python3.14/ceval.h +145 -0
  13. package/include/python3.14/codecs.h +176 -0
  14. package/include/python3.14/compile.h +22 -0
  15. package/include/python3.14/complexobject.h +30 -0
  16. package/include/python3.14/cpython/abstract.h +104 -0
  17. package/include/python3.14/cpython/audit.h +8 -0
  18. package/include/python3.14/cpython/bytearrayobject.h +38 -0
  19. package/include/python3.14/cpython/bytesobject.h +42 -0
  20. package/include/python3.14/cpython/cellobject.h +50 -0
  21. package/include/python3.14/cpython/ceval.h +43 -0
  22. package/include/python3.14/cpython/classobject.h +71 -0
  23. package/include/python3.14/cpython/code.h +340 -0
  24. package/include/python3.14/cpython/compile.h +50 -0
  25. package/include/python3.14/cpython/complexobject.h +33 -0
  26. package/include/python3.14/cpython/context.h +107 -0
  27. package/include/python3.14/cpython/critical_section.h +154 -0
  28. package/include/python3.14/cpython/descrobject.h +62 -0
  29. package/include/python3.14/cpython/dictobject.h +105 -0
  30. package/include/python3.14/cpython/fileobject.h +16 -0
  31. package/include/python3.14/cpython/fileutils.h +16 -0
  32. package/include/python3.14/cpython/floatobject.h +27 -0
  33. package/include/python3.14/cpython/frameobject.h +35 -0
  34. package/include/python3.14/cpython/funcobject.h +185 -0
  35. package/include/python3.14/cpython/genobject.h +56 -0
  36. package/include/python3.14/cpython/import.h +30 -0
  37. package/include/python3.14/cpython/initconfig.h +334 -0
  38. package/include/python3.14/cpython/listobject.h +53 -0
  39. package/include/python3.14/cpython/lock.h +74 -0
  40. package/include/python3.14/cpython/longintrepr.h +184 -0
  41. package/include/python3.14/cpython/longobject.h +89 -0
  42. package/include/python3.14/cpython/memoryobject.h +50 -0
  43. package/include/python3.14/cpython/methodobject.h +66 -0
  44. package/include/python3.14/cpython/modsupport.h +26 -0
  45. package/include/python3.14/cpython/monitoring.h +269 -0
  46. package/include/python3.14/cpython/object.h +493 -0
  47. package/include/python3.14/cpython/objimpl.h +104 -0
  48. package/include/python3.14/cpython/odictobject.h +43 -0
  49. package/include/python3.14/cpython/picklebufobject.h +31 -0
  50. package/include/python3.14/cpython/pthread_stubs.h +105 -0
  51. package/include/python3.14/cpython/pyatomic.h +614 -0
  52. package/include/python3.14/cpython/pyatomic_gcc.h +615 -0
  53. package/include/python3.14/cpython/pyatomic_msc.h +1197 -0
  54. package/include/python3.14/cpython/pyatomic_std.h +1112 -0
  55. package/include/python3.14/cpython/pyctype.h +39 -0
  56. package/include/python3.14/cpython/pydebug.h +38 -0
  57. package/include/python3.14/cpython/pyerrors.h +132 -0
  58. package/include/python3.14/cpython/pyfpe.h +15 -0
  59. package/include/python3.14/cpython/pyframe.h +45 -0
  60. package/include/python3.14/cpython/pyhash.h +54 -0
  61. package/include/python3.14/cpython/pylifecycle.h +89 -0
  62. package/include/python3.14/cpython/pymem.h +84 -0
  63. package/include/python3.14/cpython/pystate.h +275 -0
  64. package/include/python3.14/cpython/pystats.h +194 -0
  65. package/include/python3.14/cpython/pythonrun.h +96 -0
  66. package/include/python3.14/cpython/pythread.h +43 -0
  67. package/include/python3.14/cpython/pytime.h +27 -0
  68. package/include/python3.14/cpython/setobject.h +71 -0
  69. package/include/python3.14/cpython/traceback.h +13 -0
  70. package/include/python3.14/cpython/tracemalloc.h +32 -0
  71. package/include/python3.14/cpython/tupleobject.h +40 -0
  72. package/include/python3.14/cpython/unicodeobject.h +773 -0
  73. package/include/python3.14/cpython/warnings.h +20 -0
  74. package/include/python3.14/cpython/weakrefobject.h +66 -0
  75. package/include/python3.14/critical_section.h +16 -0
  76. package/include/python3.14/datetime.h +267 -0
  77. package/include/python3.14/descrobject.h +100 -0
  78. package/include/python3.14/dictobject.h +108 -0
  79. package/include/python3.14/dynamic_annotations.h +499 -0
  80. package/include/python3.14/enumobject.h +17 -0
  81. package/include/python3.14/errcode.h +45 -0
  82. package/include/python3.14/exports.h +105 -0
  83. package/include/python3.14/fileobject.h +41 -0
  84. package/include/python3.14/fileutils.h +62 -0
  85. package/include/python3.14/floatobject.h +54 -0
  86. package/include/python3.14/frameobject.h +20 -0
  87. package/include/python3.14/genericaliasobject.h +14 -0
  88. package/include/python3.14/import.h +103 -0
  89. package/include/python3.14/internal/mimalloc/mimalloc/atomic.h +392 -0
  90. package/include/python3.14/internal/mimalloc/mimalloc/internal.h +969 -0
  91. package/include/python3.14/internal/mimalloc/mimalloc/prim.h +329 -0
  92. package/include/python3.14/internal/mimalloc/mimalloc/track.h +147 -0
  93. package/include/python3.14/internal/mimalloc/mimalloc/types.h +721 -0
  94. package/include/python3.14/internal/mimalloc/mimalloc.h +565 -0
  95. package/include/python3.14/internal/pycore_abstract.h +61 -0
  96. package/include/python3.14/internal/pycore_asdl.h +112 -0
  97. package/include/python3.14/internal/pycore_ast.h +945 -0
  98. package/include/python3.14/internal/pycore_ast_state.h +271 -0
  99. package/include/python3.14/internal/pycore_atexit.h +31 -0
  100. package/include/python3.14/internal/pycore_audit.h +35 -0
  101. package/include/python3.14/internal/pycore_backoff.h +133 -0
  102. package/include/python3.14/internal/pycore_bitutils.h +186 -0
  103. package/include/python3.14/internal/pycore_blocks_output_buffer.h +321 -0
  104. package/include/python3.14/internal/pycore_brc.h +73 -0
  105. package/include/python3.14/internal/pycore_bytes_methods.h +82 -0
  106. package/include/python3.14/internal/pycore_bytesobject.h +149 -0
  107. package/include/python3.14/internal/pycore_c_array.h +39 -0
  108. package/include/python3.14/internal/pycore_call.h +206 -0
  109. package/include/python3.14/internal/pycore_capsule.h +17 -0
  110. package/include/python3.14/internal/pycore_cell.h +75 -0
  111. package/include/python3.14/internal/pycore_ceval.h +390 -0
  112. package/include/python3.14/internal/pycore_ceval_state.h +48 -0
  113. package/include/python3.14/internal/pycore_code.h +671 -0
  114. package/include/python3.14/internal/pycore_codecs.h +76 -0
  115. package/include/python3.14/internal/pycore_compile.h +230 -0
  116. package/include/python3.14/internal/pycore_complexobject.h +34 -0
  117. package/include/python3.14/internal/pycore_condvar.h +93 -0
  118. package/include/python3.14/internal/pycore_context.h +59 -0
  119. package/include/python3.14/internal/pycore_critical_section.h +237 -0
  120. package/include/python3.14/internal/pycore_crossinterp.h +406 -0
  121. package/include/python3.14/internal/pycore_crossinterp_data_registry.h +41 -0
  122. package/include/python3.14/internal/pycore_debug_offsets.h +379 -0
  123. package/include/python3.14/internal/pycore_descrobject.h +28 -0
  124. package/include/python3.14/internal/pycore_dict.h +410 -0
  125. package/include/python3.14/internal/pycore_dict_state.h +28 -0
  126. package/include/python3.14/internal/pycore_dtoa.h +40 -0
  127. package/include/python3.14/internal/pycore_emscripten_signal.h +30 -0
  128. package/include/python3.14/internal/pycore_emscripten_trampoline.h +70 -0
  129. package/include/python3.14/internal/pycore_exceptions.h +40 -0
  130. package/include/python3.14/internal/pycore_faulthandler.h +100 -0
  131. package/include/python3.14/internal/pycore_fileutils.h +320 -0
  132. package/include/python3.14/internal/pycore_fileutils_windows.h +98 -0
  133. package/include/python3.14/internal/pycore_floatobject.h +49 -0
  134. package/include/python3.14/internal/pycore_flowgraph.h +47 -0
  135. package/include/python3.14/internal/pycore_format.h +27 -0
  136. package/include/python3.14/internal/pycore_frame.h +61 -0
  137. package/include/python3.14/internal/pycore_freelist.h +111 -0
  138. package/include/python3.14/internal/pycore_freelist_state.h +70 -0
  139. package/include/python3.14/internal/pycore_function.h +53 -0
  140. package/include/python3.14/internal/pycore_gc.h +378 -0
  141. package/include/python3.14/internal/pycore_genobject.h +43 -0
  142. package/include/python3.14/internal/pycore_getopt.h +22 -0
  143. package/include/python3.14/internal/pycore_gil.h +66 -0
  144. package/include/python3.14/internal/pycore_global_objects.h +34 -0
  145. package/include/python3.14/internal/pycore_global_objects_fini_generated.h +1592 -0
  146. package/include/python3.14/internal/pycore_global_strings.h +854 -0
  147. package/include/python3.14/internal/pycore_hamt.h +113 -0
  148. package/include/python3.14/internal/pycore_hashtable.h +150 -0
  149. package/include/python3.14/internal/pycore_import.h +141 -0
  150. package/include/python3.14/internal/pycore_importdl.h +139 -0
  151. package/include/python3.14/internal/pycore_index_pool.h +36 -0
  152. package/include/python3.14/internal/pycore_initconfig.h +197 -0
  153. package/include/python3.14/internal/pycore_instruction_sequence.h +83 -0
  154. package/include/python3.14/internal/pycore_instruments.h +127 -0
  155. package/include/python3.14/internal/pycore_interp.h +109 -0
  156. package/include/python3.14/internal/pycore_interp_structs.h +977 -0
  157. package/include/python3.14/internal/pycore_interpframe.h +401 -0
  158. package/include/python3.14/internal/pycore_interpframe_structs.h +95 -0
  159. package/include/python3.14/internal/pycore_interpolation.h +26 -0
  160. package/include/python3.14/internal/pycore_intrinsics.h +51 -0
  161. package/include/python3.14/internal/pycore_jit.h +29 -0
  162. package/include/python3.14/internal/pycore_list.h +81 -0
  163. package/include/python3.14/internal/pycore_llist.h +106 -0
  164. package/include/python3.14/internal/pycore_lock.h +236 -0
  165. package/include/python3.14/internal/pycore_long.h +319 -0
  166. package/include/python3.14/internal/pycore_magic_number.h +305 -0
  167. package/include/python3.14/internal/pycore_memoryobject.h +20 -0
  168. package/include/python3.14/internal/pycore_mimalloc.h +69 -0
  169. package/include/python3.14/internal/pycore_modsupport.h +99 -0
  170. package/include/python3.14/internal/pycore_moduleobject.h +62 -0
  171. package/include/python3.14/internal/pycore_namespace.h +21 -0
  172. package/include/python3.14/internal/pycore_object.h +1029 -0
  173. package/include/python3.14/internal/pycore_object_alloc.h +71 -0
  174. package/include/python3.14/internal/pycore_object_deferred.h +32 -0
  175. package/include/python3.14/internal/pycore_object_stack.h +95 -0
  176. package/include/python3.14/internal/pycore_object_state.h +49 -0
  177. package/include/python3.14/internal/pycore_obmalloc.h +702 -0
  178. package/include/python3.14/internal/pycore_obmalloc_init.h +66 -0
  179. package/include/python3.14/internal/pycore_opcode_metadata.h +2117 -0
  180. package/include/python3.14/internal/pycore_opcode_utils.h +90 -0
  181. package/include/python3.14/internal/pycore_optimizer.h +318 -0
  182. package/include/python3.14/internal/pycore_parking_lot.h +97 -0
  183. package/include/python3.14/internal/pycore_parser.h +78 -0
  184. package/include/python3.14/internal/pycore_pathconfig.h +26 -0
  185. package/include/python3.14/internal/pycore_pyarena.h +68 -0
  186. package/include/python3.14/internal/pycore_pyatomic_ft_wrappers.h +174 -0
  187. package/include/python3.14/internal/pycore_pybuffer.h +21 -0
  188. package/include/python3.14/internal/pycore_pyerrors.h +213 -0
  189. package/include/python3.14/internal/pycore_pyhash.h +91 -0
  190. package/include/python3.14/internal/pycore_pylifecycle.h +136 -0
  191. package/include/python3.14/internal/pycore_pymath.h +205 -0
  192. package/include/python3.14/internal/pycore_pymem.h +145 -0
  193. package/include/python3.14/internal/pycore_pymem_init.h +103 -0
  194. package/include/python3.14/internal/pycore_pystate.h +339 -0
  195. package/include/python3.14/internal/pycore_pystats.h +21 -0
  196. package/include/python3.14/internal/pycore_pythonrun.h +68 -0
  197. package/include/python3.14/internal/pycore_pythread.h +172 -0
  198. package/include/python3.14/internal/pycore_qsbr.h +172 -0
  199. package/include/python3.14/internal/pycore_range.h +21 -0
  200. package/include/python3.14/internal/pycore_runtime.h +63 -0
  201. package/include/python3.14/internal/pycore_runtime_init.h +239 -0
  202. package/include/python3.14/internal/pycore_runtime_init_generated.h +1589 -0
  203. package/include/python3.14/internal/pycore_runtime_structs.h +310 -0
  204. package/include/python3.14/internal/pycore_semaphore.h +67 -0
  205. package/include/python3.14/internal/pycore_setobject.h +41 -0
  206. package/include/python3.14/internal/pycore_signal.h +108 -0
  207. package/include/python3.14/internal/pycore_sliceobject.h +20 -0
  208. package/include/python3.14/internal/pycore_stackref.h +791 -0
  209. package/include/python3.14/internal/pycore_stats.h +97 -0
  210. package/include/python3.14/internal/pycore_strhex.h +39 -0
  211. package/include/python3.14/internal/pycore_structs.h +88 -0
  212. package/include/python3.14/internal/pycore_structseq.h +40 -0
  213. package/include/python3.14/internal/pycore_symtable.h +201 -0
  214. package/include/python3.14/internal/pycore_sysmodule.h +32 -0
  215. package/include/python3.14/internal/pycore_template.h +26 -0
  216. package/include/python3.14/internal/pycore_time.h +334 -0
  217. package/include/python3.14/internal/pycore_token.h +110 -0
  218. package/include/python3.14/internal/pycore_traceback.h +111 -0
  219. package/include/python3.14/internal/pycore_tracemalloc.h +164 -0
  220. package/include/python3.14/internal/pycore_tstate.h +88 -0
  221. package/include/python3.14/internal/pycore_tuple.h +75 -0
  222. package/include/python3.14/internal/pycore_typedefs.h +18 -0
  223. package/include/python3.14/internal/pycore_typeobject.h +155 -0
  224. package/include/python3.14/internal/pycore_typevarobject.h +28 -0
  225. package/include/python3.14/internal/pycore_ucnhash.h +36 -0
  226. package/include/python3.14/internal/pycore_unicodeobject.h +308 -0
  227. package/include/python3.14/internal/pycore_unicodeobject_generated.h +3132 -0
  228. package/include/python3.14/internal/pycore_unionobject.h +26 -0
  229. package/include/python3.14/internal/pycore_uniqueid.h +57 -0
  230. package/include/python3.14/internal/pycore_uop_ids.h +335 -0
  231. package/include/python3.14/internal/pycore_uop_metadata.h +1204 -0
  232. package/include/python3.14/internal/pycore_warnings.h +21 -0
  233. package/include/python3.14/internal/pycore_weakref.h +133 -0
  234. package/include/python3.14/intrcheck.h +23 -0
  235. package/include/python3.14/iterobject.h +24 -0
  236. package/include/python3.14/listobject.h +55 -0
  237. package/include/python3.14/lock.h +16 -0
  238. package/include/python3.14/longobject.h +178 -0
  239. package/include/python3.14/marshal.h +31 -0
  240. package/include/python3.14/memoryobject.h +34 -0
  241. package/include/python3.14/methodobject.h +146 -0
  242. package/include/python3.14/modsupport.h +146 -0
  243. package/include/python3.14/moduleobject.h +122 -0
  244. package/include/python3.14/monitoring.h +18 -0
  245. package/include/python3.14/object.h +828 -0
  246. package/include/python3.14/objimpl.h +211 -0
  247. package/include/python3.14/opcode.h +43 -0
  248. package/include/python3.14/opcode_ids.h +259 -0
  249. package/include/python3.14/osdefs.h +57 -0
  250. package/include/python3.14/osmodule.h +17 -0
  251. package/include/python3.14/patchlevel.h +49 -0
  252. package/include/python3.14/py_curses.h +117 -0
  253. package/include/python3.14/pyatomic.h +16 -0
  254. package/include/python3.14/pybuffer.h +145 -0
  255. package/include/python3.14/pycapsule.h +58 -0
  256. package/include/python3.14/pyconfig.h +2087 -0
  257. package/include/python3.14/pydtrace.d +22 -0
  258. package/include/python3.14/pydtrace.h +59 -0
  259. package/include/python3.14/pyerrors.h +335 -0
  260. package/include/python3.14/pyexpat.h +62 -0
  261. package/include/python3.14/pyframe.h +26 -0
  262. package/include/python3.14/pyhash.h +59 -0
  263. package/include/python3.14/pylifecycle.h +80 -0
  264. package/include/python3.14/pymacconfig.h +91 -0
  265. package/include/python3.14/pymacro.h +243 -0
  266. package/include/python3.14/pymath.h +65 -0
  267. package/include/python3.14/pymem.h +110 -0
  268. package/include/python3.14/pyport.h +710 -0
  269. package/include/python3.14/pystate.h +132 -0
  270. package/include/python3.14/pystats.h +28 -0
  271. package/include/python3.14/pystrcmp.h +23 -0
  272. package/include/python3.14/pystrtod.h +37 -0
  273. package/include/python3.14/pythonrun.h +42 -0
  274. package/include/python3.14/pythread.h +131 -0
  275. package/include/python3.14/pytypedefs.h +30 -0
  276. package/include/python3.14/rangeobject.h +27 -0
  277. package/include/python3.14/refcount.h +555 -0
  278. package/include/python3.14/setobject.h +49 -0
  279. package/include/python3.14/sliceobject.h +69 -0
  280. package/include/python3.14/structmember.h +56 -0
  281. package/include/python3.14/structseq.h +46 -0
  282. package/include/python3.14/sysmodule.h +27 -0
  283. package/include/python3.14/traceback.h +26 -0
  284. package/include/python3.14/tupleobject.h +46 -0
  285. package/include/python3.14/typeslots.h +96 -0
  286. package/include/python3.14/unicodeobject.h +1029 -0
  287. package/include/python3.14/warnings.h +45 -0
  288. package/include/python3.14/weakrefobject.h +46 -0
  289. package/lib/libpython3.14.a +4 -0
  290. package/lib/pkgconfig/python-3.14-embed.pc +13 -0
  291. package/lib/pkgconfig/python-3.14.pc +13 -0
  292. package/lib/python3.14/LICENSE.txt +277 -0
  293. package/lib/python3.14/__future__.py +147 -0
  294. package/lib/python3.14/__hello__.py +16 -0
  295. package/lib/python3.14/__phello__/__init__.py +7 -0
  296. package/lib/python3.14/__phello__/__pycache__/__init__.cpython-314.pyc +0 -0
  297. package/lib/python3.14/__phello__/__pycache__/spam.cpython-314.pyc +0 -0
  298. package/lib/python3.14/__phello__/spam.py +7 -0
  299. package/lib/python3.14/__pycache__/__future__.cpython-314.pyc +0 -0
  300. package/lib/python3.14/__pycache__/__hello__.cpython-314.pyc +0 -0
  301. package/lib/python3.14/__pycache__/_aix_support.cpython-314.pyc +0 -0
  302. package/lib/python3.14/__pycache__/_android_support.cpython-314.pyc +0 -0
  303. package/lib/python3.14/__pycache__/_apple_support.cpython-314.pyc +0 -0
  304. package/lib/python3.14/__pycache__/_ast_unparse.cpython-314.pyc +0 -0
  305. package/lib/python3.14/__pycache__/_collections_abc.cpython-314.pyc +0 -0
  306. package/lib/python3.14/__pycache__/_colorize.cpython-314.pyc +0 -0
  307. package/lib/python3.14/__pycache__/_compat_pickle.cpython-314.pyc +0 -0
  308. package/lib/python3.14/__pycache__/_ios_support.cpython-314.pyc +0 -0
  309. package/lib/python3.14/__pycache__/_markupbase.cpython-314.pyc +0 -0
  310. package/lib/python3.14/__pycache__/_opcode_metadata.cpython-314.pyc +0 -0
  311. package/lib/python3.14/__pycache__/_osx_support.cpython-314.pyc +0 -0
  312. package/lib/python3.14/__pycache__/_py_abc.cpython-314.pyc +0 -0
  313. package/lib/python3.14/__pycache__/_py_warnings.cpython-314.pyc +0 -0
  314. package/lib/python3.14/__pycache__/_pydatetime.cpython-314.pyc +0 -0
  315. package/lib/python3.14/__pycache__/_pydecimal.cpython-314.pyc +0 -0
  316. package/lib/python3.14/__pycache__/_pyio.cpython-314.pyc +0 -0
  317. package/lib/python3.14/__pycache__/_pylong.cpython-314.pyc +0 -0
  318. package/lib/python3.14/__pycache__/_sitebuiltins.cpython-314.pyc +0 -0
  319. package/lib/python3.14/__pycache__/_strptime.cpython-314.pyc +0 -0
  320. package/lib/python3.14/__pycache__/_sysconfigdata__wasi_wasm32-wasi-threads.cpython-314.pyc +0 -0
  321. package/lib/python3.14/__pycache__/_threading_local.cpython-314.pyc +0 -0
  322. package/lib/python3.14/__pycache__/_weakrefset.cpython-314.pyc +0 -0
  323. package/lib/python3.14/__pycache__/abc.cpython-314.pyc +0 -0
  324. package/lib/python3.14/__pycache__/annotationlib.cpython-314.pyc +0 -0
  325. package/lib/python3.14/__pycache__/antigravity.cpython-314.pyc +0 -0
  326. package/lib/python3.14/__pycache__/argparse.cpython-314.pyc +0 -0
  327. package/lib/python3.14/__pycache__/ast.cpython-314.pyc +0 -0
  328. package/lib/python3.14/__pycache__/base64.cpython-314.pyc +0 -0
  329. package/lib/python3.14/__pycache__/bdb.cpython-314.pyc +0 -0
  330. package/lib/python3.14/__pycache__/bisect.cpython-314.pyc +0 -0
  331. package/lib/python3.14/__pycache__/bz2.cpython-314.pyc +0 -0
  332. package/lib/python3.14/__pycache__/cProfile.cpython-314.pyc +0 -0
  333. package/lib/python3.14/__pycache__/calendar.cpython-314.pyc +0 -0
  334. package/lib/python3.14/__pycache__/cmd.cpython-314.pyc +0 -0
  335. package/lib/python3.14/__pycache__/code.cpython-314.pyc +0 -0
  336. package/lib/python3.14/__pycache__/codecs.cpython-314.pyc +0 -0
  337. package/lib/python3.14/__pycache__/codeop.cpython-314.pyc +0 -0
  338. package/lib/python3.14/__pycache__/colorsys.cpython-314.pyc +0 -0
  339. package/lib/python3.14/__pycache__/compileall.cpython-314.pyc +0 -0
  340. package/lib/python3.14/__pycache__/configparser.cpython-314.pyc +0 -0
  341. package/lib/python3.14/__pycache__/contextlib.cpython-314.pyc +0 -0
  342. package/lib/python3.14/__pycache__/contextvars.cpython-314.pyc +0 -0
  343. package/lib/python3.14/__pycache__/copy.cpython-314.pyc +0 -0
  344. package/lib/python3.14/__pycache__/copyreg.cpython-314.pyc +0 -0
  345. package/lib/python3.14/__pycache__/csv.cpython-314.pyc +0 -0
  346. package/lib/python3.14/__pycache__/dataclasses.cpython-314.pyc +0 -0
  347. package/lib/python3.14/__pycache__/datetime.cpython-314.pyc +0 -0
  348. package/lib/python3.14/__pycache__/decimal.cpython-314.pyc +0 -0
  349. package/lib/python3.14/__pycache__/difflib.cpython-314.pyc +0 -0
  350. package/lib/python3.14/__pycache__/dis.cpython-314.pyc +0 -0
  351. package/lib/python3.14/__pycache__/doctest.cpython-314.pyc +0 -0
  352. package/lib/python3.14/__pycache__/enum.cpython-314.pyc +0 -0
  353. package/lib/python3.14/__pycache__/filecmp.cpython-314.pyc +0 -0
  354. package/lib/python3.14/__pycache__/fileinput.cpython-314.pyc +0 -0
  355. package/lib/python3.14/__pycache__/fnmatch.cpython-314.pyc +0 -0
  356. package/lib/python3.14/__pycache__/fractions.cpython-314.pyc +0 -0
  357. package/lib/python3.14/__pycache__/ftplib.cpython-314.pyc +0 -0
  358. package/lib/python3.14/__pycache__/functools.cpython-314.pyc +0 -0
  359. package/lib/python3.14/__pycache__/genericpath.cpython-314.pyc +0 -0
  360. package/lib/python3.14/__pycache__/getopt.cpython-314.pyc +0 -0
  361. package/lib/python3.14/__pycache__/getpass.cpython-314.pyc +0 -0
  362. package/lib/python3.14/__pycache__/gettext.cpython-314.pyc +0 -0
  363. package/lib/python3.14/__pycache__/glob.cpython-314.pyc +0 -0
  364. package/lib/python3.14/__pycache__/graphlib.cpython-314.pyc +0 -0
  365. package/lib/python3.14/__pycache__/gzip.cpython-314.pyc +0 -0
  366. package/lib/python3.14/__pycache__/hashlib.cpython-314.pyc +0 -0
  367. package/lib/python3.14/__pycache__/heapq.cpython-314.pyc +0 -0
  368. package/lib/python3.14/__pycache__/hmac.cpython-314.pyc +0 -0
  369. package/lib/python3.14/__pycache__/imaplib.cpython-314.pyc +0 -0
  370. package/lib/python3.14/__pycache__/inspect.cpython-314.pyc +0 -0
  371. package/lib/python3.14/__pycache__/io.cpython-314.pyc +0 -0
  372. package/lib/python3.14/__pycache__/ipaddress.cpython-314.pyc +0 -0
  373. package/lib/python3.14/__pycache__/keyword.cpython-314.pyc +0 -0
  374. package/lib/python3.14/__pycache__/linecache.cpython-314.pyc +0 -0
  375. package/lib/python3.14/__pycache__/locale.cpython-314.pyc +0 -0
  376. package/lib/python3.14/__pycache__/lzma.cpython-314.pyc +0 -0
  377. package/lib/python3.14/__pycache__/mailbox.cpython-314.pyc +0 -0
  378. package/lib/python3.14/__pycache__/mimetypes.cpython-314.pyc +0 -0
  379. package/lib/python3.14/__pycache__/modulefinder.cpython-314.pyc +0 -0
  380. package/lib/python3.14/__pycache__/netrc.cpython-314.pyc +0 -0
  381. package/lib/python3.14/__pycache__/ntpath.cpython-314.pyc +0 -0
  382. package/lib/python3.14/__pycache__/nturl2path.cpython-314.pyc +0 -0
  383. package/lib/python3.14/__pycache__/numbers.cpython-314.pyc +0 -0
  384. package/lib/python3.14/__pycache__/opcode.cpython-314.pyc +0 -0
  385. package/lib/python3.14/__pycache__/operator.cpython-314.pyc +0 -0
  386. package/lib/python3.14/__pycache__/optparse.cpython-314.pyc +0 -0
  387. package/lib/python3.14/__pycache__/os.cpython-314.pyc +0 -0
  388. package/lib/python3.14/__pycache__/pdb.cpython-314.pyc +0 -0
  389. package/lib/python3.14/__pycache__/pickle.cpython-314.pyc +0 -0
  390. package/lib/python3.14/__pycache__/pickletools.cpython-314.pyc +0 -0
  391. package/lib/python3.14/__pycache__/pkgutil.cpython-314.pyc +0 -0
  392. package/lib/python3.14/__pycache__/platform.cpython-314.pyc +0 -0
  393. package/lib/python3.14/__pycache__/plistlib.cpython-314.pyc +0 -0
  394. package/lib/python3.14/__pycache__/poplib.cpython-314.pyc +0 -0
  395. package/lib/python3.14/__pycache__/posixpath.cpython-314.pyc +0 -0
  396. package/lib/python3.14/__pycache__/pprint.cpython-314.pyc +0 -0
  397. package/lib/python3.14/__pycache__/profile.cpython-314.pyc +0 -0
  398. package/lib/python3.14/__pycache__/pstats.cpython-314.pyc +0 -0
  399. package/lib/python3.14/__pycache__/pty.cpython-314.pyc +0 -0
  400. package/lib/python3.14/__pycache__/py_compile.cpython-314.pyc +0 -0
  401. package/lib/python3.14/__pycache__/pyclbr.cpython-314.pyc +0 -0
  402. package/lib/python3.14/__pycache__/pydoc.cpython-314.pyc +0 -0
  403. package/lib/python3.14/__pycache__/queue.cpython-314.pyc +0 -0
  404. package/lib/python3.14/__pycache__/quopri.cpython-314.pyc +0 -0
  405. package/lib/python3.14/__pycache__/random.cpython-314.pyc +0 -0
  406. package/lib/python3.14/__pycache__/reprlib.cpython-314.pyc +0 -0
  407. package/lib/python3.14/__pycache__/rlcompleter.cpython-314.pyc +0 -0
  408. package/lib/python3.14/__pycache__/runpy.cpython-314.pyc +0 -0
  409. package/lib/python3.14/__pycache__/sched.cpython-314.pyc +0 -0
  410. package/lib/python3.14/__pycache__/secrets.cpython-314.pyc +0 -0
  411. package/lib/python3.14/__pycache__/selectors.cpython-314.pyc +0 -0
  412. package/lib/python3.14/__pycache__/shelve.cpython-314.pyc +0 -0
  413. package/lib/python3.14/__pycache__/shlex.cpython-314.pyc +0 -0
  414. package/lib/python3.14/__pycache__/shutil.cpython-314.pyc +0 -0
  415. package/lib/python3.14/__pycache__/signal.cpython-314.pyc +0 -0
  416. package/lib/python3.14/__pycache__/site.cpython-314.pyc +0 -0
  417. package/lib/python3.14/__pycache__/smtplib.cpython-314.pyc +0 -0
  418. package/lib/python3.14/__pycache__/socket.cpython-314.pyc +0 -0
  419. package/lib/python3.14/__pycache__/socketserver.cpython-314.pyc +0 -0
  420. package/lib/python3.14/__pycache__/sre_compile.cpython-314.pyc +0 -0
  421. package/lib/python3.14/__pycache__/sre_constants.cpython-314.pyc +0 -0
  422. package/lib/python3.14/__pycache__/sre_parse.cpython-314.pyc +0 -0
  423. package/lib/python3.14/__pycache__/ssl.cpython-314.pyc +0 -0
  424. package/lib/python3.14/__pycache__/stat.cpython-314.pyc +0 -0
  425. package/lib/python3.14/__pycache__/statistics.cpython-314.pyc +0 -0
  426. package/lib/python3.14/__pycache__/stringprep.cpython-314.pyc +0 -0
  427. package/lib/python3.14/__pycache__/struct.cpython-314.pyc +0 -0
  428. package/lib/python3.14/__pycache__/subprocess.cpython-314.pyc +0 -0
  429. package/lib/python3.14/__pycache__/symtable.cpython-314.pyc +0 -0
  430. package/lib/python3.14/__pycache__/tabnanny.cpython-314.pyc +0 -0
  431. package/lib/python3.14/__pycache__/tarfile.cpython-314.pyc +0 -0
  432. package/lib/python3.14/__pycache__/tempfile.cpython-314.pyc +0 -0
  433. package/lib/python3.14/__pycache__/textwrap.cpython-314.pyc +0 -0
  434. package/lib/python3.14/__pycache__/this.cpython-314.pyc +0 -0
  435. package/lib/python3.14/__pycache__/threading.cpython-314.pyc +0 -0
  436. package/lib/python3.14/__pycache__/timeit.cpython-314.pyc +0 -0
  437. package/lib/python3.14/__pycache__/token.cpython-314.pyc +0 -0
  438. package/lib/python3.14/__pycache__/tokenize.cpython-314.pyc +0 -0
  439. package/lib/python3.14/__pycache__/trace.cpython-314.pyc +0 -0
  440. package/lib/python3.14/__pycache__/traceback.cpython-314.pyc +0 -0
  441. package/lib/python3.14/__pycache__/tracemalloc.cpython-314.pyc +0 -0
  442. package/lib/python3.14/__pycache__/tty.cpython-314.pyc +0 -0
  443. package/lib/python3.14/__pycache__/turtle.cpython-314.pyc +0 -0
  444. package/lib/python3.14/__pycache__/types.cpython-314.pyc +0 -0
  445. package/lib/python3.14/__pycache__/typing.cpython-314.pyc +0 -0
  446. package/lib/python3.14/__pycache__/uuid.cpython-314.pyc +0 -0
  447. package/lib/python3.14/__pycache__/warnings.cpython-314.pyc +0 -0
  448. package/lib/python3.14/__pycache__/wave.cpython-314.pyc +0 -0
  449. package/lib/python3.14/__pycache__/weakref.cpython-314.pyc +0 -0
  450. package/lib/python3.14/__pycache__/webbrowser.cpython-314.pyc +0 -0
  451. package/lib/python3.14/__pycache__/zipapp.cpython-314.pyc +0 -0
  452. package/lib/python3.14/__pycache__/zipimport.cpython-314.pyc +0 -0
  453. package/lib/python3.14/_aix_support.py +108 -0
  454. package/lib/python3.14/_android_support.py +185 -0
  455. package/lib/python3.14/_apple_support.py +66 -0
  456. package/lib/python3.14/_ast_unparse.py +1161 -0
  457. package/lib/python3.14/_collections_abc.py +1167 -0
  458. package/lib/python3.14/_colorize.py +355 -0
  459. package/lib/python3.14/_compat_pickle.py +251 -0
  460. package/lib/python3.14/_ios_support.py +71 -0
  461. package/lib/python3.14/_markupbase.py +396 -0
  462. package/lib/python3.14/_opcode_metadata.py +371 -0
  463. package/lib/python3.14/_osx_support.py +579 -0
  464. package/lib/python3.14/_py_abc.py +147 -0
  465. package/lib/python3.14/_py_warnings.py +869 -0
  466. package/lib/python3.14/_pydatetime.py +2723 -0
  467. package/lib/python3.14/_pydecimal.py +6401 -0
  468. package/lib/python3.14/_pyio.py +2752 -0
  469. package/lib/python3.14/_pylong.py +729 -0
  470. package/lib/python3.14/_pyrepl/__init__.py +19 -0
  471. package/lib/python3.14/_pyrepl/__main__.py +10 -0
  472. package/lib/python3.14/_pyrepl/__pycache__/__init__.cpython-314.pyc +0 -0
  473. package/lib/python3.14/_pyrepl/__pycache__/__main__.cpython-314.pyc +0 -0
  474. package/lib/python3.14/_pyrepl/__pycache__/_module_completer.cpython-314.pyc +0 -0
  475. package/lib/python3.14/_pyrepl/__pycache__/_threading_handler.cpython-314.pyc +0 -0
  476. package/lib/python3.14/_pyrepl/__pycache__/base_eventqueue.cpython-314.pyc +0 -0
  477. package/lib/python3.14/_pyrepl/__pycache__/commands.cpython-314.pyc +0 -0
  478. package/lib/python3.14/_pyrepl/__pycache__/completing_reader.cpython-314.pyc +0 -0
  479. package/lib/python3.14/_pyrepl/__pycache__/console.cpython-314.pyc +0 -0
  480. package/lib/python3.14/_pyrepl/__pycache__/fancy_termios.cpython-314.pyc +0 -0
  481. package/lib/python3.14/_pyrepl/__pycache__/historical_reader.cpython-314.pyc +0 -0
  482. package/lib/python3.14/_pyrepl/__pycache__/input.cpython-314.pyc +0 -0
  483. package/lib/python3.14/_pyrepl/__pycache__/keymap.cpython-314.pyc +0 -0
  484. package/lib/python3.14/_pyrepl/__pycache__/main.cpython-314.pyc +0 -0
  485. package/lib/python3.14/_pyrepl/__pycache__/pager.cpython-314.pyc +0 -0
  486. package/lib/python3.14/_pyrepl/__pycache__/reader.cpython-314.pyc +0 -0
  487. package/lib/python3.14/_pyrepl/__pycache__/readline.cpython-314.pyc +0 -0
  488. package/lib/python3.14/_pyrepl/__pycache__/simple_interact.cpython-314.pyc +0 -0
  489. package/lib/python3.14/_pyrepl/__pycache__/terminfo.cpython-314.pyc +0 -0
  490. package/lib/python3.14/_pyrepl/__pycache__/trace.cpython-314.pyc +0 -0
  491. package/lib/python3.14/_pyrepl/__pycache__/types.cpython-314.pyc +0 -0
  492. package/lib/python3.14/_pyrepl/__pycache__/unix_console.cpython-314.pyc +0 -0
  493. package/lib/python3.14/_pyrepl/__pycache__/unix_eventqueue.cpython-314.pyc +0 -0
  494. package/lib/python3.14/_pyrepl/__pycache__/utils.cpython-314.pyc +0 -0
  495. package/lib/python3.14/_pyrepl/__pycache__/windows_console.cpython-314.pyc +0 -0
  496. package/lib/python3.14/_pyrepl/__pycache__/windows_eventqueue.cpython-314.pyc +0 -0
  497. package/lib/python3.14/_pyrepl/_module_completer.py +415 -0
  498. package/lib/python3.14/_pyrepl/_threading_handler.py +74 -0
  499. package/lib/python3.14/_pyrepl/base_eventqueue.py +110 -0
  500. package/lib/python3.14/_pyrepl/commands.py +505 -0
  501. package/lib/python3.14/_pyrepl/completing_reader.py +299 -0
  502. package/lib/python3.14/_pyrepl/console.py +229 -0
  503. package/lib/python3.14/_pyrepl/fancy_termios.py +82 -0
  504. package/lib/python3.14/_pyrepl/historical_reader.py +419 -0
  505. package/lib/python3.14/_pyrepl/input.py +114 -0
  506. package/lib/python3.14/_pyrepl/keymap.py +213 -0
  507. package/lib/python3.14/_pyrepl/main.py +58 -0
  508. package/lib/python3.14/_pyrepl/mypy.ini +25 -0
  509. package/lib/python3.14/_pyrepl/pager.py +175 -0
  510. package/lib/python3.14/_pyrepl/reader.py +762 -0
  511. package/lib/python3.14/_pyrepl/readline.py +620 -0
  512. package/lib/python3.14/_pyrepl/simple_interact.py +181 -0
  513. package/lib/python3.14/_pyrepl/terminfo.py +488 -0
  514. package/lib/python3.14/_pyrepl/trace.py +34 -0
  515. package/lib/python3.14/_pyrepl/types.py +10 -0
  516. package/lib/python3.14/_pyrepl/unix_console.py +842 -0
  517. package/lib/python3.14/_pyrepl/unix_eventqueue.py +77 -0
  518. package/lib/python3.14/_pyrepl/utils.py +391 -0
  519. package/lib/python3.14/_pyrepl/windows_console.py +725 -0
  520. package/lib/python3.14/_pyrepl/windows_eventqueue.py +42 -0
  521. package/lib/python3.14/_sitebuiltins.py +103 -0
  522. package/lib/python3.14/_strptime.py +822 -0
  523. package/lib/python3.14/_sysconfig_vars__wasi_wasm32-wasi-threads.json +1097 -0
  524. package/lib/python3.14/_sysconfigdata__wasi_wasm32-wasi-threads.py +1084 -0
  525. package/lib/python3.14/_threading_local.py +120 -0
  526. package/lib/python3.14/_weakrefset.py +147 -0
  527. package/lib/python3.14/abc.py +188 -0
  528. package/lib/python3.14/annotationlib.py +1143 -0
  529. package/lib/python3.14/antigravity.py +17 -0
  530. package/lib/python3.14/argparse.py +2777 -0
  531. package/lib/python3.14/ast.py +680 -0
  532. package/lib/python3.14/asyncio/__init__.py +74 -0
  533. package/lib/python3.14/asyncio/__main__.py +239 -0
  534. package/lib/python3.14/asyncio/__pycache__/__init__.cpython-314.pyc +0 -0
  535. package/lib/python3.14/asyncio/__pycache__/__main__.cpython-314.pyc +0 -0
  536. package/lib/python3.14/asyncio/__pycache__/base_events.cpython-314.pyc +0 -0
  537. package/lib/python3.14/asyncio/__pycache__/base_futures.cpython-314.pyc +0 -0
  538. package/lib/python3.14/asyncio/__pycache__/base_subprocess.cpython-314.pyc +0 -0
  539. package/lib/python3.14/asyncio/__pycache__/base_tasks.cpython-314.pyc +0 -0
  540. package/lib/python3.14/asyncio/__pycache__/constants.cpython-314.pyc +0 -0
  541. package/lib/python3.14/asyncio/__pycache__/coroutines.cpython-314.pyc +0 -0
  542. package/lib/python3.14/asyncio/__pycache__/events.cpython-314.pyc +0 -0
  543. package/lib/python3.14/asyncio/__pycache__/exceptions.cpython-314.pyc +0 -0
  544. package/lib/python3.14/asyncio/__pycache__/format_helpers.cpython-314.pyc +0 -0
  545. package/lib/python3.14/asyncio/__pycache__/futures.cpython-314.pyc +0 -0
  546. package/lib/python3.14/asyncio/__pycache__/graph.cpython-314.pyc +0 -0
  547. package/lib/python3.14/asyncio/__pycache__/locks.cpython-314.pyc +0 -0
  548. package/lib/python3.14/asyncio/__pycache__/log.cpython-314.pyc +0 -0
  549. package/lib/python3.14/asyncio/__pycache__/mixins.cpython-314.pyc +0 -0
  550. package/lib/python3.14/asyncio/__pycache__/proactor_events.cpython-314.pyc +0 -0
  551. package/lib/python3.14/asyncio/__pycache__/protocols.cpython-314.pyc +0 -0
  552. package/lib/python3.14/asyncio/__pycache__/queues.cpython-314.pyc +0 -0
  553. package/lib/python3.14/asyncio/__pycache__/runners.cpython-314.pyc +0 -0
  554. package/lib/python3.14/asyncio/__pycache__/selector_events.cpython-314.pyc +0 -0
  555. package/lib/python3.14/asyncio/__pycache__/sslproto.cpython-314.pyc +0 -0
  556. package/lib/python3.14/asyncio/__pycache__/staggered.cpython-314.pyc +0 -0
  557. package/lib/python3.14/asyncio/__pycache__/streams.cpython-314.pyc +0 -0
  558. package/lib/python3.14/asyncio/__pycache__/subprocess.cpython-314.pyc +0 -0
  559. package/lib/python3.14/asyncio/__pycache__/taskgroups.cpython-314.pyc +0 -0
  560. package/lib/python3.14/asyncio/__pycache__/tasks.cpython-314.pyc +0 -0
  561. package/lib/python3.14/asyncio/__pycache__/threads.cpython-314.pyc +0 -0
  562. package/lib/python3.14/asyncio/__pycache__/timeouts.cpython-314.pyc +0 -0
  563. package/lib/python3.14/asyncio/__pycache__/tools.cpython-314.pyc +0 -0
  564. package/lib/python3.14/asyncio/__pycache__/transports.cpython-314.pyc +0 -0
  565. package/lib/python3.14/asyncio/__pycache__/trsock.cpython-314.pyc +0 -0
  566. package/lib/python3.14/asyncio/__pycache__/unix_events.cpython-314.pyc +0 -0
  567. package/lib/python3.14/asyncio/__pycache__/windows_events.cpython-314.pyc +0 -0
  568. package/lib/python3.14/asyncio/__pycache__/windows_utils.cpython-314.pyc +0 -0
  569. package/lib/python3.14/asyncio/base_events.py +2071 -0
  570. package/lib/python3.14/asyncio/base_futures.py +67 -0
  571. package/lib/python3.14/asyncio/base_subprocess.py +319 -0
  572. package/lib/python3.14/asyncio/base_tasks.py +94 -0
  573. package/lib/python3.14/asyncio/constants.py +41 -0
  574. package/lib/python3.14/asyncio/coroutines.py +118 -0
  575. package/lib/python3.14/asyncio/events.py +878 -0
  576. package/lib/python3.14/asyncio/exceptions.py +62 -0
  577. package/lib/python3.14/asyncio/format_helpers.py +84 -0
  578. package/lib/python3.14/asyncio/futures.py +481 -0
  579. package/lib/python3.14/asyncio/graph.py +276 -0
  580. package/lib/python3.14/asyncio/locks.py +617 -0
  581. package/lib/python3.14/asyncio/log.py +7 -0
  582. package/lib/python3.14/asyncio/mixins.py +21 -0
  583. package/lib/python3.14/asyncio/proactor_events.py +896 -0
  584. package/lib/python3.14/asyncio/protocols.py +216 -0
  585. package/lib/python3.14/asyncio/queues.py +307 -0
  586. package/lib/python3.14/asyncio/runners.py +225 -0
  587. package/lib/python3.14/asyncio/selector_events.py +1326 -0
  588. package/lib/python3.14/asyncio/sslproto.py +929 -0
  589. package/lib/python3.14/asyncio/staggered.py +179 -0
  590. package/lib/python3.14/asyncio/streams.py +787 -0
  591. package/lib/python3.14/asyncio/subprocess.py +229 -0
  592. package/lib/python3.14/asyncio/taskgroups.py +280 -0
  593. package/lib/python3.14/asyncio/tasks.py +1141 -0
  594. package/lib/python3.14/asyncio/threads.py +25 -0
  595. package/lib/python3.14/asyncio/timeouts.py +182 -0
  596. package/lib/python3.14/asyncio/tools.py +276 -0
  597. package/lib/python3.14/asyncio/transports.py +337 -0
  598. package/lib/python3.14/asyncio/trsock.py +98 -0
  599. package/lib/python3.14/asyncio/unix_events.py +972 -0
  600. package/lib/python3.14/asyncio/windows_events.py +903 -0
  601. package/lib/python3.14/asyncio/windows_utils.py +173 -0
  602. package/lib/python3.14/base64.py +618 -0
  603. package/lib/python3.14/bdb.py +1206 -0
  604. package/lib/python3.14/bisect.py +118 -0
  605. package/lib/python3.14/build-details.json +53 -0
  606. package/lib/python3.14/bz2.py +352 -0
  607. package/lib/python3.14/cProfile.py +205 -0
  608. package/lib/python3.14/calendar.py +926 -0
  609. package/lib/python3.14/cmd.py +414 -0
  610. package/lib/python3.14/code.py +396 -0
  611. package/lib/python3.14/codecs.py +1125 -0
  612. package/lib/python3.14/codeop.py +154 -0
  613. package/lib/python3.14/collections/__init__.py +1609 -0
  614. package/lib/python3.14/collections/__pycache__/__init__.cpython-314.pyc +0 -0
  615. package/lib/python3.14/colorsys.py +166 -0
  616. package/lib/python3.14/compileall.py +472 -0
  617. package/lib/python3.14/compression/__init__.py +0 -0
  618. package/lib/python3.14/compression/__pycache__/__init__.cpython-314.pyc +0 -0
  619. package/lib/python3.14/compression/__pycache__/bz2.cpython-314.pyc +0 -0
  620. package/lib/python3.14/compression/__pycache__/gzip.cpython-314.pyc +0 -0
  621. package/lib/python3.14/compression/__pycache__/lzma.cpython-314.pyc +0 -0
  622. package/lib/python3.14/compression/__pycache__/zlib.cpython-314.pyc +0 -0
  623. package/lib/python3.14/compression/_common/__init__.py +0 -0
  624. package/lib/python3.14/compression/_common/__pycache__/__init__.cpython-314.pyc +0 -0
  625. package/lib/python3.14/compression/_common/__pycache__/_streams.cpython-314.pyc +0 -0
  626. package/lib/python3.14/compression/_common/_streams.py +162 -0
  627. package/lib/python3.14/compression/bz2.py +5 -0
  628. package/lib/python3.14/compression/gzip.py +5 -0
  629. package/lib/python3.14/compression/lzma.py +5 -0
  630. package/lib/python3.14/compression/zlib.py +5 -0
  631. package/lib/python3.14/compression/zstd/__init__.py +242 -0
  632. package/lib/python3.14/compression/zstd/__pycache__/__init__.cpython-314.pyc +0 -0
  633. package/lib/python3.14/compression/zstd/__pycache__/_zstdfile.cpython-314.pyc +0 -0
  634. package/lib/python3.14/compression/zstd/_zstdfile.py +345 -0
  635. package/lib/python3.14/concurrent/__init__.py +1 -0
  636. package/lib/python3.14/concurrent/__pycache__/__init__.cpython-314.pyc +0 -0
  637. package/lib/python3.14/concurrent/futures/__init__.py +65 -0
  638. package/lib/python3.14/concurrent/futures/__pycache__/__init__.cpython-314.pyc +0 -0
  639. package/lib/python3.14/concurrent/futures/__pycache__/_base.cpython-314.pyc +0 -0
  640. package/lib/python3.14/concurrent/futures/__pycache__/interpreter.cpython-314.pyc +0 -0
  641. package/lib/python3.14/concurrent/futures/__pycache__/process.cpython-314.pyc +0 -0
  642. package/lib/python3.14/concurrent/futures/__pycache__/thread.cpython-314.pyc +0 -0
  643. package/lib/python3.14/concurrent/futures/_base.py +674 -0
  644. package/lib/python3.14/concurrent/futures/interpreter.py +123 -0
  645. package/lib/python3.14/concurrent/futures/process.py +939 -0
  646. package/lib/python3.14/concurrent/futures/thread.py +274 -0
  647. package/lib/python3.14/concurrent/interpreters/__init__.py +247 -0
  648. package/lib/python3.14/concurrent/interpreters/__pycache__/__init__.cpython-314.pyc +0 -0
  649. package/lib/python3.14/concurrent/interpreters/__pycache__/_crossinterp.cpython-314.pyc +0 -0
  650. package/lib/python3.14/concurrent/interpreters/__pycache__/_queues.cpython-314.pyc +0 -0
  651. package/lib/python3.14/concurrent/interpreters/_crossinterp.py +107 -0
  652. package/lib/python3.14/concurrent/interpreters/_queues.py +289 -0
  653. package/lib/python3.14/configparser.py +1414 -0
  654. package/lib/python3.14/contextlib.py +814 -0
  655. package/lib/python3.14/contextvars.py +8 -0
  656. package/lib/python3.14/copy.py +286 -0
  657. package/lib/python3.14/copyreg.py +222 -0
  658. package/lib/python3.14/csv.py +513 -0
  659. package/lib/python3.14/ctypes/__init__.py +681 -0
  660. package/lib/python3.14/ctypes/__pycache__/__init__.cpython-314.pyc +0 -0
  661. package/lib/python3.14/ctypes/__pycache__/_aix.cpython-314.pyc +0 -0
  662. package/lib/python3.14/ctypes/__pycache__/_endian.cpython-314.pyc +0 -0
  663. package/lib/python3.14/ctypes/__pycache__/_layout.cpython-314.pyc +0 -0
  664. package/lib/python3.14/ctypes/__pycache__/util.cpython-314.pyc +0 -0
  665. package/lib/python3.14/ctypes/__pycache__/wintypes.cpython-314.pyc +0 -0
  666. package/lib/python3.14/ctypes/_aix.py +327 -0
  667. package/lib/python3.14/ctypes/_endian.py +78 -0
  668. package/lib/python3.14/ctypes/_layout.py +330 -0
  669. package/lib/python3.14/ctypes/macholib/README.ctypes +7 -0
  670. package/lib/python3.14/ctypes/macholib/__init__.py +9 -0
  671. package/lib/python3.14/ctypes/macholib/__pycache__/__init__.cpython-314.pyc +0 -0
  672. package/lib/python3.14/ctypes/macholib/__pycache__/dyld.cpython-314.pyc +0 -0
  673. package/lib/python3.14/ctypes/macholib/__pycache__/dylib.cpython-314.pyc +0 -0
  674. package/lib/python3.14/ctypes/macholib/__pycache__/framework.cpython-314.pyc +0 -0
  675. package/lib/python3.14/ctypes/macholib/dyld.py +165 -0
  676. package/lib/python3.14/ctypes/macholib/dylib.py +42 -0
  677. package/lib/python3.14/ctypes/macholib/fetch_macholib +2 -0
  678. package/lib/python3.14/ctypes/macholib/fetch_macholib.bat +1 -0
  679. package/lib/python3.14/ctypes/macholib/framework.py +42 -0
  680. package/lib/python3.14/ctypes/util.py +538 -0
  681. package/lib/python3.14/ctypes/wintypes.py +210 -0
  682. package/lib/python3.14/curses/__init__.py +101 -0
  683. package/lib/python3.14/curses/__pycache__/__init__.cpython-314.pyc +0 -0
  684. package/lib/python3.14/curses/__pycache__/ascii.cpython-314.pyc +0 -0
  685. package/lib/python3.14/curses/__pycache__/has_key.cpython-314.pyc +0 -0
  686. package/lib/python3.14/curses/__pycache__/panel.cpython-314.pyc +0 -0
  687. package/lib/python3.14/curses/__pycache__/textpad.cpython-314.pyc +0 -0
  688. package/lib/python3.14/curses/ascii.py +99 -0
  689. package/lib/python3.14/curses/has_key.py +192 -0
  690. package/lib/python3.14/curses/panel.py +6 -0
  691. package/lib/python3.14/curses/textpad.py +204 -0
  692. package/lib/python3.14/dataclasses.py +1804 -0
  693. package/lib/python3.14/datetime.py +13 -0
  694. package/lib/python3.14/dbm/__init__.py +194 -0
  695. package/lib/python3.14/dbm/__pycache__/__init__.cpython-314.pyc +0 -0
  696. package/lib/python3.14/dbm/__pycache__/dumb.cpython-314.pyc +0 -0
  697. package/lib/python3.14/dbm/__pycache__/gnu.cpython-314.pyc +0 -0
  698. package/lib/python3.14/dbm/__pycache__/ndbm.cpython-314.pyc +0 -0
  699. package/lib/python3.14/dbm/__pycache__/sqlite3.cpython-314.pyc +0 -0
  700. package/lib/python3.14/dbm/dumb.py +319 -0
  701. package/lib/python3.14/dbm/gnu.py +3 -0
  702. package/lib/python3.14/dbm/ndbm.py +3 -0
  703. package/lib/python3.14/dbm/sqlite3.py +144 -0
  704. package/lib/python3.14/decimal.py +109 -0
  705. package/lib/python3.14/difflib.py +2064 -0
  706. package/lib/python3.14/dis.py +1157 -0
  707. package/lib/python3.14/doctest.py +2921 -0
  708. package/lib/python3.14/email/__init__.py +61 -0
  709. package/lib/python3.14/email/__pycache__/__init__.cpython-314.pyc +0 -0
  710. package/lib/python3.14/email/__pycache__/_encoded_words.cpython-314.pyc +0 -0
  711. package/lib/python3.14/email/__pycache__/_header_value_parser.cpython-314.pyc +0 -0
  712. package/lib/python3.14/email/__pycache__/_parseaddr.cpython-314.pyc +0 -0
  713. package/lib/python3.14/email/__pycache__/_policybase.cpython-314.pyc +0 -0
  714. package/lib/python3.14/email/__pycache__/base64mime.cpython-314.pyc +0 -0
  715. package/lib/python3.14/email/__pycache__/charset.cpython-314.pyc +0 -0
  716. package/lib/python3.14/email/__pycache__/contentmanager.cpython-314.pyc +0 -0
  717. package/lib/python3.14/email/__pycache__/encoders.cpython-314.pyc +0 -0
  718. package/lib/python3.14/email/__pycache__/errors.cpython-314.pyc +0 -0
  719. package/lib/python3.14/email/__pycache__/feedparser.cpython-314.pyc +0 -0
  720. package/lib/python3.14/email/__pycache__/generator.cpython-314.pyc +0 -0
  721. package/lib/python3.14/email/__pycache__/header.cpython-314.pyc +0 -0
  722. package/lib/python3.14/email/__pycache__/headerregistry.cpython-314.pyc +0 -0
  723. package/lib/python3.14/email/__pycache__/iterators.cpython-314.pyc +0 -0
  724. package/lib/python3.14/email/__pycache__/message.cpython-314.pyc +0 -0
  725. package/lib/python3.14/email/__pycache__/parser.cpython-314.pyc +0 -0
  726. package/lib/python3.14/email/__pycache__/policy.cpython-314.pyc +0 -0
  727. package/lib/python3.14/email/__pycache__/quoprimime.cpython-314.pyc +0 -0
  728. package/lib/python3.14/email/__pycache__/utils.cpython-314.pyc +0 -0
  729. package/lib/python3.14/email/_encoded_words.py +233 -0
  730. package/lib/python3.14/email/_header_value_parser.py +3097 -0
  731. package/lib/python3.14/email/_parseaddr.py +563 -0
  732. package/lib/python3.14/email/_policybase.py +392 -0
  733. package/lib/python3.14/email/architecture.rst +216 -0
  734. package/lib/python3.14/email/base64mime.py +115 -0
  735. package/lib/python3.14/email/charset.py +398 -0
  736. package/lib/python3.14/email/contentmanager.py +253 -0
  737. package/lib/python3.14/email/encoders.py +65 -0
  738. package/lib/python3.14/email/errors.py +117 -0
  739. package/lib/python3.14/email/feedparser.py +537 -0
  740. package/lib/python3.14/email/generator.py +520 -0
  741. package/lib/python3.14/email/header.py +582 -0
  742. package/lib/python3.14/email/headerregistry.py +604 -0
  743. package/lib/python3.14/email/iterators.py +68 -0
  744. package/lib/python3.14/email/message.py +1217 -0
  745. package/lib/python3.14/email/mime/__init__.py +0 -0
  746. package/lib/python3.14/email/mime/__pycache__/__init__.cpython-314.pyc +0 -0
  747. package/lib/python3.14/email/mime/__pycache__/application.cpython-314.pyc +0 -0
  748. package/lib/python3.14/email/mime/__pycache__/audio.cpython-314.pyc +0 -0
  749. package/lib/python3.14/email/mime/__pycache__/base.cpython-314.pyc +0 -0
  750. package/lib/python3.14/email/mime/__pycache__/image.cpython-314.pyc +0 -0
  751. package/lib/python3.14/email/mime/__pycache__/message.cpython-314.pyc +0 -0
  752. package/lib/python3.14/email/mime/__pycache__/multipart.cpython-314.pyc +0 -0
  753. package/lib/python3.14/email/mime/__pycache__/nonmultipart.cpython-314.pyc +0 -0
  754. package/lib/python3.14/email/mime/__pycache__/text.cpython-314.pyc +0 -0
  755. package/lib/python3.14/email/mime/application.py +37 -0
  756. package/lib/python3.14/email/mime/audio.py +97 -0
  757. package/lib/python3.14/email/mime/base.py +29 -0
  758. package/lib/python3.14/email/mime/image.py +152 -0
  759. package/lib/python3.14/email/mime/message.py +33 -0
  760. package/lib/python3.14/email/mime/multipart.py +47 -0
  761. package/lib/python3.14/email/mime/nonmultipart.py +21 -0
  762. package/lib/python3.14/email/mime/text.py +40 -0
  763. package/lib/python3.14/email/parser.py +127 -0
  764. package/lib/python3.14/email/policy.py +239 -0
  765. package/lib/python3.14/email/quoprimime.py +300 -0
  766. package/lib/python3.14/email/utils.py +486 -0
  767. package/lib/python3.14/encodings/__init__.py +177 -0
  768. package/lib/python3.14/encodings/__pycache__/__init__.cpython-314.pyc +0 -0
  769. package/lib/python3.14/encodings/__pycache__/_win_cp_codecs.cpython-314.pyc +0 -0
  770. package/lib/python3.14/encodings/__pycache__/aliases.cpython-314.pyc +0 -0
  771. package/lib/python3.14/encodings/__pycache__/ascii.cpython-314.pyc +0 -0
  772. package/lib/python3.14/encodings/__pycache__/base64_codec.cpython-314.pyc +0 -0
  773. package/lib/python3.14/encodings/__pycache__/big5.cpython-314.pyc +0 -0
  774. package/lib/python3.14/encodings/__pycache__/big5hkscs.cpython-314.pyc +0 -0
  775. package/lib/python3.14/encodings/__pycache__/bz2_codec.cpython-314.pyc +0 -0
  776. package/lib/python3.14/encodings/__pycache__/charmap.cpython-314.pyc +0 -0
  777. package/lib/python3.14/encodings/__pycache__/cp037.cpython-314.pyc +0 -0
  778. package/lib/python3.14/encodings/__pycache__/cp1006.cpython-314.pyc +0 -0
  779. package/lib/python3.14/encodings/__pycache__/cp1026.cpython-314.pyc +0 -0
  780. package/lib/python3.14/encodings/__pycache__/cp1125.cpython-314.pyc +0 -0
  781. package/lib/python3.14/encodings/__pycache__/cp1140.cpython-314.pyc +0 -0
  782. package/lib/python3.14/encodings/__pycache__/cp1250.cpython-314.pyc +0 -0
  783. package/lib/python3.14/encodings/__pycache__/cp1251.cpython-314.pyc +0 -0
  784. package/lib/python3.14/encodings/__pycache__/cp1252.cpython-314.pyc +0 -0
  785. package/lib/python3.14/encodings/__pycache__/cp1253.cpython-314.pyc +0 -0
  786. package/lib/python3.14/encodings/__pycache__/cp1254.cpython-314.pyc +0 -0
  787. package/lib/python3.14/encodings/__pycache__/cp1255.cpython-314.pyc +0 -0
  788. package/lib/python3.14/encodings/__pycache__/cp1256.cpython-314.pyc +0 -0
  789. package/lib/python3.14/encodings/__pycache__/cp1257.cpython-314.pyc +0 -0
  790. package/lib/python3.14/encodings/__pycache__/cp1258.cpython-314.pyc +0 -0
  791. package/lib/python3.14/encodings/__pycache__/cp273.cpython-314.pyc +0 -0
  792. package/lib/python3.14/encodings/__pycache__/cp424.cpython-314.pyc +0 -0
  793. package/lib/python3.14/encodings/__pycache__/cp437.cpython-314.pyc +0 -0
  794. package/lib/python3.14/encodings/__pycache__/cp500.cpython-314.pyc +0 -0
  795. package/lib/python3.14/encodings/__pycache__/cp720.cpython-314.pyc +0 -0
  796. package/lib/python3.14/encodings/__pycache__/cp737.cpython-314.pyc +0 -0
  797. package/lib/python3.14/encodings/__pycache__/cp775.cpython-314.pyc +0 -0
  798. package/lib/python3.14/encodings/__pycache__/cp850.cpython-314.pyc +0 -0
  799. package/lib/python3.14/encodings/__pycache__/cp852.cpython-314.pyc +0 -0
  800. package/lib/python3.14/encodings/__pycache__/cp855.cpython-314.pyc +0 -0
  801. package/lib/python3.14/encodings/__pycache__/cp856.cpython-314.pyc +0 -0
  802. package/lib/python3.14/encodings/__pycache__/cp857.cpython-314.pyc +0 -0
  803. package/lib/python3.14/encodings/__pycache__/cp858.cpython-314.pyc +0 -0
  804. package/lib/python3.14/encodings/__pycache__/cp860.cpython-314.pyc +0 -0
  805. package/lib/python3.14/encodings/__pycache__/cp861.cpython-314.pyc +0 -0
  806. package/lib/python3.14/encodings/__pycache__/cp862.cpython-314.pyc +0 -0
  807. package/lib/python3.14/encodings/__pycache__/cp863.cpython-314.pyc +0 -0
  808. package/lib/python3.14/encodings/__pycache__/cp864.cpython-314.pyc +0 -0
  809. package/lib/python3.14/encodings/__pycache__/cp865.cpython-314.pyc +0 -0
  810. package/lib/python3.14/encodings/__pycache__/cp866.cpython-314.pyc +0 -0
  811. package/lib/python3.14/encodings/__pycache__/cp869.cpython-314.pyc +0 -0
  812. package/lib/python3.14/encodings/__pycache__/cp874.cpython-314.pyc +0 -0
  813. package/lib/python3.14/encodings/__pycache__/cp875.cpython-314.pyc +0 -0
  814. package/lib/python3.14/encodings/__pycache__/cp932.cpython-314.pyc +0 -0
  815. package/lib/python3.14/encodings/__pycache__/cp949.cpython-314.pyc +0 -0
  816. package/lib/python3.14/encodings/__pycache__/cp950.cpython-314.pyc +0 -0
  817. package/lib/python3.14/encodings/__pycache__/euc_jis_2004.cpython-314.pyc +0 -0
  818. package/lib/python3.14/encodings/__pycache__/euc_jisx0213.cpython-314.pyc +0 -0
  819. package/lib/python3.14/encodings/__pycache__/euc_jp.cpython-314.pyc +0 -0
  820. package/lib/python3.14/encodings/__pycache__/euc_kr.cpython-314.pyc +0 -0
  821. package/lib/python3.14/encodings/__pycache__/gb18030.cpython-314.pyc +0 -0
  822. package/lib/python3.14/encodings/__pycache__/gb2312.cpython-314.pyc +0 -0
  823. package/lib/python3.14/encodings/__pycache__/gbk.cpython-314.pyc +0 -0
  824. package/lib/python3.14/encodings/__pycache__/hex_codec.cpython-314.pyc +0 -0
  825. package/lib/python3.14/encodings/__pycache__/hp_roman8.cpython-314.pyc +0 -0
  826. package/lib/python3.14/encodings/__pycache__/hz.cpython-314.pyc +0 -0
  827. package/lib/python3.14/encodings/__pycache__/idna.cpython-314.pyc +0 -0
  828. package/lib/python3.14/encodings/__pycache__/iso2022_jp.cpython-314.pyc +0 -0
  829. package/lib/python3.14/encodings/__pycache__/iso2022_jp_1.cpython-314.pyc +0 -0
  830. package/lib/python3.14/encodings/__pycache__/iso2022_jp_2.cpython-314.pyc +0 -0
  831. package/lib/python3.14/encodings/__pycache__/iso2022_jp_2004.cpython-314.pyc +0 -0
  832. package/lib/python3.14/encodings/__pycache__/iso2022_jp_3.cpython-314.pyc +0 -0
  833. package/lib/python3.14/encodings/__pycache__/iso2022_jp_ext.cpython-314.pyc +0 -0
  834. package/lib/python3.14/encodings/__pycache__/iso2022_kr.cpython-314.pyc +0 -0
  835. package/lib/python3.14/encodings/__pycache__/iso8859_1.cpython-314.pyc +0 -0
  836. package/lib/python3.14/encodings/__pycache__/iso8859_10.cpython-314.pyc +0 -0
  837. package/lib/python3.14/encodings/__pycache__/iso8859_11.cpython-314.pyc +0 -0
  838. package/lib/python3.14/encodings/__pycache__/iso8859_13.cpython-314.pyc +0 -0
  839. package/lib/python3.14/encodings/__pycache__/iso8859_14.cpython-314.pyc +0 -0
  840. package/lib/python3.14/encodings/__pycache__/iso8859_15.cpython-314.pyc +0 -0
  841. package/lib/python3.14/encodings/__pycache__/iso8859_16.cpython-314.pyc +0 -0
  842. package/lib/python3.14/encodings/__pycache__/iso8859_2.cpython-314.pyc +0 -0
  843. package/lib/python3.14/encodings/__pycache__/iso8859_3.cpython-314.pyc +0 -0
  844. package/lib/python3.14/encodings/__pycache__/iso8859_4.cpython-314.pyc +0 -0
  845. package/lib/python3.14/encodings/__pycache__/iso8859_5.cpython-314.pyc +0 -0
  846. package/lib/python3.14/encodings/__pycache__/iso8859_6.cpython-314.pyc +0 -0
  847. package/lib/python3.14/encodings/__pycache__/iso8859_7.cpython-314.pyc +0 -0
  848. package/lib/python3.14/encodings/__pycache__/iso8859_8.cpython-314.pyc +0 -0
  849. package/lib/python3.14/encodings/__pycache__/iso8859_9.cpython-314.pyc +0 -0
  850. package/lib/python3.14/encodings/__pycache__/johab.cpython-314.pyc +0 -0
  851. package/lib/python3.14/encodings/__pycache__/koi8_r.cpython-314.pyc +0 -0
  852. package/lib/python3.14/encodings/__pycache__/koi8_t.cpython-314.pyc +0 -0
  853. package/lib/python3.14/encodings/__pycache__/koi8_u.cpython-314.pyc +0 -0
  854. package/lib/python3.14/encodings/__pycache__/kz1048.cpython-314.pyc +0 -0
  855. package/lib/python3.14/encodings/__pycache__/latin_1.cpython-314.pyc +0 -0
  856. package/lib/python3.14/encodings/__pycache__/mac_arabic.cpython-314.pyc +0 -0
  857. package/lib/python3.14/encodings/__pycache__/mac_croatian.cpython-314.pyc +0 -0
  858. package/lib/python3.14/encodings/__pycache__/mac_cyrillic.cpython-314.pyc +0 -0
  859. package/lib/python3.14/encodings/__pycache__/mac_farsi.cpython-314.pyc +0 -0
  860. package/lib/python3.14/encodings/__pycache__/mac_greek.cpython-314.pyc +0 -0
  861. package/lib/python3.14/encodings/__pycache__/mac_iceland.cpython-314.pyc +0 -0
  862. package/lib/python3.14/encodings/__pycache__/mac_latin2.cpython-314.pyc +0 -0
  863. package/lib/python3.14/encodings/__pycache__/mac_roman.cpython-314.pyc +0 -0
  864. package/lib/python3.14/encodings/__pycache__/mac_romanian.cpython-314.pyc +0 -0
  865. package/lib/python3.14/encodings/__pycache__/mac_turkish.cpython-314.pyc +0 -0
  866. package/lib/python3.14/encodings/__pycache__/mbcs.cpython-314.pyc +0 -0
  867. package/lib/python3.14/encodings/__pycache__/oem.cpython-314.pyc +0 -0
  868. package/lib/python3.14/encodings/__pycache__/palmos.cpython-314.pyc +0 -0
  869. package/lib/python3.14/encodings/__pycache__/ptcp154.cpython-314.pyc +0 -0
  870. package/lib/python3.14/encodings/__pycache__/punycode.cpython-314.pyc +0 -0
  871. package/lib/python3.14/encodings/__pycache__/quopri_codec.cpython-314.pyc +0 -0
  872. package/lib/python3.14/encodings/__pycache__/raw_unicode_escape.cpython-314.pyc +0 -0
  873. package/lib/python3.14/encodings/__pycache__/rot_13.cpython-314.pyc +0 -0
  874. package/lib/python3.14/encodings/__pycache__/shift_jis.cpython-314.pyc +0 -0
  875. package/lib/python3.14/encodings/__pycache__/shift_jis_2004.cpython-314.pyc +0 -0
  876. package/lib/python3.14/encodings/__pycache__/shift_jisx0213.cpython-314.pyc +0 -0
  877. package/lib/python3.14/encodings/__pycache__/tis_620.cpython-314.pyc +0 -0
  878. package/lib/python3.14/encodings/__pycache__/undefined.cpython-314.pyc +0 -0
  879. package/lib/python3.14/encodings/__pycache__/unicode_escape.cpython-314.pyc +0 -0
  880. package/lib/python3.14/encodings/__pycache__/utf_16.cpython-314.pyc +0 -0
  881. package/lib/python3.14/encodings/__pycache__/utf_16_be.cpython-314.pyc +0 -0
  882. package/lib/python3.14/encodings/__pycache__/utf_16_le.cpython-314.pyc +0 -0
  883. package/lib/python3.14/encodings/__pycache__/utf_32.cpython-314.pyc +0 -0
  884. package/lib/python3.14/encodings/__pycache__/utf_32_be.cpython-314.pyc +0 -0
  885. package/lib/python3.14/encodings/__pycache__/utf_32_le.cpython-314.pyc +0 -0
  886. package/lib/python3.14/encodings/__pycache__/utf_7.cpython-314.pyc +0 -0
  887. package/lib/python3.14/encodings/__pycache__/utf_8.cpython-314.pyc +0 -0
  888. package/lib/python3.14/encodings/__pycache__/utf_8_sig.cpython-314.pyc +0 -0
  889. package/lib/python3.14/encodings/__pycache__/uu_codec.cpython-314.pyc +0 -0
  890. package/lib/python3.14/encodings/__pycache__/zlib_codec.cpython-314.pyc +0 -0
  891. package/lib/python3.14/encodings/_win_cp_codecs.py +36 -0
  892. package/lib/python3.14/encodings/aliases.py +560 -0
  893. package/lib/python3.14/encodings/ascii.py +50 -0
  894. package/lib/python3.14/encodings/base64_codec.py +55 -0
  895. package/lib/python3.14/encodings/big5.py +39 -0
  896. package/lib/python3.14/encodings/big5hkscs.py +39 -0
  897. package/lib/python3.14/encodings/bz2_codec.py +78 -0
  898. package/lib/python3.14/encodings/charmap.py +69 -0
  899. package/lib/python3.14/encodings/cp037.py +307 -0
  900. package/lib/python3.14/encodings/cp1006.py +307 -0
  901. package/lib/python3.14/encodings/cp1026.py +307 -0
  902. package/lib/python3.14/encodings/cp1125.py +698 -0
  903. package/lib/python3.14/encodings/cp1140.py +307 -0
  904. package/lib/python3.14/encodings/cp1250.py +307 -0
  905. package/lib/python3.14/encodings/cp1251.py +307 -0
  906. package/lib/python3.14/encodings/cp1252.py +307 -0
  907. package/lib/python3.14/encodings/cp1253.py +307 -0
  908. package/lib/python3.14/encodings/cp1254.py +307 -0
  909. package/lib/python3.14/encodings/cp1255.py +307 -0
  910. package/lib/python3.14/encodings/cp1256.py +307 -0
  911. package/lib/python3.14/encodings/cp1257.py +307 -0
  912. package/lib/python3.14/encodings/cp1258.py +307 -0
  913. package/lib/python3.14/encodings/cp273.py +307 -0
  914. package/lib/python3.14/encodings/cp424.py +307 -0
  915. package/lib/python3.14/encodings/cp437.py +698 -0
  916. package/lib/python3.14/encodings/cp500.py +307 -0
  917. package/lib/python3.14/encodings/cp720.py +309 -0
  918. package/lib/python3.14/encodings/cp737.py +698 -0
  919. package/lib/python3.14/encodings/cp775.py +697 -0
  920. package/lib/python3.14/encodings/cp850.py +698 -0
  921. package/lib/python3.14/encodings/cp852.py +698 -0
  922. package/lib/python3.14/encodings/cp855.py +698 -0
  923. package/lib/python3.14/encodings/cp856.py +307 -0
  924. package/lib/python3.14/encodings/cp857.py +694 -0
  925. package/lib/python3.14/encodings/cp858.py +698 -0
  926. package/lib/python3.14/encodings/cp860.py +698 -0
  927. package/lib/python3.14/encodings/cp861.py +698 -0
  928. package/lib/python3.14/encodings/cp862.py +698 -0
  929. package/lib/python3.14/encodings/cp863.py +698 -0
  930. package/lib/python3.14/encodings/cp864.py +690 -0
  931. package/lib/python3.14/encodings/cp865.py +698 -0
  932. package/lib/python3.14/encodings/cp866.py +698 -0
  933. package/lib/python3.14/encodings/cp869.py +689 -0
  934. package/lib/python3.14/encodings/cp874.py +307 -0
  935. package/lib/python3.14/encodings/cp875.py +307 -0
  936. package/lib/python3.14/encodings/cp932.py +39 -0
  937. package/lib/python3.14/encodings/cp949.py +39 -0
  938. package/lib/python3.14/encodings/cp950.py +39 -0
  939. package/lib/python3.14/encodings/euc_jis_2004.py +39 -0
  940. package/lib/python3.14/encodings/euc_jisx0213.py +39 -0
  941. package/lib/python3.14/encodings/euc_jp.py +39 -0
  942. package/lib/python3.14/encodings/euc_kr.py +39 -0
  943. package/lib/python3.14/encodings/gb18030.py +39 -0
  944. package/lib/python3.14/encodings/gb2312.py +39 -0
  945. package/lib/python3.14/encodings/gbk.py +39 -0
  946. package/lib/python3.14/encodings/hex_codec.py +55 -0
  947. package/lib/python3.14/encodings/hp_roman8.py +314 -0
  948. package/lib/python3.14/encodings/hz.py +39 -0
  949. package/lib/python3.14/encodings/idna.py +387 -0
  950. package/lib/python3.14/encodings/iso2022_jp.py +39 -0
  951. package/lib/python3.14/encodings/iso2022_jp_1.py +39 -0
  952. package/lib/python3.14/encodings/iso2022_jp_2.py +39 -0
  953. package/lib/python3.14/encodings/iso2022_jp_2004.py +39 -0
  954. package/lib/python3.14/encodings/iso2022_jp_3.py +39 -0
  955. package/lib/python3.14/encodings/iso2022_jp_ext.py +39 -0
  956. package/lib/python3.14/encodings/iso2022_kr.py +39 -0
  957. package/lib/python3.14/encodings/iso8859_1.py +307 -0
  958. package/lib/python3.14/encodings/iso8859_10.py +307 -0
  959. package/lib/python3.14/encodings/iso8859_11.py +307 -0
  960. package/lib/python3.14/encodings/iso8859_13.py +307 -0
  961. package/lib/python3.14/encodings/iso8859_14.py +307 -0
  962. package/lib/python3.14/encodings/iso8859_15.py +307 -0
  963. package/lib/python3.14/encodings/iso8859_16.py +307 -0
  964. package/lib/python3.14/encodings/iso8859_2.py +307 -0
  965. package/lib/python3.14/encodings/iso8859_3.py +307 -0
  966. package/lib/python3.14/encodings/iso8859_4.py +307 -0
  967. package/lib/python3.14/encodings/iso8859_5.py +307 -0
  968. package/lib/python3.14/encodings/iso8859_6.py +307 -0
  969. package/lib/python3.14/encodings/iso8859_7.py +307 -0
  970. package/lib/python3.14/encodings/iso8859_8.py +307 -0
  971. package/lib/python3.14/encodings/iso8859_9.py +307 -0
  972. package/lib/python3.14/encodings/johab.py +39 -0
  973. package/lib/python3.14/encodings/koi8_r.py +307 -0
  974. package/lib/python3.14/encodings/koi8_t.py +308 -0
  975. package/lib/python3.14/encodings/koi8_u.py +307 -0
  976. package/lib/python3.14/encodings/kz1048.py +307 -0
  977. package/lib/python3.14/encodings/latin_1.py +50 -0
  978. package/lib/python3.14/encodings/mac_arabic.py +698 -0
  979. package/lib/python3.14/encodings/mac_croatian.py +307 -0
  980. package/lib/python3.14/encodings/mac_cyrillic.py +307 -0
  981. package/lib/python3.14/encodings/mac_farsi.py +307 -0
  982. package/lib/python3.14/encodings/mac_greek.py +307 -0
  983. package/lib/python3.14/encodings/mac_iceland.py +307 -0
  984. package/lib/python3.14/encodings/mac_latin2.py +312 -0
  985. package/lib/python3.14/encodings/mac_roman.py +307 -0
  986. package/lib/python3.14/encodings/mac_romanian.py +307 -0
  987. package/lib/python3.14/encodings/mac_turkish.py +307 -0
  988. package/lib/python3.14/encodings/mbcs.py +47 -0
  989. package/lib/python3.14/encodings/oem.py +41 -0
  990. package/lib/python3.14/encodings/palmos.py +308 -0
  991. package/lib/python3.14/encodings/ptcp154.py +312 -0
  992. package/lib/python3.14/encodings/punycode.py +253 -0
  993. package/lib/python3.14/encodings/quopri_codec.py +56 -0
  994. package/lib/python3.14/encodings/raw_unicode_escape.py +46 -0
  995. package/lib/python3.14/encodings/rot_13.py +113 -0
  996. package/lib/python3.14/encodings/shift_jis.py +39 -0
  997. package/lib/python3.14/encodings/shift_jis_2004.py +39 -0
  998. package/lib/python3.14/encodings/shift_jisx0213.py +39 -0
  999. package/lib/python3.14/encodings/tis_620.py +307 -0
  1000. package/lib/python3.14/encodings/undefined.py +49 -0
  1001. package/lib/python3.14/encodings/unicode_escape.py +46 -0
  1002. package/lib/python3.14/encodings/utf_16.py +155 -0
  1003. package/lib/python3.14/encodings/utf_16_be.py +42 -0
  1004. package/lib/python3.14/encodings/utf_16_le.py +42 -0
  1005. package/lib/python3.14/encodings/utf_32.py +150 -0
  1006. package/lib/python3.14/encodings/utf_32_be.py +37 -0
  1007. package/lib/python3.14/encodings/utf_32_le.py +37 -0
  1008. package/lib/python3.14/encodings/utf_7.py +38 -0
  1009. package/lib/python3.14/encodings/utf_8.py +42 -0
  1010. package/lib/python3.14/encodings/utf_8_sig.py +130 -0
  1011. package/lib/python3.14/encodings/uu_codec.py +103 -0
  1012. package/lib/python3.14/encodings/zlib_codec.py +77 -0
  1013. package/lib/python3.14/ensurepip/__init__.py +264 -0
  1014. package/lib/python3.14/ensurepip/__main__.py +5 -0
  1015. package/lib/python3.14/ensurepip/__pycache__/__init__.cpython-314.pyc +0 -0
  1016. package/lib/python3.14/ensurepip/__pycache__/__main__.cpython-314.pyc +0 -0
  1017. package/lib/python3.14/ensurepip/__pycache__/_uninstall.cpython-314.pyc +0 -0
  1018. package/lib/python3.14/ensurepip/_bundled/pip-25.3-py3-none-any.whl +0 -0
  1019. package/lib/python3.14/ensurepip/_uninstall.py +31 -0
  1020. package/lib/python3.14/enum.py +2167 -0
  1021. package/lib/python3.14/filecmp.py +320 -0
  1022. package/lib/python3.14/fileinput.py +442 -0
  1023. package/lib/python3.14/fnmatch.py +209 -0
  1024. package/lib/python3.14/fractions.py +1078 -0
  1025. package/lib/python3.14/ftplib.py +966 -0
  1026. package/lib/python3.14/functools.py +1165 -0
  1027. package/lib/python3.14/genericpath.py +200 -0
  1028. package/lib/python3.14/getopt.py +232 -0
  1029. package/lib/python3.14/getpass.py +256 -0
  1030. package/lib/python3.14/gettext.py +657 -0
  1031. package/lib/python3.14/glob.py +553 -0
  1032. package/lib/python3.14/graphlib.py +254 -0
  1033. package/lib/python3.14/gzip.py +717 -0
  1034. package/lib/python3.14/hashlib.py +255 -0
  1035. package/lib/python3.14/heapq.py +611 -0
  1036. package/lib/python3.14/hmac.py +268 -0
  1037. package/lib/python3.14/html/__init__.py +132 -0
  1038. package/lib/python3.14/html/__pycache__/__init__.cpython-314.pyc +0 -0
  1039. package/lib/python3.14/html/__pycache__/entities.cpython-314.pyc +0 -0
  1040. package/lib/python3.14/html/__pycache__/parser.cpython-314.pyc +0 -0
  1041. package/lib/python3.14/html/entities.py +2513 -0
  1042. package/lib/python3.14/html/parser.py +553 -0
  1043. package/lib/python3.14/http/__init__.py +213 -0
  1044. package/lib/python3.14/http/__pycache__/__init__.cpython-314.pyc +0 -0
  1045. package/lib/python3.14/http/__pycache__/client.cpython-314.pyc +0 -0
  1046. package/lib/python3.14/http/__pycache__/cookiejar.cpython-314.pyc +0 -0
  1047. package/lib/python3.14/http/__pycache__/cookies.cpython-314.pyc +0 -0
  1048. package/lib/python3.14/http/__pycache__/server.cpython-314.pyc +0 -0
  1049. package/lib/python3.14/http/client.py +1570 -0
  1050. package/lib/python3.14/http/cookiejar.py +2122 -0
  1051. package/lib/python3.14/http/cookies.py +598 -0
  1052. package/lib/python3.14/http/server.py +1441 -0
  1053. package/lib/python3.14/idlelib/CREDITS.txt +48 -0
  1054. package/lib/python3.14/idlelib/ChangeLog +1591 -0
  1055. package/lib/python3.14/idlelib/HISTORY.txt +296 -0
  1056. package/lib/python3.14/idlelib/Icons/README.txt +51 -0
  1057. package/lib/python3.14/idlelib/Icons/folder.gif +0 -0
  1058. package/lib/python3.14/idlelib/Icons/idle.ico +0 -0
  1059. package/lib/python3.14/idlelib/Icons/idle_16.gif +0 -0
  1060. package/lib/python3.14/idlelib/Icons/idle_16.png +0 -0
  1061. package/lib/python3.14/idlelib/Icons/idle_256.png +0 -0
  1062. package/lib/python3.14/idlelib/Icons/idle_32.gif +0 -0
  1063. package/lib/python3.14/idlelib/Icons/idle_32.png +0 -0
  1064. package/lib/python3.14/idlelib/Icons/idle_48.gif +0 -0
  1065. package/lib/python3.14/idlelib/Icons/idle_48.png +0 -0
  1066. package/lib/python3.14/idlelib/Icons/minusnode.gif +0 -0
  1067. package/lib/python3.14/idlelib/Icons/openfolder.gif +0 -0
  1068. package/lib/python3.14/idlelib/Icons/plusnode.gif +0 -0
  1069. package/lib/python3.14/idlelib/Icons/python.gif +0 -0
  1070. package/lib/python3.14/idlelib/Icons/tk.gif +0 -0
  1071. package/lib/python3.14/idlelib/NEWS2x.txt +660 -0
  1072. package/lib/python3.14/idlelib/News3.txt +1404 -0
  1073. package/lib/python3.14/idlelib/README.txt +290 -0
  1074. package/lib/python3.14/idlelib/TODO.txt +210 -0
  1075. package/lib/python3.14/idlelib/__init__.py +10 -0
  1076. package/lib/python3.14/idlelib/__main__.py +7 -0
  1077. package/lib/python3.14/idlelib/__pycache__/__init__.cpython-314.pyc +0 -0
  1078. package/lib/python3.14/idlelib/__pycache__/__main__.cpython-314.pyc +0 -0
  1079. package/lib/python3.14/idlelib/__pycache__/autocomplete.cpython-314.pyc +0 -0
  1080. package/lib/python3.14/idlelib/__pycache__/autocomplete_w.cpython-314.pyc +0 -0
  1081. package/lib/python3.14/idlelib/__pycache__/autoexpand.cpython-314.pyc +0 -0
  1082. package/lib/python3.14/idlelib/__pycache__/browser.cpython-314.pyc +0 -0
  1083. package/lib/python3.14/idlelib/__pycache__/calltip.cpython-314.pyc +0 -0
  1084. package/lib/python3.14/idlelib/__pycache__/calltip_w.cpython-314.pyc +0 -0
  1085. package/lib/python3.14/idlelib/__pycache__/codecontext.cpython-314.pyc +0 -0
  1086. package/lib/python3.14/idlelib/__pycache__/colorizer.cpython-314.pyc +0 -0
  1087. package/lib/python3.14/idlelib/__pycache__/config.cpython-314.pyc +0 -0
  1088. package/lib/python3.14/idlelib/__pycache__/config_key.cpython-314.pyc +0 -0
  1089. package/lib/python3.14/idlelib/__pycache__/configdialog.cpython-314.pyc +0 -0
  1090. package/lib/python3.14/idlelib/__pycache__/debugger.cpython-314.pyc +0 -0
  1091. package/lib/python3.14/idlelib/__pycache__/debugger_r.cpython-314.pyc +0 -0
  1092. package/lib/python3.14/idlelib/__pycache__/debugobj.cpython-314.pyc +0 -0
  1093. package/lib/python3.14/idlelib/__pycache__/debugobj_r.cpython-314.pyc +0 -0
  1094. package/lib/python3.14/idlelib/__pycache__/delegator.cpython-314.pyc +0 -0
  1095. package/lib/python3.14/idlelib/__pycache__/dynoption.cpython-314.pyc +0 -0
  1096. package/lib/python3.14/idlelib/__pycache__/editor.cpython-314.pyc +0 -0
  1097. package/lib/python3.14/idlelib/__pycache__/filelist.cpython-314.pyc +0 -0
  1098. package/lib/python3.14/idlelib/__pycache__/format.cpython-314.pyc +0 -0
  1099. package/lib/python3.14/idlelib/__pycache__/grep.cpython-314.pyc +0 -0
  1100. package/lib/python3.14/idlelib/__pycache__/help.cpython-314.pyc +0 -0
  1101. package/lib/python3.14/idlelib/__pycache__/help_about.cpython-314.pyc +0 -0
  1102. package/lib/python3.14/idlelib/__pycache__/history.cpython-314.pyc +0 -0
  1103. package/lib/python3.14/idlelib/__pycache__/hyperparser.cpython-314.pyc +0 -0
  1104. package/lib/python3.14/idlelib/__pycache__/idle.cpython-314.pyc +0 -0
  1105. package/lib/python3.14/idlelib/__pycache__/iomenu.cpython-314.pyc +0 -0
  1106. package/lib/python3.14/idlelib/__pycache__/macosx.cpython-314.pyc +0 -0
  1107. package/lib/python3.14/idlelib/__pycache__/mainmenu.cpython-314.pyc +0 -0
  1108. package/lib/python3.14/idlelib/__pycache__/multicall.cpython-314.pyc +0 -0
  1109. package/lib/python3.14/idlelib/__pycache__/outwin.cpython-314.pyc +0 -0
  1110. package/lib/python3.14/idlelib/__pycache__/parenmatch.cpython-314.pyc +0 -0
  1111. package/lib/python3.14/idlelib/__pycache__/pathbrowser.cpython-314.pyc +0 -0
  1112. package/lib/python3.14/idlelib/__pycache__/percolator.cpython-314.pyc +0 -0
  1113. package/lib/python3.14/idlelib/__pycache__/pyparse.cpython-314.pyc +0 -0
  1114. package/lib/python3.14/idlelib/__pycache__/pyshell.cpython-314.pyc +0 -0
  1115. package/lib/python3.14/idlelib/__pycache__/query.cpython-314.pyc +0 -0
  1116. package/lib/python3.14/idlelib/__pycache__/redirector.cpython-314.pyc +0 -0
  1117. package/lib/python3.14/idlelib/__pycache__/replace.cpython-314.pyc +0 -0
  1118. package/lib/python3.14/idlelib/__pycache__/rpc.cpython-314.pyc +0 -0
  1119. package/lib/python3.14/idlelib/__pycache__/run.cpython-314.pyc +0 -0
  1120. package/lib/python3.14/idlelib/__pycache__/runscript.cpython-314.pyc +0 -0
  1121. package/lib/python3.14/idlelib/__pycache__/scrolledlist.cpython-314.pyc +0 -0
  1122. package/lib/python3.14/idlelib/__pycache__/search.cpython-314.pyc +0 -0
  1123. package/lib/python3.14/idlelib/__pycache__/searchbase.cpython-314.pyc +0 -0
  1124. package/lib/python3.14/idlelib/__pycache__/searchengine.cpython-314.pyc +0 -0
  1125. package/lib/python3.14/idlelib/__pycache__/sidebar.cpython-314.pyc +0 -0
  1126. package/lib/python3.14/idlelib/__pycache__/squeezer.cpython-314.pyc +0 -0
  1127. package/lib/python3.14/idlelib/__pycache__/stackviewer.cpython-314.pyc +0 -0
  1128. package/lib/python3.14/idlelib/__pycache__/statusbar.cpython-314.pyc +0 -0
  1129. package/lib/python3.14/idlelib/__pycache__/textview.cpython-314.pyc +0 -0
  1130. package/lib/python3.14/idlelib/__pycache__/tooltip.cpython-314.pyc +0 -0
  1131. package/lib/python3.14/idlelib/__pycache__/tree.cpython-314.pyc +0 -0
  1132. package/lib/python3.14/idlelib/__pycache__/undo.cpython-314.pyc +0 -0
  1133. package/lib/python3.14/idlelib/__pycache__/util.cpython-314.pyc +0 -0
  1134. package/lib/python3.14/idlelib/__pycache__/window.cpython-314.pyc +0 -0
  1135. package/lib/python3.14/idlelib/__pycache__/zoomheight.cpython-314.pyc +0 -0
  1136. package/lib/python3.14/idlelib/__pycache__/zzdummy.cpython-314.pyc +0 -0
  1137. package/lib/python3.14/idlelib/autocomplete.py +228 -0
  1138. package/lib/python3.14/idlelib/autocomplete_w.py +498 -0
  1139. package/lib/python3.14/idlelib/autoexpand.py +96 -0
  1140. package/lib/python3.14/idlelib/browser.py +260 -0
  1141. package/lib/python3.14/idlelib/calltip.py +205 -0
  1142. package/lib/python3.14/idlelib/calltip_w.py +202 -0
  1143. package/lib/python3.14/idlelib/codecontext.py +270 -0
  1144. package/lib/python3.14/idlelib/colorizer.py +384 -0
  1145. package/lib/python3.14/idlelib/config-extensions.def +62 -0
  1146. package/lib/python3.14/idlelib/config-highlight.def +105 -0
  1147. package/lib/python3.14/idlelib/config-keys.def +309 -0
  1148. package/lib/python3.14/idlelib/config-main.def +93 -0
  1149. package/lib/python3.14/idlelib/config.py +917 -0
  1150. package/lib/python3.14/idlelib/config_key.py +354 -0
  1151. package/lib/python3.14/idlelib/configdialog.py +2408 -0
  1152. package/lib/python3.14/idlelib/debugger.py +602 -0
  1153. package/lib/python3.14/idlelib/debugger_r.py +390 -0
  1154. package/lib/python3.14/idlelib/debugobj.py +146 -0
  1155. package/lib/python3.14/idlelib/debugobj_r.py +41 -0
  1156. package/lib/python3.14/idlelib/delegator.py +34 -0
  1157. package/lib/python3.14/idlelib/dynoption.py +57 -0
  1158. package/lib/python3.14/idlelib/editor.py +1734 -0
  1159. package/lib/python3.14/idlelib/extend.txt +83 -0
  1160. package/lib/python3.14/idlelib/filelist.py +132 -0
  1161. package/lib/python3.14/idlelib/format.py +426 -0
  1162. package/lib/python3.14/idlelib/grep.py +223 -0
  1163. package/lib/python3.14/idlelib/help.html +851 -0
  1164. package/lib/python3.14/idlelib/help.py +343 -0
  1165. package/lib/python3.14/idlelib/help_about.py +211 -0
  1166. package/lib/python3.14/idlelib/history.py +106 -0
  1167. package/lib/python3.14/idlelib/hyperparser.py +312 -0
  1168. package/lib/python3.14/idlelib/idle.bat +4 -0
  1169. package/lib/python3.14/idlelib/idle.py +14 -0
  1170. package/lib/python3.14/idlelib/idle.pyw +17 -0
  1171. package/lib/python3.14/idlelib/iomenu.py +441 -0
  1172. package/lib/python3.14/idlelib/macosx.py +278 -0
  1173. package/lib/python3.14/idlelib/mainmenu.py +126 -0
  1174. package/lib/python3.14/idlelib/multicall.py +451 -0
  1175. package/lib/python3.14/idlelib/outwin.py +188 -0
  1176. package/lib/python3.14/idlelib/parenmatch.py +183 -0
  1177. package/lib/python3.14/idlelib/pathbrowser.py +107 -0
  1178. package/lib/python3.14/idlelib/percolator.py +120 -0
  1179. package/lib/python3.14/idlelib/pyparse.py +589 -0
  1180. package/lib/python3.14/idlelib/pyshell.py +1699 -0
  1181. package/lib/python3.14/idlelib/query.py +392 -0
  1182. package/lib/python3.14/idlelib/redirector.py +174 -0
  1183. package/lib/python3.14/idlelib/replace.py +299 -0
  1184. package/lib/python3.14/idlelib/rpc.py +635 -0
  1185. package/lib/python3.14/idlelib/run.py +653 -0
  1186. package/lib/python3.14/idlelib/runscript.py +213 -0
  1187. package/lib/python3.14/idlelib/scrolledlist.py +151 -0
  1188. package/lib/python3.14/idlelib/search.py +165 -0
  1189. package/lib/python3.14/idlelib/searchbase.py +210 -0
  1190. package/lib/python3.14/idlelib/searchengine.py +234 -0
  1191. package/lib/python3.14/idlelib/sidebar.py +543 -0
  1192. package/lib/python3.14/idlelib/squeezer.py +345 -0
  1193. package/lib/python3.14/idlelib/stackviewer.py +134 -0
  1194. package/lib/python3.14/idlelib/statusbar.py +52 -0
  1195. package/lib/python3.14/idlelib/textview.py +193 -0
  1196. package/lib/python3.14/idlelib/tooltip.py +190 -0
  1197. package/lib/python3.14/idlelib/tree.py +509 -0
  1198. package/lib/python3.14/idlelib/undo.py +367 -0
  1199. package/lib/python3.14/idlelib/util.py +37 -0
  1200. package/lib/python3.14/idlelib/window.py +98 -0
  1201. package/lib/python3.14/idlelib/zoomheight.py +124 -0
  1202. package/lib/python3.14/idlelib/zzdummy.py +73 -0
  1203. package/lib/python3.14/imaplib.py +1967 -0
  1204. package/lib/python3.14/importlib/__init__.py +136 -0
  1205. package/lib/python3.14/importlib/__pycache__/__init__.cpython-314.pyc +0 -0
  1206. package/lib/python3.14/importlib/__pycache__/_abc.cpython-314.pyc +0 -0
  1207. package/lib/python3.14/importlib/__pycache__/_bootstrap.cpython-314.pyc +0 -0
  1208. package/lib/python3.14/importlib/__pycache__/_bootstrap_external.cpython-314.pyc +0 -0
  1209. package/lib/python3.14/importlib/__pycache__/abc.cpython-314.pyc +0 -0
  1210. package/lib/python3.14/importlib/__pycache__/machinery.cpython-314.pyc +0 -0
  1211. package/lib/python3.14/importlib/__pycache__/readers.cpython-314.pyc +0 -0
  1212. package/lib/python3.14/importlib/__pycache__/simple.cpython-314.pyc +0 -0
  1213. package/lib/python3.14/importlib/__pycache__/util.cpython-314.pyc +0 -0
  1214. package/lib/python3.14/importlib/_abc.py +39 -0
  1215. package/lib/python3.14/importlib/_bootstrap.py +1562 -0
  1216. package/lib/python3.14/importlib/_bootstrap_external.py +1562 -0
  1217. package/lib/python3.14/importlib/abc.py +234 -0
  1218. package/lib/python3.14/importlib/machinery.py +50 -0
  1219. package/lib/python3.14/importlib/metadata/__init__.py +1093 -0
  1220. package/lib/python3.14/importlib/metadata/__pycache__/__init__.cpython-314.pyc +0 -0
  1221. package/lib/python3.14/importlib/metadata/__pycache__/_adapters.cpython-314.pyc +0 -0
  1222. package/lib/python3.14/importlib/metadata/__pycache__/_collections.cpython-314.pyc +0 -0
  1223. package/lib/python3.14/importlib/metadata/__pycache__/_functools.cpython-314.pyc +0 -0
  1224. package/lib/python3.14/importlib/metadata/__pycache__/_itertools.cpython-314.pyc +0 -0
  1225. package/lib/python3.14/importlib/metadata/__pycache__/_meta.cpython-314.pyc +0 -0
  1226. package/lib/python3.14/importlib/metadata/__pycache__/_text.cpython-314.pyc +0 -0
  1227. package/lib/python3.14/importlib/metadata/__pycache__/diagnose.cpython-314.pyc +0 -0
  1228. package/lib/python3.14/importlib/metadata/_adapters.py +89 -0
  1229. package/lib/python3.14/importlib/metadata/_collections.py +30 -0
  1230. package/lib/python3.14/importlib/metadata/_functools.py +104 -0
  1231. package/lib/python3.14/importlib/metadata/_itertools.py +73 -0
  1232. package/lib/python3.14/importlib/metadata/_meta.py +67 -0
  1233. package/lib/python3.14/importlib/metadata/_text.py +99 -0
  1234. package/lib/python3.14/importlib/metadata/diagnose.py +21 -0
  1235. package/lib/python3.14/importlib/readers.py +12 -0
  1236. package/lib/python3.14/importlib/resources/__init__.py +43 -0
  1237. package/lib/python3.14/importlib/resources/__pycache__/__init__.cpython-314.pyc +0 -0
  1238. package/lib/python3.14/importlib/resources/__pycache__/_adapters.cpython-314.pyc +0 -0
  1239. package/lib/python3.14/importlib/resources/__pycache__/_common.cpython-314.pyc +0 -0
  1240. package/lib/python3.14/importlib/resources/__pycache__/_functional.cpython-314.pyc +0 -0
  1241. package/lib/python3.14/importlib/resources/__pycache__/_itertools.cpython-314.pyc +0 -0
  1242. package/lib/python3.14/importlib/resources/__pycache__/abc.cpython-314.pyc +0 -0
  1243. package/lib/python3.14/importlib/resources/__pycache__/readers.cpython-314.pyc +0 -0
  1244. package/lib/python3.14/importlib/resources/__pycache__/simple.cpython-314.pyc +0 -0
  1245. package/lib/python3.14/importlib/resources/_adapters.py +168 -0
  1246. package/lib/python3.14/importlib/resources/_common.py +211 -0
  1247. package/lib/python3.14/importlib/resources/_functional.py +81 -0
  1248. package/lib/python3.14/importlib/resources/_itertools.py +38 -0
  1249. package/lib/python3.14/importlib/resources/abc.py +173 -0
  1250. package/lib/python3.14/importlib/resources/readers.py +203 -0
  1251. package/lib/python3.14/importlib/resources/simple.py +106 -0
  1252. package/lib/python3.14/importlib/simple.py +14 -0
  1253. package/lib/python3.14/importlib/util.py +279 -0
  1254. package/lib/python3.14/inspect.py +3407 -0
  1255. package/lib/python3.14/io.py +150 -0
  1256. package/lib/python3.14/ipaddress.py +2417 -0
  1257. package/lib/python3.14/json/__init__.py +365 -0
  1258. package/lib/python3.14/json/__main__.py +20 -0
  1259. package/lib/python3.14/json/__pycache__/__init__.cpython-314.pyc +0 -0
  1260. package/lib/python3.14/json/__pycache__/__main__.cpython-314.pyc +0 -0
  1261. package/lib/python3.14/json/__pycache__/decoder.cpython-314.pyc +0 -0
  1262. package/lib/python3.14/json/__pycache__/encoder.cpython-314.pyc +0 -0
  1263. package/lib/python3.14/json/__pycache__/scanner.cpython-314.pyc +0 -0
  1264. package/lib/python3.14/json/__pycache__/tool.cpython-314.pyc +0 -0
  1265. package/lib/python3.14/json/decoder.py +364 -0
  1266. package/lib/python3.14/json/encoder.py +461 -0
  1267. package/lib/python3.14/json/scanner.py +73 -0
  1268. package/lib/python3.14/json/tool.py +121 -0
  1269. package/lib/python3.14/keyword.py +64 -0
  1270. package/lib/python3.14/linecache.py +251 -0
  1271. package/lib/python3.14/locale.py +1783 -0
  1272. package/lib/python3.14/logging/__init__.py +2326 -0
  1273. package/lib/python3.14/logging/__pycache__/__init__.cpython-314.pyc +0 -0
  1274. package/lib/python3.14/logging/__pycache__/config.cpython-314.pyc +0 -0
  1275. package/lib/python3.14/logging/__pycache__/handlers.cpython-314.pyc +0 -0
  1276. package/lib/python3.14/logging/config.py +1077 -0
  1277. package/lib/python3.14/logging/handlers.py +1641 -0
  1278. package/lib/python3.14/lzma.py +364 -0
  1279. package/lib/python3.14/mailbox.py +2223 -0
  1280. package/lib/python3.14/mimetypes.py +747 -0
  1281. package/lib/python3.14/modulefinder.py +671 -0
  1282. package/lib/python3.14/multiprocessing/__init__.py +37 -0
  1283. package/lib/python3.14/multiprocessing/__pycache__/__init__.cpython-314.pyc +0 -0
  1284. package/lib/python3.14/multiprocessing/__pycache__/connection.cpython-314.pyc +0 -0
  1285. package/lib/python3.14/multiprocessing/__pycache__/context.cpython-314.pyc +0 -0
  1286. package/lib/python3.14/multiprocessing/__pycache__/forkserver.cpython-314.pyc +0 -0
  1287. package/lib/python3.14/multiprocessing/__pycache__/heap.cpython-314.pyc +0 -0
  1288. package/lib/python3.14/multiprocessing/__pycache__/managers.cpython-314.pyc +0 -0
  1289. package/lib/python3.14/multiprocessing/__pycache__/pool.cpython-314.pyc +0 -0
  1290. package/lib/python3.14/multiprocessing/__pycache__/popen_fork.cpython-314.pyc +0 -0
  1291. package/lib/python3.14/multiprocessing/__pycache__/popen_forkserver.cpython-314.pyc +0 -0
  1292. package/lib/python3.14/multiprocessing/__pycache__/popen_spawn_posix.cpython-314.pyc +0 -0
  1293. package/lib/python3.14/multiprocessing/__pycache__/popen_spawn_win32.cpython-314.pyc +0 -0
  1294. package/lib/python3.14/multiprocessing/__pycache__/process.cpython-314.pyc +0 -0
  1295. package/lib/python3.14/multiprocessing/__pycache__/queues.cpython-314.pyc +0 -0
  1296. package/lib/python3.14/multiprocessing/__pycache__/reduction.cpython-314.pyc +0 -0
  1297. package/lib/python3.14/multiprocessing/__pycache__/resource_sharer.cpython-314.pyc +0 -0
  1298. package/lib/python3.14/multiprocessing/__pycache__/resource_tracker.cpython-314.pyc +0 -0
  1299. package/lib/python3.14/multiprocessing/__pycache__/shared_memory.cpython-314.pyc +0 -0
  1300. package/lib/python3.14/multiprocessing/__pycache__/sharedctypes.cpython-314.pyc +0 -0
  1301. package/lib/python3.14/multiprocessing/__pycache__/spawn.cpython-314.pyc +0 -0
  1302. package/lib/python3.14/multiprocessing/__pycache__/synchronize.cpython-314.pyc +0 -0
  1303. package/lib/python3.14/multiprocessing/__pycache__/util.cpython-314.pyc +0 -0
  1304. package/lib/python3.14/multiprocessing/connection.py +1207 -0
  1305. package/lib/python3.14/multiprocessing/context.py +377 -0
  1306. package/lib/python3.14/multiprocessing/dummy/__init__.py +126 -0
  1307. package/lib/python3.14/multiprocessing/dummy/__pycache__/__init__.cpython-314.pyc +0 -0
  1308. package/lib/python3.14/multiprocessing/dummy/__pycache__/connection.cpython-314.pyc +0 -0
  1309. package/lib/python3.14/multiprocessing/dummy/connection.py +75 -0
  1310. package/lib/python3.14/multiprocessing/forkserver.py +416 -0
  1311. package/lib/python3.14/multiprocessing/heap.py +337 -0
  1312. package/lib/python3.14/multiprocessing/managers.py +1438 -0
  1313. package/lib/python3.14/multiprocessing/pool.py +957 -0
  1314. package/lib/python3.14/multiprocessing/popen_fork.py +90 -0
  1315. package/lib/python3.14/multiprocessing/popen_forkserver.py +74 -0
  1316. package/lib/python3.14/multiprocessing/popen_spawn_posix.py +76 -0
  1317. package/lib/python3.14/multiprocessing/popen_spawn_win32.py +147 -0
  1318. package/lib/python3.14/multiprocessing/process.py +443 -0
  1319. package/lib/python3.14/multiprocessing/queues.py +399 -0
  1320. package/lib/python3.14/multiprocessing/reduction.py +281 -0
  1321. package/lib/python3.14/multiprocessing/resource_sharer.py +154 -0
  1322. package/lib/python3.14/multiprocessing/resource_tracker.py +416 -0
  1323. package/lib/python3.14/multiprocessing/shared_memory.py +544 -0
  1324. package/lib/python3.14/multiprocessing/sharedctypes.py +240 -0
  1325. package/lib/python3.14/multiprocessing/spawn.py +307 -0
  1326. package/lib/python3.14/multiprocessing/synchronize.py +411 -0
  1327. package/lib/python3.14/multiprocessing/util.py +560 -0
  1328. package/lib/python3.14/netrc.py +199 -0
  1329. package/lib/python3.14/ntpath.py +870 -0
  1330. package/lib/python3.14/nturl2path.py +74 -0
  1331. package/lib/python3.14/numbers.py +427 -0
  1332. package/lib/python3.14/opcode.py +122 -0
  1333. package/lib/python3.14/operator.py +475 -0
  1334. package/lib/python3.14/optparse.py +1671 -0
  1335. package/lib/python3.14/os.py +1191 -0
  1336. package/lib/python3.14/pathlib/__init__.py +1307 -0
  1337. package/lib/python3.14/pathlib/__pycache__/__init__.cpython-314.pyc +0 -0
  1338. package/lib/python3.14/pathlib/__pycache__/_local.cpython-314.pyc +0 -0
  1339. package/lib/python3.14/pathlib/__pycache__/_os.cpython-314.pyc +0 -0
  1340. package/lib/python3.14/pathlib/__pycache__/types.cpython-314.pyc +0 -0
  1341. package/lib/python3.14/pathlib/_local.py +12 -0
  1342. package/lib/python3.14/pathlib/_os.py +530 -0
  1343. package/lib/python3.14/pathlib/types.py +430 -0
  1344. package/lib/python3.14/pdb.py +3660 -0
  1345. package/lib/python3.14/pickle.py +1931 -0
  1346. package/lib/python3.14/pickletools.py +2887 -0
  1347. package/lib/python3.14/pkgutil.py +474 -0
  1348. package/lib/python3.14/platform.py +1515 -0
  1349. package/lib/python3.14/plistlib.py +948 -0
  1350. package/lib/python3.14/poplib.py +477 -0
  1351. package/lib/python3.14/posixpath.py +592 -0
  1352. package/lib/python3.14/pprint.py +675 -0
  1353. package/lib/python3.14/profile.py +615 -0
  1354. package/lib/python3.14/pstats.py +777 -0
  1355. package/lib/python3.14/pty.py +182 -0
  1356. package/lib/python3.14/py_compile.py +212 -0
  1357. package/lib/python3.14/pyclbr.py +314 -0
  1358. package/lib/python3.14/pydoc.py +2876 -0
  1359. package/lib/python3.14/pydoc_data/__init__.py +0 -0
  1360. package/lib/python3.14/pydoc_data/__pycache__/__init__.cpython-314.pyc +0 -0
  1361. package/lib/python3.14/pydoc_data/__pycache__/topics.cpython-314.pyc +0 -0
  1362. package/lib/python3.14/pydoc_data/_pydoc.css +112 -0
  1363. package/lib/python3.14/pydoc_data/topics.py +14103 -0
  1364. package/lib/python3.14/queue.py +383 -0
  1365. package/lib/python3.14/quopri.py +235 -0
  1366. package/lib/python3.14/random.py +1078 -0
  1367. package/lib/python3.14/re/__init__.py +428 -0
  1368. package/lib/python3.14/re/__pycache__/__init__.cpython-314.pyc +0 -0
  1369. package/lib/python3.14/re/__pycache__/_casefix.cpython-314.pyc +0 -0
  1370. package/lib/python3.14/re/__pycache__/_compiler.cpython-314.pyc +0 -0
  1371. package/lib/python3.14/re/__pycache__/_constants.cpython-314.pyc +0 -0
  1372. package/lib/python3.14/re/__pycache__/_parser.cpython-314.pyc +0 -0
  1373. package/lib/python3.14/re/_casefix.py +106 -0
  1374. package/lib/python3.14/re/_compiler.py +782 -0
  1375. package/lib/python3.14/re/_constants.py +224 -0
  1376. package/lib/python3.14/re/_parser.py +1066 -0
  1377. package/lib/python3.14/reprlib.py +230 -0
  1378. package/lib/python3.14/rlcompleter.py +221 -0
  1379. package/lib/python3.14/runpy.py +319 -0
  1380. package/lib/python3.14/sched.py +167 -0
  1381. package/lib/python3.14/secrets.py +71 -0
  1382. package/lib/python3.14/selectors.py +603 -0
  1383. package/lib/python3.14/shelve.py +250 -0
  1384. package/lib/python3.14/shlex.py +351 -0
  1385. package/lib/python3.14/shutil.py +1667 -0
  1386. package/lib/python3.14/signal.py +94 -0
  1387. package/lib/python3.14/site-packages/README.txt +2 -0
  1388. package/lib/python3.14/site-packages/pip/__init__.py +13 -0
  1389. package/lib/python3.14/site-packages/pip/__main__.py +24 -0
  1390. package/lib/python3.14/site-packages/pip/__pip-runner__.py +50 -0
  1391. package/lib/python3.14/site-packages/pip/__pycache__/__init__.cpython-314.pyc +0 -0
  1392. package/lib/python3.14/site-packages/pip/__pycache__/__main__.cpython-314.pyc +0 -0
  1393. package/lib/python3.14/site-packages/pip/__pycache__/__pip-runner__.cpython-314.pyc +0 -0
  1394. package/lib/python3.14/site-packages/pip/_internal/__init__.py +18 -0
  1395. package/lib/python3.14/site-packages/pip/_internal/__pycache__/__init__.cpython-314.pyc +0 -0
  1396. package/lib/python3.14/site-packages/pip/_internal/__pycache__/build_env.cpython-314.pyc +0 -0
  1397. package/lib/python3.14/site-packages/pip/_internal/__pycache__/cache.cpython-314.pyc +0 -0
  1398. package/lib/python3.14/site-packages/pip/_internal/__pycache__/configuration.cpython-314.pyc +0 -0
  1399. package/lib/python3.14/site-packages/pip/_internal/__pycache__/exceptions.cpython-314.pyc +0 -0
  1400. package/lib/python3.14/site-packages/pip/_internal/__pycache__/main.cpython-314.pyc +0 -0
  1401. package/lib/python3.14/site-packages/pip/_internal/__pycache__/pyproject.cpython-314.pyc +0 -0
  1402. package/lib/python3.14/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-314.pyc +0 -0
  1403. package/lib/python3.14/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-314.pyc +0 -0
  1404. package/lib/python3.14/site-packages/pip/_internal/build_env.py +417 -0
  1405. package/lib/python3.14/site-packages/pip/_internal/cache.py +291 -0
  1406. package/lib/python3.14/site-packages/pip/_internal/cli/__init__.py +3 -0
  1407. package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-314.pyc +0 -0
  1408. package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-314.pyc +0 -0
  1409. package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-314.pyc +0 -0
  1410. package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-314.pyc +0 -0
  1411. package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-314.pyc +0 -0
  1412. package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/index_command.cpython-314.pyc +0 -0
  1413. package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/main.cpython-314.pyc +0 -0
  1414. package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-314.pyc +0 -0
  1415. package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/parser.cpython-314.pyc +0 -0
  1416. package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-314.pyc +0 -0
  1417. package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-314.pyc +0 -0
  1418. package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-314.pyc +0 -0
  1419. package/lib/python3.14/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-314.pyc +0 -0
  1420. package/lib/python3.14/site-packages/pip/_internal/cli/autocompletion.py +184 -0
  1421. package/lib/python3.14/site-packages/pip/_internal/cli/base_command.py +244 -0
  1422. package/lib/python3.14/site-packages/pip/_internal/cli/cmdoptions.py +1110 -0
  1423. package/lib/python3.14/site-packages/pip/_internal/cli/command_context.py +28 -0
  1424. package/lib/python3.14/site-packages/pip/_internal/cli/index_command.py +175 -0
  1425. package/lib/python3.14/site-packages/pip/_internal/cli/main.py +80 -0
  1426. package/lib/python3.14/site-packages/pip/_internal/cli/main_parser.py +134 -0
  1427. package/lib/python3.14/site-packages/pip/_internal/cli/parser.py +298 -0
  1428. package/lib/python3.14/site-packages/pip/_internal/cli/progress_bars.py +151 -0
  1429. package/lib/python3.14/site-packages/pip/_internal/cli/req_command.py +371 -0
  1430. package/lib/python3.14/site-packages/pip/_internal/cli/spinners.py +235 -0
  1431. package/lib/python3.14/site-packages/pip/_internal/cli/status_codes.py +6 -0
  1432. package/lib/python3.14/site-packages/pip/_internal/commands/__init__.py +139 -0
  1433. package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/__init__.cpython-314.pyc +0 -0
  1434. package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/cache.cpython-314.pyc +0 -0
  1435. package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/check.cpython-314.pyc +0 -0
  1436. package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/completion.cpython-314.pyc +0 -0
  1437. package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/configuration.cpython-314.pyc +0 -0
  1438. package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/debug.cpython-314.pyc +0 -0
  1439. package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/download.cpython-314.pyc +0 -0
  1440. package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/freeze.cpython-314.pyc +0 -0
  1441. package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/hash.cpython-314.pyc +0 -0
  1442. package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/help.cpython-314.pyc +0 -0
  1443. package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/index.cpython-314.pyc +0 -0
  1444. package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/inspect.cpython-314.pyc +0 -0
  1445. package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/install.cpython-314.pyc +0 -0
  1446. package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/list.cpython-314.pyc +0 -0
  1447. package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/lock.cpython-314.pyc +0 -0
  1448. package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/search.cpython-314.pyc +0 -0
  1449. package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/show.cpython-314.pyc +0 -0
  1450. package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/uninstall.cpython-314.pyc +0 -0
  1451. package/lib/python3.14/site-packages/pip/_internal/commands/__pycache__/wheel.cpython-314.pyc +0 -0
  1452. package/lib/python3.14/site-packages/pip/_internal/commands/cache.py +231 -0
  1453. package/lib/python3.14/site-packages/pip/_internal/commands/check.py +66 -0
  1454. package/lib/python3.14/site-packages/pip/_internal/commands/completion.py +135 -0
  1455. package/lib/python3.14/site-packages/pip/_internal/commands/configuration.py +288 -0
  1456. package/lib/python3.14/site-packages/pip/_internal/commands/debug.py +203 -0
  1457. package/lib/python3.14/site-packages/pip/_internal/commands/download.py +142 -0
  1458. package/lib/python3.14/site-packages/pip/_internal/commands/freeze.py +107 -0
  1459. package/lib/python3.14/site-packages/pip/_internal/commands/hash.py +58 -0
  1460. package/lib/python3.14/site-packages/pip/_internal/commands/help.py +40 -0
  1461. package/lib/python3.14/site-packages/pip/_internal/commands/index.py +159 -0
  1462. package/lib/python3.14/site-packages/pip/_internal/commands/inspect.py +92 -0
  1463. package/lib/python3.14/site-packages/pip/_internal/commands/install.py +803 -0
  1464. package/lib/python3.14/site-packages/pip/_internal/commands/list.py +400 -0
  1465. package/lib/python3.14/site-packages/pip/_internal/commands/lock.py +167 -0
  1466. package/lib/python3.14/site-packages/pip/_internal/commands/search.py +178 -0
  1467. package/lib/python3.14/site-packages/pip/_internal/commands/show.py +231 -0
  1468. package/lib/python3.14/site-packages/pip/_internal/commands/uninstall.py +113 -0
  1469. package/lib/python3.14/site-packages/pip/_internal/commands/wheel.py +176 -0
  1470. package/lib/python3.14/site-packages/pip/_internal/configuration.py +396 -0
  1471. package/lib/python3.14/site-packages/pip/_internal/distributions/__init__.py +21 -0
  1472. package/lib/python3.14/site-packages/pip/_internal/distributions/__pycache__/__init__.cpython-314.pyc +0 -0
  1473. package/lib/python3.14/site-packages/pip/_internal/distributions/__pycache__/base.cpython-314.pyc +0 -0
  1474. package/lib/python3.14/site-packages/pip/_internal/distributions/__pycache__/installed.cpython-314.pyc +0 -0
  1475. package/lib/python3.14/site-packages/pip/_internal/distributions/__pycache__/sdist.cpython-314.pyc +0 -0
  1476. package/lib/python3.14/site-packages/pip/_internal/distributions/__pycache__/wheel.cpython-314.pyc +0 -0
  1477. package/lib/python3.14/site-packages/pip/_internal/distributions/base.py +55 -0
  1478. package/lib/python3.14/site-packages/pip/_internal/distributions/installed.py +33 -0
  1479. package/lib/python3.14/site-packages/pip/_internal/distributions/sdist.py +164 -0
  1480. package/lib/python3.14/site-packages/pip/_internal/distributions/wheel.py +44 -0
  1481. package/lib/python3.14/site-packages/pip/_internal/exceptions.py +898 -0
  1482. package/lib/python3.14/site-packages/pip/_internal/index/__init__.py +1 -0
  1483. package/lib/python3.14/site-packages/pip/_internal/index/__pycache__/__init__.cpython-314.pyc +0 -0
  1484. package/lib/python3.14/site-packages/pip/_internal/index/__pycache__/collector.cpython-314.pyc +0 -0
  1485. package/lib/python3.14/site-packages/pip/_internal/index/__pycache__/package_finder.cpython-314.pyc +0 -0
  1486. package/lib/python3.14/site-packages/pip/_internal/index/__pycache__/sources.cpython-314.pyc +0 -0
  1487. package/lib/python3.14/site-packages/pip/_internal/index/collector.py +489 -0
  1488. package/lib/python3.14/site-packages/pip/_internal/index/package_finder.py +1059 -0
  1489. package/lib/python3.14/site-packages/pip/_internal/index/sources.py +287 -0
  1490. package/lib/python3.14/site-packages/pip/_internal/locations/__init__.py +441 -0
  1491. package/lib/python3.14/site-packages/pip/_internal/locations/__pycache__/__init__.cpython-314.pyc +0 -0
  1492. package/lib/python3.14/site-packages/pip/_internal/locations/__pycache__/_distutils.cpython-314.pyc +0 -0
  1493. package/lib/python3.14/site-packages/pip/_internal/locations/__pycache__/_sysconfig.cpython-314.pyc +0 -0
  1494. package/lib/python3.14/site-packages/pip/_internal/locations/__pycache__/base.cpython-314.pyc +0 -0
  1495. package/lib/python3.14/site-packages/pip/_internal/locations/_distutils.py +173 -0
  1496. package/lib/python3.14/site-packages/pip/_internal/locations/_sysconfig.py +215 -0
  1497. package/lib/python3.14/site-packages/pip/_internal/locations/base.py +82 -0
  1498. package/lib/python3.14/site-packages/pip/_internal/main.py +12 -0
  1499. package/lib/python3.14/site-packages/pip/_internal/metadata/__init__.py +169 -0
  1500. package/lib/python3.14/site-packages/pip/_internal/metadata/__pycache__/__init__.cpython-314.pyc +0 -0
  1501. package/lib/python3.14/site-packages/pip/_internal/metadata/__pycache__/_json.cpython-314.pyc +0 -0
  1502. package/lib/python3.14/site-packages/pip/_internal/metadata/__pycache__/base.cpython-314.pyc +0 -0
  1503. package/lib/python3.14/site-packages/pip/_internal/metadata/__pycache__/pkg_resources.cpython-314.pyc +0 -0
  1504. package/lib/python3.14/site-packages/pip/_internal/metadata/_json.py +87 -0
  1505. package/lib/python3.14/site-packages/pip/_internal/metadata/base.py +685 -0
  1506. package/lib/python3.14/site-packages/pip/_internal/metadata/importlib/__init__.py +6 -0
  1507. package/lib/python3.14/site-packages/pip/_internal/metadata/importlib/__pycache__/__init__.cpython-314.pyc +0 -0
  1508. package/lib/python3.14/site-packages/pip/_internal/metadata/importlib/__pycache__/_compat.cpython-314.pyc +0 -0
  1509. package/lib/python3.14/site-packages/pip/_internal/metadata/importlib/__pycache__/_dists.cpython-314.pyc +0 -0
  1510. package/lib/python3.14/site-packages/pip/_internal/metadata/importlib/__pycache__/_envs.cpython-314.pyc +0 -0
  1511. package/lib/python3.14/site-packages/pip/_internal/metadata/importlib/_compat.py +87 -0
  1512. package/lib/python3.14/site-packages/pip/_internal/metadata/importlib/_dists.py +229 -0
  1513. package/lib/python3.14/site-packages/pip/_internal/metadata/importlib/_envs.py +143 -0
  1514. package/lib/python3.14/site-packages/pip/_internal/metadata/pkg_resources.py +298 -0
  1515. package/lib/python3.14/site-packages/pip/_internal/models/__init__.py +1 -0
  1516. package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/__init__.cpython-314.pyc +0 -0
  1517. package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/candidate.cpython-314.pyc +0 -0
  1518. package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/direct_url.cpython-314.pyc +0 -0
  1519. package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/format_control.cpython-314.pyc +0 -0
  1520. package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/index.cpython-314.pyc +0 -0
  1521. package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/installation_report.cpython-314.pyc +0 -0
  1522. package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/link.cpython-314.pyc +0 -0
  1523. package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/pylock.cpython-314.pyc +0 -0
  1524. package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/scheme.cpython-314.pyc +0 -0
  1525. package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/search_scope.cpython-314.pyc +0 -0
  1526. package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/selection_prefs.cpython-314.pyc +0 -0
  1527. package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/target_python.cpython-314.pyc +0 -0
  1528. package/lib/python3.14/site-packages/pip/_internal/models/__pycache__/wheel.cpython-314.pyc +0 -0
  1529. package/lib/python3.14/site-packages/pip/_internal/models/candidate.py +25 -0
  1530. package/lib/python3.14/site-packages/pip/_internal/models/direct_url.py +227 -0
  1531. package/lib/python3.14/site-packages/pip/_internal/models/format_control.py +78 -0
  1532. package/lib/python3.14/site-packages/pip/_internal/models/index.py +28 -0
  1533. package/lib/python3.14/site-packages/pip/_internal/models/installation_report.py +57 -0
  1534. package/lib/python3.14/site-packages/pip/_internal/models/link.py +613 -0
  1535. package/lib/python3.14/site-packages/pip/_internal/models/pylock.py +188 -0
  1536. package/lib/python3.14/site-packages/pip/_internal/models/scheme.py +25 -0
  1537. package/lib/python3.14/site-packages/pip/_internal/models/search_scope.py +126 -0
  1538. package/lib/python3.14/site-packages/pip/_internal/models/selection_prefs.py +53 -0
  1539. package/lib/python3.14/site-packages/pip/_internal/models/target_python.py +122 -0
  1540. package/lib/python3.14/site-packages/pip/_internal/models/wheel.py +80 -0
  1541. package/lib/python3.14/site-packages/pip/_internal/network/__init__.py +1 -0
  1542. package/lib/python3.14/site-packages/pip/_internal/network/__pycache__/__init__.cpython-314.pyc +0 -0
  1543. package/lib/python3.14/site-packages/pip/_internal/network/__pycache__/auth.cpython-314.pyc +0 -0
  1544. package/lib/python3.14/site-packages/pip/_internal/network/__pycache__/cache.cpython-314.pyc +0 -0
  1545. package/lib/python3.14/site-packages/pip/_internal/network/__pycache__/download.cpython-314.pyc +0 -0
  1546. package/lib/python3.14/site-packages/pip/_internal/network/__pycache__/lazy_wheel.cpython-314.pyc +0 -0
  1547. package/lib/python3.14/site-packages/pip/_internal/network/__pycache__/session.cpython-314.pyc +0 -0
  1548. package/lib/python3.14/site-packages/pip/_internal/network/__pycache__/utils.cpython-314.pyc +0 -0
  1549. package/lib/python3.14/site-packages/pip/_internal/network/__pycache__/xmlrpc.cpython-314.pyc +0 -0
  1550. package/lib/python3.14/site-packages/pip/_internal/network/auth.py +564 -0
  1551. package/lib/python3.14/site-packages/pip/_internal/network/cache.py +128 -0
  1552. package/lib/python3.14/site-packages/pip/_internal/network/download.py +342 -0
  1553. package/lib/python3.14/site-packages/pip/_internal/network/lazy_wheel.py +215 -0
  1554. package/lib/python3.14/site-packages/pip/_internal/network/session.py +528 -0
  1555. package/lib/python3.14/site-packages/pip/_internal/network/utils.py +98 -0
  1556. package/lib/python3.14/site-packages/pip/_internal/network/xmlrpc.py +61 -0
  1557. package/lib/python3.14/site-packages/pip/_internal/operations/__init__.py +0 -0
  1558. package/lib/python3.14/site-packages/pip/_internal/operations/__pycache__/__init__.cpython-314.pyc +0 -0
  1559. package/lib/python3.14/site-packages/pip/_internal/operations/__pycache__/check.cpython-314.pyc +0 -0
  1560. package/lib/python3.14/site-packages/pip/_internal/operations/__pycache__/freeze.cpython-314.pyc +0 -0
  1561. package/lib/python3.14/site-packages/pip/_internal/operations/__pycache__/prepare.cpython-314.pyc +0 -0
  1562. package/lib/python3.14/site-packages/pip/_internal/operations/build/__init__.py +0 -0
  1563. package/lib/python3.14/site-packages/pip/_internal/operations/build/__pycache__/__init__.cpython-314.pyc +0 -0
  1564. package/lib/python3.14/site-packages/pip/_internal/operations/build/__pycache__/build_tracker.cpython-314.pyc +0 -0
  1565. package/lib/python3.14/site-packages/pip/_internal/operations/build/__pycache__/metadata.cpython-314.pyc +0 -0
  1566. package/lib/python3.14/site-packages/pip/_internal/operations/build/__pycache__/metadata_editable.cpython-314.pyc +0 -0
  1567. package/lib/python3.14/site-packages/pip/_internal/operations/build/__pycache__/wheel.cpython-314.pyc +0 -0
  1568. package/lib/python3.14/site-packages/pip/_internal/operations/build/__pycache__/wheel_editable.cpython-314.pyc +0 -0
  1569. package/lib/python3.14/site-packages/pip/_internal/operations/build/build_tracker.py +140 -0
  1570. package/lib/python3.14/site-packages/pip/_internal/operations/build/metadata.py +38 -0
  1571. package/lib/python3.14/site-packages/pip/_internal/operations/build/metadata_editable.py +41 -0
  1572. package/lib/python3.14/site-packages/pip/_internal/operations/build/wheel.py +38 -0
  1573. package/lib/python3.14/site-packages/pip/_internal/operations/build/wheel_editable.py +47 -0
  1574. package/lib/python3.14/site-packages/pip/_internal/operations/check.py +175 -0
  1575. package/lib/python3.14/site-packages/pip/_internal/operations/freeze.py +259 -0
  1576. package/lib/python3.14/site-packages/pip/_internal/operations/install/__init__.py +1 -0
  1577. package/lib/python3.14/site-packages/pip/_internal/operations/install/__pycache__/__init__.cpython-314.pyc +0 -0
  1578. package/lib/python3.14/site-packages/pip/_internal/operations/install/__pycache__/wheel.cpython-314.pyc +0 -0
  1579. package/lib/python3.14/site-packages/pip/_internal/operations/install/wheel.py +746 -0
  1580. package/lib/python3.14/site-packages/pip/_internal/operations/prepare.py +748 -0
  1581. package/lib/python3.14/site-packages/pip/_internal/pyproject.py +123 -0
  1582. package/lib/python3.14/site-packages/pip/_internal/req/__init__.py +103 -0
  1583. package/lib/python3.14/site-packages/pip/_internal/req/__pycache__/__init__.cpython-314.pyc +0 -0
  1584. package/lib/python3.14/site-packages/pip/_internal/req/__pycache__/constructors.cpython-314.pyc +0 -0
  1585. package/lib/python3.14/site-packages/pip/_internal/req/__pycache__/req_dependency_group.cpython-314.pyc +0 -0
  1586. package/lib/python3.14/site-packages/pip/_internal/req/__pycache__/req_file.cpython-314.pyc +0 -0
  1587. package/lib/python3.14/site-packages/pip/_internal/req/__pycache__/req_install.cpython-314.pyc +0 -0
  1588. package/lib/python3.14/site-packages/pip/_internal/req/__pycache__/req_set.cpython-314.pyc +0 -0
  1589. package/lib/python3.14/site-packages/pip/_internal/req/__pycache__/req_uninstall.cpython-314.pyc +0 -0
  1590. package/lib/python3.14/site-packages/pip/_internal/req/constructors.py +566 -0
  1591. package/lib/python3.14/site-packages/pip/_internal/req/req_dependency_group.py +75 -0
  1592. package/lib/python3.14/site-packages/pip/_internal/req/req_file.py +619 -0
  1593. package/lib/python3.14/site-packages/pip/_internal/req/req_install.py +828 -0
  1594. package/lib/python3.14/site-packages/pip/_internal/req/req_set.py +81 -0
  1595. package/lib/python3.14/site-packages/pip/_internal/req/req_uninstall.py +639 -0
  1596. package/lib/python3.14/site-packages/pip/_internal/resolution/__init__.py +0 -0
  1597. package/lib/python3.14/site-packages/pip/_internal/resolution/__pycache__/__init__.cpython-314.pyc +0 -0
  1598. package/lib/python3.14/site-packages/pip/_internal/resolution/__pycache__/base.cpython-314.pyc +0 -0
  1599. package/lib/python3.14/site-packages/pip/_internal/resolution/base.py +20 -0
  1600. package/lib/python3.14/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
  1601. package/lib/python3.14/site-packages/pip/_internal/resolution/legacy/__pycache__/__init__.cpython-314.pyc +0 -0
  1602. package/lib/python3.14/site-packages/pip/_internal/resolution/legacy/__pycache__/resolver.cpython-314.pyc +0 -0
  1603. package/lib/python3.14/site-packages/pip/_internal/resolution/legacy/resolver.py +598 -0
  1604. package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
  1605. package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-314.pyc +0 -0
  1606. package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/__pycache__/base.cpython-314.pyc +0 -0
  1607. package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-314.pyc +0 -0
  1608. package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-314.pyc +0 -0
  1609. package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-314.pyc +0 -0
  1610. package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-314.pyc +0 -0
  1611. package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-314.pyc +0 -0
  1612. package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-314.pyc +0 -0
  1613. package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-314.pyc +0 -0
  1614. package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/base.py +142 -0
  1615. package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/candidates.py +591 -0
  1616. package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/factory.py +845 -0
  1617. package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +166 -0
  1618. package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/provider.py +285 -0
  1619. package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/reporter.py +98 -0
  1620. package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/requirements.py +247 -0
  1621. package/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/resolver.py +332 -0
  1622. package/lib/python3.14/site-packages/pip/_internal/self_outdated_check.py +262 -0
  1623. package/lib/python3.14/site-packages/pip/_internal/utils/__init__.py +0 -0
  1624. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/__init__.cpython-314.pyc +0 -0
  1625. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/_jaraco_text.cpython-314.pyc +0 -0
  1626. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/_log.cpython-314.pyc +0 -0
  1627. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-314.pyc +0 -0
  1628. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/compat.cpython-314.pyc +0 -0
  1629. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/compatibility_tags.cpython-314.pyc +0 -0
  1630. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/datetime.cpython-314.pyc +0 -0
  1631. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/deprecation.cpython-314.pyc +0 -0
  1632. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/direct_url_helpers.cpython-314.pyc +0 -0
  1633. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/egg_link.cpython-314.pyc +0 -0
  1634. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/entrypoints.cpython-314.pyc +0 -0
  1635. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/filesystem.cpython-314.pyc +0 -0
  1636. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/filetypes.cpython-314.pyc +0 -0
  1637. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/glibc.cpython-314.pyc +0 -0
  1638. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/hashes.cpython-314.pyc +0 -0
  1639. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/logging.cpython-314.pyc +0 -0
  1640. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/misc.cpython-314.pyc +0 -0
  1641. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/packaging.cpython-314.pyc +0 -0
  1642. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/retry.cpython-314.pyc +0 -0
  1643. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/subprocess.cpython-314.pyc +0 -0
  1644. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/temp_dir.cpython-314.pyc +0 -0
  1645. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/unpacking.cpython-314.pyc +0 -0
  1646. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/urls.cpython-314.pyc +0 -0
  1647. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/virtualenv.cpython-314.pyc +0 -0
  1648. package/lib/python3.14/site-packages/pip/_internal/utils/__pycache__/wheel.cpython-314.pyc +0 -0
  1649. package/lib/python3.14/site-packages/pip/_internal/utils/_jaraco_text.py +109 -0
  1650. package/lib/python3.14/site-packages/pip/_internal/utils/_log.py +38 -0
  1651. package/lib/python3.14/site-packages/pip/_internal/utils/appdirs.py +52 -0
  1652. package/lib/python3.14/site-packages/pip/_internal/utils/compat.py +85 -0
  1653. package/lib/python3.14/site-packages/pip/_internal/utils/compatibility_tags.py +201 -0
  1654. package/lib/python3.14/site-packages/pip/_internal/utils/datetime.py +10 -0
  1655. package/lib/python3.14/site-packages/pip/_internal/utils/deprecation.py +126 -0
  1656. package/lib/python3.14/site-packages/pip/_internal/utils/direct_url_helpers.py +87 -0
  1657. package/lib/python3.14/site-packages/pip/_internal/utils/egg_link.py +81 -0
  1658. package/lib/python3.14/site-packages/pip/_internal/utils/entrypoints.py +88 -0
  1659. package/lib/python3.14/site-packages/pip/_internal/utils/filesystem.py +164 -0
  1660. package/lib/python3.14/site-packages/pip/_internal/utils/filetypes.py +24 -0
  1661. package/lib/python3.14/site-packages/pip/_internal/utils/glibc.py +102 -0
  1662. package/lib/python3.14/site-packages/pip/_internal/utils/hashes.py +150 -0
  1663. package/lib/python3.14/site-packages/pip/_internal/utils/logging.py +364 -0
  1664. package/lib/python3.14/site-packages/pip/_internal/utils/misc.py +765 -0
  1665. package/lib/python3.14/site-packages/pip/_internal/utils/packaging.py +44 -0
  1666. package/lib/python3.14/site-packages/pip/_internal/utils/retry.py +45 -0
  1667. package/lib/python3.14/site-packages/pip/_internal/utils/subprocess.py +248 -0
  1668. package/lib/python3.14/site-packages/pip/_internal/utils/temp_dir.py +294 -0
  1669. package/lib/python3.14/site-packages/pip/_internal/utils/unpacking.py +362 -0
  1670. package/lib/python3.14/site-packages/pip/_internal/utils/urls.py +55 -0
  1671. package/lib/python3.14/site-packages/pip/_internal/utils/virtualenv.py +105 -0
  1672. package/lib/python3.14/site-packages/pip/_internal/utils/wheel.py +132 -0
  1673. package/lib/python3.14/site-packages/pip/_internal/vcs/__init__.py +15 -0
  1674. package/lib/python3.14/site-packages/pip/_internal/vcs/__pycache__/__init__.cpython-314.pyc +0 -0
  1675. package/lib/python3.14/site-packages/pip/_internal/vcs/__pycache__/bazaar.cpython-314.pyc +0 -0
  1676. package/lib/python3.14/site-packages/pip/_internal/vcs/__pycache__/git.cpython-314.pyc +0 -0
  1677. package/lib/python3.14/site-packages/pip/_internal/vcs/__pycache__/mercurial.cpython-314.pyc +0 -0
  1678. package/lib/python3.14/site-packages/pip/_internal/vcs/__pycache__/subversion.cpython-314.pyc +0 -0
  1679. package/lib/python3.14/site-packages/pip/_internal/vcs/__pycache__/versioncontrol.cpython-314.pyc +0 -0
  1680. package/lib/python3.14/site-packages/pip/_internal/vcs/bazaar.py +130 -0
  1681. package/lib/python3.14/site-packages/pip/_internal/vcs/git.py +571 -0
  1682. package/lib/python3.14/site-packages/pip/_internal/vcs/mercurial.py +186 -0
  1683. package/lib/python3.14/site-packages/pip/_internal/vcs/subversion.py +335 -0
  1684. package/lib/python3.14/site-packages/pip/_internal/vcs/versioncontrol.py +693 -0
  1685. package/lib/python3.14/site-packages/pip/_internal/wheel_builder.py +261 -0
  1686. package/lib/python3.14/site-packages/pip/_vendor/README.rst +180 -0
  1687. package/lib/python3.14/site-packages/pip/_vendor/__init__.py +117 -0
  1688. package/lib/python3.14/site-packages/pip/_vendor/__pycache__/__init__.cpython-314.pyc +0 -0
  1689. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/LICENSE.txt +13 -0
  1690. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/__init__.py +29 -0
  1691. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/__pycache__/__init__.cpython-314.pyc +0 -0
  1692. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-314.pyc +0 -0
  1693. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/__pycache__/adapter.cpython-314.pyc +0 -0
  1694. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/__pycache__/cache.cpython-314.pyc +0 -0
  1695. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/__pycache__/controller.cpython-314.pyc +0 -0
  1696. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-314.pyc +0 -0
  1697. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-314.pyc +0 -0
  1698. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/__pycache__/serialize.cpython-314.pyc +0 -0
  1699. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-314.pyc +0 -0
  1700. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/_cmd.py +70 -0
  1701. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/adapter.py +168 -0
  1702. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/cache.py +75 -0
  1703. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +8 -0
  1704. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-314.pyc +0 -0
  1705. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-314.pyc +0 -0
  1706. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-314.pyc +0 -0
  1707. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +145 -0
  1708. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +48 -0
  1709. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/controller.py +511 -0
  1710. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/filewrapper.py +119 -0
  1711. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/heuristics.py +157 -0
  1712. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/py.typed +0 -0
  1713. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/serialize.py +146 -0
  1714. package/lib/python3.14/site-packages/pip/_vendor/cachecontrol/wrapper.py +43 -0
  1715. package/lib/python3.14/site-packages/pip/_vendor/certifi/LICENSE +20 -0
  1716. package/lib/python3.14/site-packages/pip/_vendor/certifi/__init__.py +4 -0
  1717. package/lib/python3.14/site-packages/pip/_vendor/certifi/__main__.py +12 -0
  1718. package/lib/python3.14/site-packages/pip/_vendor/certifi/__pycache__/__init__.cpython-314.pyc +0 -0
  1719. package/lib/python3.14/site-packages/pip/_vendor/certifi/__pycache__/__main__.cpython-314.pyc +0 -0
  1720. package/lib/python3.14/site-packages/pip/_vendor/certifi/__pycache__/core.cpython-314.pyc +0 -0
  1721. package/lib/python3.14/site-packages/pip/_vendor/certifi/cacert.pem +4800 -0
  1722. package/lib/python3.14/site-packages/pip/_vendor/certifi/core.py +83 -0
  1723. package/lib/python3.14/site-packages/pip/_vendor/certifi/py.typed +0 -0
  1724. package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/LICENSE.txt +9 -0
  1725. package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/__init__.py +13 -0
  1726. package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/__main__.py +65 -0
  1727. package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/__pycache__/__init__.cpython-314.pyc +0 -0
  1728. package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/__pycache__/__main__.cpython-314.pyc +0 -0
  1729. package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/__pycache__/_implementation.cpython-314.pyc +0 -0
  1730. package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/__pycache__/_lint_dependency_groups.cpython-314.pyc +0 -0
  1731. package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/__pycache__/_pip_wrapper.cpython-314.pyc +0 -0
  1732. package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/__pycache__/_toml_compat.cpython-314.pyc +0 -0
  1733. package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/_implementation.py +209 -0
  1734. package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/_lint_dependency_groups.py +59 -0
  1735. package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/_pip_wrapper.py +62 -0
  1736. package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/_toml_compat.py +9 -0
  1737. package/lib/python3.14/site-packages/pip/_vendor/dependency_groups/py.typed +0 -0
  1738. package/lib/python3.14/site-packages/pip/_vendor/distlib/LICENSE.txt +284 -0
  1739. package/lib/python3.14/site-packages/pip/_vendor/distlib/__init__.py +33 -0
  1740. package/lib/python3.14/site-packages/pip/_vendor/distlib/__pycache__/__init__.cpython-314.pyc +0 -0
  1741. package/lib/python3.14/site-packages/pip/_vendor/distlib/__pycache__/compat.cpython-314.pyc +0 -0
  1742. package/lib/python3.14/site-packages/pip/_vendor/distlib/__pycache__/resources.cpython-314.pyc +0 -0
  1743. package/lib/python3.14/site-packages/pip/_vendor/distlib/__pycache__/scripts.cpython-314.pyc +0 -0
  1744. package/lib/python3.14/site-packages/pip/_vendor/distlib/__pycache__/util.cpython-314.pyc +0 -0
  1745. package/lib/python3.14/site-packages/pip/_vendor/distlib/compat.py +1137 -0
  1746. package/lib/python3.14/site-packages/pip/_vendor/distlib/resources.py +358 -0
  1747. package/lib/python3.14/site-packages/pip/_vendor/distlib/scripts.py +447 -0
  1748. package/lib/python3.14/site-packages/pip/_vendor/distlib/t32.exe +0 -0
  1749. package/lib/python3.14/site-packages/pip/_vendor/distlib/t64-arm.exe +0 -0
  1750. package/lib/python3.14/site-packages/pip/_vendor/distlib/t64.exe +0 -0
  1751. package/lib/python3.14/site-packages/pip/_vendor/distlib/util.py +1984 -0
  1752. package/lib/python3.14/site-packages/pip/_vendor/distlib/w32.exe +0 -0
  1753. package/lib/python3.14/site-packages/pip/_vendor/distlib/w64-arm.exe +0 -0
  1754. package/lib/python3.14/site-packages/pip/_vendor/distlib/w64.exe +0 -0
  1755. package/lib/python3.14/site-packages/pip/_vendor/distro/LICENSE +202 -0
  1756. package/lib/python3.14/site-packages/pip/_vendor/distro/__init__.py +54 -0
  1757. package/lib/python3.14/site-packages/pip/_vendor/distro/__main__.py +4 -0
  1758. package/lib/python3.14/site-packages/pip/_vendor/distro/__pycache__/__init__.cpython-314.pyc +0 -0
  1759. package/lib/python3.14/site-packages/pip/_vendor/distro/__pycache__/__main__.cpython-314.pyc +0 -0
  1760. package/lib/python3.14/site-packages/pip/_vendor/distro/__pycache__/distro.cpython-314.pyc +0 -0
  1761. package/lib/python3.14/site-packages/pip/_vendor/distro/distro.py +1403 -0
  1762. package/lib/python3.14/site-packages/pip/_vendor/distro/py.typed +0 -0
  1763. package/lib/python3.14/site-packages/pip/_vendor/idna/LICENSE.md +31 -0
  1764. package/lib/python3.14/site-packages/pip/_vendor/idna/__init__.py +45 -0
  1765. package/lib/python3.14/site-packages/pip/_vendor/idna/__pycache__/__init__.cpython-314.pyc +0 -0
  1766. package/lib/python3.14/site-packages/pip/_vendor/idna/__pycache__/codec.cpython-314.pyc +0 -0
  1767. package/lib/python3.14/site-packages/pip/_vendor/idna/__pycache__/compat.cpython-314.pyc +0 -0
  1768. package/lib/python3.14/site-packages/pip/_vendor/idna/__pycache__/core.cpython-314.pyc +0 -0
  1769. package/lib/python3.14/site-packages/pip/_vendor/idna/__pycache__/idnadata.cpython-314.pyc +0 -0
  1770. package/lib/python3.14/site-packages/pip/_vendor/idna/__pycache__/intranges.cpython-314.pyc +0 -0
  1771. package/lib/python3.14/site-packages/pip/_vendor/idna/__pycache__/package_data.cpython-314.pyc +0 -0
  1772. package/lib/python3.14/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-314.pyc +0 -0
  1773. package/lib/python3.14/site-packages/pip/_vendor/idna/codec.py +122 -0
  1774. package/lib/python3.14/site-packages/pip/_vendor/idna/compat.py +15 -0
  1775. package/lib/python3.14/site-packages/pip/_vendor/idna/core.py +437 -0
  1776. package/lib/python3.14/site-packages/pip/_vendor/idna/idnadata.py +4243 -0
  1777. package/lib/python3.14/site-packages/pip/_vendor/idna/intranges.py +57 -0
  1778. package/lib/python3.14/site-packages/pip/_vendor/idna/package_data.py +1 -0
  1779. package/lib/python3.14/site-packages/pip/_vendor/idna/py.typed +0 -0
  1780. package/lib/python3.14/site-packages/pip/_vendor/idna/uts46data.py +8681 -0
  1781. package/lib/python3.14/site-packages/pip/_vendor/msgpack/COPYING +14 -0
  1782. package/lib/python3.14/site-packages/pip/_vendor/msgpack/__init__.py +55 -0
  1783. package/lib/python3.14/site-packages/pip/_vendor/msgpack/__pycache__/__init__.cpython-314.pyc +0 -0
  1784. package/lib/python3.14/site-packages/pip/_vendor/msgpack/__pycache__/exceptions.cpython-314.pyc +0 -0
  1785. package/lib/python3.14/site-packages/pip/_vendor/msgpack/__pycache__/ext.cpython-314.pyc +0 -0
  1786. package/lib/python3.14/site-packages/pip/_vendor/msgpack/__pycache__/fallback.cpython-314.pyc +0 -0
  1787. package/lib/python3.14/site-packages/pip/_vendor/msgpack/exceptions.py +48 -0
  1788. package/lib/python3.14/site-packages/pip/_vendor/msgpack/ext.py +170 -0
  1789. package/lib/python3.14/site-packages/pip/_vendor/msgpack/fallback.py +929 -0
  1790. package/lib/python3.14/site-packages/pip/_vendor/packaging/LICENSE +3 -0
  1791. package/lib/python3.14/site-packages/pip/_vendor/packaging/LICENSE.APACHE +177 -0
  1792. package/lib/python3.14/site-packages/pip/_vendor/packaging/LICENSE.BSD +23 -0
  1793. package/lib/python3.14/site-packages/pip/_vendor/packaging/__init__.py +15 -0
  1794. package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/__init__.cpython-314.pyc +0 -0
  1795. package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/_elffile.cpython-314.pyc +0 -0
  1796. package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/_manylinux.cpython-314.pyc +0 -0
  1797. package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/_musllinux.cpython-314.pyc +0 -0
  1798. package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/_parser.cpython-314.pyc +0 -0
  1799. package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/_structures.cpython-314.pyc +0 -0
  1800. package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/_tokenizer.cpython-314.pyc +0 -0
  1801. package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/markers.cpython-314.pyc +0 -0
  1802. package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/metadata.cpython-314.pyc +0 -0
  1803. package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/requirements.cpython-314.pyc +0 -0
  1804. package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/specifiers.cpython-314.pyc +0 -0
  1805. package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/tags.cpython-314.pyc +0 -0
  1806. package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/utils.cpython-314.pyc +0 -0
  1807. package/lib/python3.14/site-packages/pip/_vendor/packaging/__pycache__/version.cpython-314.pyc +0 -0
  1808. package/lib/python3.14/site-packages/pip/_vendor/packaging/_elffile.py +109 -0
  1809. package/lib/python3.14/site-packages/pip/_vendor/packaging/_manylinux.py +262 -0
  1810. package/lib/python3.14/site-packages/pip/_vendor/packaging/_musllinux.py +85 -0
  1811. package/lib/python3.14/site-packages/pip/_vendor/packaging/_parser.py +353 -0
  1812. package/lib/python3.14/site-packages/pip/_vendor/packaging/_structures.py +61 -0
  1813. package/lib/python3.14/site-packages/pip/_vendor/packaging/_tokenizer.py +195 -0
  1814. package/lib/python3.14/site-packages/pip/_vendor/packaging/licenses/__init__.py +145 -0
  1815. package/lib/python3.14/site-packages/pip/_vendor/packaging/licenses/__pycache__/__init__.cpython-314.pyc +0 -0
  1816. package/lib/python3.14/site-packages/pip/_vendor/packaging/licenses/__pycache__/_spdx.cpython-314.pyc +0 -0
  1817. package/lib/python3.14/site-packages/pip/_vendor/packaging/licenses/_spdx.py +759 -0
  1818. package/lib/python3.14/site-packages/pip/_vendor/packaging/markers.py +362 -0
  1819. package/lib/python3.14/site-packages/pip/_vendor/packaging/metadata.py +862 -0
  1820. package/lib/python3.14/site-packages/pip/_vendor/packaging/py.typed +0 -0
  1821. package/lib/python3.14/site-packages/pip/_vendor/packaging/requirements.py +91 -0
  1822. package/lib/python3.14/site-packages/pip/_vendor/packaging/specifiers.py +1019 -0
  1823. package/lib/python3.14/site-packages/pip/_vendor/packaging/tags.py +656 -0
  1824. package/lib/python3.14/site-packages/pip/_vendor/packaging/utils.py +163 -0
  1825. package/lib/python3.14/site-packages/pip/_vendor/packaging/version.py +582 -0
  1826. package/lib/python3.14/site-packages/pip/_vendor/pkg_resources/LICENSE +17 -0
  1827. package/lib/python3.14/site-packages/pip/_vendor/pkg_resources/__init__.py +3676 -0
  1828. package/lib/python3.14/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-314.pyc +0 -0
  1829. package/lib/python3.14/site-packages/pip/_vendor/platformdirs/LICENSE +21 -0
  1830. package/lib/python3.14/site-packages/pip/_vendor/platformdirs/__init__.py +631 -0
  1831. package/lib/python3.14/site-packages/pip/_vendor/platformdirs/__main__.py +55 -0
  1832. package/lib/python3.14/site-packages/pip/_vendor/platformdirs/__pycache__/__init__.cpython-314.pyc +0 -0
  1833. package/lib/python3.14/site-packages/pip/_vendor/platformdirs/__pycache__/__main__.cpython-314.pyc +0 -0
  1834. package/lib/python3.14/site-packages/pip/_vendor/platformdirs/__pycache__/android.cpython-314.pyc +0 -0
  1835. package/lib/python3.14/site-packages/pip/_vendor/platformdirs/__pycache__/api.cpython-314.pyc +0 -0
  1836. package/lib/python3.14/site-packages/pip/_vendor/platformdirs/__pycache__/macos.cpython-314.pyc +0 -0
  1837. package/lib/python3.14/site-packages/pip/_vendor/platformdirs/__pycache__/unix.cpython-314.pyc +0 -0
  1838. package/lib/python3.14/site-packages/pip/_vendor/platformdirs/__pycache__/version.cpython-314.pyc +0 -0
  1839. package/lib/python3.14/site-packages/pip/_vendor/platformdirs/__pycache__/windows.cpython-314.pyc +0 -0
  1840. package/lib/python3.14/site-packages/pip/_vendor/platformdirs/android.py +249 -0
  1841. package/lib/python3.14/site-packages/pip/_vendor/platformdirs/api.py +299 -0
  1842. package/lib/python3.14/site-packages/pip/_vendor/platformdirs/macos.py +146 -0
  1843. package/lib/python3.14/site-packages/pip/_vendor/platformdirs/py.typed +0 -0
  1844. package/lib/python3.14/site-packages/pip/_vendor/platformdirs/unix.py +272 -0
  1845. package/lib/python3.14/site-packages/pip/_vendor/platformdirs/version.py +34 -0
  1846. package/lib/python3.14/site-packages/pip/_vendor/platformdirs/windows.py +272 -0
  1847. package/lib/python3.14/site-packages/pip/_vendor/pygments/LICENSE +25 -0
  1848. package/lib/python3.14/site-packages/pip/_vendor/pygments/__init__.py +82 -0
  1849. package/lib/python3.14/site-packages/pip/_vendor/pygments/__main__.py +17 -0
  1850. package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/__init__.cpython-314.pyc +0 -0
  1851. package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/__main__.cpython-314.pyc +0 -0
  1852. package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/console.cpython-314.pyc +0 -0
  1853. package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/filter.cpython-314.pyc +0 -0
  1854. package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/formatter.cpython-314.pyc +0 -0
  1855. package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/lexer.cpython-314.pyc +0 -0
  1856. package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/modeline.cpython-314.pyc +0 -0
  1857. package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/plugin.cpython-314.pyc +0 -0
  1858. package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/regexopt.cpython-314.pyc +0 -0
  1859. package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/scanner.cpython-314.pyc +0 -0
  1860. package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/sphinxext.cpython-314.pyc +0 -0
  1861. package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/style.cpython-314.pyc +0 -0
  1862. package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/token.cpython-314.pyc +0 -0
  1863. package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/unistring.cpython-314.pyc +0 -0
  1864. package/lib/python3.14/site-packages/pip/_vendor/pygments/__pycache__/util.cpython-314.pyc +0 -0
  1865. package/lib/python3.14/site-packages/pip/_vendor/pygments/console.py +70 -0
  1866. package/lib/python3.14/site-packages/pip/_vendor/pygments/filter.py +70 -0
  1867. package/lib/python3.14/site-packages/pip/_vendor/pygments/filters/__init__.py +940 -0
  1868. package/lib/python3.14/site-packages/pip/_vendor/pygments/filters/__pycache__/__init__.cpython-314.pyc +0 -0
  1869. package/lib/python3.14/site-packages/pip/_vendor/pygments/formatter.py +129 -0
  1870. package/lib/python3.14/site-packages/pip/_vendor/pygments/formatters/__init__.py +157 -0
  1871. package/lib/python3.14/site-packages/pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-314.pyc +0 -0
  1872. package/lib/python3.14/site-packages/pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-314.pyc +0 -0
  1873. package/lib/python3.14/site-packages/pip/_vendor/pygments/formatters/_mapping.py +23 -0
  1874. package/lib/python3.14/site-packages/pip/_vendor/pygments/lexer.py +963 -0
  1875. package/lib/python3.14/site-packages/pip/_vendor/pygments/lexers/__init__.py +362 -0
  1876. package/lib/python3.14/site-packages/pip/_vendor/pygments/lexers/__pycache__/__init__.cpython-314.pyc +0 -0
  1877. package/lib/python3.14/site-packages/pip/_vendor/pygments/lexers/__pycache__/_mapping.cpython-314.pyc +0 -0
  1878. package/lib/python3.14/site-packages/pip/_vendor/pygments/lexers/__pycache__/python.cpython-314.pyc +0 -0
  1879. package/lib/python3.14/site-packages/pip/_vendor/pygments/lexers/_mapping.py +602 -0
  1880. package/lib/python3.14/site-packages/pip/_vendor/pygments/lexers/python.py +1201 -0
  1881. package/lib/python3.14/site-packages/pip/_vendor/pygments/modeline.py +43 -0
  1882. package/lib/python3.14/site-packages/pip/_vendor/pygments/plugin.py +72 -0
  1883. package/lib/python3.14/site-packages/pip/_vendor/pygments/regexopt.py +91 -0
  1884. package/lib/python3.14/site-packages/pip/_vendor/pygments/scanner.py +104 -0
  1885. package/lib/python3.14/site-packages/pip/_vendor/pygments/sphinxext.py +247 -0
  1886. package/lib/python3.14/site-packages/pip/_vendor/pygments/style.py +203 -0
  1887. package/lib/python3.14/site-packages/pip/_vendor/pygments/styles/__init__.py +61 -0
  1888. package/lib/python3.14/site-packages/pip/_vendor/pygments/styles/__pycache__/__init__.cpython-314.pyc +0 -0
  1889. package/lib/python3.14/site-packages/pip/_vendor/pygments/styles/__pycache__/_mapping.cpython-314.pyc +0 -0
  1890. package/lib/python3.14/site-packages/pip/_vendor/pygments/styles/_mapping.py +54 -0
  1891. package/lib/python3.14/site-packages/pip/_vendor/pygments/token.py +214 -0
  1892. package/lib/python3.14/site-packages/pip/_vendor/pygments/unistring.py +153 -0
  1893. package/lib/python3.14/site-packages/pip/_vendor/pygments/util.py +324 -0
  1894. package/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/LICENSE +21 -0
  1895. package/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/__init__.py +31 -0
  1896. package/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-314.pyc +0 -0
  1897. package/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-314.pyc +0 -0
  1898. package/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/_impl.py +410 -0
  1899. package/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py +21 -0
  1900. package/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-314.pyc +0 -0
  1901. package/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-314.pyc +0 -0
  1902. package/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py +389 -0
  1903. package/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/py.typed +0 -0
  1904. package/lib/python3.14/site-packages/pip/_vendor/requests/LICENSE +175 -0
  1905. package/lib/python3.14/site-packages/pip/_vendor/requests/__init__.py +179 -0
  1906. package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/__init__.cpython-314.pyc +0 -0
  1907. package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/__version__.cpython-314.pyc +0 -0
  1908. package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/_internal_utils.cpython-314.pyc +0 -0
  1909. package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/adapters.cpython-314.pyc +0 -0
  1910. package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/api.cpython-314.pyc +0 -0
  1911. package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/auth.cpython-314.pyc +0 -0
  1912. package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/certs.cpython-314.pyc +0 -0
  1913. package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/compat.cpython-314.pyc +0 -0
  1914. package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/cookies.cpython-314.pyc +0 -0
  1915. package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/exceptions.cpython-314.pyc +0 -0
  1916. package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/help.cpython-314.pyc +0 -0
  1917. package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/hooks.cpython-314.pyc +0 -0
  1918. package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/models.cpython-314.pyc +0 -0
  1919. package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/packages.cpython-314.pyc +0 -0
  1920. package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/sessions.cpython-314.pyc +0 -0
  1921. package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/status_codes.cpython-314.pyc +0 -0
  1922. package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/structures.cpython-314.pyc +0 -0
  1923. package/lib/python3.14/site-packages/pip/_vendor/requests/__pycache__/utils.cpython-314.pyc +0 -0
  1924. package/lib/python3.14/site-packages/pip/_vendor/requests/__version__.py +14 -0
  1925. package/lib/python3.14/site-packages/pip/_vendor/requests/_internal_utils.py +50 -0
  1926. package/lib/python3.14/site-packages/pip/_vendor/requests/adapters.py +696 -0
  1927. package/lib/python3.14/site-packages/pip/_vendor/requests/api.py +157 -0
  1928. package/lib/python3.14/site-packages/pip/_vendor/requests/auth.py +314 -0
  1929. package/lib/python3.14/site-packages/pip/_vendor/requests/certs.py +17 -0
  1930. package/lib/python3.14/site-packages/pip/_vendor/requests/compat.py +90 -0
  1931. package/lib/python3.14/site-packages/pip/_vendor/requests/cookies.py +561 -0
  1932. package/lib/python3.14/site-packages/pip/_vendor/requests/exceptions.py +151 -0
  1933. package/lib/python3.14/site-packages/pip/_vendor/requests/help.py +127 -0
  1934. package/lib/python3.14/site-packages/pip/_vendor/requests/hooks.py +33 -0
  1935. package/lib/python3.14/site-packages/pip/_vendor/requests/models.py +1039 -0
  1936. package/lib/python3.14/site-packages/pip/_vendor/requests/packages.py +25 -0
  1937. package/lib/python3.14/site-packages/pip/_vendor/requests/sessions.py +831 -0
  1938. package/lib/python3.14/site-packages/pip/_vendor/requests/status_codes.py +128 -0
  1939. package/lib/python3.14/site-packages/pip/_vendor/requests/structures.py +99 -0
  1940. package/lib/python3.14/site-packages/pip/_vendor/requests/utils.py +1086 -0
  1941. package/lib/python3.14/site-packages/pip/_vendor/resolvelib/LICENSE +13 -0
  1942. package/lib/python3.14/site-packages/pip/_vendor/resolvelib/__init__.py +27 -0
  1943. package/lib/python3.14/site-packages/pip/_vendor/resolvelib/__pycache__/__init__.cpython-314.pyc +0 -0
  1944. package/lib/python3.14/site-packages/pip/_vendor/resolvelib/__pycache__/providers.cpython-314.pyc +0 -0
  1945. package/lib/python3.14/site-packages/pip/_vendor/resolvelib/__pycache__/reporters.cpython-314.pyc +0 -0
  1946. package/lib/python3.14/site-packages/pip/_vendor/resolvelib/__pycache__/structs.cpython-314.pyc +0 -0
  1947. package/lib/python3.14/site-packages/pip/_vendor/resolvelib/providers.py +196 -0
  1948. package/lib/python3.14/site-packages/pip/_vendor/resolvelib/py.typed +0 -0
  1949. package/lib/python3.14/site-packages/pip/_vendor/resolvelib/reporters.py +55 -0
  1950. package/lib/python3.14/site-packages/pip/_vendor/resolvelib/resolvers/__init__.py +27 -0
  1951. package/lib/python3.14/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/__init__.cpython-314.pyc +0 -0
  1952. package/lib/python3.14/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/abstract.cpython-314.pyc +0 -0
  1953. package/lib/python3.14/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/criterion.cpython-314.pyc +0 -0
  1954. package/lib/python3.14/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/exceptions.cpython-314.pyc +0 -0
  1955. package/lib/python3.14/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/resolution.cpython-314.pyc +0 -0
  1956. package/lib/python3.14/site-packages/pip/_vendor/resolvelib/resolvers/abstract.py +47 -0
  1957. package/lib/python3.14/site-packages/pip/_vendor/resolvelib/resolvers/criterion.py +48 -0
  1958. package/lib/python3.14/site-packages/pip/_vendor/resolvelib/resolvers/exceptions.py +57 -0
  1959. package/lib/python3.14/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py +627 -0
  1960. package/lib/python3.14/site-packages/pip/_vendor/resolvelib/structs.py +209 -0
  1961. package/lib/python3.14/site-packages/pip/_vendor/rich/LICENSE +19 -0
  1962. package/lib/python3.14/site-packages/pip/_vendor/rich/__init__.py +177 -0
  1963. package/lib/python3.14/site-packages/pip/_vendor/rich/__main__.py +245 -0
  1964. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/__init__.cpython-314.pyc +0 -0
  1965. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/__main__.cpython-314.pyc +0 -0
  1966. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_cell_widths.cpython-314.pyc +0 -0
  1967. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-314.pyc +0 -0
  1968. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_emoji_replace.cpython-314.pyc +0 -0
  1969. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_export_format.cpython-314.pyc +0 -0
  1970. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_extension.cpython-314.pyc +0 -0
  1971. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_fileno.cpython-314.pyc +0 -0
  1972. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_inspect.cpython-314.pyc +0 -0
  1973. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_log_render.cpython-314.pyc +0 -0
  1974. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_loop.cpython-314.pyc +0 -0
  1975. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_null_file.cpython-314.pyc +0 -0
  1976. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_palettes.cpython-314.pyc +0 -0
  1977. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_pick.cpython-314.pyc +0 -0
  1978. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_ratio.cpython-314.pyc +0 -0
  1979. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_spinners.cpython-314.pyc +0 -0
  1980. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_stack.cpython-314.pyc +0 -0
  1981. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_timer.cpython-314.pyc +0 -0
  1982. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_win32_console.cpython-314.pyc +0 -0
  1983. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_windows.cpython-314.pyc +0 -0
  1984. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_windows_renderer.cpython-314.pyc +0 -0
  1985. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/_wrap.cpython-314.pyc +0 -0
  1986. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/abc.cpython-314.pyc +0 -0
  1987. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/align.cpython-314.pyc +0 -0
  1988. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/ansi.cpython-314.pyc +0 -0
  1989. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/bar.cpython-314.pyc +0 -0
  1990. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/box.cpython-314.pyc +0 -0
  1991. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/cells.cpython-314.pyc +0 -0
  1992. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/color.cpython-314.pyc +0 -0
  1993. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/color_triplet.cpython-314.pyc +0 -0
  1994. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/columns.cpython-314.pyc +0 -0
  1995. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/console.cpython-314.pyc +0 -0
  1996. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/constrain.cpython-314.pyc +0 -0
  1997. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/containers.cpython-314.pyc +0 -0
  1998. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/control.cpython-314.pyc +0 -0
  1999. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/default_styles.cpython-314.pyc +0 -0
  2000. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/diagnose.cpython-314.pyc +0 -0
  2001. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/emoji.cpython-314.pyc +0 -0
  2002. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/errors.cpython-314.pyc +0 -0
  2003. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/file_proxy.cpython-314.pyc +0 -0
  2004. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/filesize.cpython-314.pyc +0 -0
  2005. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/highlighter.cpython-314.pyc +0 -0
  2006. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/json.cpython-314.pyc +0 -0
  2007. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/jupyter.cpython-314.pyc +0 -0
  2008. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/layout.cpython-314.pyc +0 -0
  2009. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/live.cpython-314.pyc +0 -0
  2010. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/live_render.cpython-314.pyc +0 -0
  2011. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/logging.cpython-314.pyc +0 -0
  2012. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/markup.cpython-314.pyc +0 -0
  2013. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/measure.cpython-314.pyc +0 -0
  2014. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/padding.cpython-314.pyc +0 -0
  2015. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/pager.cpython-314.pyc +0 -0
  2016. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/palette.cpython-314.pyc +0 -0
  2017. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/panel.cpython-314.pyc +0 -0
  2018. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/pretty.cpython-314.pyc +0 -0
  2019. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/progress.cpython-314.pyc +0 -0
  2020. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/progress_bar.cpython-314.pyc +0 -0
  2021. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/prompt.cpython-314.pyc +0 -0
  2022. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/protocol.cpython-314.pyc +0 -0
  2023. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/region.cpython-314.pyc +0 -0
  2024. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/repr.cpython-314.pyc +0 -0
  2025. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/rule.cpython-314.pyc +0 -0
  2026. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/scope.cpython-314.pyc +0 -0
  2027. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/screen.cpython-314.pyc +0 -0
  2028. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/segment.cpython-314.pyc +0 -0
  2029. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/spinner.cpython-314.pyc +0 -0
  2030. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/status.cpython-314.pyc +0 -0
  2031. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/style.cpython-314.pyc +0 -0
  2032. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/styled.cpython-314.pyc +0 -0
  2033. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/syntax.cpython-314.pyc +0 -0
  2034. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/table.cpython-314.pyc +0 -0
  2035. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/terminal_theme.cpython-314.pyc +0 -0
  2036. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/text.cpython-314.pyc +0 -0
  2037. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/theme.cpython-314.pyc +0 -0
  2038. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/themes.cpython-314.pyc +0 -0
  2039. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/traceback.cpython-314.pyc +0 -0
  2040. package/lib/python3.14/site-packages/pip/_vendor/rich/__pycache__/tree.cpython-314.pyc +0 -0
  2041. package/lib/python3.14/site-packages/pip/_vendor/rich/_cell_widths.py +454 -0
  2042. package/lib/python3.14/site-packages/pip/_vendor/rich/_emoji_codes.py +3610 -0
  2043. package/lib/python3.14/site-packages/pip/_vendor/rich/_emoji_replace.py +32 -0
  2044. package/lib/python3.14/site-packages/pip/_vendor/rich/_export_format.py +76 -0
  2045. package/lib/python3.14/site-packages/pip/_vendor/rich/_extension.py +10 -0
  2046. package/lib/python3.14/site-packages/pip/_vendor/rich/_fileno.py +24 -0
  2047. package/lib/python3.14/site-packages/pip/_vendor/rich/_inspect.py +268 -0
  2048. package/lib/python3.14/site-packages/pip/_vendor/rich/_log_render.py +94 -0
  2049. package/lib/python3.14/site-packages/pip/_vendor/rich/_loop.py +43 -0
  2050. package/lib/python3.14/site-packages/pip/_vendor/rich/_null_file.py +69 -0
  2051. package/lib/python3.14/site-packages/pip/_vendor/rich/_palettes.py +309 -0
  2052. package/lib/python3.14/site-packages/pip/_vendor/rich/_pick.py +17 -0
  2053. package/lib/python3.14/site-packages/pip/_vendor/rich/_ratio.py +153 -0
  2054. package/lib/python3.14/site-packages/pip/_vendor/rich/_spinners.py +482 -0
  2055. package/lib/python3.14/site-packages/pip/_vendor/rich/_stack.py +16 -0
  2056. package/lib/python3.14/site-packages/pip/_vendor/rich/_timer.py +19 -0
  2057. package/lib/python3.14/site-packages/pip/_vendor/rich/_win32_console.py +661 -0
  2058. package/lib/python3.14/site-packages/pip/_vendor/rich/_windows.py +71 -0
  2059. package/lib/python3.14/site-packages/pip/_vendor/rich/_windows_renderer.py +56 -0
  2060. package/lib/python3.14/site-packages/pip/_vendor/rich/_wrap.py +93 -0
  2061. package/lib/python3.14/site-packages/pip/_vendor/rich/abc.py +33 -0
  2062. package/lib/python3.14/site-packages/pip/_vendor/rich/align.py +306 -0
  2063. package/lib/python3.14/site-packages/pip/_vendor/rich/ansi.py +241 -0
  2064. package/lib/python3.14/site-packages/pip/_vendor/rich/bar.py +93 -0
  2065. package/lib/python3.14/site-packages/pip/_vendor/rich/box.py +474 -0
  2066. package/lib/python3.14/site-packages/pip/_vendor/rich/cells.py +174 -0
  2067. package/lib/python3.14/site-packages/pip/_vendor/rich/color.py +621 -0
  2068. package/lib/python3.14/site-packages/pip/_vendor/rich/color_triplet.py +38 -0
  2069. package/lib/python3.14/site-packages/pip/_vendor/rich/columns.py +187 -0
  2070. package/lib/python3.14/site-packages/pip/_vendor/rich/console.py +2680 -0
  2071. package/lib/python3.14/site-packages/pip/_vendor/rich/constrain.py +37 -0
  2072. package/lib/python3.14/site-packages/pip/_vendor/rich/containers.py +167 -0
  2073. package/lib/python3.14/site-packages/pip/_vendor/rich/control.py +219 -0
  2074. package/lib/python3.14/site-packages/pip/_vendor/rich/default_styles.py +193 -0
  2075. package/lib/python3.14/site-packages/pip/_vendor/rich/diagnose.py +39 -0
  2076. package/lib/python3.14/site-packages/pip/_vendor/rich/emoji.py +91 -0
  2077. package/lib/python3.14/site-packages/pip/_vendor/rich/errors.py +34 -0
  2078. package/lib/python3.14/site-packages/pip/_vendor/rich/file_proxy.py +57 -0
  2079. package/lib/python3.14/site-packages/pip/_vendor/rich/filesize.py +88 -0
  2080. package/lib/python3.14/site-packages/pip/_vendor/rich/highlighter.py +232 -0
  2081. package/lib/python3.14/site-packages/pip/_vendor/rich/json.py +139 -0
  2082. package/lib/python3.14/site-packages/pip/_vendor/rich/jupyter.py +101 -0
  2083. package/lib/python3.14/site-packages/pip/_vendor/rich/layout.py +442 -0
  2084. package/lib/python3.14/site-packages/pip/_vendor/rich/live.py +400 -0
  2085. package/lib/python3.14/site-packages/pip/_vendor/rich/live_render.py +106 -0
  2086. package/lib/python3.14/site-packages/pip/_vendor/rich/logging.py +297 -0
  2087. package/lib/python3.14/site-packages/pip/_vendor/rich/markup.py +251 -0
  2088. package/lib/python3.14/site-packages/pip/_vendor/rich/measure.py +151 -0
  2089. package/lib/python3.14/site-packages/pip/_vendor/rich/padding.py +141 -0
  2090. package/lib/python3.14/site-packages/pip/_vendor/rich/pager.py +34 -0
  2091. package/lib/python3.14/site-packages/pip/_vendor/rich/palette.py +100 -0
  2092. package/lib/python3.14/site-packages/pip/_vendor/rich/panel.py +317 -0
  2093. package/lib/python3.14/site-packages/pip/_vendor/rich/pretty.py +1016 -0
  2094. package/lib/python3.14/site-packages/pip/_vendor/rich/progress.py +1715 -0
  2095. package/lib/python3.14/site-packages/pip/_vendor/rich/progress_bar.py +223 -0
  2096. package/lib/python3.14/site-packages/pip/_vendor/rich/prompt.py +400 -0
  2097. package/lib/python3.14/site-packages/pip/_vendor/rich/protocol.py +42 -0
  2098. package/lib/python3.14/site-packages/pip/_vendor/rich/py.typed +0 -0
  2099. package/lib/python3.14/site-packages/pip/_vendor/rich/region.py +10 -0
  2100. package/lib/python3.14/site-packages/pip/_vendor/rich/repr.py +149 -0
  2101. package/lib/python3.14/site-packages/pip/_vendor/rich/rule.py +130 -0
  2102. package/lib/python3.14/site-packages/pip/_vendor/rich/scope.py +86 -0
  2103. package/lib/python3.14/site-packages/pip/_vendor/rich/screen.py +54 -0
  2104. package/lib/python3.14/site-packages/pip/_vendor/rich/segment.py +752 -0
  2105. package/lib/python3.14/site-packages/pip/_vendor/rich/spinner.py +132 -0
  2106. package/lib/python3.14/site-packages/pip/_vendor/rich/status.py +131 -0
  2107. package/lib/python3.14/site-packages/pip/_vendor/rich/style.py +792 -0
  2108. package/lib/python3.14/site-packages/pip/_vendor/rich/styled.py +42 -0
  2109. package/lib/python3.14/site-packages/pip/_vendor/rich/syntax.py +985 -0
  2110. package/lib/python3.14/site-packages/pip/_vendor/rich/table.py +1006 -0
  2111. package/lib/python3.14/site-packages/pip/_vendor/rich/terminal_theme.py +153 -0
  2112. package/lib/python3.14/site-packages/pip/_vendor/rich/text.py +1361 -0
  2113. package/lib/python3.14/site-packages/pip/_vendor/rich/theme.py +115 -0
  2114. package/lib/python3.14/site-packages/pip/_vendor/rich/themes.py +5 -0
  2115. package/lib/python3.14/site-packages/pip/_vendor/rich/traceback.py +899 -0
  2116. package/lib/python3.14/site-packages/pip/_vendor/rich/tree.py +257 -0
  2117. package/lib/python3.14/site-packages/pip/_vendor/tomli/LICENSE +21 -0
  2118. package/lib/python3.14/site-packages/pip/_vendor/tomli/__init__.py +8 -0
  2119. package/lib/python3.14/site-packages/pip/_vendor/tomli/__pycache__/__init__.cpython-314.pyc +0 -0
  2120. package/lib/python3.14/site-packages/pip/_vendor/tomli/__pycache__/_parser.cpython-314.pyc +0 -0
  2121. package/lib/python3.14/site-packages/pip/_vendor/tomli/__pycache__/_re.cpython-314.pyc +0 -0
  2122. package/lib/python3.14/site-packages/pip/_vendor/tomli/__pycache__/_types.cpython-314.pyc +0 -0
  2123. package/lib/python3.14/site-packages/pip/_vendor/tomli/_parser.py +777 -0
  2124. package/lib/python3.14/site-packages/pip/_vendor/tomli/_re.py +115 -0
  2125. package/lib/python3.14/site-packages/pip/_vendor/tomli/_types.py +10 -0
  2126. package/lib/python3.14/site-packages/pip/_vendor/tomli/py.typed +1 -0
  2127. package/lib/python3.14/site-packages/pip/_vendor/tomli_w/LICENSE +21 -0
  2128. package/lib/python3.14/site-packages/pip/_vendor/tomli_w/__init__.py +4 -0
  2129. package/lib/python3.14/site-packages/pip/_vendor/tomli_w/__pycache__/__init__.cpython-314.pyc +0 -0
  2130. package/lib/python3.14/site-packages/pip/_vendor/tomli_w/__pycache__/_writer.cpython-314.pyc +0 -0
  2131. package/lib/python3.14/site-packages/pip/_vendor/tomli_w/_writer.py +229 -0
  2132. package/lib/python3.14/site-packages/pip/_vendor/tomli_w/py.typed +1 -0
  2133. package/lib/python3.14/site-packages/pip/_vendor/truststore/LICENSE +21 -0
  2134. package/lib/python3.14/site-packages/pip/_vendor/truststore/__init__.py +36 -0
  2135. package/lib/python3.14/site-packages/pip/_vendor/truststore/__pycache__/__init__.cpython-314.pyc +0 -0
  2136. package/lib/python3.14/site-packages/pip/_vendor/truststore/__pycache__/_api.cpython-314.pyc +0 -0
  2137. package/lib/python3.14/site-packages/pip/_vendor/truststore/__pycache__/_macos.cpython-314.pyc +0 -0
  2138. package/lib/python3.14/site-packages/pip/_vendor/truststore/__pycache__/_openssl.cpython-314.pyc +0 -0
  2139. package/lib/python3.14/site-packages/pip/_vendor/truststore/__pycache__/_ssl_constants.cpython-314.pyc +0 -0
  2140. package/lib/python3.14/site-packages/pip/_vendor/truststore/__pycache__/_windows.cpython-314.pyc +0 -0
  2141. package/lib/python3.14/site-packages/pip/_vendor/truststore/_api.py +341 -0
  2142. package/lib/python3.14/site-packages/pip/_vendor/truststore/_macos.py +571 -0
  2143. package/lib/python3.14/site-packages/pip/_vendor/truststore/_openssl.py +68 -0
  2144. package/lib/python3.14/site-packages/pip/_vendor/truststore/_ssl_constants.py +31 -0
  2145. package/lib/python3.14/site-packages/pip/_vendor/truststore/_windows.py +567 -0
  2146. package/lib/python3.14/site-packages/pip/_vendor/truststore/py.typed +0 -0
  2147. package/lib/python3.14/site-packages/pip/_vendor/urllib3/LICENSE.txt +21 -0
  2148. package/lib/python3.14/site-packages/pip/_vendor/urllib3/__init__.py +102 -0
  2149. package/lib/python3.14/site-packages/pip/_vendor/urllib3/__pycache__/__init__.cpython-314.pyc +0 -0
  2150. package/lib/python3.14/site-packages/pip/_vendor/urllib3/__pycache__/_collections.cpython-314.pyc +0 -0
  2151. package/lib/python3.14/site-packages/pip/_vendor/urllib3/__pycache__/_version.cpython-314.pyc +0 -0
  2152. package/lib/python3.14/site-packages/pip/_vendor/urllib3/__pycache__/connection.cpython-314.pyc +0 -0
  2153. package/lib/python3.14/site-packages/pip/_vendor/urllib3/__pycache__/connectionpool.cpython-314.pyc +0 -0
  2154. package/lib/python3.14/site-packages/pip/_vendor/urllib3/__pycache__/exceptions.cpython-314.pyc +0 -0
  2155. package/lib/python3.14/site-packages/pip/_vendor/urllib3/__pycache__/fields.cpython-314.pyc +0 -0
  2156. package/lib/python3.14/site-packages/pip/_vendor/urllib3/__pycache__/filepost.cpython-314.pyc +0 -0
  2157. package/lib/python3.14/site-packages/pip/_vendor/urllib3/__pycache__/poolmanager.cpython-314.pyc +0 -0
  2158. package/lib/python3.14/site-packages/pip/_vendor/urllib3/__pycache__/request.cpython-314.pyc +0 -0
  2159. package/lib/python3.14/site-packages/pip/_vendor/urllib3/__pycache__/response.cpython-314.pyc +0 -0
  2160. package/lib/python3.14/site-packages/pip/_vendor/urllib3/_collections.py +355 -0
  2161. package/lib/python3.14/site-packages/pip/_vendor/urllib3/_version.py +2 -0
  2162. package/lib/python3.14/site-packages/pip/_vendor/urllib3/connection.py +572 -0
  2163. package/lib/python3.14/site-packages/pip/_vendor/urllib3/connectionpool.py +1140 -0
  2164. package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
  2165. package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-314.pyc +0 -0
  2166. package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/__pycache__/_appengine_environ.cpython-314.pyc +0 -0
  2167. package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/__pycache__/appengine.cpython-314.pyc +0 -0
  2168. package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/__pycache__/ntlmpool.cpython-314.pyc +0 -0
  2169. package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-314.pyc +0 -0
  2170. package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/__pycache__/securetransport.cpython-314.pyc +0 -0
  2171. package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-314.pyc +0 -0
  2172. package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py +36 -0
  2173. package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
  2174. package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-314.pyc +0 -0
  2175. package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-314.pyc +0 -0
  2176. package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-314.pyc +0 -0
  2177. package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +519 -0
  2178. package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +397 -0
  2179. package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/appengine.py +314 -0
  2180. package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +130 -0
  2181. package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +518 -0
  2182. package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +920 -0
  2183. package/lib/python3.14/site-packages/pip/_vendor/urllib3/contrib/socks.py +216 -0
  2184. package/lib/python3.14/site-packages/pip/_vendor/urllib3/exceptions.py +323 -0
  2185. package/lib/python3.14/site-packages/pip/_vendor/urllib3/fields.py +274 -0
  2186. package/lib/python3.14/site-packages/pip/_vendor/urllib3/filepost.py +98 -0
  2187. package/lib/python3.14/site-packages/pip/_vendor/urllib3/packages/__init__.py +0 -0
  2188. package/lib/python3.14/site-packages/pip/_vendor/urllib3/packages/__pycache__/__init__.cpython-314.pyc +0 -0
  2189. package/lib/python3.14/site-packages/pip/_vendor/urllib3/packages/__pycache__/six.cpython-314.pyc +0 -0
  2190. package/lib/python3.14/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
  2191. package/lib/python3.14/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/__init__.cpython-314.pyc +0 -0
  2192. package/lib/python3.14/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/makefile.cpython-314.pyc +0 -0
  2193. package/lib/python3.14/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/weakref_finalize.cpython-314.pyc +0 -0
  2194. package/lib/python3.14/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +51 -0
  2195. package/lib/python3.14/site-packages/pip/_vendor/urllib3/packages/backports/weakref_finalize.py +155 -0
  2196. package/lib/python3.14/site-packages/pip/_vendor/urllib3/packages/six.py +1076 -0
  2197. package/lib/python3.14/site-packages/pip/_vendor/urllib3/poolmanager.py +540 -0
  2198. package/lib/python3.14/site-packages/pip/_vendor/urllib3/request.py +191 -0
  2199. package/lib/python3.14/site-packages/pip/_vendor/urllib3/response.py +879 -0
  2200. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__init__.py +49 -0
  2201. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/__init__.cpython-314.pyc +0 -0
  2202. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/connection.cpython-314.pyc +0 -0
  2203. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/proxy.cpython-314.pyc +0 -0
  2204. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/queue.cpython-314.pyc +0 -0
  2205. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/request.cpython-314.pyc +0 -0
  2206. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/response.cpython-314.pyc +0 -0
  2207. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/retry.cpython-314.pyc +0 -0
  2208. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-314.pyc +0 -0
  2209. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_match_hostname.cpython-314.pyc +0 -0
  2210. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-314.pyc +0 -0
  2211. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/timeout.cpython-314.pyc +0 -0
  2212. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/url.cpython-314.pyc +0 -0
  2213. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/__pycache__/wait.cpython-314.pyc +0 -0
  2214. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/connection.py +149 -0
  2215. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/proxy.py +57 -0
  2216. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/queue.py +22 -0
  2217. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/request.py +137 -0
  2218. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/response.py +107 -0
  2219. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/retry.py +622 -0
  2220. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/ssl_.py +504 -0
  2221. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py +159 -0
  2222. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/ssltransport.py +221 -0
  2223. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/timeout.py +271 -0
  2224. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/url.py +435 -0
  2225. package/lib/python3.14/site-packages/pip/_vendor/urllib3/util/wait.py +152 -0
  2226. package/lib/python3.14/site-packages/pip/_vendor/vendor.txt +19 -0
  2227. package/lib/python3.14/site-packages/pip/py.typed +4 -0
  2228. package/lib/python3.14/site-packages/pip-25.3.dist-info/METADATA +111 -0
  2229. package/lib/python3.14/site-packages/pip-25.3.dist-info/RECORD +469 -0
  2230. package/lib/python3.14/site-packages/pip-25.3.dist-info/WHEEL +4 -0
  2231. package/lib/python3.14/site-packages/pip-25.3.dist-info/entry_points.txt +4 -0
  2232. package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/AUTHORS.txt +842 -0
  2233. package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/LICENSE.txt +20 -0
  2234. package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/cachecontrol/LICENSE.txt +13 -0
  2235. package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/certifi/LICENSE +20 -0
  2236. package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/dependency_groups/LICENSE.txt +9 -0
  2237. package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/distlib/LICENSE.txt +284 -0
  2238. package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/distro/LICENSE +202 -0
  2239. package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/idna/LICENSE.md +31 -0
  2240. package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/msgpack/COPYING +14 -0
  2241. package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/packaging/LICENSE +3 -0
  2242. package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.APACHE +177 -0
  2243. package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.BSD +23 -0
  2244. package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/pkg_resources/LICENSE +17 -0
  2245. package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/platformdirs/LICENSE +21 -0
  2246. package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/pygments/LICENSE +25 -0
  2247. package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/pyproject_hooks/LICENSE +21 -0
  2248. package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/requests/LICENSE +175 -0
  2249. package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/resolvelib/LICENSE +13 -0
  2250. package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/rich/LICENSE +19 -0
  2251. package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/tomli/LICENSE +21 -0
  2252. package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/tomli_w/LICENSE +21 -0
  2253. package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/truststore/LICENSE +21 -0
  2254. package/lib/python3.14/site-packages/pip-25.3.dist-info/licenses/src/pip/_vendor/urllib3/LICENSE.txt +21 -0
  2255. package/lib/python3.14/site.py +787 -0
  2256. package/lib/python3.14/smtplib.py +1121 -0
  2257. package/lib/python3.14/socket.py +988 -0
  2258. package/lib/python3.14/socketserver.py +863 -0
  2259. package/lib/python3.14/sqlite3/__init__.py +57 -0
  2260. package/lib/python3.14/sqlite3/__main__.py +139 -0
  2261. package/lib/python3.14/sqlite3/__pycache__/__init__.cpython-314.pyc +0 -0
  2262. package/lib/python3.14/sqlite3/__pycache__/__main__.cpython-314.pyc +0 -0
  2263. package/lib/python3.14/sqlite3/__pycache__/dbapi2.cpython-314.pyc +0 -0
  2264. package/lib/python3.14/sqlite3/__pycache__/dump.cpython-314.pyc +0 -0
  2265. package/lib/python3.14/sqlite3/dbapi2.py +96 -0
  2266. package/lib/python3.14/sqlite3/dump.py +113 -0
  2267. package/lib/python3.14/sre_compile.py +7 -0
  2268. package/lib/python3.14/sre_constants.py +7 -0
  2269. package/lib/python3.14/sre_parse.py +7 -0
  2270. package/lib/python3.14/ssl.py +1529 -0
  2271. package/lib/python3.14/stat.py +207 -0
  2272. package/lib/python3.14/statistics.py +1879 -0
  2273. package/lib/python3.14/string/__init__.py +325 -0
  2274. package/lib/python3.14/string/__pycache__/__init__.cpython-314.pyc +0 -0
  2275. package/lib/python3.14/string/__pycache__/templatelib.cpython-314.pyc +0 -0
  2276. package/lib/python3.14/string/templatelib.py +33 -0
  2277. package/lib/python3.14/stringprep.py +272 -0
  2278. package/lib/python3.14/struct.py +15 -0
  2279. package/lib/python3.14/subprocess.py +2198 -0
  2280. package/lib/python3.14/symtable.py +451 -0
  2281. package/lib/python3.14/sysconfig/__init__.py +790 -0
  2282. package/lib/python3.14/sysconfig/__main__.py +276 -0
  2283. package/lib/python3.14/sysconfig/__pycache__/__init__.cpython-314.pyc +0 -0
  2284. package/lib/python3.14/sysconfig/__pycache__/__main__.cpython-314.pyc +0 -0
  2285. package/lib/python3.14/tabnanny.py +338 -0
  2286. package/lib/python3.14/tarfile.py +3136 -0
  2287. package/lib/python3.14/tempfile.py +977 -0
  2288. package/lib/python3.14/textwrap.py +475 -0
  2289. package/lib/python3.14/this.py +28 -0
  2290. package/lib/python3.14/threading.py +1642 -0
  2291. package/lib/python3.14/timeit.py +378 -0
  2292. package/lib/python3.14/tkinter/__init__.py +5005 -0
  2293. package/lib/python3.14/tkinter/__main__.py +7 -0
  2294. package/lib/python3.14/tkinter/__pycache__/__init__.cpython-314.pyc +0 -0
  2295. package/lib/python3.14/tkinter/__pycache__/__main__.cpython-314.pyc +0 -0
  2296. package/lib/python3.14/tkinter/__pycache__/colorchooser.cpython-314.pyc +0 -0
  2297. package/lib/python3.14/tkinter/__pycache__/commondialog.cpython-314.pyc +0 -0
  2298. package/lib/python3.14/tkinter/__pycache__/constants.cpython-314.pyc +0 -0
  2299. package/lib/python3.14/tkinter/__pycache__/dialog.cpython-314.pyc +0 -0
  2300. package/lib/python3.14/tkinter/__pycache__/dnd.cpython-314.pyc +0 -0
  2301. package/lib/python3.14/tkinter/__pycache__/filedialog.cpython-314.pyc +0 -0
  2302. package/lib/python3.14/tkinter/__pycache__/font.cpython-314.pyc +0 -0
  2303. package/lib/python3.14/tkinter/__pycache__/messagebox.cpython-314.pyc +0 -0
  2304. package/lib/python3.14/tkinter/__pycache__/scrolledtext.cpython-314.pyc +0 -0
  2305. package/lib/python3.14/tkinter/__pycache__/simpledialog.cpython-314.pyc +0 -0
  2306. package/lib/python3.14/tkinter/__pycache__/ttk.cpython-314.pyc +0 -0
  2307. package/lib/python3.14/tkinter/colorchooser.py +86 -0
  2308. package/lib/python3.14/tkinter/commondialog.py +53 -0
  2309. package/lib/python3.14/tkinter/constants.py +110 -0
  2310. package/lib/python3.14/tkinter/dialog.py +49 -0
  2311. package/lib/python3.14/tkinter/dnd.py +324 -0
  2312. package/lib/python3.14/tkinter/filedialog.py +492 -0
  2313. package/lib/python3.14/tkinter/font.py +239 -0
  2314. package/lib/python3.14/tkinter/messagebox.py +146 -0
  2315. package/lib/python3.14/tkinter/scrolledtext.py +56 -0
  2316. package/lib/python3.14/tkinter/simpledialog.py +441 -0
  2317. package/lib/python3.14/tkinter/ttk.py +1650 -0
  2318. package/lib/python3.14/token.py +144 -0
  2319. package/lib/python3.14/tokenize.py +598 -0
  2320. package/lib/python3.14/tomllib/__init__.py +10 -0
  2321. package/lib/python3.14/tomllib/__pycache__/__init__.cpython-314.pyc +0 -0
  2322. package/lib/python3.14/tomllib/__pycache__/_parser.cpython-314.pyc +0 -0
  2323. package/lib/python3.14/tomllib/__pycache__/_re.cpython-314.pyc +0 -0
  2324. package/lib/python3.14/tomllib/__pycache__/_types.cpython-314.pyc +0 -0
  2325. package/lib/python3.14/tomllib/_parser.py +753 -0
  2326. package/lib/python3.14/tomllib/_re.py +113 -0
  2327. package/lib/python3.14/tomllib/_types.py +10 -0
  2328. package/lib/python3.14/tomllib/mypy.ini +17 -0
  2329. package/lib/python3.14/trace.py +751 -0
  2330. package/lib/python3.14/traceback.py +1743 -0
  2331. package/lib/python3.14/tracemalloc.py +560 -0
  2332. package/lib/python3.14/tty.py +73 -0
  2333. package/lib/python3.14/turtle.py +4291 -0
  2334. package/lib/python3.14/turtledemo/__init__.py +14 -0
  2335. package/lib/python3.14/turtledemo/__main__.py +399 -0
  2336. package/lib/python3.14/turtledemo/__pycache__/__init__.cpython-314.pyc +0 -0
  2337. package/lib/python3.14/turtledemo/__pycache__/__main__.cpython-314.pyc +0 -0
  2338. package/lib/python3.14/turtledemo/__pycache__/bytedesign.cpython-314.pyc +0 -0
  2339. package/lib/python3.14/turtledemo/__pycache__/chaos.cpython-314.pyc +0 -0
  2340. package/lib/python3.14/turtledemo/__pycache__/clock.cpython-314.pyc +0 -0
  2341. package/lib/python3.14/turtledemo/__pycache__/colormixer.cpython-314.pyc +0 -0
  2342. package/lib/python3.14/turtledemo/__pycache__/forest.cpython-314.pyc +0 -0
  2343. package/lib/python3.14/turtledemo/__pycache__/fractalcurves.cpython-314.pyc +0 -0
  2344. package/lib/python3.14/turtledemo/__pycache__/lindenmayer.cpython-314.pyc +0 -0
  2345. package/lib/python3.14/turtledemo/__pycache__/minimal_hanoi.cpython-314.pyc +0 -0
  2346. package/lib/python3.14/turtledemo/__pycache__/nim.cpython-314.pyc +0 -0
  2347. package/lib/python3.14/turtledemo/__pycache__/paint.cpython-314.pyc +0 -0
  2348. package/lib/python3.14/turtledemo/__pycache__/peace.cpython-314.pyc +0 -0
  2349. package/lib/python3.14/turtledemo/__pycache__/penrose.cpython-314.pyc +0 -0
  2350. package/lib/python3.14/turtledemo/__pycache__/planet_and_moon.cpython-314.pyc +0 -0
  2351. package/lib/python3.14/turtledemo/__pycache__/rosette.cpython-314.pyc +0 -0
  2352. package/lib/python3.14/turtledemo/__pycache__/round_dance.cpython-314.pyc +0 -0
  2353. package/lib/python3.14/turtledemo/__pycache__/sorting_animate.cpython-314.pyc +0 -0
  2354. package/lib/python3.14/turtledemo/__pycache__/tree.cpython-314.pyc +0 -0
  2355. package/lib/python3.14/turtledemo/__pycache__/two_canvases.cpython-314.pyc +0 -0
  2356. package/lib/python3.14/turtledemo/__pycache__/yinyang.cpython-314.pyc +0 -0
  2357. package/lib/python3.14/turtledemo/bytedesign.py +158 -0
  2358. package/lib/python3.14/turtledemo/chaos.py +57 -0
  2359. package/lib/python3.14/turtledemo/clock.py +132 -0
  2360. package/lib/python3.14/turtledemo/colormixer.py +57 -0
  2361. package/lib/python3.14/turtledemo/forest.py +104 -0
  2362. package/lib/python3.14/turtledemo/fractalcurves.py +135 -0
  2363. package/lib/python3.14/turtledemo/lindenmayer.py +116 -0
  2364. package/lib/python3.14/turtledemo/minimal_hanoi.py +73 -0
  2365. package/lib/python3.14/turtledemo/nim.py +224 -0
  2366. package/lib/python3.14/turtledemo/paint.py +48 -0
  2367. package/lib/python3.14/turtledemo/peace.py +58 -0
  2368. package/lib/python3.14/turtledemo/penrose.py +172 -0
  2369. package/lib/python3.14/turtledemo/planet_and_moon.py +108 -0
  2370. package/lib/python3.14/turtledemo/rosette.py +63 -0
  2371. package/lib/python3.14/turtledemo/round_dance.py +81 -0
  2372. package/lib/python3.14/turtledemo/sorting_animate.py +198 -0
  2373. package/lib/python3.14/turtledemo/tree.py +59 -0
  2374. package/lib/python3.14/turtledemo/turtle.cfg +10 -0
  2375. package/lib/python3.14/turtledemo/two_canvases.py +54 -0
  2376. package/lib/python3.14/turtledemo/yinyang.py +46 -0
  2377. package/lib/python3.14/types.py +340 -0
  2378. package/lib/python3.14/typing.py +3854 -0
  2379. package/lib/python3.14/unittest/__init__.py +80 -0
  2380. package/lib/python3.14/unittest/__main__.py +18 -0
  2381. package/lib/python3.14/unittest/__pycache__/__init__.cpython-314.pyc +0 -0
  2382. package/lib/python3.14/unittest/__pycache__/__main__.cpython-314.pyc +0 -0
  2383. package/lib/python3.14/unittest/__pycache__/_log.cpython-314.pyc +0 -0
  2384. package/lib/python3.14/unittest/__pycache__/async_case.cpython-314.pyc +0 -0
  2385. package/lib/python3.14/unittest/__pycache__/case.cpython-314.pyc +0 -0
  2386. package/lib/python3.14/unittest/__pycache__/loader.cpython-314.pyc +0 -0
  2387. package/lib/python3.14/unittest/__pycache__/main.cpython-314.pyc +0 -0
  2388. package/lib/python3.14/unittest/__pycache__/mock.cpython-314.pyc +0 -0
  2389. package/lib/python3.14/unittest/__pycache__/result.cpython-314.pyc +0 -0
  2390. package/lib/python3.14/unittest/__pycache__/runner.cpython-314.pyc +0 -0
  2391. package/lib/python3.14/unittest/__pycache__/signals.cpython-314.pyc +0 -0
  2392. package/lib/python3.14/unittest/__pycache__/suite.cpython-314.pyc +0 -0
  2393. package/lib/python3.14/unittest/__pycache__/util.cpython-314.pyc +0 -0
  2394. package/lib/python3.14/unittest/_log.py +86 -0
  2395. package/lib/python3.14/unittest/async_case.py +158 -0
  2396. package/lib/python3.14/unittest/case.py +1628 -0
  2397. package/lib/python3.14/unittest/loader.py +484 -0
  2398. package/lib/python3.14/unittest/main.py +280 -0
  2399. package/lib/python3.14/unittest/mock.py +3197 -0
  2400. package/lib/python3.14/unittest/result.py +259 -0
  2401. package/lib/python3.14/unittest/runner.py +313 -0
  2402. package/lib/python3.14/unittest/signals.py +71 -0
  2403. package/lib/python3.14/unittest/suite.py +379 -0
  2404. package/lib/python3.14/unittest/util.py +170 -0
  2405. package/lib/python3.14/urllib/__init__.py +0 -0
  2406. package/lib/python3.14/urllib/__pycache__/__init__.cpython-314.pyc +0 -0
  2407. package/lib/python3.14/urllib/__pycache__/error.cpython-314.pyc +0 -0
  2408. package/lib/python3.14/urllib/__pycache__/parse.cpython-314.pyc +0 -0
  2409. package/lib/python3.14/urllib/__pycache__/request.cpython-314.pyc +0 -0
  2410. package/lib/python3.14/urllib/__pycache__/response.cpython-314.pyc +0 -0
  2411. package/lib/python3.14/urllib/__pycache__/robotparser.cpython-314.pyc +0 -0
  2412. package/lib/python3.14/urllib/error.py +74 -0
  2413. package/lib/python3.14/urllib/parse.py +1287 -0
  2414. package/lib/python3.14/urllib/request.py +2158 -0
  2415. package/lib/python3.14/urllib/response.py +84 -0
  2416. package/lib/python3.14/urllib/robotparser.py +288 -0
  2417. package/lib/python3.14/uuid.py +1007 -0
  2418. package/lib/python3.14/venv/__init__.py +700 -0
  2419. package/lib/python3.14/venv/__main__.py +10 -0
  2420. package/lib/python3.14/venv/__pycache__/__init__.cpython-314.pyc +0 -0
  2421. package/lib/python3.14/venv/__pycache__/__main__.cpython-314.pyc +0 -0
  2422. package/lib/python3.14/venv/scripts/common/Activate.ps1 +248 -0
  2423. package/lib/python3.14/venv/scripts/common/activate +76 -0
  2424. package/lib/python3.14/venv/scripts/common/activate.fish +69 -0
  2425. package/lib/python3.14/venv/scripts/posix/activate.csh +27 -0
  2426. package/lib/python3.14/warnings.py +99 -0
  2427. package/lib/python3.14/wave.py +665 -0
  2428. package/lib/python3.14/weakref.py +574 -0
  2429. package/lib/python3.14/webbrowser.py +749 -0
  2430. package/lib/python3.14/wsgiref/__init__.py +25 -0
  2431. package/lib/python3.14/wsgiref/__pycache__/__init__.cpython-314.pyc +0 -0
  2432. package/lib/python3.14/wsgiref/__pycache__/handlers.cpython-314.pyc +0 -0
  2433. package/lib/python3.14/wsgiref/__pycache__/headers.cpython-314.pyc +0 -0
  2434. package/lib/python3.14/wsgiref/__pycache__/simple_server.cpython-314.pyc +0 -0
  2435. package/lib/python3.14/wsgiref/__pycache__/types.cpython-314.pyc +0 -0
  2436. package/lib/python3.14/wsgiref/__pycache__/util.cpython-314.pyc +0 -0
  2437. package/lib/python3.14/wsgiref/__pycache__/validate.cpython-314.pyc +0 -0
  2438. package/lib/python3.14/wsgiref/handlers.py +573 -0
  2439. package/lib/python3.14/wsgiref/headers.py +184 -0
  2440. package/lib/python3.14/wsgiref/simple_server.py +161 -0
  2441. package/lib/python3.14/wsgiref/types.py +54 -0
  2442. package/lib/python3.14/wsgiref/util.py +159 -0
  2443. package/lib/python3.14/wsgiref/validate.py +438 -0
  2444. package/lib/python3.14/xml/__init__.py +20 -0
  2445. package/lib/python3.14/xml/__pycache__/__init__.cpython-314.pyc +0 -0
  2446. package/lib/python3.14/xml/dom/NodeFilter.py +27 -0
  2447. package/lib/python3.14/xml/dom/__init__.py +140 -0
  2448. package/lib/python3.14/xml/dom/__pycache__/NodeFilter.cpython-314.pyc +0 -0
  2449. package/lib/python3.14/xml/dom/__pycache__/__init__.cpython-314.pyc +0 -0
  2450. package/lib/python3.14/xml/dom/__pycache__/domreg.cpython-314.pyc +0 -0
  2451. package/lib/python3.14/xml/dom/__pycache__/expatbuilder.cpython-314.pyc +0 -0
  2452. package/lib/python3.14/xml/dom/__pycache__/minicompat.cpython-314.pyc +0 -0
  2453. package/lib/python3.14/xml/dom/__pycache__/minidom.cpython-314.pyc +0 -0
  2454. package/lib/python3.14/xml/dom/__pycache__/pulldom.cpython-314.pyc +0 -0
  2455. package/lib/python3.14/xml/dom/__pycache__/xmlbuilder.cpython-314.pyc +0 -0
  2456. package/lib/python3.14/xml/dom/domreg.py +99 -0
  2457. package/lib/python3.14/xml/dom/expatbuilder.py +962 -0
  2458. package/lib/python3.14/xml/dom/minicompat.py +109 -0
  2459. package/lib/python3.14/xml/dom/minidom.py +2022 -0
  2460. package/lib/python3.14/xml/dom/pulldom.py +336 -0
  2461. package/lib/python3.14/xml/dom/xmlbuilder.py +389 -0
  2462. package/lib/python3.14/xml/etree/ElementInclude.py +186 -0
  2463. package/lib/python3.14/xml/etree/ElementPath.py +423 -0
  2464. package/lib/python3.14/xml/etree/ElementTree.py +2102 -0
  2465. package/lib/python3.14/xml/etree/__init__.py +33 -0
  2466. package/lib/python3.14/xml/etree/__pycache__/ElementInclude.cpython-314.pyc +0 -0
  2467. package/lib/python3.14/xml/etree/__pycache__/ElementPath.cpython-314.pyc +0 -0
  2468. package/lib/python3.14/xml/etree/__pycache__/ElementTree.cpython-314.pyc +0 -0
  2469. package/lib/python3.14/xml/etree/__pycache__/__init__.cpython-314.pyc +0 -0
  2470. package/lib/python3.14/xml/etree/__pycache__/cElementTree.cpython-314.pyc +0 -0
  2471. package/lib/python3.14/xml/etree/cElementTree.py +3 -0
  2472. package/lib/python3.14/xml/parsers/__init__.py +8 -0
  2473. package/lib/python3.14/xml/parsers/__pycache__/__init__.cpython-314.pyc +0 -0
  2474. package/lib/python3.14/xml/parsers/__pycache__/expat.cpython-314.pyc +0 -0
  2475. package/lib/python3.14/xml/parsers/expat.py +8 -0
  2476. package/lib/python3.14/xml/sax/__init__.py +100 -0
  2477. package/lib/python3.14/xml/sax/__pycache__/__init__.cpython-314.pyc +0 -0
  2478. package/lib/python3.14/xml/sax/__pycache__/_exceptions.cpython-314.pyc +0 -0
  2479. package/lib/python3.14/xml/sax/__pycache__/expatreader.cpython-314.pyc +0 -0
  2480. package/lib/python3.14/xml/sax/__pycache__/handler.cpython-314.pyc +0 -0
  2481. package/lib/python3.14/xml/sax/__pycache__/saxutils.cpython-314.pyc +0 -0
  2482. package/lib/python3.14/xml/sax/__pycache__/xmlreader.cpython-314.pyc +0 -0
  2483. package/lib/python3.14/xml/sax/_exceptions.py +127 -0
  2484. package/lib/python3.14/xml/sax/expatreader.py +454 -0
  2485. package/lib/python3.14/xml/sax/handler.py +387 -0
  2486. package/lib/python3.14/xml/sax/saxutils.py +369 -0
  2487. package/lib/python3.14/xml/sax/xmlreader.py +378 -0
  2488. package/lib/python3.14/xmlrpc/__init__.py +1 -0
  2489. package/lib/python3.14/xmlrpc/__pycache__/__init__.cpython-314.pyc +0 -0
  2490. package/lib/python3.14/xmlrpc/__pycache__/client.cpython-314.pyc +0 -0
  2491. package/lib/python3.14/xmlrpc/__pycache__/server.cpython-314.pyc +0 -0
  2492. package/lib/python3.14/xmlrpc/client.py +1503 -0
  2493. package/lib/python3.14/xmlrpc/server.py +1003 -0
  2494. package/lib/python3.14/zipapp.py +231 -0
  2495. package/lib/python3.14/zipfile/__init__.py +2435 -0
  2496. package/lib/python3.14/zipfile/__main__.py +4 -0
  2497. package/lib/python3.14/zipfile/__pycache__/__init__.cpython-314.pyc +0 -0
  2498. package/lib/python3.14/zipfile/__pycache__/__main__.cpython-314.pyc +0 -0
  2499. package/lib/python3.14/zipfile/_path/__init__.py +452 -0
  2500. package/lib/python3.14/zipfile/_path/__pycache__/__init__.cpython-314.pyc +0 -0
  2501. package/lib/python3.14/zipfile/_path/__pycache__/glob.cpython-314.pyc +0 -0
  2502. package/lib/python3.14/zipfile/_path/glob.py +113 -0
  2503. package/lib/python3.14/zipimport.py +822 -0
  2504. package/lib/python3.14/zoneinfo/__init__.py +34 -0
  2505. package/lib/python3.14/zoneinfo/__pycache__/__init__.cpython-314.pyc +0 -0
  2506. package/lib/python3.14/zoneinfo/__pycache__/_common.cpython-314.pyc +0 -0
  2507. package/lib/python3.14/zoneinfo/__pycache__/_tzpath.cpython-314.pyc +0 -0
  2508. package/lib/python3.14/zoneinfo/__pycache__/_zoneinfo.cpython-314.pyc +0 -0
  2509. package/lib/python3.14/zoneinfo/_common.py +169 -0
  2510. package/lib/python3.14/zoneinfo/_tzpath.py +189 -0
  2511. package/lib/python3.14/zoneinfo/_zoneinfo.py +772 -0
  2512. package/package.json +62 -0
@@ -0,0 +1,2921 @@
1
+ # Module doctest.
2
+ # Released to the public domain 16-Jan-2001, by Tim Peters (tim@python.org).
3
+ # Major enhancements and refactoring by:
4
+ # Jim Fulton
5
+ # Edward Loper
6
+
7
+ # Provided as-is; use at your own risk; no warranty; no promises; enjoy!
8
+
9
+ r"""Module doctest -- a framework for running examples in docstrings.
10
+
11
+ In simplest use, end each module M to be tested with:
12
+
13
+ def _test():
14
+ import doctest
15
+ doctest.testmod()
16
+
17
+ if __name__ == "__main__":
18
+ _test()
19
+
20
+ Then running the module as a script will cause the examples in the
21
+ docstrings to get executed and verified:
22
+
23
+ python M.py
24
+
25
+ This won't display anything unless an example fails, in which case the
26
+ failing example(s) and the cause(s) of the failure(s) are printed to stdout
27
+ (why not stderr? because stderr is a lame hack <0.2 wink>), and the final
28
+ line of output is "Test failed.".
29
+
30
+ Run it with the -v switch instead:
31
+
32
+ python M.py -v
33
+
34
+ and a detailed report of all examples tried is printed to stdout, along
35
+ with assorted summaries at the end.
36
+
37
+ You can force verbose mode by passing "verbose=True" to testmod, or prohibit
38
+ it by passing "verbose=False". In either of those cases, sys.argv is not
39
+ examined by testmod.
40
+
41
+ There are a variety of other ways to run doctests, including integration
42
+ with the unittest framework, and support for running non-Python text
43
+ files containing doctests. There are also many ways to override parts
44
+ of doctest's default behaviors. See the Library Reference Manual for
45
+ details.
46
+ """
47
+
48
+ __docformat__ = 'reStructuredText en'
49
+
50
+ __all__ = [
51
+ # 0, Option Flags
52
+ 'register_optionflag',
53
+ 'DONT_ACCEPT_TRUE_FOR_1',
54
+ 'DONT_ACCEPT_BLANKLINE',
55
+ 'NORMALIZE_WHITESPACE',
56
+ 'ELLIPSIS',
57
+ 'SKIP',
58
+ 'IGNORE_EXCEPTION_DETAIL',
59
+ 'COMPARISON_FLAGS',
60
+ 'REPORT_UDIFF',
61
+ 'REPORT_CDIFF',
62
+ 'REPORT_NDIFF',
63
+ 'REPORT_ONLY_FIRST_FAILURE',
64
+ 'REPORTING_FLAGS',
65
+ 'FAIL_FAST',
66
+ # 1. Utility Functions
67
+ # 2. Example & DocTest
68
+ 'Example',
69
+ 'DocTest',
70
+ # 3. Doctest Parser
71
+ 'DocTestParser',
72
+ # 4. Doctest Finder
73
+ 'DocTestFinder',
74
+ # 5. Doctest Runner
75
+ 'DocTestRunner',
76
+ 'OutputChecker',
77
+ 'DocTestFailure',
78
+ 'UnexpectedException',
79
+ 'DebugRunner',
80
+ # 6. Test Functions
81
+ 'testmod',
82
+ 'testfile',
83
+ 'run_docstring_examples',
84
+ # 7. Unittest Support
85
+ 'DocTestSuite',
86
+ 'DocFileSuite',
87
+ 'set_unittest_reportflags',
88
+ # 8. Debugging Support
89
+ 'script_from_examples',
90
+ 'testsource',
91
+ 'debug_src',
92
+ 'debug',
93
+ ]
94
+
95
+ import __future__
96
+ import difflib
97
+ import functools
98
+ import inspect
99
+ import linecache
100
+ import os
101
+ import pdb
102
+ import re
103
+ import sys
104
+ import traceback
105
+ import unittest
106
+ from io import StringIO, IncrementalNewlineDecoder
107
+ from collections import namedtuple
108
+ import _colorize # Used in doctests
109
+ from _colorize import ANSIColors, can_colorize
110
+
111
+
112
+ __unittest = True
113
+
114
+ class TestResults(namedtuple('TestResults', 'failed attempted')):
115
+ def __new__(cls, failed, attempted, *, skipped=0):
116
+ results = super().__new__(cls, failed, attempted)
117
+ results.skipped = skipped
118
+ return results
119
+
120
+ def __repr__(self):
121
+ if self.skipped:
122
+ return (f'TestResults(failed={self.failed}, '
123
+ f'attempted={self.attempted}, '
124
+ f'skipped={self.skipped})')
125
+ else:
126
+ # Leave the repr() unchanged for backward compatibility
127
+ # if skipped is zero
128
+ return super().__repr__()
129
+
130
+
131
+ # There are 4 basic classes:
132
+ # - Example: a <source, want> pair, plus an intra-docstring line number.
133
+ # - DocTest: a collection of examples, parsed from a docstring, plus
134
+ # info about where the docstring came from (name, filename, lineno).
135
+ # - DocTestFinder: extracts DocTests from a given object's docstring and
136
+ # its contained objects' docstrings.
137
+ # - DocTestRunner: runs DocTest cases, and accumulates statistics.
138
+ #
139
+ # So the basic picture is:
140
+ #
141
+ # list of:
142
+ # +------+ +---------+ +-------+
143
+ # |object| --DocTestFinder-> | DocTest | --DocTestRunner-> |results|
144
+ # +------+ +---------+ +-------+
145
+ # | Example |
146
+ # | ... |
147
+ # | Example |
148
+ # +---------+
149
+
150
+ # Option constants.
151
+
152
+ OPTIONFLAGS_BY_NAME = {}
153
+ def register_optionflag(name):
154
+ # Create a new flag unless `name` is already known.
155
+ return OPTIONFLAGS_BY_NAME.setdefault(name, 1 << len(OPTIONFLAGS_BY_NAME))
156
+
157
+ DONT_ACCEPT_TRUE_FOR_1 = register_optionflag('DONT_ACCEPT_TRUE_FOR_1')
158
+ DONT_ACCEPT_BLANKLINE = register_optionflag('DONT_ACCEPT_BLANKLINE')
159
+ NORMALIZE_WHITESPACE = register_optionflag('NORMALIZE_WHITESPACE')
160
+ ELLIPSIS = register_optionflag('ELLIPSIS')
161
+ SKIP = register_optionflag('SKIP')
162
+ IGNORE_EXCEPTION_DETAIL = register_optionflag('IGNORE_EXCEPTION_DETAIL')
163
+
164
+ COMPARISON_FLAGS = (DONT_ACCEPT_TRUE_FOR_1 |
165
+ DONT_ACCEPT_BLANKLINE |
166
+ NORMALIZE_WHITESPACE |
167
+ ELLIPSIS |
168
+ SKIP |
169
+ IGNORE_EXCEPTION_DETAIL)
170
+
171
+ REPORT_UDIFF = register_optionflag('REPORT_UDIFF')
172
+ REPORT_CDIFF = register_optionflag('REPORT_CDIFF')
173
+ REPORT_NDIFF = register_optionflag('REPORT_NDIFF')
174
+ REPORT_ONLY_FIRST_FAILURE = register_optionflag('REPORT_ONLY_FIRST_FAILURE')
175
+ FAIL_FAST = register_optionflag('FAIL_FAST')
176
+
177
+ REPORTING_FLAGS = (REPORT_UDIFF |
178
+ REPORT_CDIFF |
179
+ REPORT_NDIFF |
180
+ REPORT_ONLY_FIRST_FAILURE |
181
+ FAIL_FAST)
182
+
183
+ # Special string markers for use in `want` strings:
184
+ BLANKLINE_MARKER = '<BLANKLINE>'
185
+ ELLIPSIS_MARKER = '...'
186
+
187
+ ######################################################################
188
+ ## Table of Contents
189
+ ######################################################################
190
+ # 1. Utility Functions
191
+ # 2. Example & DocTest -- store test cases
192
+ # 3. DocTest Parser -- extracts examples from strings
193
+ # 4. DocTest Finder -- extracts test cases from objects
194
+ # 5. DocTest Runner -- runs test cases
195
+ # 6. Test Functions -- convenient wrappers for testing
196
+ # 7. Unittest Support
197
+ # 8. Debugging Support
198
+ # 9. Example Usage
199
+
200
+ ######################################################################
201
+ ## 1. Utility Functions
202
+ ######################################################################
203
+
204
+ def _extract_future_flags(globs):
205
+ """
206
+ Return the compiler-flags associated with the future features that
207
+ have been imported into the given namespace (globs).
208
+ """
209
+ flags = 0
210
+ for fname in __future__.all_feature_names:
211
+ feature = globs.get(fname, None)
212
+ if feature is getattr(__future__, fname):
213
+ flags |= feature.compiler_flag
214
+ return flags
215
+
216
+ def _normalize_module(module, depth=2):
217
+ """
218
+ Return the module specified by `module`. In particular:
219
+ - If `module` is a module, then return module.
220
+ - If `module` is a string, then import and return the
221
+ module with that name.
222
+ - If `module` is None, then return the calling module.
223
+ The calling module is assumed to be the module of
224
+ the stack frame at the given depth in the call stack.
225
+ """
226
+ if inspect.ismodule(module):
227
+ return module
228
+ elif isinstance(module, str):
229
+ return __import__(module, globals(), locals(), ["*"])
230
+ elif module is None:
231
+ try:
232
+ try:
233
+ return sys.modules[sys._getframemodulename(depth)]
234
+ except AttributeError:
235
+ return sys.modules[sys._getframe(depth).f_globals['__name__']]
236
+ except KeyError:
237
+ pass
238
+ else:
239
+ raise TypeError("Expected a module, string, or None")
240
+
241
+ def _newline_convert(data):
242
+ # The IO module provides a handy decoder for universal newline conversion
243
+ return IncrementalNewlineDecoder(None, True).decode(data, True)
244
+
245
+ def _load_testfile(filename, package, module_relative, encoding):
246
+ if module_relative:
247
+ package = _normalize_module(package, 3)
248
+ filename = _module_relative_path(package, filename)
249
+ if (loader := getattr(package, '__loader__', None)) is None:
250
+ try:
251
+ loader = package.__spec__.loader
252
+ except AttributeError:
253
+ pass
254
+ if hasattr(loader, 'get_data'):
255
+ file_contents = loader.get_data(filename)
256
+ file_contents = file_contents.decode(encoding)
257
+ # get_data() opens files as 'rb', so one must do the equivalent
258
+ # conversion as universal newlines would do.
259
+ return _newline_convert(file_contents), filename
260
+ with open(filename, encoding=encoding) as f:
261
+ return f.read(), filename
262
+
263
+ def _indent(s, indent=4):
264
+ """
265
+ Add the given number of space characters to the beginning of
266
+ every non-blank line in `s`, and return the result.
267
+ """
268
+ # This regexp matches the start of non-blank lines:
269
+ return re.sub('(?m)^(?!$)', indent*' ', s)
270
+
271
+ def _exception_traceback(exc_info):
272
+ """
273
+ Return a string containing a traceback message for the given
274
+ exc_info tuple (as returned by sys.exc_info()).
275
+ """
276
+ # Get a traceback message.
277
+ excout = StringIO()
278
+ exc_type, exc_val, exc_tb = exc_info
279
+ traceback.print_exception(exc_type, exc_val, exc_tb, file=excout)
280
+ return excout.getvalue()
281
+
282
+ # Override some StringIO methods.
283
+ class _SpoofOut(StringIO):
284
+ def getvalue(self):
285
+ result = StringIO.getvalue(self)
286
+ # If anything at all was written, make sure there's a trailing
287
+ # newline. There's no way for the expected output to indicate
288
+ # that a trailing newline is missing.
289
+ if result and not result.endswith("\n"):
290
+ result += "\n"
291
+ return result
292
+
293
+ def truncate(self, size=None):
294
+ self.seek(size)
295
+ StringIO.truncate(self)
296
+
297
+ # Worst-case linear-time ellipsis matching.
298
+ def _ellipsis_match(want, got):
299
+ """
300
+ Essentially the only subtle case:
301
+ >>> _ellipsis_match('aa...aa', 'aaa')
302
+ False
303
+ """
304
+ if ELLIPSIS_MARKER not in want:
305
+ return want == got
306
+
307
+ # Find "the real" strings.
308
+ ws = want.split(ELLIPSIS_MARKER)
309
+ assert len(ws) >= 2
310
+
311
+ # Deal with exact matches possibly needed at one or both ends.
312
+ startpos, endpos = 0, len(got)
313
+ w = ws[0]
314
+ if w: # starts with exact match
315
+ if got.startswith(w):
316
+ startpos = len(w)
317
+ del ws[0]
318
+ else:
319
+ return False
320
+ w = ws[-1]
321
+ if w: # ends with exact match
322
+ if got.endswith(w):
323
+ endpos -= len(w)
324
+ del ws[-1]
325
+ else:
326
+ return False
327
+
328
+ if startpos > endpos:
329
+ # Exact end matches required more characters than we have, as in
330
+ # _ellipsis_match('aa...aa', 'aaa')
331
+ return False
332
+
333
+ # For the rest, we only need to find the leftmost non-overlapping
334
+ # match for each piece. If there's no overall match that way alone,
335
+ # there's no overall match period.
336
+ for w in ws:
337
+ # w may be '' at times, if there are consecutive ellipses, or
338
+ # due to an ellipsis at the start or end of `want`. That's OK.
339
+ # Search for an empty string succeeds, and doesn't change startpos.
340
+ startpos = got.find(w, startpos, endpos)
341
+ if startpos < 0:
342
+ return False
343
+ startpos += len(w)
344
+
345
+ return True
346
+
347
+ def _comment_line(line):
348
+ "Return a commented form of the given line"
349
+ line = line.rstrip()
350
+ if line:
351
+ return '# '+line
352
+ else:
353
+ return '#'
354
+
355
+ def _strip_exception_details(msg):
356
+ # Support for IGNORE_EXCEPTION_DETAIL.
357
+ # Get rid of everything except the exception name; in particular, drop
358
+ # the possibly dotted module path (if any) and the exception message (if
359
+ # any). We assume that a colon is never part of a dotted name, or of an
360
+ # exception name.
361
+ # E.g., given
362
+ # "foo.bar.MyError: la di da"
363
+ # return "MyError"
364
+ # Or for "abc.def" or "abc.def:\n" return "def".
365
+
366
+ start, end = 0, len(msg)
367
+ # The exception name must appear on the first line.
368
+ i = msg.find("\n")
369
+ if i >= 0:
370
+ end = i
371
+ # retain up to the first colon (if any)
372
+ i = msg.find(':', 0, end)
373
+ if i >= 0:
374
+ end = i
375
+ # retain just the exception name
376
+ i = msg.rfind('.', 0, end)
377
+ if i >= 0:
378
+ start = i+1
379
+ return msg[start: end]
380
+
381
+ class _OutputRedirectingPdb(pdb.Pdb):
382
+ """
383
+ A specialized version of the python debugger that redirects stdout
384
+ to a given stream when interacting with the user. Stdout is *not*
385
+ redirected when traced code is executed.
386
+ """
387
+ def __init__(self, out):
388
+ self.__out = out
389
+ self.__debugger_used = False
390
+ # do not play signal games in the pdb
391
+ pdb.Pdb.__init__(self, stdout=out, nosigint=True)
392
+ # still use input() to get user input
393
+ self.use_rawinput = 1
394
+
395
+ def set_trace(self, frame=None, *, commands=None):
396
+ self.__debugger_used = True
397
+ if frame is None:
398
+ frame = sys._getframe().f_back
399
+ pdb.Pdb.set_trace(self, frame, commands=commands)
400
+
401
+ def set_continue(self):
402
+ # Calling set_continue unconditionally would break unit test
403
+ # coverage reporting, as Bdb.set_continue calls sys.settrace(None).
404
+ if self.__debugger_used:
405
+ pdb.Pdb.set_continue(self)
406
+
407
+ def trace_dispatch(self, *args):
408
+ # Redirect stdout to the given stream.
409
+ save_stdout = sys.stdout
410
+ sys.stdout = self.__out
411
+ # Call Pdb's trace dispatch method.
412
+ try:
413
+ return pdb.Pdb.trace_dispatch(self, *args)
414
+ finally:
415
+ sys.stdout = save_stdout
416
+
417
+ # [XX] Normalize with respect to os.path.pardir?
418
+ def _module_relative_path(module, test_path):
419
+ if not inspect.ismodule(module):
420
+ raise TypeError('Expected a module: %r' % module)
421
+ if test_path.startswith('/'):
422
+ raise ValueError('Module-relative files may not have absolute paths')
423
+
424
+ # Normalize the path. On Windows, replace "/" with "\".
425
+ test_path = os.path.join(*(test_path.split('/')))
426
+
427
+ # Find the base directory for the path.
428
+ if hasattr(module, '__file__'):
429
+ # A normal module/package
430
+ basedir = os.path.split(module.__file__)[0]
431
+ elif module.__name__ == '__main__':
432
+ # An interactive session.
433
+ if len(sys.argv)>0 and sys.argv[0] != '':
434
+ basedir = os.path.split(sys.argv[0])[0]
435
+ else:
436
+ basedir = os.curdir
437
+ else:
438
+ if hasattr(module, '__path__'):
439
+ for directory in module.__path__:
440
+ fullpath = os.path.join(directory, test_path)
441
+ if os.path.exists(fullpath):
442
+ return fullpath
443
+
444
+ # A module w/o __file__ (this includes builtins)
445
+ raise ValueError("Can't resolve paths relative to the module "
446
+ "%r (it has no __file__)"
447
+ % module.__name__)
448
+
449
+ # Combine the base directory and the test path.
450
+ return os.path.join(basedir, test_path)
451
+
452
+ ######################################################################
453
+ ## 2. Example & DocTest
454
+ ######################################################################
455
+ ## - An "example" is a <source, want> pair, where "source" is a
456
+ ## fragment of source code, and "want" is the expected output for
457
+ ## "source." The Example class also includes information about
458
+ ## where the example was extracted from.
459
+ ##
460
+ ## - A "doctest" is a collection of examples, typically extracted from
461
+ ## a string (such as an object's docstring). The DocTest class also
462
+ ## includes information about where the string was extracted from.
463
+
464
+ class Example:
465
+ """
466
+ A single doctest example, consisting of source code and expected
467
+ output. `Example` defines the following attributes:
468
+
469
+ - source: A single Python statement, always ending with a newline.
470
+ The constructor adds a newline if needed.
471
+
472
+ - want: The expected output from running the source code (either
473
+ from stdout, or a traceback in case of exception). `want` ends
474
+ with a newline unless it's empty, in which case it's an empty
475
+ string. The constructor adds a newline if needed.
476
+
477
+ - exc_msg: The exception message generated by the example, if
478
+ the example is expected to generate an exception; or `None` if
479
+ it is not expected to generate an exception. This exception
480
+ message is compared against the return value of
481
+ `traceback.format_exception_only()`. `exc_msg` ends with a
482
+ newline unless it's `None`. The constructor adds a newline
483
+ if needed.
484
+
485
+ - lineno: The line number within the DocTest string containing
486
+ this Example where the Example begins. This line number is
487
+ zero-based, with respect to the beginning of the DocTest.
488
+
489
+ - indent: The example's indentation in the DocTest string.
490
+ I.e., the number of space characters that precede the
491
+ example's first prompt.
492
+
493
+ - options: A dictionary mapping from option flags to True or
494
+ False, which is used to override default options for this
495
+ example. Any option flags not contained in this dictionary
496
+ are left at their default value (as specified by the
497
+ DocTestRunner's optionflags). By default, no options are set.
498
+ """
499
+ def __init__(self, source, want, exc_msg=None, lineno=0, indent=0,
500
+ options=None):
501
+ # Normalize inputs.
502
+ if not source.endswith('\n'):
503
+ source += '\n'
504
+ if want and not want.endswith('\n'):
505
+ want += '\n'
506
+ if exc_msg is not None and not exc_msg.endswith('\n'):
507
+ exc_msg += '\n'
508
+ # Store properties.
509
+ self.source = source
510
+ self.want = want
511
+ self.lineno = lineno
512
+ self.indent = indent
513
+ if options is None: options = {}
514
+ self.options = options
515
+ self.exc_msg = exc_msg
516
+
517
+ def __eq__(self, other):
518
+ if type(self) is not type(other):
519
+ return NotImplemented
520
+
521
+ return self.source == other.source and \
522
+ self.want == other.want and \
523
+ self.lineno == other.lineno and \
524
+ self.indent == other.indent and \
525
+ self.options == other.options and \
526
+ self.exc_msg == other.exc_msg
527
+
528
+ def __hash__(self):
529
+ return hash((self.source, self.want, self.lineno, self.indent,
530
+ self.exc_msg))
531
+
532
+ class DocTest:
533
+ """
534
+ A collection of doctest examples that should be run in a single
535
+ namespace. Each `DocTest` defines the following attributes:
536
+
537
+ - examples: the list of examples.
538
+
539
+ - globs: The namespace (aka globals) that the examples should
540
+ be run in.
541
+
542
+ - name: A name identifying the DocTest (typically, the name of
543
+ the object whose docstring this DocTest was extracted from).
544
+
545
+ - filename: The name of the file that this DocTest was extracted
546
+ from, or `None` if the filename is unknown.
547
+
548
+ - lineno: The line number within filename where this DocTest
549
+ begins, or `None` if the line number is unavailable. This
550
+ line number is zero-based, with respect to the beginning of
551
+ the file.
552
+
553
+ - docstring: The string that the examples were extracted from,
554
+ or `None` if the string is unavailable.
555
+ """
556
+ def __init__(self, examples, globs, name, filename, lineno, docstring):
557
+ """
558
+ Create a new DocTest containing the given examples. The
559
+ DocTest's globals are initialized with a copy of `globs`.
560
+ """
561
+ assert not isinstance(examples, str), \
562
+ "DocTest no longer accepts str; use DocTestParser instead"
563
+ self.examples = examples
564
+ self.docstring = docstring
565
+ self.globs = globs.copy()
566
+ self.name = name
567
+ self.filename = filename
568
+ self.lineno = lineno
569
+
570
+ def __repr__(self):
571
+ if len(self.examples) == 0:
572
+ examples = 'no examples'
573
+ elif len(self.examples) == 1:
574
+ examples = '1 example'
575
+ else:
576
+ examples = '%d examples' % len(self.examples)
577
+ return ('<%s %s from %s:%s (%s)>' %
578
+ (self.__class__.__name__,
579
+ self.name, self.filename, self.lineno, examples))
580
+
581
+ def __eq__(self, other):
582
+ if type(self) is not type(other):
583
+ return NotImplemented
584
+
585
+ return self.examples == other.examples and \
586
+ self.docstring == other.docstring and \
587
+ self.globs == other.globs and \
588
+ self.name == other.name and \
589
+ self.filename == other.filename and \
590
+ self.lineno == other.lineno
591
+
592
+ def __hash__(self):
593
+ return hash((self.docstring, self.name, self.filename, self.lineno))
594
+
595
+ # This lets us sort tests by name:
596
+ def __lt__(self, other):
597
+ if not isinstance(other, DocTest):
598
+ return NotImplemented
599
+ self_lno = self.lineno if self.lineno is not None else -1
600
+ other_lno = other.lineno if other.lineno is not None else -1
601
+ return ((self.name, self.filename, self_lno, id(self))
602
+ <
603
+ (other.name, other.filename, other_lno, id(other)))
604
+
605
+ ######################################################################
606
+ ## 3. DocTestParser
607
+ ######################################################################
608
+
609
+ class DocTestParser:
610
+ """
611
+ A class used to parse strings containing doctest examples.
612
+ """
613
+ # This regular expression is used to find doctest examples in a
614
+ # string. It defines three groups: `source` is the source code
615
+ # (including leading indentation and prompts); `indent` is the
616
+ # indentation of the first (PS1) line of the source code; and
617
+ # `want` is the expected output (including leading indentation).
618
+ _EXAMPLE_RE = re.compile(r'''
619
+ # Source consists of a PS1 line followed by zero or more PS2 lines.
620
+ (?P<source>
621
+ (?:^(?P<indent> [ ]*) >>> .*) # PS1 line
622
+ (?:\n [ ]* \.\.\. .*)*) # PS2 lines
623
+ \n?
624
+ # Want consists of any non-blank lines that do not start with PS1.
625
+ (?P<want> (?:(?![ ]*$) # Not a blank line
626
+ (?![ ]*>>>) # Not a line starting with PS1
627
+ .+$\n? # But any other line
628
+ )*)
629
+ ''', re.MULTILINE | re.VERBOSE)
630
+
631
+ # A regular expression for handling `want` strings that contain
632
+ # expected exceptions. It divides `want` into three pieces:
633
+ # - the traceback header line (`hdr`)
634
+ # - the traceback stack (`stack`)
635
+ # - the exception message (`msg`), as generated by
636
+ # traceback.format_exception_only()
637
+ # `msg` may have multiple lines. We assume/require that the
638
+ # exception message is the first non-indented line starting with a word
639
+ # character following the traceback header line.
640
+ _EXCEPTION_RE = re.compile(r"""
641
+ # Grab the traceback header. Different versions of Python have
642
+ # said different things on the first traceback line.
643
+ ^(?P<hdr> Traceback\ \(
644
+ (?: most\ recent\ call\ last
645
+ | innermost\ last
646
+ ) \) :
647
+ )
648
+ \s* $ # toss trailing whitespace on the header.
649
+ (?P<stack> .*?) # don't blink: absorb stuff until...
650
+ ^ (?P<msg> \w+ .*) # a line *starts* with alphanum.
651
+ """, re.VERBOSE | re.MULTILINE | re.DOTALL)
652
+
653
+ # A callable returning a true value iff its argument is a blank line
654
+ # or contains a single comment.
655
+ _IS_BLANK_OR_COMMENT = re.compile(r'^[ ]*(#.*)?$').match
656
+
657
+ def parse(self, string, name='<string>'):
658
+ """
659
+ Divide the given string into examples and intervening text,
660
+ and return them as a list of alternating Examples and strings.
661
+ Line numbers for the Examples are 0-based. The optional
662
+ argument `name` is a name identifying this string, and is only
663
+ used for error messages.
664
+ """
665
+ string = string.expandtabs()
666
+ # If all lines begin with the same indentation, then strip it.
667
+ min_indent = self._min_indent(string)
668
+ if min_indent > 0:
669
+ string = '\n'.join([l[min_indent:] for l in string.split('\n')])
670
+
671
+ output = []
672
+ charno, lineno = 0, 0
673
+ # Find all doctest examples in the string:
674
+ for m in self._EXAMPLE_RE.finditer(string):
675
+ # Add the pre-example text to `output`.
676
+ output.append(string[charno:m.start()])
677
+ # Update lineno (lines before this example)
678
+ lineno += string.count('\n', charno, m.start())
679
+ # Extract info from the regexp match.
680
+ (source, options, want, exc_msg) = \
681
+ self._parse_example(m, name, lineno)
682
+ # Create an Example, and add it to the list.
683
+ if not self._IS_BLANK_OR_COMMENT(source):
684
+ output.append( Example(source, want, exc_msg,
685
+ lineno=lineno,
686
+ indent=min_indent+len(m.group('indent')),
687
+ options=options) )
688
+ # Update lineno (lines inside this example)
689
+ lineno += string.count('\n', m.start(), m.end())
690
+ # Update charno.
691
+ charno = m.end()
692
+ # Add any remaining post-example text to `output`.
693
+ output.append(string[charno:])
694
+ return output
695
+
696
+ def get_doctest(self, string, globs, name, filename, lineno):
697
+ """
698
+ Extract all doctest examples from the given string, and
699
+ collect them into a `DocTest` object.
700
+
701
+ `globs`, `name`, `filename`, and `lineno` are attributes for
702
+ the new `DocTest` object. See the documentation for `DocTest`
703
+ for more information.
704
+ """
705
+ return DocTest(self.get_examples(string, name), globs,
706
+ name, filename, lineno, string)
707
+
708
+ def get_examples(self, string, name='<string>'):
709
+ """
710
+ Extract all doctest examples from the given string, and return
711
+ them as a list of `Example` objects. Line numbers are
712
+ 0-based, because it's most common in doctests that nothing
713
+ interesting appears on the same line as opening triple-quote,
714
+ and so the first interesting line is called \"line 1\" then.
715
+
716
+ The optional argument `name` is a name identifying this
717
+ string, and is only used for error messages.
718
+ """
719
+ return [x for x in self.parse(string, name)
720
+ if isinstance(x, Example)]
721
+
722
+ def _parse_example(self, m, name, lineno):
723
+ """
724
+ Given a regular expression match from `_EXAMPLE_RE` (`m`),
725
+ return a pair `(source, want)`, where `source` is the matched
726
+ example's source code (with prompts and indentation stripped);
727
+ and `want` is the example's expected output (with indentation
728
+ stripped).
729
+
730
+ `name` is the string's name, and `lineno` is the line number
731
+ where the example starts; both are used for error messages.
732
+ """
733
+ # Get the example's indentation level.
734
+ indent = len(m.group('indent'))
735
+
736
+ # Divide source into lines; check that they're properly
737
+ # indented; and then strip their indentation & prompts.
738
+ source_lines = m.group('source').split('\n')
739
+ self._check_prompt_blank(source_lines, indent, name, lineno)
740
+ self._check_prefix(source_lines[1:], ' '*indent + '.', name, lineno)
741
+ source = '\n'.join([sl[indent+4:] for sl in source_lines])
742
+
743
+ # Divide want into lines; check that it's properly indented; and
744
+ # then strip the indentation. Spaces before the last newline should
745
+ # be preserved, so plain rstrip() isn't good enough.
746
+ want = m.group('want')
747
+ want_lines = want.split('\n')
748
+ if len(want_lines) > 1 and re.match(r' *$', want_lines[-1]):
749
+ del want_lines[-1] # forget final newline & spaces after it
750
+ self._check_prefix(want_lines, ' '*indent, name,
751
+ lineno + len(source_lines))
752
+ want = '\n'.join([wl[indent:] for wl in want_lines])
753
+
754
+ # If `want` contains a traceback message, then extract it.
755
+ m = self._EXCEPTION_RE.match(want)
756
+ if m:
757
+ exc_msg = m.group('msg')
758
+ else:
759
+ exc_msg = None
760
+
761
+ # Extract options from the source.
762
+ options = self._find_options(source, name, lineno)
763
+
764
+ return source, options, want, exc_msg
765
+
766
+ # This regular expression looks for option directives in the
767
+ # source code of an example. Option directives are comments
768
+ # starting with "doctest:". Warning: this may give false
769
+ # positives for string-literals that contain the string
770
+ # "#doctest:". Eliminating these false positives would require
771
+ # actually parsing the string; but we limit them by ignoring any
772
+ # line containing "#doctest:" that is *followed* by a quote mark.
773
+ _OPTION_DIRECTIVE_RE = re.compile(r'#\s*doctest:\s*([^\n\'"]*)$',
774
+ re.MULTILINE)
775
+
776
+ def _find_options(self, source, name, lineno):
777
+ """
778
+ Return a dictionary containing option overrides extracted from
779
+ option directives in the given source string.
780
+
781
+ `name` is the string's name, and `lineno` is the line number
782
+ where the example starts; both are used for error messages.
783
+ """
784
+ options = {}
785
+ # (note: with the current regexp, this will match at most once:)
786
+ for m in self._OPTION_DIRECTIVE_RE.finditer(source):
787
+ option_strings = m.group(1).replace(',', ' ').split()
788
+ for option in option_strings:
789
+ if (option[0] not in '+-' or
790
+ option[1:] not in OPTIONFLAGS_BY_NAME):
791
+ raise ValueError('line %r of the doctest for %s '
792
+ 'has an invalid option: %r' %
793
+ (lineno+1, name, option))
794
+ flag = OPTIONFLAGS_BY_NAME[option[1:]]
795
+ options[flag] = (option[0] == '+')
796
+ if options and self._IS_BLANK_OR_COMMENT(source):
797
+ raise ValueError('line %r of the doctest for %s has an option '
798
+ 'directive on a line with no example: %r' %
799
+ (lineno, name, source))
800
+ return options
801
+
802
+ # This regular expression finds the indentation of every non-blank
803
+ # line in a string.
804
+ _INDENT_RE = re.compile(r'^([ ]*)(?=\S)', re.MULTILINE)
805
+
806
+ def _min_indent(self, s):
807
+ "Return the minimum indentation of any non-blank line in `s`"
808
+ indents = [len(indent) for indent in self._INDENT_RE.findall(s)]
809
+ if len(indents) > 0:
810
+ return min(indents)
811
+ else:
812
+ return 0
813
+
814
+ def _check_prompt_blank(self, lines, indent, name, lineno):
815
+ """
816
+ Given the lines of a source string (including prompts and
817
+ leading indentation), check to make sure that every prompt is
818
+ followed by a space character. If any line is not followed by
819
+ a space character, then raise ValueError.
820
+ """
821
+ for i, line in enumerate(lines):
822
+ if len(line) >= indent+4 and line[indent+3] != ' ':
823
+ raise ValueError('line %r of the docstring for %s '
824
+ 'lacks blank after %s: %r' %
825
+ (lineno+i+1, name,
826
+ line[indent:indent+3], line))
827
+
828
+ def _check_prefix(self, lines, prefix, name, lineno):
829
+ """
830
+ Check that every line in the given list starts with the given
831
+ prefix; if any line does not, then raise a ValueError.
832
+ """
833
+ for i, line in enumerate(lines):
834
+ if line and not line.startswith(prefix):
835
+ raise ValueError('line %r of the docstring for %s has '
836
+ 'inconsistent leading whitespace: %r' %
837
+ (lineno+i+1, name, line))
838
+
839
+
840
+ ######################################################################
841
+ ## 4. DocTest Finder
842
+ ######################################################################
843
+
844
+ class DocTestFinder:
845
+ """
846
+ A class used to extract the DocTests that are relevant to a given
847
+ object, from its docstring and the docstrings of its contained
848
+ objects. Doctests can currently be extracted from the following
849
+ object types: modules, functions, classes, methods, staticmethods,
850
+ classmethods, and properties.
851
+ """
852
+
853
+ def __init__(self, verbose=False, parser=DocTestParser(),
854
+ recurse=True, exclude_empty=True):
855
+ """
856
+ Create a new doctest finder.
857
+
858
+ The optional argument `parser` specifies a class or
859
+ function that should be used to create new DocTest objects (or
860
+ objects that implement the same interface as DocTest). The
861
+ signature for this factory function should match the signature
862
+ of the DocTest constructor.
863
+
864
+ If the optional argument `recurse` is false, then `find` will
865
+ only examine the given object, and not any contained objects.
866
+
867
+ If the optional argument `exclude_empty` is false, then `find`
868
+ will include tests for objects with empty docstrings.
869
+ """
870
+ self._parser = parser
871
+ self._verbose = verbose
872
+ self._recurse = recurse
873
+ self._exclude_empty = exclude_empty
874
+
875
+ def find(self, obj, name=None, module=None, globs=None, extraglobs=None):
876
+ """
877
+ Return a list of the DocTests that are defined by the given
878
+ object's docstring, or by any of its contained objects'
879
+ docstrings.
880
+
881
+ The optional parameter `module` is the module that contains
882
+ the given object. If the module is not specified or is None, then
883
+ the test finder will attempt to automatically determine the
884
+ correct module. The object's module is used:
885
+
886
+ - As a default namespace, if `globs` is not specified.
887
+ - To prevent the DocTestFinder from extracting DocTests
888
+ from objects that are imported from other modules.
889
+ - To find the name of the file containing the object.
890
+ - To help find the line number of the object within its
891
+ file.
892
+
893
+ Contained objects whose module does not match `module` are ignored.
894
+
895
+ If `module` is False, no attempt to find the module will be made.
896
+ This is obscure, of use mostly in tests: if `module` is False, or
897
+ is None but cannot be found automatically, then all objects are
898
+ considered to belong to the (non-existent) module, so all contained
899
+ objects will (recursively) be searched for doctests.
900
+
901
+ The globals for each DocTest is formed by combining `globs`
902
+ and `extraglobs` (bindings in `extraglobs` override bindings
903
+ in `globs`). A new copy of the globals dictionary is created
904
+ for each DocTest. If `globs` is not specified, then it
905
+ defaults to the module's `__dict__`, if specified, or {}
906
+ otherwise. If `extraglobs` is not specified, then it defaults
907
+ to {}.
908
+
909
+ """
910
+ # If name was not specified, then extract it from the object.
911
+ if name is None:
912
+ name = getattr(obj, '__name__', None)
913
+ if name is None:
914
+ raise ValueError("DocTestFinder.find: name must be given "
915
+ "when obj.__name__ doesn't exist: %r" %
916
+ (type(obj),))
917
+
918
+ # Find the module that contains the given object (if obj is
919
+ # a module, then module=obj.). Note: this may fail, in which
920
+ # case module will be None.
921
+ if module is False:
922
+ module = None
923
+ elif module is None:
924
+ module = inspect.getmodule(obj)
925
+
926
+ # Read the module's source code. This is used by
927
+ # DocTestFinder._find_lineno to find the line number for a
928
+ # given object's docstring.
929
+ try:
930
+ file = inspect.getsourcefile(obj)
931
+ except TypeError:
932
+ source_lines = None
933
+ else:
934
+ if not file:
935
+ # Check to see if it's one of our special internal "files"
936
+ # (see __patched_linecache_getlines).
937
+ file = inspect.getfile(obj)
938
+ if not file[0]+file[-2:] == '<]>': file = None
939
+ if file is None:
940
+ source_lines = None
941
+ else:
942
+ if module is not None:
943
+ # Supply the module globals in case the module was
944
+ # originally loaded via a PEP 302 loader and
945
+ # file is not a valid filesystem path
946
+ source_lines = linecache.getlines(file, module.__dict__)
947
+ else:
948
+ # No access to a loader, so assume it's a normal
949
+ # filesystem path
950
+ source_lines = linecache.getlines(file)
951
+ if not source_lines:
952
+ source_lines = None
953
+
954
+ # Initialize globals, and merge in extraglobs.
955
+ if globs is None:
956
+ if module is None:
957
+ globs = {}
958
+ else:
959
+ globs = module.__dict__.copy()
960
+ else:
961
+ globs = globs.copy()
962
+ if extraglobs is not None:
963
+ globs.update(extraglobs)
964
+ if '__name__' not in globs:
965
+ globs['__name__'] = '__main__' # provide a default module name
966
+
967
+ # Recursively explore `obj`, extracting DocTests.
968
+ tests = []
969
+ self._find(tests, obj, name, module, source_lines, globs, {})
970
+ # Sort the tests by alpha order of names, for consistency in
971
+ # verbose-mode output. This was a feature of doctest in Pythons
972
+ # <= 2.3 that got lost by accident in 2.4. It was repaired in
973
+ # 2.4.4 and 2.5.
974
+ tests.sort()
975
+ return tests
976
+
977
+ def _from_module(self, module, object):
978
+ """
979
+ Return true if the given object is defined in the given
980
+ module.
981
+ """
982
+ if module is None:
983
+ return True
984
+ elif inspect.getmodule(object) is not None:
985
+ return module is inspect.getmodule(object)
986
+ elif inspect.isfunction(object):
987
+ return module.__dict__ is object.__globals__
988
+ elif (inspect.ismethoddescriptor(object) or
989
+ inspect.ismethodwrapper(object)):
990
+ if hasattr(object, '__objclass__'):
991
+ obj_mod = object.__objclass__.__module__
992
+ elif hasattr(object, '__module__'):
993
+ obj_mod = object.__module__
994
+ else:
995
+ return True # [XX] no easy way to tell otherwise
996
+ return module.__name__ == obj_mod
997
+ elif inspect.isclass(object):
998
+ return module.__name__ == object.__module__
999
+ elif hasattr(object, '__module__'):
1000
+ return module.__name__ == object.__module__
1001
+ elif isinstance(object, property):
1002
+ return True # [XX] no way not be sure.
1003
+ else:
1004
+ raise ValueError("object must be a class or function")
1005
+
1006
+ def _is_routine(self, obj):
1007
+ """
1008
+ Safely unwrap objects and determine if they are functions.
1009
+ """
1010
+ maybe_routine = obj
1011
+ try:
1012
+ maybe_routine = inspect.unwrap(maybe_routine)
1013
+ except ValueError:
1014
+ pass
1015
+ return inspect.isroutine(maybe_routine)
1016
+
1017
+ def _find(self, tests, obj, name, module, source_lines, globs, seen):
1018
+ """
1019
+ Find tests for the given object and any contained objects, and
1020
+ add them to `tests`.
1021
+ """
1022
+ if self._verbose:
1023
+ print('Finding tests in %s' % name)
1024
+
1025
+ # If we've already processed this object, then ignore it.
1026
+ if id(obj) in seen:
1027
+ return
1028
+ seen[id(obj)] = 1
1029
+
1030
+ # Find a test for this object, and add it to the list of tests.
1031
+ test = self._get_test(obj, name, module, globs, source_lines)
1032
+ if test is not None:
1033
+ tests.append(test)
1034
+
1035
+ # Look for tests in a module's contained objects.
1036
+ if inspect.ismodule(obj) and self._recurse:
1037
+ for valname, val in obj.__dict__.items():
1038
+ valname = '%s.%s' % (name, valname)
1039
+
1040
+ # Recurse to functions & classes.
1041
+ if ((self._is_routine(val) or inspect.isclass(val)) and
1042
+ self._from_module(module, val)):
1043
+ self._find(tests, val, valname, module, source_lines,
1044
+ globs, seen)
1045
+
1046
+ # Look for tests in a module's __test__ dictionary.
1047
+ if inspect.ismodule(obj) and self._recurse:
1048
+ for valname, val in getattr(obj, '__test__', {}).items():
1049
+ if not isinstance(valname, str):
1050
+ raise ValueError("DocTestFinder.find: __test__ keys "
1051
+ "must be strings: %r" %
1052
+ (type(valname),))
1053
+ if not (inspect.isroutine(val) or inspect.isclass(val) or
1054
+ inspect.ismodule(val) or isinstance(val, str)):
1055
+ raise ValueError("DocTestFinder.find: __test__ values "
1056
+ "must be strings, functions, methods, "
1057
+ "classes, or modules: %r" %
1058
+ (type(val),))
1059
+ valname = '%s.__test__.%s' % (name, valname)
1060
+ self._find(tests, val, valname, module, source_lines,
1061
+ globs, seen)
1062
+
1063
+ # Look for tests in a class's contained objects.
1064
+ if inspect.isclass(obj) and self._recurse:
1065
+ for valname, val in obj.__dict__.items():
1066
+ # Special handling for staticmethod/classmethod.
1067
+ if isinstance(val, (staticmethod, classmethod)):
1068
+ val = val.__func__
1069
+
1070
+ # Recurse to methods, properties, and nested classes.
1071
+ if ((inspect.isroutine(val) or inspect.isclass(val) or
1072
+ isinstance(val, property)) and
1073
+ self._from_module(module, val)):
1074
+ valname = '%s.%s' % (name, valname)
1075
+ self._find(tests, val, valname, module, source_lines,
1076
+ globs, seen)
1077
+
1078
+ def _get_test(self, obj, name, module, globs, source_lines):
1079
+ """
1080
+ Return a DocTest for the given object, if it defines a docstring;
1081
+ otherwise, return None.
1082
+ """
1083
+ # Extract the object's docstring. If it doesn't have one,
1084
+ # then return None (no test for this object).
1085
+ if isinstance(obj, str):
1086
+ docstring = obj
1087
+ else:
1088
+ try:
1089
+ if obj.__doc__ is None:
1090
+ docstring = ''
1091
+ else:
1092
+ docstring = obj.__doc__
1093
+ if not isinstance(docstring, str):
1094
+ docstring = str(docstring)
1095
+ except (TypeError, AttributeError):
1096
+ docstring = ''
1097
+
1098
+ # Find the docstring's location in the file.
1099
+ lineno = self._find_lineno(obj, source_lines)
1100
+
1101
+ # Don't bother if the docstring is empty.
1102
+ if self._exclude_empty and not docstring:
1103
+ return None
1104
+
1105
+ # Return a DocTest for this object.
1106
+ if module is None:
1107
+ filename = None
1108
+ else:
1109
+ # __file__ can be None for namespace packages.
1110
+ filename = getattr(module, '__file__', None) or module.__name__
1111
+ if filename[-4:] == ".pyc":
1112
+ filename = filename[:-1]
1113
+ return self._parser.get_doctest(docstring, globs, name,
1114
+ filename, lineno)
1115
+
1116
+ def _find_lineno(self, obj, source_lines):
1117
+ """
1118
+ Return a line number of the given object's docstring.
1119
+
1120
+ Returns `None` if the given object does not have a docstring.
1121
+ """
1122
+ lineno = None
1123
+ docstring = getattr(obj, '__doc__', None)
1124
+
1125
+ # Find the line number for modules.
1126
+ if inspect.ismodule(obj) and docstring is not None:
1127
+ lineno = 0
1128
+
1129
+ # Find the line number for classes.
1130
+ # Note: this could be fooled if a class is defined multiple
1131
+ # times in a single file.
1132
+ if inspect.isclass(obj) and docstring is not None:
1133
+ if source_lines is None:
1134
+ return None
1135
+ pat = re.compile(r'^\s*class\s*%s\b' %
1136
+ re.escape(getattr(obj, '__name__', '-')))
1137
+ for i, line in enumerate(source_lines):
1138
+ if pat.match(line):
1139
+ lineno = i
1140
+ break
1141
+
1142
+ # Find the line number for functions & methods.
1143
+ if inspect.ismethod(obj): obj = obj.__func__
1144
+ if isinstance(obj, property):
1145
+ obj = obj.fget
1146
+ if isinstance(obj, functools.cached_property):
1147
+ obj = obj.func
1148
+ if inspect.isroutine(obj) and getattr(obj, '__doc__', None):
1149
+ # We don't use `docstring` var here, because `obj` can be changed.
1150
+ obj = inspect.unwrap(obj)
1151
+ try:
1152
+ obj = obj.__code__
1153
+ except AttributeError:
1154
+ # Functions implemented in C don't necessarily
1155
+ # have a __code__ attribute.
1156
+ # If there's no code, there's no lineno
1157
+ return None
1158
+ if inspect.istraceback(obj): obj = obj.tb_frame
1159
+ if inspect.isframe(obj): obj = obj.f_code
1160
+ if inspect.iscode(obj):
1161
+ lineno = obj.co_firstlineno - 1
1162
+
1163
+ # Find the line number where the docstring starts. Assume
1164
+ # that it's the first line that begins with a quote mark.
1165
+ # Note: this could be fooled by a multiline function
1166
+ # signature, where a continuation line begins with a quote
1167
+ # mark.
1168
+ if lineno is not None:
1169
+ if source_lines is None:
1170
+ return lineno+1
1171
+ pat = re.compile(r'(^|.*:)\s*\w*("|\')')
1172
+ for lineno in range(lineno, len(source_lines)):
1173
+ if pat.match(source_lines[lineno]):
1174
+ return lineno
1175
+
1176
+ # We couldn't find the line number.
1177
+ return None
1178
+
1179
+ ######################################################################
1180
+ ## 5. DocTest Runner
1181
+ ######################################################################
1182
+
1183
+ class DocTestRunner:
1184
+ """
1185
+ A class used to run DocTest test cases, and accumulate statistics.
1186
+ The `run` method is used to process a single DocTest case. It
1187
+ returns a TestResults instance.
1188
+
1189
+ >>> save_colorize = _colorize.COLORIZE
1190
+ >>> _colorize.COLORIZE = False
1191
+
1192
+ >>> tests = DocTestFinder().find(_TestClass)
1193
+ >>> runner = DocTestRunner(verbose=False)
1194
+ >>> tests.sort(key = lambda test: test.name)
1195
+ >>> for test in tests:
1196
+ ... print(test.name, '->', runner.run(test))
1197
+ _TestClass -> TestResults(failed=0, attempted=2)
1198
+ _TestClass.__init__ -> TestResults(failed=0, attempted=2)
1199
+ _TestClass.get -> TestResults(failed=0, attempted=2)
1200
+ _TestClass.square -> TestResults(failed=0, attempted=1)
1201
+
1202
+ The `summarize` method prints a summary of all the test cases that
1203
+ have been run by the runner, and returns an aggregated TestResults
1204
+ instance:
1205
+
1206
+ >>> runner.summarize(verbose=1)
1207
+ 4 items passed all tests:
1208
+ 2 tests in _TestClass
1209
+ 2 tests in _TestClass.__init__
1210
+ 2 tests in _TestClass.get
1211
+ 1 test in _TestClass.square
1212
+ 7 tests in 4 items.
1213
+ 7 passed.
1214
+ Test passed.
1215
+ TestResults(failed=0, attempted=7)
1216
+
1217
+ The aggregated number of tried examples and failed examples is also
1218
+ available via the `tries`, `failures` and `skips` attributes:
1219
+
1220
+ >>> runner.tries
1221
+ 7
1222
+ >>> runner.failures
1223
+ 0
1224
+ >>> runner.skips
1225
+ 0
1226
+
1227
+ The comparison between expected outputs and actual outputs is done
1228
+ by an `OutputChecker`. This comparison may be customized with a
1229
+ number of option flags; see the documentation for `testmod` for
1230
+ more information. If the option flags are insufficient, then the
1231
+ comparison may also be customized by passing a subclass of
1232
+ `OutputChecker` to the constructor.
1233
+
1234
+ The test runner's display output can be controlled in two ways.
1235
+ First, an output function (`out`) can be passed to
1236
+ `TestRunner.run`; this function will be called with strings that
1237
+ should be displayed. It defaults to `sys.stdout.write`. If
1238
+ capturing the output is not sufficient, then the display output
1239
+ can be also customized by subclassing DocTestRunner, and
1240
+ overriding the methods `report_start`, `report_success`,
1241
+ `report_unexpected_exception`, and `report_failure`.
1242
+
1243
+ >>> _colorize.COLORIZE = save_colorize
1244
+ """
1245
+ # This divider string is used to separate failure messages, and to
1246
+ # separate sections of the summary.
1247
+ DIVIDER = "*" * 70
1248
+
1249
+ def __init__(self, checker=None, verbose=None, optionflags=0):
1250
+ """
1251
+ Create a new test runner.
1252
+
1253
+ Optional keyword arg `checker` is the `OutputChecker` that
1254
+ should be used to compare the expected outputs and actual
1255
+ outputs of doctest examples.
1256
+
1257
+ Optional keyword arg 'verbose' prints lots of stuff if true,
1258
+ only failures if false; by default, it's true iff '-v' is in
1259
+ sys.argv.
1260
+
1261
+ Optional argument `optionflags` can be used to control how the
1262
+ test runner compares expected output to actual output, and how
1263
+ it displays failures. See the documentation for `testmod` for
1264
+ more information.
1265
+ """
1266
+ self._checker = checker or OutputChecker()
1267
+ if verbose is None:
1268
+ verbose = '-v' in sys.argv
1269
+ self._verbose = verbose
1270
+ self.optionflags = optionflags
1271
+ self.original_optionflags = optionflags
1272
+
1273
+ # Keep track of the examples we've run.
1274
+ self.tries = 0
1275
+ self.failures = 0
1276
+ self.skips = 0
1277
+ self._stats = {}
1278
+
1279
+ # Create a fake output target for capturing doctest output.
1280
+ self._fakeout = _SpoofOut()
1281
+
1282
+ #/////////////////////////////////////////////////////////////////
1283
+ # Reporting methods
1284
+ #/////////////////////////////////////////////////////////////////
1285
+
1286
+ def report_start(self, out, test, example):
1287
+ """
1288
+ Report that the test runner is about to process the given
1289
+ example. (Only displays a message if verbose=True)
1290
+ """
1291
+ if self._verbose:
1292
+ if example.want:
1293
+ out('Trying:\n' + _indent(example.source) +
1294
+ 'Expecting:\n' + _indent(example.want))
1295
+ else:
1296
+ out('Trying:\n' + _indent(example.source) +
1297
+ 'Expecting nothing\n')
1298
+
1299
+ def report_success(self, out, test, example, got):
1300
+ """
1301
+ Report that the given example ran successfully. (Only
1302
+ displays a message if verbose=True)
1303
+ """
1304
+ if self._verbose:
1305
+ out("ok\n")
1306
+
1307
+ def report_failure(self, out, test, example, got):
1308
+ """
1309
+ Report that the given example failed.
1310
+ """
1311
+ out(self._failure_header(test, example) +
1312
+ self._checker.output_difference(example, got, self.optionflags))
1313
+
1314
+ def report_unexpected_exception(self, out, test, example, exc_info):
1315
+ """
1316
+ Report that the given example raised an unexpected exception.
1317
+ """
1318
+ out(self._failure_header(test, example) +
1319
+ 'Exception raised:\n' + _indent(_exception_traceback(exc_info)))
1320
+
1321
+ def _failure_header(self, test, example):
1322
+ red, reset = (
1323
+ (ANSIColors.RED, ANSIColors.RESET) if can_colorize() else ("", "")
1324
+ )
1325
+ out = [f"{red}{self.DIVIDER}{reset}"]
1326
+ if test.filename:
1327
+ if test.lineno is not None and example.lineno is not None:
1328
+ lineno = test.lineno + example.lineno + 1
1329
+ else:
1330
+ lineno = '?'
1331
+ out.append('File "%s", line %s, in %s' %
1332
+ (test.filename, lineno, test.name))
1333
+ else:
1334
+ out.append('Line %s, in %s' % (example.lineno+1, test.name))
1335
+ out.append('Failed example:')
1336
+ source = example.source
1337
+ out.append(_indent(source))
1338
+ return '\n'.join(out)
1339
+
1340
+ #/////////////////////////////////////////////////////////////////
1341
+ # DocTest Running
1342
+ #/////////////////////////////////////////////////////////////////
1343
+
1344
+ def __run(self, test, compileflags, out):
1345
+ """
1346
+ Run the examples in `test`. Write the outcome of each example
1347
+ with one of the `DocTestRunner.report_*` methods, using the
1348
+ writer function `out`. `compileflags` is the set of compiler
1349
+ flags that should be used to execute examples. Return a TestResults
1350
+ instance. The examples are run in the namespace `test.globs`.
1351
+ """
1352
+ # Keep track of the number of failed, attempted, skipped examples.
1353
+ failures = attempted = skips = 0
1354
+
1355
+ # Save the option flags (since option directives can be used
1356
+ # to modify them).
1357
+ original_optionflags = self.optionflags
1358
+
1359
+ SUCCESS, FAILURE, BOOM = range(3) # `outcome` state
1360
+
1361
+ check = self._checker.check_output
1362
+
1363
+ # Process each example.
1364
+ for examplenum, example in enumerate(test.examples):
1365
+ attempted += 1
1366
+
1367
+ # If REPORT_ONLY_FIRST_FAILURE is set, then suppress
1368
+ # reporting after the first failure.
1369
+ quiet = (self.optionflags & REPORT_ONLY_FIRST_FAILURE and
1370
+ failures > 0)
1371
+
1372
+ # Merge in the example's options.
1373
+ self.optionflags = original_optionflags
1374
+ if example.options:
1375
+ for (optionflag, val) in example.options.items():
1376
+ if val:
1377
+ self.optionflags |= optionflag
1378
+ else:
1379
+ self.optionflags &= ~optionflag
1380
+
1381
+ # If 'SKIP' is set, then skip this example.
1382
+ if self.optionflags & SKIP:
1383
+ skips += 1
1384
+ continue
1385
+
1386
+ # Record that we started this example.
1387
+ if not quiet:
1388
+ self.report_start(out, test, example)
1389
+
1390
+ # Use a special filename for compile(), so we can retrieve
1391
+ # the source code during interactive debugging (see
1392
+ # __patched_linecache_getlines).
1393
+ filename = '<doctest %s[%d]>' % (test.name, examplenum)
1394
+
1395
+ # Run the example in the given context (globs), and record
1396
+ # any exception that gets raised. (But don't intercept
1397
+ # keyboard interrupts.)
1398
+ try:
1399
+ # Don't blink! This is where the user's code gets run.
1400
+ exec(compile(example.source, filename, "single",
1401
+ compileflags, True), test.globs)
1402
+ self.debugger.set_continue() # ==== Example Finished ====
1403
+ exc_info = None
1404
+ except KeyboardInterrupt:
1405
+ raise
1406
+ except BaseException as exc:
1407
+ exc_info = type(exc), exc, exc.__traceback__.tb_next
1408
+ self.debugger.set_continue() # ==== Example Finished ====
1409
+
1410
+ got = self._fakeout.getvalue() # the actual output
1411
+ self._fakeout.truncate(0)
1412
+ outcome = FAILURE # guilty until proved innocent or insane
1413
+
1414
+ # If the example executed without raising any exceptions,
1415
+ # verify its output.
1416
+ if exc_info is None:
1417
+ if check(example.want, got, self.optionflags):
1418
+ outcome = SUCCESS
1419
+
1420
+ # The example raised an exception: check if it was expected.
1421
+ else:
1422
+ formatted_ex = traceback.format_exception_only(*exc_info[:2])
1423
+ if issubclass(exc_info[0], SyntaxError):
1424
+ # SyntaxError / IndentationError is special:
1425
+ # we don't care about the carets / suggestions / etc
1426
+ # We only care about the error message and notes.
1427
+ # They start with `SyntaxError:` (or any other class name)
1428
+ exception_line_prefixes = (
1429
+ f"{exc_info[0].__qualname__}:",
1430
+ f"{exc_info[0].__module__}.{exc_info[0].__qualname__}:",
1431
+ )
1432
+ exc_msg_index = next(
1433
+ index
1434
+ for index, line in enumerate(formatted_ex)
1435
+ if line.startswith(exception_line_prefixes)
1436
+ )
1437
+ formatted_ex = formatted_ex[exc_msg_index:]
1438
+
1439
+ exc_msg = "".join(formatted_ex)
1440
+ if not quiet:
1441
+ got += _exception_traceback(exc_info)
1442
+
1443
+ # If `example.exc_msg` is None, then we weren't expecting
1444
+ # an exception.
1445
+ if example.exc_msg is None:
1446
+ outcome = BOOM
1447
+
1448
+ # We expected an exception: see whether it matches.
1449
+ elif check(example.exc_msg, exc_msg, self.optionflags):
1450
+ outcome = SUCCESS
1451
+
1452
+ # Another chance if they didn't care about the detail.
1453
+ elif self.optionflags & IGNORE_EXCEPTION_DETAIL:
1454
+ if check(_strip_exception_details(example.exc_msg),
1455
+ _strip_exception_details(exc_msg),
1456
+ self.optionflags):
1457
+ outcome = SUCCESS
1458
+
1459
+ # Report the outcome.
1460
+ if outcome is SUCCESS:
1461
+ if not quiet:
1462
+ self.report_success(out, test, example, got)
1463
+ elif outcome is FAILURE:
1464
+ if not quiet:
1465
+ self.report_failure(out, test, example, got)
1466
+ failures += 1
1467
+ elif outcome is BOOM:
1468
+ if not quiet:
1469
+ self.report_unexpected_exception(out, test, example,
1470
+ exc_info)
1471
+ failures += 1
1472
+ else:
1473
+ assert False, ("unknown outcome", outcome)
1474
+
1475
+ if failures and self.optionflags & FAIL_FAST:
1476
+ break
1477
+
1478
+ # Restore the option flags (in case they were modified)
1479
+ self.optionflags = original_optionflags
1480
+
1481
+ # Record and return the number of failures and attempted.
1482
+ self.__record_outcome(test, failures, attempted, skips)
1483
+ return TestResults(failures, attempted, skipped=skips)
1484
+
1485
+ def __record_outcome(self, test, failures, tries, skips):
1486
+ """
1487
+ Record the fact that the given DocTest (`test`) generated `failures`
1488
+ failures out of `tries` tried examples.
1489
+ """
1490
+ failures2, tries2, skips2 = self._stats.get(test.name, (0, 0, 0))
1491
+ self._stats[test.name] = (failures + failures2,
1492
+ tries + tries2,
1493
+ skips + skips2)
1494
+ self.failures += failures
1495
+ self.tries += tries
1496
+ self.skips += skips
1497
+
1498
+ __LINECACHE_FILENAME_RE = re.compile(r'<doctest '
1499
+ r'(?P<name>.+)'
1500
+ r'\[(?P<examplenum>\d+)\]>$')
1501
+ def __patched_linecache_getlines(self, filename, module_globals=None):
1502
+ m = self.__LINECACHE_FILENAME_RE.match(filename)
1503
+ if m and m.group('name') == self.test.name:
1504
+ example = self.test.examples[int(m.group('examplenum'))]
1505
+ return example.source.splitlines(keepends=True)
1506
+ else:
1507
+ return self.save_linecache_getlines(filename, module_globals)
1508
+
1509
+ def run(self, test, compileflags=None, out=None, clear_globs=True):
1510
+ """
1511
+ Run the examples in `test`, and display the results using the
1512
+ writer function `out`.
1513
+
1514
+ The examples are run in the namespace `test.globs`. If
1515
+ `clear_globs` is true (the default), then this namespace will
1516
+ be cleared after the test runs, to help with garbage
1517
+ collection. If you would like to examine the namespace after
1518
+ the test completes, then use `clear_globs=False`.
1519
+
1520
+ `compileflags` gives the set of flags that should be used by
1521
+ the Python compiler when running the examples. If not
1522
+ specified, then it will default to the set of future-import
1523
+ flags that apply to `globs`.
1524
+
1525
+ The output of each example is checked using
1526
+ `DocTestRunner.check_output`, and the results are formatted by
1527
+ the `DocTestRunner.report_*` methods.
1528
+ """
1529
+ self.test = test
1530
+
1531
+ if compileflags is None:
1532
+ compileflags = _extract_future_flags(test.globs)
1533
+
1534
+ save_stdout = sys.stdout
1535
+ if out is None:
1536
+ encoding = save_stdout.encoding
1537
+ if encoding is None or encoding.lower() == 'utf-8':
1538
+ out = save_stdout.write
1539
+ else:
1540
+ # Use backslashreplace error handling on write
1541
+ def out(s):
1542
+ s = str(s.encode(encoding, 'backslashreplace'), encoding)
1543
+ save_stdout.write(s)
1544
+ sys.stdout = self._fakeout
1545
+
1546
+ # Patch pdb.set_trace to restore sys.stdout during interactive
1547
+ # debugging (so it's not still redirected to self._fakeout).
1548
+ # Note that the interactive output will go to *our*
1549
+ # save_stdout, even if that's not the real sys.stdout; this
1550
+ # allows us to write test cases for the set_trace behavior.
1551
+ save_trace = sys.gettrace()
1552
+ save_set_trace = pdb.set_trace
1553
+ self.debugger = _OutputRedirectingPdb(save_stdout)
1554
+ self.debugger.reset()
1555
+ pdb.set_trace = self.debugger.set_trace
1556
+
1557
+ # Patch linecache.getlines, so we can see the example's source
1558
+ # when we're inside the debugger.
1559
+ self.save_linecache_getlines = linecache.getlines
1560
+ linecache.getlines = self.__patched_linecache_getlines
1561
+
1562
+ # Make sure sys.displayhook just prints the value to stdout
1563
+ save_displayhook = sys.displayhook
1564
+ sys.displayhook = sys.__displayhook__
1565
+ saved_can_colorize = _colorize.can_colorize
1566
+ _colorize.can_colorize = lambda *args, **kwargs: False
1567
+ color_variables = {"PYTHON_COLORS": None, "FORCE_COLOR": None}
1568
+ for key in color_variables:
1569
+ color_variables[key] = os.environ.pop(key, None)
1570
+ try:
1571
+ return self.__run(test, compileflags, out)
1572
+ finally:
1573
+ sys.stdout = save_stdout
1574
+ pdb.set_trace = save_set_trace
1575
+ sys.settrace(save_trace)
1576
+ linecache.getlines = self.save_linecache_getlines
1577
+ sys.displayhook = save_displayhook
1578
+ _colorize.can_colorize = saved_can_colorize
1579
+ for key, value in color_variables.items():
1580
+ if value is not None:
1581
+ os.environ[key] = value
1582
+ if clear_globs:
1583
+ test.globs.clear()
1584
+ import builtins
1585
+ builtins._ = None
1586
+
1587
+ #/////////////////////////////////////////////////////////////////
1588
+ # Summarization
1589
+ #/////////////////////////////////////////////////////////////////
1590
+ def summarize(self, verbose=None):
1591
+ """
1592
+ Print a summary of all the test cases that have been run by
1593
+ this DocTestRunner, and return a TestResults instance.
1594
+
1595
+ The optional `verbose` argument controls how detailed the
1596
+ summary is. If the verbosity is not specified, then the
1597
+ DocTestRunner's verbosity is used.
1598
+ """
1599
+ if verbose is None:
1600
+ verbose = self._verbose
1601
+
1602
+ notests, passed, failed = [], [], []
1603
+ total_tries = total_failures = total_skips = 0
1604
+
1605
+ for name, (failures, tries, skips) in self._stats.items():
1606
+ assert failures <= tries
1607
+ total_tries += tries
1608
+ total_failures += failures
1609
+ total_skips += skips
1610
+
1611
+ if tries == 0:
1612
+ notests.append(name)
1613
+ elif failures == 0:
1614
+ passed.append((name, tries))
1615
+ else:
1616
+ failed.append((name, (failures, tries, skips)))
1617
+
1618
+ ansi = _colorize.get_colors()
1619
+ bold_green = ansi.BOLD_GREEN
1620
+ bold_red = ansi.BOLD_RED
1621
+ green = ansi.GREEN
1622
+ red = ansi.RED
1623
+ reset = ansi.RESET
1624
+ yellow = ansi.YELLOW
1625
+
1626
+ if verbose:
1627
+ if notests:
1628
+ print(f"{_n_items(notests)} had no tests:")
1629
+ notests.sort()
1630
+ for name in notests:
1631
+ print(f" {name}")
1632
+
1633
+ if passed:
1634
+ print(f"{green}{_n_items(passed)} passed all tests:{reset}")
1635
+ for name, count in sorted(passed):
1636
+ s = "" if count == 1 else "s"
1637
+ print(f" {green}{count:3d} test{s} in {name}{reset}")
1638
+
1639
+ if failed:
1640
+ print(f"{red}{self.DIVIDER}{reset}")
1641
+ print(f"{_n_items(failed)} had failures:")
1642
+ for name, (failures, tries, skips) in sorted(failed):
1643
+ print(f" {failures:3d} of {tries:3d} in {name}")
1644
+
1645
+ if verbose:
1646
+ s = "" if total_tries == 1 else "s"
1647
+ print(f"{total_tries} test{s} in {_n_items(self._stats)}.")
1648
+
1649
+ and_f = (
1650
+ f" and {red}{total_failures} failed{reset}"
1651
+ if total_failures else ""
1652
+ )
1653
+ print(f"{green}{total_tries - total_failures} passed{reset}{and_f}.")
1654
+
1655
+ if total_failures:
1656
+ s = "" if total_failures == 1 else "s"
1657
+ msg = f"{bold_red}***Test Failed*** {total_failures} failure{s}{reset}"
1658
+ if total_skips:
1659
+ s = "" if total_skips == 1 else "s"
1660
+ msg = f"{msg} and {yellow}{total_skips} skipped test{s}{reset}"
1661
+ print(f"{msg}.")
1662
+ elif verbose:
1663
+ print(f"{bold_green}Test passed.{reset}")
1664
+
1665
+ return TestResults(total_failures, total_tries, skipped=total_skips)
1666
+
1667
+ #/////////////////////////////////////////////////////////////////
1668
+ # Backward compatibility cruft to maintain doctest.master.
1669
+ #/////////////////////////////////////////////////////////////////
1670
+ def merge(self, other):
1671
+ d = self._stats
1672
+ for name, (failures, tries, skips) in other._stats.items():
1673
+ if name in d:
1674
+ failures2, tries2, skips2 = d[name]
1675
+ failures = failures + failures2
1676
+ tries = tries + tries2
1677
+ skips = skips + skips2
1678
+ d[name] = (failures, tries, skips)
1679
+
1680
+
1681
+ def _n_items(items: list | dict) -> str:
1682
+ """
1683
+ Helper to pluralise the number of items in a list.
1684
+ """
1685
+ n = len(items)
1686
+ s = "" if n == 1 else "s"
1687
+ return f"{n} item{s}"
1688
+
1689
+
1690
+ class OutputChecker:
1691
+ """
1692
+ A class used to check whether the actual output from a doctest
1693
+ example matches the expected output. `OutputChecker` defines two
1694
+ methods: `check_output`, which compares a given pair of outputs,
1695
+ and returns true if they match; and `output_difference`, which
1696
+ returns a string describing the differences between two outputs.
1697
+ """
1698
+ def _toAscii(self, s):
1699
+ """
1700
+ Convert string to hex-escaped ASCII string.
1701
+ """
1702
+ return str(s.encode('ASCII', 'backslashreplace'), "ASCII")
1703
+
1704
+ def check_output(self, want, got, optionflags):
1705
+ """
1706
+ Return True iff the actual output from an example (`got`)
1707
+ matches the expected output (`want`). These strings are
1708
+ always considered to match if they are identical; but
1709
+ depending on what option flags the test runner is using,
1710
+ several non-exact match types are also possible. See the
1711
+ documentation for `TestRunner` for more information about
1712
+ option flags.
1713
+ """
1714
+
1715
+ # If `want` contains hex-escaped character such as "\u1234",
1716
+ # then `want` is a string of six characters(e.g. [\,u,1,2,3,4]).
1717
+ # On the other hand, `got` could be another sequence of
1718
+ # characters such as [\u1234], so `want` and `got` should
1719
+ # be folded to hex-escaped ASCII string to compare.
1720
+ got = self._toAscii(got)
1721
+ want = self._toAscii(want)
1722
+
1723
+ # Handle the common case first, for efficiency:
1724
+ # if they're string-identical, always return true.
1725
+ if got == want:
1726
+ return True
1727
+
1728
+ # The values True and False replaced 1 and 0 as the return
1729
+ # value for boolean comparisons in Python 2.3.
1730
+ if not (optionflags & DONT_ACCEPT_TRUE_FOR_1):
1731
+ if (got,want) == ("True\n", "1\n"):
1732
+ return True
1733
+ if (got,want) == ("False\n", "0\n"):
1734
+ return True
1735
+
1736
+ # <BLANKLINE> can be used as a special sequence to signify a
1737
+ # blank line, unless the DONT_ACCEPT_BLANKLINE flag is used.
1738
+ if not (optionflags & DONT_ACCEPT_BLANKLINE):
1739
+ # Replace <BLANKLINE> in want with a blank line.
1740
+ want = re.sub(r'(?m)^%s\s*?$' % re.escape(BLANKLINE_MARKER),
1741
+ '', want)
1742
+ # If a line in got contains only spaces, then remove the
1743
+ # spaces.
1744
+ got = re.sub(r'(?m)^[^\S\n]+$', '', got)
1745
+ if got == want:
1746
+ return True
1747
+
1748
+ # This flag causes doctest to ignore any differences in the
1749
+ # contents of whitespace strings. Note that this can be used
1750
+ # in conjunction with the ELLIPSIS flag.
1751
+ if optionflags & NORMALIZE_WHITESPACE:
1752
+ got = ' '.join(got.split())
1753
+ want = ' '.join(want.split())
1754
+ if got == want:
1755
+ return True
1756
+
1757
+ # The ELLIPSIS flag says to let the sequence "..." in `want`
1758
+ # match any substring in `got`.
1759
+ if optionflags & ELLIPSIS:
1760
+ if _ellipsis_match(want, got):
1761
+ return True
1762
+
1763
+ # We didn't find any match; return false.
1764
+ return False
1765
+
1766
+ # Should we do a fancy diff?
1767
+ def _do_a_fancy_diff(self, want, got, optionflags):
1768
+ # Not unless they asked for a fancy diff.
1769
+ if not optionflags & (REPORT_UDIFF |
1770
+ REPORT_CDIFF |
1771
+ REPORT_NDIFF):
1772
+ return False
1773
+
1774
+ # If expected output uses ellipsis, a meaningful fancy diff is
1775
+ # too hard ... or maybe not. In two real-life failures Tim saw,
1776
+ # a diff was a major help anyway, so this is commented out.
1777
+ # [todo] _ellipsis_match() knows which pieces do and don't match,
1778
+ # and could be the basis for a kick-ass diff in this case.
1779
+ ##if optionflags & ELLIPSIS and ELLIPSIS_MARKER in want:
1780
+ ## return False
1781
+
1782
+ # ndiff does intraline difference marking, so can be useful even
1783
+ # for 1-line differences.
1784
+ if optionflags & REPORT_NDIFF:
1785
+ return True
1786
+
1787
+ # The other diff types need at least a few lines to be helpful.
1788
+ return want.count('\n') > 2 and got.count('\n') > 2
1789
+
1790
+ def output_difference(self, example, got, optionflags):
1791
+ """
1792
+ Return a string describing the differences between the
1793
+ expected output for a given example (`example`) and the actual
1794
+ output (`got`). `optionflags` is the set of option flags used
1795
+ to compare `want` and `got`.
1796
+ """
1797
+ want = example.want
1798
+ # If <BLANKLINE>s are being used, then replace blank lines
1799
+ # with <BLANKLINE> in the actual output string.
1800
+ if not (optionflags & DONT_ACCEPT_BLANKLINE):
1801
+ got = re.sub('(?m)^[ ]*(?=\n)', BLANKLINE_MARKER, got)
1802
+
1803
+ # Check if we should use diff.
1804
+ if self._do_a_fancy_diff(want, got, optionflags):
1805
+ # Split want & got into lines.
1806
+ want_lines = want.splitlines(keepends=True)
1807
+ got_lines = got.splitlines(keepends=True)
1808
+ # Use difflib to find their differences.
1809
+ if optionflags & REPORT_UDIFF:
1810
+ diff = difflib.unified_diff(want_lines, got_lines, n=2)
1811
+ diff = list(diff)[2:] # strip the diff header
1812
+ kind = 'unified diff with -expected +actual'
1813
+ elif optionflags & REPORT_CDIFF:
1814
+ diff = difflib.context_diff(want_lines, got_lines, n=2)
1815
+ diff = list(diff)[2:] # strip the diff header
1816
+ kind = 'context diff with expected followed by actual'
1817
+ elif optionflags & REPORT_NDIFF:
1818
+ engine = difflib.Differ(charjunk=difflib.IS_CHARACTER_JUNK)
1819
+ diff = list(engine.compare(want_lines, got_lines))
1820
+ kind = 'ndiff with -expected +actual'
1821
+ else:
1822
+ assert 0, 'Bad diff option'
1823
+ return 'Differences (%s):\n' % kind + _indent(''.join(diff))
1824
+
1825
+ # If we're not using diff, then simply list the expected
1826
+ # output followed by the actual output.
1827
+ if want and got:
1828
+ return 'Expected:\n%sGot:\n%s' % (_indent(want), _indent(got))
1829
+ elif want:
1830
+ return 'Expected:\n%sGot nothing\n' % _indent(want)
1831
+ elif got:
1832
+ return 'Expected nothing\nGot:\n%s' % _indent(got)
1833
+ else:
1834
+ return 'Expected nothing\nGot nothing\n'
1835
+
1836
+ class DocTestFailure(Exception):
1837
+ """A DocTest example has failed in debugging mode.
1838
+
1839
+ The exception instance has variables:
1840
+
1841
+ - test: the DocTest object being run
1842
+
1843
+ - example: the Example object that failed
1844
+
1845
+ - got: the actual output
1846
+ """
1847
+ def __init__(self, test, example, got):
1848
+ self.test = test
1849
+ self.example = example
1850
+ self.got = got
1851
+
1852
+ def __str__(self):
1853
+ return str(self.test)
1854
+
1855
+ class UnexpectedException(Exception):
1856
+ """A DocTest example has encountered an unexpected exception
1857
+
1858
+ The exception instance has variables:
1859
+
1860
+ - test: the DocTest object being run
1861
+
1862
+ - example: the Example object that failed
1863
+
1864
+ - exc_info: the exception info
1865
+ """
1866
+ def __init__(self, test, example, exc_info):
1867
+ self.test = test
1868
+ self.example = example
1869
+ self.exc_info = exc_info
1870
+
1871
+ def __str__(self):
1872
+ return str(self.test)
1873
+
1874
+ class DebugRunner(DocTestRunner):
1875
+ r"""Run doc tests but raise an exception as soon as there is a failure.
1876
+
1877
+ If an unexpected exception occurs, an UnexpectedException is raised.
1878
+ It contains the test, the example, and the original exception:
1879
+
1880
+ >>> runner = DebugRunner(verbose=False)
1881
+ >>> test = DocTestParser().get_doctest('>>> raise KeyError\n42',
1882
+ ... {}, 'foo', 'foo.py', 0)
1883
+ >>> try:
1884
+ ... runner.run(test)
1885
+ ... except UnexpectedException as f:
1886
+ ... failure = f
1887
+
1888
+ >>> failure.test is test
1889
+ True
1890
+
1891
+ >>> failure.example.want
1892
+ '42\n'
1893
+
1894
+ >>> exc_info = failure.exc_info
1895
+ >>> raise exc_info[1] # Already has the traceback
1896
+ Traceback (most recent call last):
1897
+ ...
1898
+ KeyError
1899
+
1900
+ We wrap the original exception to give the calling application
1901
+ access to the test and example information.
1902
+
1903
+ If the output doesn't match, then a DocTestFailure is raised:
1904
+
1905
+ >>> test = DocTestParser().get_doctest('''
1906
+ ... >>> x = 1
1907
+ ... >>> x
1908
+ ... 2
1909
+ ... ''', {}, 'foo', 'foo.py', 0)
1910
+
1911
+ >>> try:
1912
+ ... runner.run(test)
1913
+ ... except DocTestFailure as f:
1914
+ ... failure = f
1915
+
1916
+ DocTestFailure objects provide access to the test:
1917
+
1918
+ >>> failure.test is test
1919
+ True
1920
+
1921
+ As well as to the example:
1922
+
1923
+ >>> failure.example.want
1924
+ '2\n'
1925
+
1926
+ and the actual output:
1927
+
1928
+ >>> failure.got
1929
+ '1\n'
1930
+
1931
+ If a failure or error occurs, the globals are left intact:
1932
+
1933
+ >>> del test.globs['__builtins__']
1934
+ >>> test.globs
1935
+ {'x': 1}
1936
+
1937
+ >>> test = DocTestParser().get_doctest('''
1938
+ ... >>> x = 2
1939
+ ... >>> raise KeyError
1940
+ ... ''', {}, 'foo', 'foo.py', 0)
1941
+
1942
+ >>> runner.run(test)
1943
+ Traceback (most recent call last):
1944
+ ...
1945
+ doctest.UnexpectedException: <DocTest foo from foo.py:0 (2 examples)>
1946
+
1947
+ >>> del test.globs['__builtins__']
1948
+ >>> test.globs
1949
+ {'x': 2}
1950
+
1951
+ But the globals are cleared if there is no error:
1952
+
1953
+ >>> test = DocTestParser().get_doctest('''
1954
+ ... >>> x = 2
1955
+ ... ''', {}, 'foo', 'foo.py', 0)
1956
+
1957
+ >>> runner.run(test)
1958
+ TestResults(failed=0, attempted=1)
1959
+
1960
+ >>> test.globs
1961
+ {}
1962
+
1963
+ """
1964
+
1965
+ def run(self, test, compileflags=None, out=None, clear_globs=True):
1966
+ r = DocTestRunner.run(self, test, compileflags, out, False)
1967
+ if clear_globs:
1968
+ test.globs.clear()
1969
+ return r
1970
+
1971
+ def report_unexpected_exception(self, out, test, example, exc_info):
1972
+ raise UnexpectedException(test, example, exc_info)
1973
+
1974
+ def report_failure(self, out, test, example, got):
1975
+ raise DocTestFailure(test, example, got)
1976
+
1977
+ ######################################################################
1978
+ ## 6. Test Functions
1979
+ ######################################################################
1980
+ # These should be backwards compatible.
1981
+
1982
+ # For backward compatibility, a global instance of a DocTestRunner
1983
+ # class, updated by testmod.
1984
+ master = None
1985
+
1986
+ def testmod(m=None, name=None, globs=None, verbose=None,
1987
+ report=True, optionflags=0, extraglobs=None,
1988
+ raise_on_error=False, exclude_empty=False):
1989
+ """m=None, name=None, globs=None, verbose=None, report=True,
1990
+ optionflags=0, extraglobs=None, raise_on_error=False,
1991
+ exclude_empty=False
1992
+
1993
+ Test examples in docstrings in functions and classes reachable
1994
+ from module m (or the current module if m is not supplied), starting
1995
+ with m.__doc__.
1996
+
1997
+ Also test examples reachable from dict m.__test__ if it exists.
1998
+ m.__test__ maps names to functions, classes and strings;
1999
+ function and class docstrings are tested even if the name is private;
2000
+ strings are tested directly, as if they were docstrings.
2001
+
2002
+ Return (#failures, #tests).
2003
+
2004
+ See help(doctest) for an overview.
2005
+
2006
+ Optional keyword arg "name" gives the name of the module; by default
2007
+ use m.__name__.
2008
+
2009
+ Optional keyword arg "globs" gives a dict to be used as the globals
2010
+ when executing examples; by default, use m.__dict__. A copy of this
2011
+ dict is actually used for each docstring, so that each docstring's
2012
+ examples start with a clean slate.
2013
+
2014
+ Optional keyword arg "extraglobs" gives a dictionary that should be
2015
+ merged into the globals that are used to execute examples. By
2016
+ default, no extra globals are used. This is new in 2.4.
2017
+
2018
+ Optional keyword arg "verbose" prints lots of stuff if true, prints
2019
+ only failures if false; by default, it's true iff "-v" is in sys.argv.
2020
+
2021
+ Optional keyword arg "report" prints a summary at the end when true,
2022
+ else prints nothing at the end. In verbose mode, the summary is
2023
+ detailed, else very brief (in fact, empty if all tests passed).
2024
+
2025
+ Optional keyword arg "optionflags" or's together module constants,
2026
+ and defaults to 0. This is new in 2.3. Possible values (see the
2027
+ docs for details):
2028
+
2029
+ DONT_ACCEPT_TRUE_FOR_1
2030
+ DONT_ACCEPT_BLANKLINE
2031
+ NORMALIZE_WHITESPACE
2032
+ ELLIPSIS
2033
+ SKIP
2034
+ IGNORE_EXCEPTION_DETAIL
2035
+ REPORT_UDIFF
2036
+ REPORT_CDIFF
2037
+ REPORT_NDIFF
2038
+ REPORT_ONLY_FIRST_FAILURE
2039
+
2040
+ Optional keyword arg "raise_on_error" raises an exception on the
2041
+ first unexpected exception or failure. This allows failures to be
2042
+ post-mortem debugged.
2043
+
2044
+ Advanced tomfoolery: testmod runs methods of a local instance of
2045
+ class doctest.Tester, then merges the results into (or creates)
2046
+ global Tester instance doctest.master. Methods of doctest.master
2047
+ can be called directly too, if you want to do something unusual.
2048
+ Passing report=0 to testmod is especially useful then, to delay
2049
+ displaying a summary. Invoke doctest.master.summarize(verbose)
2050
+ when you're done fiddling.
2051
+ """
2052
+ global master
2053
+
2054
+ # If no module was given, then use __main__.
2055
+ if m is None:
2056
+ # DWA - m will still be None if this wasn't invoked from the command
2057
+ # line, in which case the following TypeError is about as good an error
2058
+ # as we should expect
2059
+ m = sys.modules.get('__main__')
2060
+
2061
+ # Check that we were actually given a module.
2062
+ if not inspect.ismodule(m):
2063
+ raise TypeError("testmod: module required; %r" % (m,))
2064
+
2065
+ # If no name was given, then use the module's name.
2066
+ if name is None:
2067
+ name = m.__name__
2068
+
2069
+ # Find, parse, and run all tests in the given module.
2070
+ finder = DocTestFinder(exclude_empty=exclude_empty)
2071
+
2072
+ if raise_on_error:
2073
+ runner = DebugRunner(verbose=verbose, optionflags=optionflags)
2074
+ else:
2075
+ runner = DocTestRunner(verbose=verbose, optionflags=optionflags)
2076
+
2077
+ for test in finder.find(m, name, globs=globs, extraglobs=extraglobs):
2078
+ runner.run(test)
2079
+
2080
+ if report:
2081
+ runner.summarize()
2082
+
2083
+ if master is None:
2084
+ master = runner
2085
+ else:
2086
+ master.merge(runner)
2087
+
2088
+ return TestResults(runner.failures, runner.tries, skipped=runner.skips)
2089
+
2090
+
2091
+ def testfile(filename, module_relative=True, name=None, package=None,
2092
+ globs=None, verbose=None, report=True, optionflags=0,
2093
+ extraglobs=None, raise_on_error=False, parser=DocTestParser(),
2094
+ encoding=None):
2095
+ """
2096
+ Test examples in the given file. Return (#failures, #tests).
2097
+
2098
+ Optional keyword arg "module_relative" specifies how filenames
2099
+ should be interpreted:
2100
+
2101
+ - If "module_relative" is True (the default), then "filename"
2102
+ specifies a module-relative path. By default, this path is
2103
+ relative to the calling module's directory; but if the
2104
+ "package" argument is specified, then it is relative to that
2105
+ package. To ensure os-independence, "filename" should use
2106
+ "/" characters to separate path segments, and should not
2107
+ be an absolute path (i.e., it may not begin with "/").
2108
+
2109
+ - If "module_relative" is False, then "filename" specifies an
2110
+ os-specific path. The path may be absolute or relative (to
2111
+ the current working directory).
2112
+
2113
+ Optional keyword arg "name" gives the name of the test; by default
2114
+ use the file's basename.
2115
+
2116
+ Optional keyword argument "package" is a Python package or the
2117
+ name of a Python package whose directory should be used as the
2118
+ base directory for a module relative filename. If no package is
2119
+ specified, then the calling module's directory is used as the base
2120
+ directory for module relative filenames. It is an error to
2121
+ specify "package" if "module_relative" is False.
2122
+
2123
+ Optional keyword arg "globs" gives a dict to be used as the globals
2124
+ when executing examples; by default, use {}. A copy of this dict
2125
+ is actually used for each docstring, so that each docstring's
2126
+ examples start with a clean slate.
2127
+
2128
+ Optional keyword arg "extraglobs" gives a dictionary that should be
2129
+ merged into the globals that are used to execute examples. By
2130
+ default, no extra globals are used.
2131
+
2132
+ Optional keyword arg "verbose" prints lots of stuff if true, prints
2133
+ only failures if false; by default, it's true iff "-v" is in sys.argv.
2134
+
2135
+ Optional keyword arg "report" prints a summary at the end when true,
2136
+ else prints nothing at the end. In verbose mode, the summary is
2137
+ detailed, else very brief (in fact, empty if all tests passed).
2138
+
2139
+ Optional keyword arg "optionflags" or's together module constants,
2140
+ and defaults to 0. Possible values (see the docs for details):
2141
+
2142
+ DONT_ACCEPT_TRUE_FOR_1
2143
+ DONT_ACCEPT_BLANKLINE
2144
+ NORMALIZE_WHITESPACE
2145
+ ELLIPSIS
2146
+ SKIP
2147
+ IGNORE_EXCEPTION_DETAIL
2148
+ REPORT_UDIFF
2149
+ REPORT_CDIFF
2150
+ REPORT_NDIFF
2151
+ REPORT_ONLY_FIRST_FAILURE
2152
+
2153
+ Optional keyword arg "raise_on_error" raises an exception on the
2154
+ first unexpected exception or failure. This allows failures to be
2155
+ post-mortem debugged.
2156
+
2157
+ Optional keyword arg "parser" specifies a DocTestParser (or
2158
+ subclass) that should be used to extract tests from the files.
2159
+
2160
+ Optional keyword arg "encoding" specifies an encoding that should
2161
+ be used to convert the file to unicode.
2162
+
2163
+ Advanced tomfoolery: testmod runs methods of a local instance of
2164
+ class doctest.Tester, then merges the results into (or creates)
2165
+ global Tester instance doctest.master. Methods of doctest.master
2166
+ can be called directly too, if you want to do something unusual.
2167
+ Passing report=0 to testmod is especially useful then, to delay
2168
+ displaying a summary. Invoke doctest.master.summarize(verbose)
2169
+ when you're done fiddling.
2170
+ """
2171
+ global master
2172
+
2173
+ if package and not module_relative:
2174
+ raise ValueError("Package may only be specified for module-"
2175
+ "relative paths.")
2176
+
2177
+ # Relativize the path
2178
+ text, filename = _load_testfile(filename, package, module_relative,
2179
+ encoding or "utf-8")
2180
+
2181
+ # If no name was given, then use the file's name.
2182
+ if name is None:
2183
+ name = os.path.basename(filename)
2184
+
2185
+ # Assemble the globals.
2186
+ if globs is None:
2187
+ globs = {}
2188
+ else:
2189
+ globs = globs.copy()
2190
+ if extraglobs is not None:
2191
+ globs.update(extraglobs)
2192
+ if '__name__' not in globs:
2193
+ globs['__name__'] = '__main__'
2194
+
2195
+ if raise_on_error:
2196
+ runner = DebugRunner(verbose=verbose, optionflags=optionflags)
2197
+ else:
2198
+ runner = DocTestRunner(verbose=verbose, optionflags=optionflags)
2199
+
2200
+ # Read the file, convert it to a test, and run it.
2201
+ test = parser.get_doctest(text, globs, name, filename, 0)
2202
+ runner.run(test)
2203
+
2204
+ if report:
2205
+ runner.summarize()
2206
+
2207
+ if master is None:
2208
+ master = runner
2209
+ else:
2210
+ master.merge(runner)
2211
+
2212
+ return TestResults(runner.failures, runner.tries, skipped=runner.skips)
2213
+
2214
+
2215
+ def run_docstring_examples(f, globs, verbose=False, name="NoName",
2216
+ compileflags=None, optionflags=0):
2217
+ """
2218
+ Test examples in the given object's docstring (`f`), using `globs`
2219
+ as globals. Optional argument `name` is used in failure messages.
2220
+ If the optional argument `verbose` is true, then generate output
2221
+ even if there are no failures.
2222
+
2223
+ `compileflags` gives the set of flags that should be used by the
2224
+ Python compiler when running the examples. If not specified, then
2225
+ it will default to the set of future-import flags that apply to
2226
+ `globs`.
2227
+
2228
+ Optional keyword arg `optionflags` specifies options for the
2229
+ testing and output. See the documentation for `testmod` for more
2230
+ information.
2231
+ """
2232
+ # Find, parse, and run all tests in the given module.
2233
+ finder = DocTestFinder(verbose=verbose, recurse=False)
2234
+ runner = DocTestRunner(verbose=verbose, optionflags=optionflags)
2235
+ for test in finder.find(f, name, globs=globs):
2236
+ runner.run(test, compileflags=compileflags)
2237
+
2238
+ ######################################################################
2239
+ ## 7. Unittest Support
2240
+ ######################################################################
2241
+
2242
+ _unittest_reportflags = 0
2243
+
2244
+ def set_unittest_reportflags(flags):
2245
+ """Sets the unittest option flags.
2246
+
2247
+ The old flag is returned so that a runner could restore the old
2248
+ value if it wished to:
2249
+
2250
+ >>> import doctest
2251
+ >>> old = doctest._unittest_reportflags
2252
+ >>> doctest.set_unittest_reportflags(REPORT_NDIFF |
2253
+ ... REPORT_ONLY_FIRST_FAILURE) == old
2254
+ True
2255
+
2256
+ >>> doctest._unittest_reportflags == (REPORT_NDIFF |
2257
+ ... REPORT_ONLY_FIRST_FAILURE)
2258
+ True
2259
+
2260
+ Only reporting flags can be set:
2261
+
2262
+ >>> doctest.set_unittest_reportflags(ELLIPSIS)
2263
+ Traceback (most recent call last):
2264
+ ...
2265
+ ValueError: ('Only reporting flags allowed', 8)
2266
+
2267
+ >>> doctest.set_unittest_reportflags(old) == (REPORT_NDIFF |
2268
+ ... REPORT_ONLY_FIRST_FAILURE)
2269
+ True
2270
+ """
2271
+ global _unittest_reportflags
2272
+
2273
+ if (flags & REPORTING_FLAGS) != flags:
2274
+ raise ValueError("Only reporting flags allowed", flags)
2275
+ old = _unittest_reportflags
2276
+ _unittest_reportflags = flags
2277
+ return old
2278
+
2279
+
2280
+ class DocTestCase(unittest.TestCase):
2281
+
2282
+ def __init__(self, test, optionflags=0, setUp=None, tearDown=None,
2283
+ checker=None):
2284
+
2285
+ unittest.TestCase.__init__(self)
2286
+ self._dt_optionflags = optionflags
2287
+ self._dt_checker = checker
2288
+ self._dt_test = test
2289
+ self._dt_setUp = setUp
2290
+ self._dt_tearDown = tearDown
2291
+
2292
+ def setUp(self):
2293
+ test = self._dt_test
2294
+ self._dt_globs = test.globs.copy()
2295
+
2296
+ if self._dt_setUp is not None:
2297
+ self._dt_setUp(test)
2298
+
2299
+ def tearDown(self):
2300
+ test = self._dt_test
2301
+
2302
+ if self._dt_tearDown is not None:
2303
+ self._dt_tearDown(test)
2304
+
2305
+ # restore the original globs
2306
+ test.globs.clear()
2307
+ test.globs.update(self._dt_globs)
2308
+
2309
+ def runTest(self):
2310
+ test = self._dt_test
2311
+ old = sys.stdout
2312
+ new = StringIO()
2313
+ optionflags = self._dt_optionflags
2314
+
2315
+ if not (optionflags & REPORTING_FLAGS):
2316
+ # The option flags don't include any reporting flags,
2317
+ # so add the default reporting flags
2318
+ optionflags |= _unittest_reportflags
2319
+
2320
+ runner = DocTestRunner(optionflags=optionflags,
2321
+ checker=self._dt_checker, verbose=False)
2322
+
2323
+ try:
2324
+ runner.DIVIDER = "-"*70
2325
+ results = runner.run(test, out=new.write, clear_globs=False)
2326
+ if results.skipped == results.attempted:
2327
+ raise unittest.SkipTest("all examples were skipped")
2328
+ finally:
2329
+ sys.stdout = old
2330
+
2331
+ if results.failed:
2332
+ raise self.failureException(self.format_failure(new.getvalue().rstrip('\n')))
2333
+
2334
+ def format_failure(self, err):
2335
+ test = self._dt_test
2336
+ if test.lineno is None:
2337
+ lineno = 'unknown line number'
2338
+ else:
2339
+ lineno = '%s' % test.lineno
2340
+ lname = '.'.join(test.name.split('.')[-1:])
2341
+ return ('Failed doctest test for %s\n'
2342
+ ' File "%s", line %s, in %s\n\n%s'
2343
+ % (test.name, test.filename, lineno, lname, err)
2344
+ )
2345
+
2346
+ def debug(self):
2347
+ r"""Run the test case without results and without catching exceptions
2348
+
2349
+ The unit test framework includes a debug method on test cases
2350
+ and test suites to support post-mortem debugging. The test code
2351
+ is run in such a way that errors are not caught. This way a
2352
+ caller can catch the errors and initiate post-mortem debugging.
2353
+
2354
+ The DocTestCase provides a debug method that raises
2355
+ UnexpectedException errors if there is an unexpected
2356
+ exception:
2357
+
2358
+ >>> test = DocTestParser().get_doctest('>>> raise KeyError\n42',
2359
+ ... {}, 'foo', 'foo.py', 0)
2360
+ >>> case = DocTestCase(test)
2361
+ >>> try:
2362
+ ... case.debug()
2363
+ ... except UnexpectedException as f:
2364
+ ... failure = f
2365
+
2366
+ The UnexpectedException contains the test, the example, and
2367
+ the original exception:
2368
+
2369
+ >>> failure.test is test
2370
+ True
2371
+
2372
+ >>> failure.example.want
2373
+ '42\n'
2374
+
2375
+ >>> exc_info = failure.exc_info
2376
+ >>> raise exc_info[1] # Already has the traceback
2377
+ Traceback (most recent call last):
2378
+ ...
2379
+ KeyError
2380
+
2381
+ If the output doesn't match, then a DocTestFailure is raised:
2382
+
2383
+ >>> test = DocTestParser().get_doctest('''
2384
+ ... >>> x = 1
2385
+ ... >>> x
2386
+ ... 2
2387
+ ... ''', {}, 'foo', 'foo.py', 0)
2388
+ >>> case = DocTestCase(test)
2389
+
2390
+ >>> try:
2391
+ ... case.debug()
2392
+ ... except DocTestFailure as f:
2393
+ ... failure = f
2394
+
2395
+ DocTestFailure objects provide access to the test:
2396
+
2397
+ >>> failure.test is test
2398
+ True
2399
+
2400
+ As well as to the example:
2401
+
2402
+ >>> failure.example.want
2403
+ '2\n'
2404
+
2405
+ and the actual output:
2406
+
2407
+ >>> failure.got
2408
+ '1\n'
2409
+
2410
+ """
2411
+
2412
+ self.setUp()
2413
+ runner = DebugRunner(optionflags=self._dt_optionflags,
2414
+ checker=self._dt_checker, verbose=False)
2415
+ runner.run(self._dt_test, clear_globs=False)
2416
+ self.tearDown()
2417
+
2418
+ def id(self):
2419
+ return self._dt_test.name
2420
+
2421
+ def __eq__(self, other):
2422
+ if type(self) is not type(other):
2423
+ return NotImplemented
2424
+
2425
+ return self._dt_test == other._dt_test and \
2426
+ self._dt_optionflags == other._dt_optionflags and \
2427
+ self._dt_setUp == other._dt_setUp and \
2428
+ self._dt_tearDown == other._dt_tearDown and \
2429
+ self._dt_checker == other._dt_checker
2430
+
2431
+ def __hash__(self):
2432
+ return hash((self._dt_optionflags, self._dt_setUp, self._dt_tearDown,
2433
+ self._dt_checker))
2434
+
2435
+ def __repr__(self):
2436
+ name = self._dt_test.name.split('.')
2437
+ return "%s (%s)" % (name[-1], '.'.join(name[:-1]))
2438
+
2439
+ __str__ = object.__str__
2440
+
2441
+ def shortDescription(self):
2442
+ return "Doctest: " + self._dt_test.name
2443
+
2444
+ class SkipDocTestCase(DocTestCase):
2445
+ def __init__(self, module):
2446
+ self.module = module
2447
+ DocTestCase.__init__(self, None)
2448
+
2449
+ def setUp(self):
2450
+ self.skipTest("DocTestSuite will not work with -O2 and above")
2451
+
2452
+ def test_skip(self):
2453
+ pass
2454
+
2455
+ def shortDescription(self):
2456
+ return "Skipping tests from %s" % self.module.__name__
2457
+
2458
+ __str__ = shortDescription
2459
+
2460
+
2461
+ class _DocTestSuite(unittest.TestSuite):
2462
+
2463
+ def _removeTestAtIndex(self, index):
2464
+ pass
2465
+
2466
+
2467
+ def DocTestSuite(module=None, globs=None, extraglobs=None, test_finder=None,
2468
+ **options):
2469
+ """
2470
+ Convert doctest tests for a module to a unittest test suite.
2471
+
2472
+ This converts each documentation string in a module that
2473
+ contains doctest tests to a unittest test case. If any of the
2474
+ tests in a doc string fail, then the test case fails. An exception
2475
+ is raised showing the name of the file containing the test and a
2476
+ (sometimes approximate) line number.
2477
+
2478
+ The `module` argument provides the module to be tested. The argument
2479
+ can be either a module or a module name.
2480
+
2481
+ If no argument is given, the calling module is used.
2482
+
2483
+ A number of options may be provided as keyword arguments:
2484
+
2485
+ setUp
2486
+ A set-up function. This is called before running the
2487
+ tests in each file. The setUp function will be passed a DocTest
2488
+ object. The setUp function can access the test globals as the
2489
+ globs attribute of the test passed.
2490
+
2491
+ tearDown
2492
+ A tear-down function. This is called after running the
2493
+ tests in each file. The tearDown function will be passed a DocTest
2494
+ object. The tearDown function can access the test globals as the
2495
+ globs attribute of the test passed.
2496
+
2497
+ globs
2498
+ A dictionary containing initial global variables for the tests.
2499
+
2500
+ optionflags
2501
+ A set of doctest option flags expressed as an integer.
2502
+ """
2503
+
2504
+ if test_finder is None:
2505
+ test_finder = DocTestFinder()
2506
+
2507
+ module = _normalize_module(module)
2508
+ tests = test_finder.find(module, globs=globs, extraglobs=extraglobs)
2509
+
2510
+ if not tests and sys.flags.optimize >=2:
2511
+ # Skip doctests when running with -O2
2512
+ suite = _DocTestSuite()
2513
+ suite.addTest(SkipDocTestCase(module))
2514
+ return suite
2515
+
2516
+ tests.sort()
2517
+ suite = _DocTestSuite()
2518
+
2519
+ for test in tests:
2520
+ if len(test.examples) == 0:
2521
+ continue
2522
+ if not test.filename:
2523
+ filename = module.__file__
2524
+ if filename[-4:] == ".pyc":
2525
+ filename = filename[:-1]
2526
+ test.filename = filename
2527
+ suite.addTest(DocTestCase(test, **options))
2528
+
2529
+ return suite
2530
+
2531
+ class DocFileCase(DocTestCase):
2532
+
2533
+ def id(self):
2534
+ return '_'.join(self._dt_test.name.split('.'))
2535
+
2536
+ def __repr__(self):
2537
+ return self._dt_test.filename
2538
+
2539
+ def format_failure(self, err):
2540
+ return ('Failed doctest test for %s\n File "%s", line 0\n\n%s'
2541
+ % (self._dt_test.name, self._dt_test.filename, err)
2542
+ )
2543
+
2544
+ def DocFileTest(path, module_relative=True, package=None,
2545
+ globs=None, parser=DocTestParser(),
2546
+ encoding=None, **options):
2547
+ if globs is None:
2548
+ globs = {}
2549
+ else:
2550
+ globs = globs.copy()
2551
+
2552
+ if package and not module_relative:
2553
+ raise ValueError("Package may only be specified for module-"
2554
+ "relative paths.")
2555
+
2556
+ # Relativize the path.
2557
+ doc, path = _load_testfile(path, package, module_relative,
2558
+ encoding or "utf-8")
2559
+
2560
+ if "__file__" not in globs:
2561
+ globs["__file__"] = path
2562
+
2563
+ # Find the file and read it.
2564
+ name = os.path.basename(path)
2565
+
2566
+ # Convert it to a test, and wrap it in a DocFileCase.
2567
+ test = parser.get_doctest(doc, globs, name, path, 0)
2568
+ return DocFileCase(test, **options)
2569
+
2570
+ def DocFileSuite(*paths, **kw):
2571
+ """A unittest suite for one or more doctest files.
2572
+
2573
+ The path to each doctest file is given as a string; the
2574
+ interpretation of that string depends on the keyword argument
2575
+ "module_relative".
2576
+
2577
+ A number of options may be provided as keyword arguments:
2578
+
2579
+ module_relative
2580
+ If "module_relative" is True, then the given file paths are
2581
+ interpreted as os-independent module-relative paths. By
2582
+ default, these paths are relative to the calling module's
2583
+ directory; but if the "package" argument is specified, then
2584
+ they are relative to that package. To ensure os-independence,
2585
+ "filename" should use "/" characters to separate path
2586
+ segments, and may not be an absolute path (i.e., it may not
2587
+ begin with "/").
2588
+
2589
+ If "module_relative" is False, then the given file paths are
2590
+ interpreted as os-specific paths. These paths may be absolute
2591
+ or relative (to the current working directory).
2592
+
2593
+ package
2594
+ A Python package or the name of a Python package whose directory
2595
+ should be used as the base directory for module relative paths.
2596
+ If "package" is not specified, then the calling module's
2597
+ directory is used as the base directory for module relative
2598
+ filenames. It is an error to specify "package" if
2599
+ "module_relative" is False.
2600
+
2601
+ setUp
2602
+ A set-up function. This is called before running the
2603
+ tests in each file. The setUp function will be passed a DocTest
2604
+ object. The setUp function can access the test globals as the
2605
+ globs attribute of the test passed.
2606
+
2607
+ tearDown
2608
+ A tear-down function. This is called after running the
2609
+ tests in each file. The tearDown function will be passed a DocTest
2610
+ object. The tearDown function can access the test globals as the
2611
+ globs attribute of the test passed.
2612
+
2613
+ globs
2614
+ A dictionary containing initial global variables for the tests.
2615
+
2616
+ optionflags
2617
+ A set of doctest option flags expressed as an integer.
2618
+
2619
+ parser
2620
+ A DocTestParser (or subclass) that should be used to extract
2621
+ tests from the files.
2622
+
2623
+ encoding
2624
+ An encoding that will be used to convert the files to unicode.
2625
+ """
2626
+ suite = _DocTestSuite()
2627
+
2628
+ # We do this here so that _normalize_module is called at the right
2629
+ # level. If it were called in DocFileTest, then this function
2630
+ # would be the caller and we might guess the package incorrectly.
2631
+ if kw.get('module_relative', True):
2632
+ kw['package'] = _normalize_module(kw.get('package'))
2633
+
2634
+ for path in paths:
2635
+ suite.addTest(DocFileTest(path, **kw))
2636
+
2637
+ return suite
2638
+
2639
+ ######################################################################
2640
+ ## 8. Debugging Support
2641
+ ######################################################################
2642
+
2643
+ def script_from_examples(s):
2644
+ r"""Extract script from text with examples.
2645
+
2646
+ Converts text with examples to a Python script. Example input is
2647
+ converted to regular code. Example output and all other words
2648
+ are converted to comments:
2649
+
2650
+ >>> text = '''
2651
+ ... Here are examples of simple math.
2652
+ ...
2653
+ ... Python has super accurate integer addition
2654
+ ...
2655
+ ... >>> 2 + 2
2656
+ ... 5
2657
+ ...
2658
+ ... And very friendly error messages:
2659
+ ...
2660
+ ... >>> 1/0
2661
+ ... To Infinity
2662
+ ... And
2663
+ ... Beyond
2664
+ ...
2665
+ ... You can use logic if you want:
2666
+ ...
2667
+ ... >>> if 0:
2668
+ ... ... blah
2669
+ ... ... blah
2670
+ ... ...
2671
+ ...
2672
+ ... Ho hum
2673
+ ... '''
2674
+
2675
+ >>> print(script_from_examples(text))
2676
+ # Here are examples of simple math.
2677
+ #
2678
+ # Python has super accurate integer addition
2679
+ #
2680
+ 2 + 2
2681
+ # Expected:
2682
+ ## 5
2683
+ #
2684
+ # And very friendly error messages:
2685
+ #
2686
+ 1/0
2687
+ # Expected:
2688
+ ## To Infinity
2689
+ ## And
2690
+ ## Beyond
2691
+ #
2692
+ # You can use logic if you want:
2693
+ #
2694
+ if 0:
2695
+ blah
2696
+ blah
2697
+ #
2698
+ # Ho hum
2699
+ <BLANKLINE>
2700
+ """
2701
+ output = []
2702
+ for piece in DocTestParser().parse(s):
2703
+ if isinstance(piece, Example):
2704
+ # Add the example's source code (strip trailing NL)
2705
+ output.append(piece.source[:-1])
2706
+ # Add the expected output:
2707
+ want = piece.want
2708
+ if want:
2709
+ output.append('# Expected:')
2710
+ output += ['## '+l for l in want.split('\n')[:-1]]
2711
+ else:
2712
+ # Add non-example text.
2713
+ output += [_comment_line(l)
2714
+ for l in piece.split('\n')[:-1]]
2715
+
2716
+ # Trim junk on both ends.
2717
+ while output and output[-1] == '#':
2718
+ output.pop()
2719
+ while output and output[0] == '#':
2720
+ output.pop(0)
2721
+ # Combine the output, and return it.
2722
+ # Add a courtesy newline to prevent exec from choking (see bug #1172785)
2723
+ return '\n'.join(output) + '\n'
2724
+
2725
+ def testsource(module, name):
2726
+ """Extract the test sources from a doctest docstring as a script.
2727
+
2728
+ Provide the module (or dotted name of the module) containing the
2729
+ test to be debugged and the name (within the module) of the object
2730
+ with the doc string with tests to be debugged.
2731
+ """
2732
+ module = _normalize_module(module)
2733
+ tests = DocTestFinder().find(module)
2734
+ test = [t for t in tests if t.name == name]
2735
+ if not test:
2736
+ raise ValueError(name, "not found in tests")
2737
+ test = test[0]
2738
+ testsrc = script_from_examples(test.docstring)
2739
+ return testsrc
2740
+
2741
+ def debug_src(src, pm=False, globs=None):
2742
+ """Debug a single doctest docstring, in argument `src`"""
2743
+ testsrc = script_from_examples(src)
2744
+ debug_script(testsrc, pm, globs)
2745
+
2746
+ def debug_script(src, pm=False, globs=None):
2747
+ "Debug a test script. `src` is the script, as a string."
2748
+ import pdb
2749
+
2750
+ if globs:
2751
+ globs = globs.copy()
2752
+ else:
2753
+ globs = {}
2754
+
2755
+ if pm:
2756
+ try:
2757
+ exec(src, globs, globs)
2758
+ except:
2759
+ print(sys.exc_info()[1])
2760
+ p = pdb.Pdb(nosigint=True)
2761
+ p.reset()
2762
+ p.interaction(None, sys.exc_info()[2])
2763
+ else:
2764
+ pdb.Pdb(nosigint=True).run("exec(%r)" % src, globs, globs)
2765
+
2766
+ def debug(module, name, pm=False):
2767
+ """Debug a single doctest docstring.
2768
+
2769
+ Provide the module (or dotted name of the module) containing the
2770
+ test to be debugged and the name (within the module) of the object
2771
+ with the docstring with tests to be debugged.
2772
+ """
2773
+ module = _normalize_module(module)
2774
+ testsrc = testsource(module, name)
2775
+ debug_script(testsrc, pm, module.__dict__)
2776
+
2777
+ ######################################################################
2778
+ ## 9. Example Usage
2779
+ ######################################################################
2780
+ class _TestClass:
2781
+ """
2782
+ A pointless class, for sanity-checking of docstring testing.
2783
+
2784
+ Methods:
2785
+ square()
2786
+ get()
2787
+
2788
+ >>> _TestClass(13).get() + _TestClass(-12).get()
2789
+ 1
2790
+ >>> hex(_TestClass(13).square().get())
2791
+ '0xa9'
2792
+ """
2793
+
2794
+ def __init__(self, val):
2795
+ """val -> _TestClass object with associated value val.
2796
+
2797
+ >>> t = _TestClass(123)
2798
+ >>> print(t.get())
2799
+ 123
2800
+ """
2801
+
2802
+ self.val = val
2803
+
2804
+ def square(self):
2805
+ """square() -> square TestClass's associated value
2806
+
2807
+ >>> _TestClass(13).square().get()
2808
+ 169
2809
+ """
2810
+
2811
+ self.val = self.val ** 2
2812
+ return self
2813
+
2814
+ def get(self):
2815
+ """get() -> return TestClass's associated value.
2816
+
2817
+ >>> x = _TestClass(-42)
2818
+ >>> print(x.get())
2819
+ -42
2820
+ """
2821
+
2822
+ return self.val
2823
+
2824
+ __test__ = {"_TestClass": _TestClass,
2825
+ "string": r"""
2826
+ Example of a string object, searched as-is.
2827
+ >>> x = 1; y = 2
2828
+ >>> x + y, x * y
2829
+ (3, 2)
2830
+ """,
2831
+
2832
+ "bool-int equivalence": r"""
2833
+ In 2.2, boolean expressions displayed
2834
+ 0 or 1. By default, we still accept
2835
+ them. This can be disabled by passing
2836
+ DONT_ACCEPT_TRUE_FOR_1 to the new
2837
+ optionflags argument.
2838
+ >>> 4 == 4
2839
+ 1
2840
+ >>> 4 == 4
2841
+ True
2842
+ >>> 4 > 4
2843
+ 0
2844
+ >>> 4 > 4
2845
+ False
2846
+ """,
2847
+
2848
+ "blank lines": r"""
2849
+ Blank lines can be marked with <BLANKLINE>:
2850
+ >>> print('foo\n\nbar\n')
2851
+ foo
2852
+ <BLANKLINE>
2853
+ bar
2854
+ <BLANKLINE>
2855
+ """,
2856
+
2857
+ "ellipsis": r"""
2858
+ If the ellipsis flag is used, then '...' can be used to
2859
+ elide substrings in the desired output:
2860
+ >>> print(list(range(1000))) #doctest: +ELLIPSIS
2861
+ [0, 1, 2, ..., 999]
2862
+ """,
2863
+
2864
+ "whitespace normalization": r"""
2865
+ If the whitespace normalization flag is used, then
2866
+ differences in whitespace are ignored.
2867
+ >>> print(list(range(30))) #doctest: +NORMALIZE_WHITESPACE
2868
+ [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
2869
+ 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
2870
+ 27, 28, 29]
2871
+ """,
2872
+ }
2873
+
2874
+
2875
+ def _test():
2876
+ import argparse
2877
+
2878
+ parser = argparse.ArgumentParser(description="doctest runner", color=True)
2879
+ parser.add_argument('-v', '--verbose', action='store_true', default=False,
2880
+ help='print very verbose output for all tests')
2881
+ parser.add_argument('-o', '--option', action='append',
2882
+ choices=OPTIONFLAGS_BY_NAME.keys(), default=[],
2883
+ help=('specify a doctest option flag to apply'
2884
+ ' to the test run; may be specified more'
2885
+ ' than once to apply multiple options'))
2886
+ parser.add_argument('-f', '--fail-fast', action='store_true',
2887
+ help=('stop running tests after first failure (this'
2888
+ ' is a shorthand for -o FAIL_FAST, and is'
2889
+ ' in addition to any other -o options)'))
2890
+ parser.add_argument('file', nargs='+',
2891
+ help='file containing the tests to run')
2892
+ args = parser.parse_args()
2893
+ testfiles = args.file
2894
+ # Verbose used to be handled by the "inspect argv" magic in DocTestRunner,
2895
+ # but since we are using argparse we are passing it manually now.
2896
+ verbose = args.verbose
2897
+ options = 0
2898
+ for option in args.option:
2899
+ options |= OPTIONFLAGS_BY_NAME[option]
2900
+ if args.fail_fast:
2901
+ options |= FAIL_FAST
2902
+ for filename in testfiles:
2903
+ if filename.endswith(".py"):
2904
+ # It is a module -- insert its dir into sys.path and try to
2905
+ # import it. If it is part of a package, that possibly
2906
+ # won't work because of package imports.
2907
+ dirname, filename = os.path.split(filename)
2908
+ sys.path.insert(0, dirname)
2909
+ m = __import__(filename[:-3])
2910
+ del sys.path[0]
2911
+ failures, _ = testmod(m, verbose=verbose, optionflags=options)
2912
+ else:
2913
+ failures, _ = testfile(filename, module_relative=False,
2914
+ verbose=verbose, optionflags=options)
2915
+ if failures:
2916
+ return 1
2917
+ return 0
2918
+
2919
+
2920
+ if __name__ == "__main__":
2921
+ sys.exit(_test())