@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,2876 @@
1
+ """Generate Python documentation in HTML or text for interactive use.
2
+
3
+ At the Python interactive prompt, calling help(thing) on a Python object
4
+ documents the object, and calling help() starts up an interactive
5
+ help session.
6
+
7
+ Or, at the shell command line outside of Python:
8
+
9
+ Run "pydoc <name>" to show documentation on something. <name> may be
10
+ the name of a function, module, package, or a dotted reference to a
11
+ class or function within a module or module in a package. If the
12
+ argument contains a path segment delimiter (e.g. slash on Unix,
13
+ backslash on Windows) it is treated as the path to a Python source file.
14
+
15
+ Run "pydoc -k <keyword>" to search for a keyword in the synopsis lines
16
+ of all available modules.
17
+
18
+ Run "pydoc -n <hostname>" to start an HTTP server with the given
19
+ hostname (default: localhost) on the local machine.
20
+
21
+ Run "pydoc -p <port>" to start an HTTP server on the given port on the
22
+ local machine. Port number 0 can be used to get an arbitrary unused port.
23
+
24
+ Run "pydoc -b" to start an HTTP server on an arbitrary unused port and
25
+ open a web browser to interactively browse documentation. Combine with
26
+ the -n and -p options to control the hostname and port used.
27
+
28
+ Run "pydoc -w <name>" to write out the HTML documentation for a module
29
+ to a file named "<name>.html".
30
+
31
+ Module docs for core modules are assumed to be in
32
+
33
+ https://docs.python.org/X.Y/library/
34
+
35
+ This can be overridden by setting the PYTHONDOCS environment variable
36
+ to a different URL or to a local directory containing the Library
37
+ Reference Manual pages.
38
+ """
39
+ __all__ = ['help']
40
+ __author__ = "Ka-Ping Yee <ping@lfw.org>"
41
+ __date__ = "26 February 2001"
42
+
43
+ __credits__ = """Guido van Rossum, for an excellent programming language.
44
+ Tommy Burnette, the original creator of manpy.
45
+ Paul Prescod, for all his work on onlinehelp.
46
+ Richard Chamberlain, for the first implementation of textdoc.
47
+ """
48
+
49
+ # Known bugs that can't be fixed here:
50
+ # - synopsis() cannot be prevented from clobbering existing
51
+ # loaded modules.
52
+ # - If the __file__ attribute on a module is a relative path and
53
+ # the current directory is changed with os.chdir(), an incorrect
54
+ # path will be displayed.
55
+
56
+ import ast
57
+ import __future__
58
+ import builtins
59
+ import importlib._bootstrap
60
+ import importlib._bootstrap_external
61
+ import importlib.machinery
62
+ import importlib.util
63
+ import inspect
64
+ import io
65
+ import os
66
+ import pkgutil
67
+ import platform
68
+ import re
69
+ import sys
70
+ import sysconfig
71
+ import textwrap
72
+ import time
73
+ import tokenize
74
+ import urllib.parse
75
+ import warnings
76
+ from annotationlib import Format
77
+ from collections import deque
78
+ from reprlib import Repr
79
+ from traceback import format_exception_only
80
+
81
+ from _pyrepl.pager import (get_pager, pipe_pager,
82
+ plain_pager, tempfile_pager, tty_pager)
83
+
84
+ # Expose plain() as pydoc.plain()
85
+ from _pyrepl.pager import plain # noqa: F401
86
+
87
+
88
+ # --------------------------------------------------------- old names
89
+
90
+ getpager = get_pager
91
+ pipepager = pipe_pager
92
+ plainpager = plain_pager
93
+ tempfilepager = tempfile_pager
94
+ ttypager = tty_pager
95
+
96
+
97
+ # --------------------------------------------------------- common routines
98
+
99
+ def pathdirs():
100
+ """Convert sys.path into a list of absolute, existing, unique paths."""
101
+ dirs = []
102
+ normdirs = []
103
+ for dir in sys.path:
104
+ dir = os.path.abspath(dir or '.')
105
+ normdir = os.path.normcase(dir)
106
+ if normdir not in normdirs and os.path.isdir(dir):
107
+ dirs.append(dir)
108
+ normdirs.append(normdir)
109
+ return dirs
110
+
111
+ def _findclass(func):
112
+ cls = sys.modules.get(func.__module__)
113
+ if cls is None:
114
+ return None
115
+ for name in func.__qualname__.split('.')[:-1]:
116
+ cls = getattr(cls, name)
117
+ if not inspect.isclass(cls):
118
+ return None
119
+ return cls
120
+
121
+ def _finddoc(obj):
122
+ if inspect.ismethod(obj):
123
+ name = obj.__func__.__name__
124
+ self = obj.__self__
125
+ if (inspect.isclass(self) and
126
+ getattr(getattr(self, name, None), '__func__') is obj.__func__):
127
+ # classmethod
128
+ cls = self
129
+ else:
130
+ cls = self.__class__
131
+ elif inspect.isfunction(obj):
132
+ name = obj.__name__
133
+ cls = _findclass(obj)
134
+ if cls is None or getattr(cls, name) is not obj:
135
+ return None
136
+ elif inspect.isbuiltin(obj):
137
+ name = obj.__name__
138
+ self = obj.__self__
139
+ if (inspect.isclass(self) and
140
+ self.__qualname__ + '.' + name == obj.__qualname__):
141
+ # classmethod
142
+ cls = self
143
+ else:
144
+ cls = self.__class__
145
+ # Should be tested before isdatadescriptor().
146
+ elif isinstance(obj, property):
147
+ name = obj.__name__
148
+ cls = _findclass(obj.fget)
149
+ if cls is None or getattr(cls, name) is not obj:
150
+ return None
151
+ elif inspect.ismethoddescriptor(obj) or inspect.isdatadescriptor(obj):
152
+ name = obj.__name__
153
+ cls = obj.__objclass__
154
+ if getattr(cls, name) is not obj:
155
+ return None
156
+ if inspect.ismemberdescriptor(obj):
157
+ slots = getattr(cls, '__slots__', None)
158
+ if isinstance(slots, dict) and name in slots:
159
+ return slots[name]
160
+ else:
161
+ return None
162
+ for base in cls.__mro__:
163
+ try:
164
+ doc = _getowndoc(getattr(base, name))
165
+ except AttributeError:
166
+ continue
167
+ if doc is not None:
168
+ return doc
169
+ return None
170
+
171
+ def _getowndoc(obj):
172
+ """Get the documentation string for an object if it is not
173
+ inherited from its class."""
174
+ try:
175
+ doc = object.__getattribute__(obj, '__doc__')
176
+ if doc is None:
177
+ return None
178
+ if obj is not type:
179
+ typedoc = type(obj).__doc__
180
+ if isinstance(typedoc, str) and typedoc == doc:
181
+ return None
182
+ return doc
183
+ except AttributeError:
184
+ return None
185
+
186
+ def _getdoc(object):
187
+ """Get the documentation string for an object.
188
+
189
+ All tabs are expanded to spaces. To clean up docstrings that are
190
+ indented to line up with blocks of code, any whitespace than can be
191
+ uniformly removed from the second line onwards is removed."""
192
+ doc = _getowndoc(object)
193
+ if doc is None:
194
+ try:
195
+ doc = _finddoc(object)
196
+ except (AttributeError, TypeError):
197
+ return None
198
+ if not isinstance(doc, str):
199
+ return None
200
+ return inspect.cleandoc(doc)
201
+
202
+ def getdoc(object):
203
+ """Get the doc string or comments for an object."""
204
+ result = _getdoc(object) or inspect.getcomments(object)
205
+ return result and re.sub('^ *\n', '', result.rstrip()) or ''
206
+
207
+ def splitdoc(doc):
208
+ """Split a doc string into a synopsis line (if any) and the rest."""
209
+ lines = doc.strip().split('\n')
210
+ if len(lines) == 1:
211
+ return lines[0], ''
212
+ elif len(lines) >= 2 and not lines[1].rstrip():
213
+ return lines[0], '\n'.join(lines[2:])
214
+ return '', '\n'.join(lines)
215
+
216
+ def _getargspec(object):
217
+ try:
218
+ signature = inspect.signature(object, annotation_format=Format.STRING)
219
+ if signature:
220
+ name = getattr(object, '__name__', '')
221
+ # <lambda> function are always single-line and should not be formatted
222
+ max_width = (80 - len(name)) if name != '<lambda>' else None
223
+ return signature.format(max_width=max_width, quote_annotation_strings=False)
224
+ except (ValueError, TypeError):
225
+ argspec = getattr(object, '__text_signature__', None)
226
+ if argspec:
227
+ if argspec[:2] == '($':
228
+ argspec = '(' + argspec[2:]
229
+ if getattr(object, '__self__', None) is not None:
230
+ # Strip the bound argument.
231
+ m = re.match(r'\(\w+(?:(?=\))|,\s*(?:/(?:(?=\))|,\s*))?)', argspec)
232
+ if m:
233
+ argspec = '(' + argspec[m.end():]
234
+ return argspec
235
+ return None
236
+
237
+ def classname(object, modname):
238
+ """Get a class name and qualify it with a module name if necessary."""
239
+ name = object.__name__
240
+ if object.__module__ != modname:
241
+ name = object.__module__ + '.' + name
242
+ return name
243
+
244
+ def parentname(object, modname):
245
+ """Get a name of the enclosing class (qualified it with a module name
246
+ if necessary) or module."""
247
+ if '.' in object.__qualname__:
248
+ name = object.__qualname__.rpartition('.')[0]
249
+ if object.__module__ != modname and object.__module__ is not None:
250
+ return object.__module__ + '.' + name
251
+ else:
252
+ return name
253
+ else:
254
+ if object.__module__ != modname:
255
+ return object.__module__
256
+
257
+ def isdata(object):
258
+ """Check if an object is of a type that probably means it's data."""
259
+ return not (inspect.ismodule(object) or inspect.isclass(object) or
260
+ inspect.isroutine(object) or inspect.isframe(object) or
261
+ inspect.istraceback(object) or inspect.iscode(object))
262
+
263
+ def replace(text, *pairs):
264
+ """Do a series of global replacements on a string."""
265
+ while pairs:
266
+ text = pairs[1].join(text.split(pairs[0]))
267
+ pairs = pairs[2:]
268
+ return text
269
+
270
+ def cram(text, maxlen):
271
+ """Omit part of a string if needed to make it fit in a maximum length."""
272
+ if len(text) > maxlen:
273
+ pre = max(0, (maxlen-3)//2)
274
+ post = max(0, maxlen-3-pre)
275
+ return text[:pre] + '...' + text[len(text)-post:]
276
+ return text
277
+
278
+ _re_stripid = re.compile(r' at 0x[0-9a-f]{6,16}(>+)$', re.IGNORECASE)
279
+ def stripid(text):
280
+ """Remove the hexadecimal id from a Python object representation."""
281
+ # The behaviour of %p is implementation-dependent in terms of case.
282
+ return _re_stripid.sub(r'\1', text)
283
+
284
+ def _is_bound_method(fn):
285
+ """
286
+ Returns True if fn is a bound method, regardless of whether
287
+ fn was implemented in Python or in C.
288
+ """
289
+ if inspect.ismethod(fn):
290
+ return True
291
+ if inspect.isbuiltin(fn):
292
+ self = getattr(fn, '__self__', None)
293
+ return not (inspect.ismodule(self) or (self is None))
294
+ return False
295
+
296
+
297
+ def allmethods(cl):
298
+ methods = {}
299
+ for key, value in inspect.getmembers(cl, inspect.isroutine):
300
+ methods[key] = 1
301
+ for base in cl.__bases__:
302
+ methods.update(allmethods(base)) # all your base are belong to us
303
+ for key in methods.keys():
304
+ methods[key] = getattr(cl, key)
305
+ return methods
306
+
307
+ def _split_list(s, predicate):
308
+ """Split sequence s via predicate, and return pair ([true], [false]).
309
+
310
+ The return value is a 2-tuple of lists,
311
+ ([x for x in s if predicate(x)],
312
+ [x for x in s if not predicate(x)])
313
+ """
314
+
315
+ yes = []
316
+ no = []
317
+ for x in s:
318
+ if predicate(x):
319
+ yes.append(x)
320
+ else:
321
+ no.append(x)
322
+ return yes, no
323
+
324
+ _future_feature_names = set(__future__.all_feature_names)
325
+
326
+ def visiblename(name, all=None, obj=None):
327
+ """Decide whether to show documentation on a variable."""
328
+ # Certain special names are redundant or internal.
329
+ # XXX Remove __initializing__?
330
+ if name in {'__author__', '__builtins__', '__cached__', '__credits__',
331
+ '__date__', '__doc__', '__file__', '__spec__',
332
+ '__loader__', '__module__', '__name__', '__package__',
333
+ '__path__', '__qualname__', '__slots__', '__version__',
334
+ '__static_attributes__', '__firstlineno__',
335
+ '__annotate_func__', '__annotations_cache__'}:
336
+ return 0
337
+ # Private names are hidden, but special names are displayed.
338
+ if name.startswith('__') and name.endswith('__'): return 1
339
+ # Namedtuples have public fields and methods with a single leading underscore
340
+ if name.startswith('_') and hasattr(obj, '_fields'):
341
+ return True
342
+ # Ignore __future__ imports.
343
+ if obj is not __future__ and name in _future_feature_names:
344
+ if isinstance(getattr(obj, name, None), __future__._Feature):
345
+ return False
346
+ if all is not None:
347
+ # only document that which the programmer exported in __all__
348
+ return name in all
349
+ else:
350
+ return not name.startswith('_')
351
+
352
+ def classify_class_attrs(object):
353
+ """Wrap inspect.classify_class_attrs, with fixup for data descriptors and bound methods."""
354
+ results = []
355
+ for (name, kind, cls, value) in inspect.classify_class_attrs(object):
356
+ if inspect.isdatadescriptor(value):
357
+ kind = 'data descriptor'
358
+ if isinstance(value, property) and value.fset is None:
359
+ kind = 'readonly property'
360
+ elif kind == 'method' and _is_bound_method(value):
361
+ kind = 'static method'
362
+ results.append((name, kind, cls, value))
363
+ return results
364
+
365
+ def sort_attributes(attrs, object):
366
+ 'Sort the attrs list in-place by _fields and then alphabetically by name'
367
+ # This allows data descriptors to be ordered according
368
+ # to a _fields attribute if present.
369
+ fields = getattr(object, '_fields', [])
370
+ try:
371
+ field_order = {name : i-len(fields) for (i, name) in enumerate(fields)}
372
+ except TypeError:
373
+ field_order = {}
374
+ keyfunc = lambda attr: (field_order.get(attr[0], 0), attr[0])
375
+ attrs.sort(key=keyfunc)
376
+
377
+ # ----------------------------------------------------- module manipulation
378
+
379
+ def ispackage(path):
380
+ """Guess whether a path refers to a package directory."""
381
+ warnings.warn('The pydoc.ispackage() function is deprecated',
382
+ DeprecationWarning, stacklevel=2)
383
+ if os.path.isdir(path):
384
+ for ext in ('.py', '.pyc'):
385
+ if os.path.isfile(os.path.join(path, '__init__' + ext)):
386
+ return True
387
+ return False
388
+
389
+ def source_synopsis(file):
390
+ """Return the one-line summary of a file object, if present"""
391
+
392
+ string = ''
393
+ try:
394
+ tokens = tokenize.generate_tokens(file.readline)
395
+ for tok_type, tok_string, _, _, _ in tokens:
396
+ if tok_type == tokenize.STRING:
397
+ string += tok_string
398
+ elif tok_type == tokenize.NEWLINE:
399
+ with warnings.catch_warnings():
400
+ # Ignore the "invalid escape sequence" warning.
401
+ warnings.simplefilter("ignore", SyntaxWarning)
402
+ docstring = ast.literal_eval(string)
403
+ if not isinstance(docstring, str):
404
+ return None
405
+ return docstring.strip().split('\n')[0].strip()
406
+ elif tok_type == tokenize.OP and tok_string in ('(', ')'):
407
+ string += tok_string
408
+ elif tok_type not in (tokenize.COMMENT, tokenize.NL, tokenize.ENCODING):
409
+ return None
410
+ except (tokenize.TokenError, UnicodeDecodeError, SyntaxError):
411
+ return None
412
+ return None
413
+
414
+ def synopsis(filename, cache={}):
415
+ """Get the one-line summary out of a module file."""
416
+ mtime = os.stat(filename).st_mtime
417
+ lastupdate, result = cache.get(filename, (None, None))
418
+ if lastupdate is None or lastupdate < mtime:
419
+ # Look for binary suffixes first, falling back to source.
420
+ if filename.endswith(tuple(importlib.machinery.BYTECODE_SUFFIXES)):
421
+ loader_cls = importlib.machinery.SourcelessFileLoader
422
+ elif filename.endswith(tuple(importlib.machinery.EXTENSION_SUFFIXES)):
423
+ loader_cls = importlib.machinery.ExtensionFileLoader
424
+ else:
425
+ loader_cls = None
426
+ # Now handle the choice.
427
+ if loader_cls is None:
428
+ # Must be a source file.
429
+ try:
430
+ file = tokenize.open(filename)
431
+ except OSError:
432
+ # module can't be opened, so skip it
433
+ return None
434
+ # text modules can be directly examined
435
+ with file:
436
+ result = source_synopsis(file)
437
+ else:
438
+ # Must be a binary module, which has to be imported.
439
+ loader = loader_cls('__temp__', filename)
440
+ # XXX We probably don't need to pass in the loader here.
441
+ spec = importlib.util.spec_from_file_location('__temp__', filename,
442
+ loader=loader)
443
+ try:
444
+ module = importlib._bootstrap._load(spec)
445
+ except:
446
+ return None
447
+ del sys.modules['__temp__']
448
+ result = module.__doc__.splitlines()[0] if module.__doc__ else None
449
+ # Cache the result.
450
+ cache[filename] = (mtime, result)
451
+ return result
452
+
453
+ class ErrorDuringImport(Exception):
454
+ """Errors that occurred while trying to import something to document it."""
455
+ def __init__(self, filename, exc_info):
456
+ if not isinstance(exc_info, tuple):
457
+ assert isinstance(exc_info, BaseException)
458
+ self.exc = type(exc_info)
459
+ self.value = exc_info
460
+ self.tb = exc_info.__traceback__
461
+ else:
462
+ warnings.warn("A tuple value for exc_info is deprecated, use an exception instance",
463
+ DeprecationWarning)
464
+
465
+ self.exc, self.value, self.tb = exc_info
466
+ self.filename = filename
467
+
468
+ def __str__(self):
469
+ exc = self.exc.__name__
470
+ return 'problem in %s - %s: %s' % (self.filename, exc, self.value)
471
+
472
+ def importfile(path):
473
+ """Import a Python source file or compiled file given its path."""
474
+ magic = importlib.util.MAGIC_NUMBER
475
+ with open(path, 'rb') as file:
476
+ is_bytecode = magic == file.read(len(magic))
477
+ filename = os.path.basename(path)
478
+ name, ext = os.path.splitext(filename)
479
+ if is_bytecode:
480
+ loader = importlib._bootstrap_external.SourcelessFileLoader(name, path)
481
+ else:
482
+ loader = importlib._bootstrap_external.SourceFileLoader(name, path)
483
+ # XXX We probably don't need to pass in the loader here.
484
+ spec = importlib.util.spec_from_file_location(name, path, loader=loader)
485
+ try:
486
+ return importlib._bootstrap._load(spec)
487
+ except BaseException as err:
488
+ raise ErrorDuringImport(path, err)
489
+
490
+ def safeimport(path, forceload=0, cache={}):
491
+ """Import a module; handle errors; return None if the module isn't found.
492
+
493
+ If the module *is* found but an exception occurs, it's wrapped in an
494
+ ErrorDuringImport exception and reraised. Unlike __import__, if a
495
+ package path is specified, the module at the end of the path is returned,
496
+ not the package at the beginning. If the optional 'forceload' argument
497
+ is 1, we reload the module from disk (unless it's a dynamic extension)."""
498
+ try:
499
+ # If forceload is 1 and the module has been previously loaded from
500
+ # disk, we always have to reload the module. Checking the file's
501
+ # mtime isn't good enough (e.g. the module could contain a class
502
+ # that inherits from another module that has changed).
503
+ if forceload and path in sys.modules:
504
+ if path not in sys.builtin_module_names:
505
+ # Remove the module from sys.modules and re-import to try
506
+ # and avoid problems with partially loaded modules.
507
+ # Also remove any submodules because they won't appear
508
+ # in the newly loaded module's namespace if they're already
509
+ # in sys.modules.
510
+ subs = [m for m in sys.modules if m.startswith(path + '.')]
511
+ for key in [path] + subs:
512
+ # Prevent garbage collection.
513
+ cache[key] = sys.modules[key]
514
+ del sys.modules[key]
515
+ module = importlib.import_module(path)
516
+ except BaseException as err:
517
+ # Did the error occur before or after the module was found?
518
+ if path in sys.modules:
519
+ # An error occurred while executing the imported module.
520
+ raise ErrorDuringImport(sys.modules[path].__file__, err)
521
+ elif type(err) is SyntaxError:
522
+ # A SyntaxError occurred before we could execute the module.
523
+ raise ErrorDuringImport(err.filename, err)
524
+ elif isinstance(err, ImportError) and err.name == path:
525
+ # No such module in the path.
526
+ return None
527
+ else:
528
+ # Some other error occurred during the importing process.
529
+ raise ErrorDuringImport(path, err)
530
+ return module
531
+
532
+ # ---------------------------------------------------- formatter base class
533
+
534
+ class Doc:
535
+
536
+ PYTHONDOCS = os.environ.get("PYTHONDOCS",
537
+ "https://docs.python.org/%d.%d/library"
538
+ % sys.version_info[:2])
539
+
540
+ def document(self, object, name=None, *args):
541
+ """Generate documentation for an object."""
542
+ args = (object, name) + args
543
+ # 'try' clause is to attempt to handle the possibility that inspect
544
+ # identifies something in a way that pydoc itself has issues handling;
545
+ # think 'super' and how it is a descriptor (which raises the exception
546
+ # by lacking a __name__ attribute) and an instance.
547
+ try:
548
+ if inspect.ismodule(object): return self.docmodule(*args)
549
+ if inspect.isclass(object): return self.docclass(*args)
550
+ if inspect.isroutine(object): return self.docroutine(*args)
551
+ except AttributeError:
552
+ pass
553
+ if inspect.isdatadescriptor(object): return self.docdata(*args)
554
+ return self.docother(*args)
555
+
556
+ def fail(self, object, name=None, *args):
557
+ """Raise an exception for unimplemented types."""
558
+ message = "don't know how to document object%s of type %s" % (
559
+ name and ' ' + repr(name), type(object).__name__)
560
+ raise TypeError(message)
561
+
562
+ docmodule = docclass = docroutine = docother = docproperty = docdata = fail
563
+
564
+ def getdocloc(self, object, basedir=sysconfig.get_path('stdlib')):
565
+ """Return the location of module docs or None"""
566
+
567
+ try:
568
+ file = inspect.getabsfile(object)
569
+ except TypeError:
570
+ file = '(built-in)'
571
+
572
+ docloc = os.environ.get("PYTHONDOCS", self.PYTHONDOCS)
573
+
574
+ basedir = os.path.normcase(basedir)
575
+ if (isinstance(object, type(os)) and
576
+ (object.__name__ in ('errno', 'exceptions', 'gc',
577
+ 'marshal', 'posix', 'signal', 'sys',
578
+ '_thread', 'zipimport') or
579
+ (file.startswith(basedir) and
580
+ not file.startswith(os.path.join(basedir, 'site-packages')))) and
581
+ object.__name__ not in ('xml.etree', 'test.test_pydoc.pydoc_mod')):
582
+ if docloc.startswith(("http://", "https://")):
583
+ docloc = "{}/{}.html".format(docloc.rstrip("/"), object.__name__.lower())
584
+ else:
585
+ docloc = os.path.join(docloc, object.__name__.lower() + ".html")
586
+ else:
587
+ docloc = None
588
+ return docloc
589
+
590
+ # -------------------------------------------- HTML documentation generator
591
+
592
+ class HTMLRepr(Repr):
593
+ """Class for safely making an HTML representation of a Python object."""
594
+ def __init__(self):
595
+ Repr.__init__(self)
596
+ self.maxlist = self.maxtuple = 20
597
+ self.maxdict = 10
598
+ self.maxstring = self.maxother = 100
599
+
600
+ def escape(self, text):
601
+ return replace(text, '&', '&amp;', '<', '&lt;', '>', '&gt;')
602
+
603
+ def repr(self, object):
604
+ return Repr.repr(self, object)
605
+
606
+ def repr1(self, x, level):
607
+ if hasattr(type(x), '__name__'):
608
+ methodname = 'repr_' + '_'.join(type(x).__name__.split())
609
+ if hasattr(self, methodname):
610
+ return getattr(self, methodname)(x, level)
611
+ return self.escape(cram(stripid(repr(x)), self.maxother))
612
+
613
+ def repr_string(self, x, level):
614
+ test = cram(x, self.maxstring)
615
+ testrepr = repr(test)
616
+ if '\\' in test and '\\' not in replace(testrepr, r'\\', ''):
617
+ # Backslashes are only literal in the string and are never
618
+ # needed to make any special characters, so show a raw string.
619
+ return 'r' + testrepr[0] + self.escape(test) + testrepr[0]
620
+ return re.sub(r'((\\[\\abfnrtv\'"]|\\[0-9]..|\\x..|\\u....)+)',
621
+ r'<span class="repr">\1</span>',
622
+ self.escape(testrepr))
623
+
624
+ repr_str = repr_string
625
+
626
+ def repr_instance(self, x, level):
627
+ try:
628
+ return self.escape(cram(stripid(repr(x)), self.maxstring))
629
+ except:
630
+ return self.escape('<%s instance>' % x.__class__.__name__)
631
+
632
+ repr_unicode = repr_string
633
+
634
+ class HTMLDoc(Doc):
635
+ """Formatter class for HTML documentation."""
636
+
637
+ # ------------------------------------------- HTML formatting utilities
638
+
639
+ _repr_instance = HTMLRepr()
640
+ repr = _repr_instance.repr
641
+ escape = _repr_instance.escape
642
+
643
+ def page(self, title, contents):
644
+ """Format an HTML page."""
645
+ return '''\
646
+ <!DOCTYPE html>
647
+ <html lang="en">
648
+ <head>
649
+ <meta charset="utf-8">
650
+ <title>Python: %s</title>
651
+ </head><body>
652
+ %s
653
+ </body></html>''' % (title, contents)
654
+
655
+ def heading(self, title, extras=''):
656
+ """Format a page heading."""
657
+ return '''
658
+ <table class="heading">
659
+ <tr class="heading-text decor">
660
+ <td class="title">&nbsp;<br>%s</td>
661
+ <td class="extra">%s</td></tr></table>
662
+ ''' % (title, extras or '&nbsp;')
663
+
664
+ def section(self, title, cls, contents, width=6,
665
+ prelude='', marginalia=None, gap='&nbsp;'):
666
+ """Format a section with a heading."""
667
+ if marginalia is None:
668
+ marginalia = '<span class="code">' + '&nbsp;' * width + '</span>'
669
+ result = '''<p>
670
+ <table class="section">
671
+ <tr class="decor %s-decor heading-text">
672
+ <td class="section-title" colspan=3>&nbsp;<br>%s</td></tr>
673
+ ''' % (cls, title)
674
+ if prelude:
675
+ result = result + '''
676
+ <tr><td class="decor %s-decor" rowspan=2>%s</td>
677
+ <td class="decor %s-decor" colspan=2>%s</td></tr>
678
+ <tr><td>%s</td>''' % (cls, marginalia, cls, prelude, gap)
679
+ else:
680
+ result = result + '''
681
+ <tr><td class="decor %s-decor">%s</td><td>%s</td>''' % (cls, marginalia, gap)
682
+
683
+ return result + '\n<td class="singlecolumn">%s</td></tr></table>' % contents
684
+
685
+ def bigsection(self, title, *args):
686
+ """Format a section with a big heading."""
687
+ title = '<strong class="bigsection">%s</strong>' % title
688
+ return self.section(title, *args)
689
+
690
+ def preformat(self, text):
691
+ """Format literal preformatted text."""
692
+ text = self.escape(text.expandtabs())
693
+ return replace(text, '\n\n', '\n \n', '\n\n', '\n \n',
694
+ ' ', '&nbsp;', '\n', '<br>\n')
695
+
696
+ def multicolumn(self, list, format):
697
+ """Format a list of items into a multi-column list."""
698
+ result = ''
699
+ rows = (len(list) + 3) // 4
700
+ for col in range(4):
701
+ result = result + '<td class="multicolumn">'
702
+ for i in range(rows*col, rows*col+rows):
703
+ if i < len(list):
704
+ result = result + format(list[i]) + '<br>\n'
705
+ result = result + '</td>'
706
+ return '<table><tr>%s</tr></table>' % result
707
+
708
+ def grey(self, text): return '<span class="grey">%s</span>' % text
709
+
710
+ def namelink(self, name, *dicts):
711
+ """Make a link for an identifier, given name-to-URL mappings."""
712
+ for dict in dicts:
713
+ if name in dict:
714
+ return '<a href="%s">%s</a>' % (dict[name], name)
715
+ return name
716
+
717
+ def classlink(self, object, modname):
718
+ """Make a link for a class."""
719
+ name, module = object.__name__, sys.modules.get(object.__module__)
720
+ if hasattr(module, name) and getattr(module, name) is object:
721
+ return '<a href="%s.html#%s">%s</a>' % (
722
+ module.__name__, name, classname(object, modname))
723
+ return classname(object, modname)
724
+
725
+ def parentlink(self, object, modname):
726
+ """Make a link for the enclosing class or module."""
727
+ link = None
728
+ name, module = object.__name__, sys.modules.get(object.__module__)
729
+ if hasattr(module, name) and getattr(module, name) is object:
730
+ if '.' in object.__qualname__:
731
+ name = object.__qualname__.rpartition('.')[0]
732
+ if object.__module__ != modname:
733
+ link = '%s.html#%s' % (module.__name__, name)
734
+ else:
735
+ link = '#%s' % name
736
+ else:
737
+ if object.__module__ != modname:
738
+ link = '%s.html' % module.__name__
739
+ if link:
740
+ return '<a href="%s">%s</a>' % (link, parentname(object, modname))
741
+ else:
742
+ return parentname(object, modname)
743
+
744
+ def modulelink(self, object):
745
+ """Make a link for a module."""
746
+ return '<a href="%s.html">%s</a>' % (object.__name__, object.__name__)
747
+
748
+ def modpkglink(self, modpkginfo):
749
+ """Make a link for a module or package to display in an index."""
750
+ name, path, ispackage, shadowed = modpkginfo
751
+ if shadowed:
752
+ return self.grey(name)
753
+ if path:
754
+ url = '%s.%s.html' % (path, name)
755
+ else:
756
+ url = '%s.html' % name
757
+ if ispackage:
758
+ text = '<strong>%s</strong>&nbsp;(package)' % name
759
+ else:
760
+ text = name
761
+ return '<a href="%s">%s</a>' % (url, text)
762
+
763
+ def filelink(self, url, path):
764
+ """Make a link to source file."""
765
+ return '<a href="file:%s">%s</a>' % (url, path)
766
+
767
+ def markup(self, text, escape=None, funcs={}, classes={}, methods={}):
768
+ """Mark up some plain text, given a context of symbols to look for.
769
+ Each context dictionary maps object names to anchor names."""
770
+ escape = escape or self.escape
771
+ results = []
772
+ here = 0
773
+ pattern = re.compile(r'\b((http|https|ftp)://\S+[\w/]|'
774
+ r'RFC[- ]?(\d+)|'
775
+ r'PEP[- ]?(\d+)|'
776
+ r'(self\.)?(\w+))')
777
+ while match := pattern.search(text, here):
778
+ start, end = match.span()
779
+ results.append(escape(text[here:start]))
780
+
781
+ all, scheme, rfc, pep, selfdot, name = match.groups()
782
+ if scheme:
783
+ url = escape(all).replace('"', '&quot;')
784
+ results.append('<a href="%s">%s</a>' % (url, url))
785
+ elif rfc:
786
+ url = 'https://www.rfc-editor.org/rfc/rfc%d.txt' % int(rfc)
787
+ results.append('<a href="%s">%s</a>' % (url, escape(all)))
788
+ elif pep:
789
+ url = 'https://peps.python.org/pep-%04d/' % int(pep)
790
+ results.append('<a href="%s">%s</a>' % (url, escape(all)))
791
+ elif selfdot:
792
+ # Create a link for methods like 'self.method(...)'
793
+ # and use <strong> for attributes like 'self.attr'
794
+ if text[end:end+1] == '(':
795
+ results.append('self.' + self.namelink(name, methods))
796
+ else:
797
+ results.append('self.<strong>%s</strong>' % name)
798
+ elif text[end:end+1] == '(':
799
+ results.append(self.namelink(name, methods, funcs, classes))
800
+ else:
801
+ results.append(self.namelink(name, classes))
802
+ here = end
803
+ results.append(escape(text[here:]))
804
+ return ''.join(results)
805
+
806
+ # ---------------------------------------------- type-specific routines
807
+
808
+ def formattree(self, tree, modname, parent=None):
809
+ """Produce HTML for a class tree as given by inspect.getclasstree()."""
810
+ result = ''
811
+ for entry in tree:
812
+ if isinstance(entry, tuple):
813
+ c, bases = entry
814
+ result = result + '<dt class="heading-text">'
815
+ result = result + self.classlink(c, modname)
816
+ if bases and bases != (parent,):
817
+ parents = []
818
+ for base in bases:
819
+ parents.append(self.classlink(base, modname))
820
+ result = result + '(' + ', '.join(parents) + ')'
821
+ result = result + '\n</dt>'
822
+ elif isinstance(entry, list):
823
+ result = result + '<dd>\n%s</dd>\n' % self.formattree(
824
+ entry, modname, c)
825
+ return '<dl>\n%s</dl>\n' % result
826
+
827
+ def docmodule(self, object, name=None, mod=None, *ignored):
828
+ """Produce HTML documentation for a module object."""
829
+ name = object.__name__ # ignore the passed-in name
830
+ try:
831
+ all = object.__all__
832
+ except AttributeError:
833
+ all = None
834
+ parts = name.split('.')
835
+ links = []
836
+ for i in range(len(parts)-1):
837
+ links.append(
838
+ '<a href="%s.html" class="white">%s</a>' %
839
+ ('.'.join(parts[:i+1]), parts[i]))
840
+ linkedname = '.'.join(links + parts[-1:])
841
+ head = '<strong class="title">%s</strong>' % linkedname
842
+ try:
843
+ path = inspect.getabsfile(object)
844
+ url = urllib.parse.quote(path)
845
+ filelink = self.filelink(url, path)
846
+ except TypeError:
847
+ filelink = '(built-in)'
848
+ info = []
849
+ if hasattr(object, '__version__'):
850
+ version = str(object.__version__)
851
+ if version[:11] == '$' + 'Revision: ' and version[-1:] == '$':
852
+ version = version[11:-1].strip()
853
+ info.append('version %s' % self.escape(version))
854
+ if hasattr(object, '__date__'):
855
+ info.append(self.escape(str(object.__date__)))
856
+ if info:
857
+ head = head + ' (%s)' % ', '.join(info)
858
+ docloc = self.getdocloc(object)
859
+ if docloc is not None:
860
+ docloc = '<br><a href="%(docloc)s">Module Reference</a>' % locals()
861
+ else:
862
+ docloc = ''
863
+ result = self.heading(head, '<a href=".">index</a><br>' + filelink + docloc)
864
+
865
+ modules = inspect.getmembers(object, inspect.ismodule)
866
+
867
+ classes, cdict = [], {}
868
+ for key, value in inspect.getmembers(object, inspect.isclass):
869
+ # if __all__ exists, believe it. Otherwise use old heuristic.
870
+ if (all is not None or
871
+ (inspect.getmodule(value) or object) is object):
872
+ if visiblename(key, all, object):
873
+ classes.append((key, value))
874
+ cdict[key] = cdict[value] = '#' + key
875
+ for key, value in classes:
876
+ for base in value.__bases__:
877
+ key, modname = base.__name__, base.__module__
878
+ module = sys.modules.get(modname)
879
+ if modname != name and module and hasattr(module, key):
880
+ if getattr(module, key) is base:
881
+ if not key in cdict:
882
+ cdict[key] = cdict[base] = modname + '.html#' + key
883
+ funcs, fdict = [], {}
884
+ for key, value in inspect.getmembers(object, inspect.isroutine):
885
+ # if __all__ exists, believe it. Otherwise use a heuristic.
886
+ if (all is not None
887
+ or inspect.isbuiltin(value)
888
+ or (inspect.getmodule(value) or object) is object):
889
+ if visiblename(key, all, object):
890
+ funcs.append((key, value))
891
+ fdict[key] = '#-' + key
892
+ if inspect.isfunction(value): fdict[value] = fdict[key]
893
+ data = []
894
+ for key, value in inspect.getmembers(object, isdata):
895
+ if visiblename(key, all, object):
896
+ data.append((key, value))
897
+
898
+ doc = self.markup(getdoc(object), self.preformat, fdict, cdict)
899
+ doc = doc and '<span class="code">%s</span>' % doc
900
+ result = result + '<p>%s</p>\n' % doc
901
+
902
+ if hasattr(object, '__path__'):
903
+ modpkgs = []
904
+ for importer, modname, ispkg in pkgutil.iter_modules(object.__path__):
905
+ modpkgs.append((modname, name, ispkg, 0))
906
+ modpkgs.sort()
907
+ contents = self.multicolumn(modpkgs, self.modpkglink)
908
+ result = result + self.bigsection(
909
+ 'Package Contents', 'pkg-content', contents)
910
+ elif modules:
911
+ contents = self.multicolumn(
912
+ modules, lambda t: self.modulelink(t[1]))
913
+ result = result + self.bigsection(
914
+ 'Modules', 'pkg-content', contents)
915
+
916
+ if classes:
917
+ classlist = [value for (key, value) in classes]
918
+ contents = [
919
+ self.formattree(inspect.getclasstree(classlist, 1), name)]
920
+ for key, value in classes:
921
+ contents.append(self.document(value, key, name, fdict, cdict))
922
+ result = result + self.bigsection(
923
+ 'Classes', 'index', ' '.join(contents))
924
+ if funcs:
925
+ contents = []
926
+ for key, value in funcs:
927
+ contents.append(self.document(value, key, name, fdict, cdict))
928
+ result = result + self.bigsection(
929
+ 'Functions', 'functions', ' '.join(contents))
930
+ if data:
931
+ contents = []
932
+ for key, value in data:
933
+ contents.append(self.document(value, key))
934
+ result = result + self.bigsection(
935
+ 'Data', 'data', '<br>\n'.join(contents))
936
+ if hasattr(object, '__author__'):
937
+ contents = self.markup(str(object.__author__), self.preformat)
938
+ result = result + self.bigsection('Author', 'author', contents)
939
+ if hasattr(object, '__credits__'):
940
+ contents = self.markup(str(object.__credits__), self.preformat)
941
+ result = result + self.bigsection('Credits', 'credits', contents)
942
+
943
+ return result
944
+
945
+ def docclass(self, object, name=None, mod=None, funcs={}, classes={},
946
+ *ignored):
947
+ """Produce HTML documentation for a class object."""
948
+ realname = object.__name__
949
+ name = name or realname
950
+ bases = object.__bases__
951
+
952
+ contents = []
953
+ push = contents.append
954
+
955
+ # Cute little class to pump out a horizontal rule between sections.
956
+ class HorizontalRule:
957
+ def __init__(self):
958
+ self.needone = 0
959
+ def maybe(self):
960
+ if self.needone:
961
+ push('<hr>\n')
962
+ self.needone = 1
963
+ hr = HorizontalRule()
964
+
965
+ # List the mro, if non-trivial.
966
+ mro = deque(inspect.getmro(object))
967
+ if len(mro) > 2:
968
+ hr.maybe()
969
+ push('<dl><dt>Method resolution order:</dt>\n')
970
+ for base in mro:
971
+ push('<dd>%s</dd>\n' % self.classlink(base,
972
+ object.__module__))
973
+ push('</dl>\n')
974
+
975
+ def spill(msg, attrs, predicate):
976
+ ok, attrs = _split_list(attrs, predicate)
977
+ if ok:
978
+ hr.maybe()
979
+ push(msg)
980
+ for name, kind, homecls, value in ok:
981
+ try:
982
+ value = getattr(object, name)
983
+ except Exception:
984
+ # Some descriptors may meet a failure in their __get__.
985
+ # (bug #1785)
986
+ push(self.docdata(value, name, mod))
987
+ else:
988
+ push(self.document(value, name, mod,
989
+ funcs, classes, mdict, object, homecls))
990
+ push('\n')
991
+ return attrs
992
+
993
+ def spilldescriptors(msg, attrs, predicate):
994
+ ok, attrs = _split_list(attrs, predicate)
995
+ if ok:
996
+ hr.maybe()
997
+ push(msg)
998
+ for name, kind, homecls, value in ok:
999
+ push(self.docdata(value, name, mod))
1000
+ return attrs
1001
+
1002
+ def spilldata(msg, attrs, predicate):
1003
+ ok, attrs = _split_list(attrs, predicate)
1004
+ if ok:
1005
+ hr.maybe()
1006
+ push(msg)
1007
+ for name, kind, homecls, value in ok:
1008
+ base = self.docother(getattr(object, name), name, mod)
1009
+ doc = getdoc(value)
1010
+ if not doc:
1011
+ push('<dl><dt>%s</dl>\n' % base)
1012
+ else:
1013
+ doc = self.markup(getdoc(value), self.preformat,
1014
+ funcs, classes, mdict)
1015
+ doc = '<dd><span class="code">%s</span>' % doc
1016
+ push('<dl><dt>%s%s</dl>\n' % (base, doc))
1017
+ push('\n')
1018
+ return attrs
1019
+
1020
+ attrs = [(name, kind, cls, value)
1021
+ for name, kind, cls, value in classify_class_attrs(object)
1022
+ if visiblename(name, obj=object)]
1023
+
1024
+ mdict = {}
1025
+ for key, kind, homecls, value in attrs:
1026
+ mdict[key] = anchor = '#' + name + '-' + key
1027
+ try:
1028
+ value = getattr(object, name)
1029
+ except Exception:
1030
+ # Some descriptors may meet a failure in their __get__.
1031
+ # (bug #1785)
1032
+ pass
1033
+ try:
1034
+ # The value may not be hashable (e.g., a data attr with
1035
+ # a dict or list value).
1036
+ mdict[value] = anchor
1037
+ except TypeError:
1038
+ pass
1039
+
1040
+ while attrs:
1041
+ if mro:
1042
+ thisclass = mro.popleft()
1043
+ else:
1044
+ thisclass = attrs[0][2]
1045
+ attrs, inherited = _split_list(attrs, lambda t: t[2] is thisclass)
1046
+
1047
+ if object is not builtins.object and thisclass is builtins.object:
1048
+ attrs = inherited
1049
+ continue
1050
+ elif thisclass is object:
1051
+ tag = 'defined here'
1052
+ else:
1053
+ tag = 'inherited from %s' % self.classlink(thisclass,
1054
+ object.__module__)
1055
+ tag += ':<br>\n'
1056
+
1057
+ sort_attributes(attrs, object)
1058
+
1059
+ # Pump out the attrs, segregated by kind.
1060
+ attrs = spill('Methods %s' % tag, attrs,
1061
+ lambda t: t[1] == 'method')
1062
+ attrs = spill('Class methods %s' % tag, attrs,
1063
+ lambda t: t[1] == 'class method')
1064
+ attrs = spill('Static methods %s' % tag, attrs,
1065
+ lambda t: t[1] == 'static method')
1066
+ attrs = spilldescriptors("Readonly properties %s" % tag, attrs,
1067
+ lambda t: t[1] == 'readonly property')
1068
+ attrs = spilldescriptors('Data descriptors %s' % tag, attrs,
1069
+ lambda t: t[1] == 'data descriptor')
1070
+ attrs = spilldata('Data and other attributes %s' % tag, attrs,
1071
+ lambda t: t[1] == 'data')
1072
+ assert attrs == []
1073
+ attrs = inherited
1074
+
1075
+ contents = ''.join(contents)
1076
+
1077
+ if name == realname:
1078
+ title = '<a name="%s">class <strong>%s</strong></a>' % (
1079
+ name, realname)
1080
+ else:
1081
+ title = '<strong>%s</strong> = <a name="%s">class %s</a>' % (
1082
+ name, name, realname)
1083
+ if bases:
1084
+ parents = []
1085
+ for base in bases:
1086
+ parents.append(self.classlink(base, object.__module__))
1087
+ title = title + '(%s)' % ', '.join(parents)
1088
+
1089
+ decl = ''
1090
+ argspec = _getargspec(object)
1091
+ if argspec and argspec != '()':
1092
+ decl = name + self.escape(argspec) + '\n\n'
1093
+
1094
+ doc = getdoc(object)
1095
+ if decl:
1096
+ doc = decl + (doc or '')
1097
+ doc = self.markup(doc, self.preformat, funcs, classes, mdict)
1098
+ doc = doc and '<span class="code">%s<br>&nbsp;</span>' % doc
1099
+
1100
+ return self.section(title, 'title', contents, 3, doc)
1101
+
1102
+ def formatvalue(self, object):
1103
+ """Format an argument default value as text."""
1104
+ return self.grey('=' + self.repr(object))
1105
+
1106
+ def docroutine(self, object, name=None, mod=None,
1107
+ funcs={}, classes={}, methods={}, cl=None, homecls=None):
1108
+ """Produce HTML documentation for a function or method object."""
1109
+ realname = object.__name__
1110
+ name = name or realname
1111
+ if homecls is None:
1112
+ homecls = cl
1113
+ anchor = ('' if cl is None else cl.__name__) + '-' + name
1114
+ note = ''
1115
+ skipdocs = False
1116
+ imfunc = None
1117
+ if _is_bound_method(object):
1118
+ imself = object.__self__
1119
+ if imself is cl:
1120
+ imfunc = getattr(object, '__func__', None)
1121
+ elif inspect.isclass(imself):
1122
+ note = ' class method of %s' % self.classlink(imself, mod)
1123
+ else:
1124
+ note = ' method of %s instance' % self.classlink(
1125
+ imself.__class__, mod)
1126
+ elif (inspect.ismethoddescriptor(object) or
1127
+ inspect.ismethodwrapper(object)):
1128
+ try:
1129
+ objclass = object.__objclass__
1130
+ except AttributeError:
1131
+ pass
1132
+ else:
1133
+ if cl is None:
1134
+ note = ' unbound %s method' % self.classlink(objclass, mod)
1135
+ elif objclass is not homecls:
1136
+ note = ' from ' + self.classlink(objclass, mod)
1137
+ else:
1138
+ imfunc = object
1139
+ if inspect.isfunction(imfunc) and homecls is not None and (
1140
+ imfunc.__module__ != homecls.__module__ or
1141
+ imfunc.__qualname__ != homecls.__qualname__ + '.' + realname):
1142
+ pname = self.parentlink(imfunc, mod)
1143
+ if pname:
1144
+ note = ' from %s' % pname
1145
+
1146
+ if (inspect.iscoroutinefunction(object) or
1147
+ inspect.isasyncgenfunction(object)):
1148
+ asyncqualifier = 'async '
1149
+ else:
1150
+ asyncqualifier = ''
1151
+
1152
+ if name == realname:
1153
+ title = '<a name="%s"><strong>%s</strong></a>' % (anchor, realname)
1154
+ else:
1155
+ if (cl is not None and
1156
+ inspect.getattr_static(cl, realname, []) is object):
1157
+ reallink = '<a href="#%s">%s</a>' % (
1158
+ cl.__name__ + '-' + realname, realname)
1159
+ skipdocs = True
1160
+ if note.startswith(' from '):
1161
+ note = ''
1162
+ else:
1163
+ reallink = realname
1164
+ title = '<a name="%s"><strong>%s</strong></a> = %s' % (
1165
+ anchor, name, reallink)
1166
+ argspec = None
1167
+ if inspect.isroutine(object):
1168
+ argspec = _getargspec(object)
1169
+ if argspec and realname == '<lambda>':
1170
+ title = '<strong>%s</strong> <em>lambda</em> ' % name
1171
+ # XXX lambda's won't usually have func_annotations['return']
1172
+ # since the syntax doesn't support but it is possible.
1173
+ # So removing parentheses isn't truly safe.
1174
+ if not object.__annotations__:
1175
+ argspec = argspec[1:-1] # remove parentheses
1176
+ if not argspec:
1177
+ argspec = '(...)'
1178
+
1179
+ decl = asyncqualifier + title + self.escape(argspec) + (note and
1180
+ self.grey('<span class="heading-text">%s</span>' % note))
1181
+
1182
+ if skipdocs:
1183
+ return '<dl><dt>%s</dt></dl>\n' % decl
1184
+ else:
1185
+ doc = self.markup(
1186
+ getdoc(object), self.preformat, funcs, classes, methods)
1187
+ doc = doc and '<dd><span class="code">%s</span></dd>' % doc
1188
+ return '<dl><dt>%s</dt>%s</dl>\n' % (decl, doc)
1189
+
1190
+ def docdata(self, object, name=None, mod=None, cl=None, *ignored):
1191
+ """Produce html documentation for a data descriptor."""
1192
+ results = []
1193
+ push = results.append
1194
+
1195
+ if name:
1196
+ push('<dl><dt><strong>%s</strong></dt>\n' % name)
1197
+ doc = self.markup(getdoc(object), self.preformat)
1198
+ if doc:
1199
+ push('<dd><span class="code">%s</span></dd>\n' % doc)
1200
+ push('</dl>\n')
1201
+
1202
+ return ''.join(results)
1203
+
1204
+ docproperty = docdata
1205
+
1206
+ def docother(self, object, name=None, mod=None, *ignored):
1207
+ """Produce HTML documentation for a data object."""
1208
+ lhs = name and '<strong>%s</strong> = ' % name or ''
1209
+ return lhs + self.repr(object)
1210
+
1211
+ def index(self, dir, shadowed=None):
1212
+ """Generate an HTML index for a directory of modules."""
1213
+ modpkgs = []
1214
+ if shadowed is None: shadowed = {}
1215
+ for importer, name, ispkg in pkgutil.iter_modules([dir]):
1216
+ if any((0xD800 <= ord(ch) <= 0xDFFF) for ch in name):
1217
+ # ignore a module if its name contains a surrogate character
1218
+ continue
1219
+ modpkgs.append((name, '', ispkg, name in shadowed))
1220
+ shadowed[name] = 1
1221
+
1222
+ modpkgs.sort()
1223
+ contents = self.multicolumn(modpkgs, self.modpkglink)
1224
+ return self.bigsection(dir, 'index', contents)
1225
+
1226
+ # -------------------------------------------- text documentation generator
1227
+
1228
+ class TextRepr(Repr):
1229
+ """Class for safely making a text representation of a Python object."""
1230
+ def __init__(self):
1231
+ Repr.__init__(self)
1232
+ self.maxlist = self.maxtuple = 20
1233
+ self.maxdict = 10
1234
+ self.maxstring = self.maxother = 100
1235
+
1236
+ def repr1(self, x, level):
1237
+ if hasattr(type(x), '__name__'):
1238
+ methodname = 'repr_' + '_'.join(type(x).__name__.split())
1239
+ if hasattr(self, methodname):
1240
+ return getattr(self, methodname)(x, level)
1241
+ return cram(stripid(repr(x)), self.maxother)
1242
+
1243
+ def repr_string(self, x, level):
1244
+ test = cram(x, self.maxstring)
1245
+ testrepr = repr(test)
1246
+ if '\\' in test and '\\' not in replace(testrepr, r'\\', ''):
1247
+ # Backslashes are only literal in the string and are never
1248
+ # needed to make any special characters, so show a raw string.
1249
+ return 'r' + testrepr[0] + test + testrepr[0]
1250
+ return testrepr
1251
+
1252
+ repr_str = repr_string
1253
+
1254
+ def repr_instance(self, x, level):
1255
+ try:
1256
+ return cram(stripid(repr(x)), self.maxstring)
1257
+ except:
1258
+ return '<%s instance>' % x.__class__.__name__
1259
+
1260
+ class TextDoc(Doc):
1261
+ """Formatter class for text documentation."""
1262
+
1263
+ # ------------------------------------------- text formatting utilities
1264
+
1265
+ _repr_instance = TextRepr()
1266
+ repr = _repr_instance.repr
1267
+
1268
+ def bold(self, text):
1269
+ """Format a string in bold by overstriking."""
1270
+ return ''.join(ch + '\b' + ch for ch in text)
1271
+
1272
+ def indent(self, text, prefix=' '):
1273
+ """Indent text by prepending a given prefix to each line."""
1274
+ if not text: return ''
1275
+ lines = [(prefix + line).rstrip() for line in text.split('\n')]
1276
+ return '\n'.join(lines)
1277
+
1278
+ def section(self, title, contents):
1279
+ """Format a section with a given heading."""
1280
+ clean_contents = self.indent(contents).rstrip()
1281
+ return self.bold(title) + '\n' + clean_contents + '\n\n'
1282
+
1283
+ # ---------------------------------------------- type-specific routines
1284
+
1285
+ def formattree(self, tree, modname, parent=None, prefix=''):
1286
+ """Render in text a class tree as returned by inspect.getclasstree()."""
1287
+ result = ''
1288
+ for entry in tree:
1289
+ if isinstance(entry, tuple):
1290
+ c, bases = entry
1291
+ result = result + prefix + classname(c, modname)
1292
+ if bases and bases != (parent,):
1293
+ parents = (classname(c, modname) for c in bases)
1294
+ result = result + '(%s)' % ', '.join(parents)
1295
+ result = result + '\n'
1296
+ elif isinstance(entry, list):
1297
+ result = result + self.formattree(
1298
+ entry, modname, c, prefix + ' ')
1299
+ return result
1300
+
1301
+ def docmodule(self, object, name=None, mod=None, *ignored):
1302
+ """Produce text documentation for a given module object."""
1303
+ name = object.__name__ # ignore the passed-in name
1304
+ synop, desc = splitdoc(getdoc(object))
1305
+ result = self.section('NAME', name + (synop and ' - ' + synop))
1306
+ all = getattr(object, '__all__', None)
1307
+ docloc = self.getdocloc(object)
1308
+ if docloc is not None:
1309
+ result = result + self.section('MODULE REFERENCE', docloc + """
1310
+
1311
+ The following documentation is automatically generated from the Python
1312
+ source files. It may be incomplete, incorrect or include features that
1313
+ are considered implementation detail and may vary between Python
1314
+ implementations. When in doubt, consult the module reference at the
1315
+ location listed above.
1316
+ """)
1317
+
1318
+ if desc:
1319
+ result = result + self.section('DESCRIPTION', desc)
1320
+
1321
+ classes = []
1322
+ for key, value in inspect.getmembers(object, inspect.isclass):
1323
+ # if __all__ exists, believe it. Otherwise use old heuristic.
1324
+ if (all is not None
1325
+ or (inspect.getmodule(value) or object) is object):
1326
+ if visiblename(key, all, object):
1327
+ classes.append((key, value))
1328
+ funcs = []
1329
+ for key, value in inspect.getmembers(object, inspect.isroutine):
1330
+ # if __all__ exists, believe it. Otherwise use a heuristic.
1331
+ if (all is not None
1332
+ or inspect.isbuiltin(value)
1333
+ or (inspect.getmodule(value) or object) is object):
1334
+ if visiblename(key, all, object):
1335
+ funcs.append((key, value))
1336
+ data = []
1337
+ for key, value in inspect.getmembers(object, isdata):
1338
+ if visiblename(key, all, object):
1339
+ data.append((key, value))
1340
+
1341
+ modpkgs = []
1342
+ modpkgs_names = set()
1343
+ if hasattr(object, '__path__'):
1344
+ for importer, modname, ispkg in pkgutil.iter_modules(object.__path__):
1345
+ modpkgs_names.add(modname)
1346
+ if ispkg:
1347
+ modpkgs.append(modname + ' (package)')
1348
+ else:
1349
+ modpkgs.append(modname)
1350
+
1351
+ modpkgs.sort()
1352
+ result = result + self.section(
1353
+ 'PACKAGE CONTENTS', '\n'.join(modpkgs))
1354
+
1355
+ # Detect submodules as sometimes created by C extensions
1356
+ submodules = []
1357
+ for key, value in inspect.getmembers(object, inspect.ismodule):
1358
+ if value.__name__.startswith(name + '.') and key not in modpkgs_names:
1359
+ submodules.append(key)
1360
+ if submodules:
1361
+ submodules.sort()
1362
+ result = result + self.section(
1363
+ 'SUBMODULES', '\n'.join(submodules))
1364
+
1365
+ if classes:
1366
+ classlist = [value for key, value in classes]
1367
+ contents = [self.formattree(
1368
+ inspect.getclasstree(classlist, 1), name)]
1369
+ for key, value in classes:
1370
+ contents.append(self.document(value, key, name))
1371
+ result = result + self.section('CLASSES', '\n'.join(contents))
1372
+
1373
+ if funcs:
1374
+ contents = []
1375
+ for key, value in funcs:
1376
+ contents.append(self.document(value, key, name))
1377
+ result = result + self.section('FUNCTIONS', '\n'.join(contents))
1378
+
1379
+ if data:
1380
+ contents = []
1381
+ for key, value in data:
1382
+ contents.append(self.docother(value, key, name, maxlen=70))
1383
+ result = result + self.section('DATA', '\n'.join(contents))
1384
+
1385
+ if hasattr(object, '__version__'):
1386
+ version = str(object.__version__)
1387
+ if version[:11] == '$' + 'Revision: ' and version[-1:] == '$':
1388
+ version = version[11:-1].strip()
1389
+ result = result + self.section('VERSION', version)
1390
+ if hasattr(object, '__date__'):
1391
+ result = result + self.section('DATE', str(object.__date__))
1392
+ if hasattr(object, '__author__'):
1393
+ result = result + self.section('AUTHOR', str(object.__author__))
1394
+ if hasattr(object, '__credits__'):
1395
+ result = result + self.section('CREDITS', str(object.__credits__))
1396
+ try:
1397
+ file = inspect.getabsfile(object)
1398
+ except TypeError:
1399
+ file = '(built-in)'
1400
+ result = result + self.section('FILE', file)
1401
+ return result
1402
+
1403
+ def docclass(self, object, name=None, mod=None, *ignored):
1404
+ """Produce text documentation for a given class object."""
1405
+ realname = object.__name__
1406
+ name = name or realname
1407
+ bases = object.__bases__
1408
+
1409
+ def makename(c, m=object.__module__):
1410
+ return classname(c, m)
1411
+
1412
+ if name == realname:
1413
+ title = 'class ' + self.bold(realname)
1414
+ else:
1415
+ title = self.bold(name) + ' = class ' + realname
1416
+ if bases:
1417
+ parents = map(makename, bases)
1418
+ title = title + '(%s)' % ', '.join(parents)
1419
+
1420
+ contents = []
1421
+ push = contents.append
1422
+
1423
+ argspec = _getargspec(object)
1424
+ if argspec and argspec != '()':
1425
+ push(name + argspec + '\n')
1426
+
1427
+ doc = getdoc(object)
1428
+ if doc:
1429
+ push(doc + '\n')
1430
+
1431
+ # List the mro, if non-trivial.
1432
+ mro = deque(inspect.getmro(object))
1433
+ if len(mro) > 2:
1434
+ push("Method resolution order:")
1435
+ for base in mro:
1436
+ push(' ' + makename(base))
1437
+ push('')
1438
+
1439
+ # List the built-in subclasses, if any:
1440
+ subclasses = sorted(
1441
+ (str(cls.__name__) for cls in type.__subclasses__(object)
1442
+ if (not cls.__name__.startswith("_") and
1443
+ getattr(cls, '__module__', '') == "builtins")),
1444
+ key=str.lower
1445
+ )
1446
+ no_of_subclasses = len(subclasses)
1447
+ MAX_SUBCLASSES_TO_DISPLAY = 4
1448
+ if subclasses:
1449
+ push("Built-in subclasses:")
1450
+ for subclassname in subclasses[:MAX_SUBCLASSES_TO_DISPLAY]:
1451
+ push(' ' + subclassname)
1452
+ if no_of_subclasses > MAX_SUBCLASSES_TO_DISPLAY:
1453
+ push(' ... and ' +
1454
+ str(no_of_subclasses - MAX_SUBCLASSES_TO_DISPLAY) +
1455
+ ' other subclasses')
1456
+ push('')
1457
+
1458
+ # Cute little class to pump out a horizontal rule between sections.
1459
+ class HorizontalRule:
1460
+ def __init__(self):
1461
+ self.needone = 0
1462
+ def maybe(self):
1463
+ if self.needone:
1464
+ push('-' * 70)
1465
+ self.needone = 1
1466
+ hr = HorizontalRule()
1467
+
1468
+ def spill(msg, attrs, predicate):
1469
+ ok, attrs = _split_list(attrs, predicate)
1470
+ if ok:
1471
+ hr.maybe()
1472
+ push(msg)
1473
+ for name, kind, homecls, value in ok:
1474
+ try:
1475
+ value = getattr(object, name)
1476
+ except Exception:
1477
+ # Some descriptors may meet a failure in their __get__.
1478
+ # (bug #1785)
1479
+ push(self.docdata(value, name, mod))
1480
+ else:
1481
+ push(self.document(value,
1482
+ name, mod, object, homecls))
1483
+ return attrs
1484
+
1485
+ def spilldescriptors(msg, attrs, predicate):
1486
+ ok, attrs = _split_list(attrs, predicate)
1487
+ if ok:
1488
+ hr.maybe()
1489
+ push(msg)
1490
+ for name, kind, homecls, value in ok:
1491
+ push(self.docdata(value, name, mod))
1492
+ return attrs
1493
+
1494
+ def spilldata(msg, attrs, predicate):
1495
+ ok, attrs = _split_list(attrs, predicate)
1496
+ if ok:
1497
+ hr.maybe()
1498
+ push(msg)
1499
+ for name, kind, homecls, value in ok:
1500
+ doc = getdoc(value)
1501
+ try:
1502
+ obj = getattr(object, name)
1503
+ except AttributeError:
1504
+ obj = homecls.__dict__[name]
1505
+ push(self.docother(obj, name, mod, maxlen=70, doc=doc) +
1506
+ '\n')
1507
+ return attrs
1508
+
1509
+ attrs = [(name, kind, cls, value)
1510
+ for name, kind, cls, value in classify_class_attrs(object)
1511
+ if visiblename(name, obj=object)]
1512
+
1513
+ while attrs:
1514
+ if mro:
1515
+ thisclass = mro.popleft()
1516
+ else:
1517
+ thisclass = attrs[0][2]
1518
+ attrs, inherited = _split_list(attrs, lambda t: t[2] is thisclass)
1519
+
1520
+ if object is not builtins.object and thisclass is builtins.object:
1521
+ attrs = inherited
1522
+ continue
1523
+ elif thisclass is object:
1524
+ tag = "defined here"
1525
+ else:
1526
+ tag = "inherited from %s" % classname(thisclass,
1527
+ object.__module__)
1528
+
1529
+ sort_attributes(attrs, object)
1530
+
1531
+ # Pump out the attrs, segregated by kind.
1532
+ attrs = spill("Methods %s:\n" % tag, attrs,
1533
+ lambda t: t[1] == 'method')
1534
+ attrs = spill("Class methods %s:\n" % tag, attrs,
1535
+ lambda t: t[1] == 'class method')
1536
+ attrs = spill("Static methods %s:\n" % tag, attrs,
1537
+ lambda t: t[1] == 'static method')
1538
+ attrs = spilldescriptors("Readonly properties %s:\n" % tag, attrs,
1539
+ lambda t: t[1] == 'readonly property')
1540
+ attrs = spilldescriptors("Data descriptors %s:\n" % tag, attrs,
1541
+ lambda t: t[1] == 'data descriptor')
1542
+ attrs = spilldata("Data and other attributes %s:\n" % tag, attrs,
1543
+ lambda t: t[1] == 'data')
1544
+
1545
+ assert attrs == []
1546
+ attrs = inherited
1547
+
1548
+ contents = '\n'.join(contents)
1549
+ if not contents:
1550
+ return title + '\n'
1551
+ return title + '\n' + self.indent(contents.rstrip(), ' | ') + '\n'
1552
+
1553
+ def formatvalue(self, object):
1554
+ """Format an argument default value as text."""
1555
+ return '=' + self.repr(object)
1556
+
1557
+ def docroutine(self, object, name=None, mod=None, cl=None, homecls=None):
1558
+ """Produce text documentation for a function or method object."""
1559
+ realname = object.__name__
1560
+ name = name or realname
1561
+ if homecls is None:
1562
+ homecls = cl
1563
+ note = ''
1564
+ skipdocs = False
1565
+ imfunc = None
1566
+ if _is_bound_method(object):
1567
+ imself = object.__self__
1568
+ if imself is cl:
1569
+ imfunc = getattr(object, '__func__', None)
1570
+ elif inspect.isclass(imself):
1571
+ note = ' class method of %s' % classname(imself, mod)
1572
+ else:
1573
+ note = ' method of %s instance' % classname(
1574
+ imself.__class__, mod)
1575
+ elif (inspect.ismethoddescriptor(object) or
1576
+ inspect.ismethodwrapper(object)):
1577
+ try:
1578
+ objclass = object.__objclass__
1579
+ except AttributeError:
1580
+ pass
1581
+ else:
1582
+ if cl is None:
1583
+ note = ' unbound %s method' % classname(objclass, mod)
1584
+ elif objclass is not homecls:
1585
+ note = ' from ' + classname(objclass, mod)
1586
+ else:
1587
+ imfunc = object
1588
+ if inspect.isfunction(imfunc) and homecls is not None and (
1589
+ imfunc.__module__ != homecls.__module__ or
1590
+ imfunc.__qualname__ != homecls.__qualname__ + '.' + realname):
1591
+ pname = parentname(imfunc, mod)
1592
+ if pname:
1593
+ note = ' from %s' % pname
1594
+
1595
+ if (inspect.iscoroutinefunction(object) or
1596
+ inspect.isasyncgenfunction(object)):
1597
+ asyncqualifier = 'async '
1598
+ else:
1599
+ asyncqualifier = ''
1600
+
1601
+ if name == realname:
1602
+ title = self.bold(realname)
1603
+ else:
1604
+ if (cl is not None and
1605
+ inspect.getattr_static(cl, realname, []) is object):
1606
+ skipdocs = True
1607
+ if note.startswith(' from '):
1608
+ note = ''
1609
+ title = self.bold(name) + ' = ' + realname
1610
+ argspec = None
1611
+
1612
+ if inspect.isroutine(object):
1613
+ argspec = _getargspec(object)
1614
+ if argspec and realname == '<lambda>':
1615
+ title = self.bold(name) + ' lambda '
1616
+ # XXX lambda's won't usually have func_annotations['return']
1617
+ # since the syntax doesn't support but it is possible.
1618
+ # So removing parentheses isn't truly safe.
1619
+ if not object.__annotations__:
1620
+ argspec = argspec[1:-1]
1621
+ if not argspec:
1622
+ argspec = '(...)'
1623
+ decl = asyncqualifier + title + argspec + note
1624
+
1625
+ if skipdocs:
1626
+ return decl + '\n'
1627
+ else:
1628
+ doc = getdoc(object) or ''
1629
+ return decl + '\n' + (doc and self.indent(doc).rstrip() + '\n')
1630
+
1631
+ def docdata(self, object, name=None, mod=None, cl=None, *ignored):
1632
+ """Produce text documentation for a data descriptor."""
1633
+ results = []
1634
+ push = results.append
1635
+
1636
+ if name:
1637
+ push(self.bold(name))
1638
+ push('\n')
1639
+ doc = getdoc(object) or ''
1640
+ if doc:
1641
+ push(self.indent(doc))
1642
+ push('\n')
1643
+ return ''.join(results)
1644
+
1645
+ docproperty = docdata
1646
+
1647
+ def docother(self, object, name=None, mod=None, parent=None, *ignored,
1648
+ maxlen=None, doc=None):
1649
+ """Produce text documentation for a data object."""
1650
+ repr = self.repr(object)
1651
+ if maxlen:
1652
+ line = (name and name + ' = ' or '') + repr
1653
+ chop = maxlen - len(line)
1654
+ if chop < 0: repr = repr[:chop] + '...'
1655
+ line = (name and self.bold(name) + ' = ' or '') + repr
1656
+ if not doc:
1657
+ doc = getdoc(object)
1658
+ if doc:
1659
+ line += '\n' + self.indent(str(doc)) + '\n'
1660
+ return line
1661
+
1662
+ class _PlainTextDoc(TextDoc):
1663
+ """Subclass of TextDoc which overrides string styling"""
1664
+ def bold(self, text):
1665
+ return text
1666
+
1667
+ # --------------------------------------------------------- user interfaces
1668
+
1669
+ def pager(text, title=''):
1670
+ """The first time this is called, determine what kind of pager to use."""
1671
+ global pager
1672
+ pager = get_pager()
1673
+ pager(text, title)
1674
+
1675
+ def describe(thing):
1676
+ """Produce a short description of the given thing."""
1677
+ if inspect.ismodule(thing):
1678
+ if thing.__name__ in sys.builtin_module_names:
1679
+ return 'built-in module ' + thing.__name__
1680
+ if hasattr(thing, '__path__'):
1681
+ return 'package ' + thing.__name__
1682
+ else:
1683
+ return 'module ' + thing.__name__
1684
+ if inspect.isbuiltin(thing):
1685
+ return 'built-in function ' + thing.__name__
1686
+ if inspect.isgetsetdescriptor(thing):
1687
+ return 'getset descriptor %s.%s.%s' % (
1688
+ thing.__objclass__.__module__, thing.__objclass__.__name__,
1689
+ thing.__name__)
1690
+ if inspect.ismemberdescriptor(thing):
1691
+ return 'member descriptor %s.%s.%s' % (
1692
+ thing.__objclass__.__module__, thing.__objclass__.__name__,
1693
+ thing.__name__)
1694
+ if inspect.isclass(thing):
1695
+ return 'class ' + thing.__name__
1696
+ if inspect.isfunction(thing):
1697
+ return 'function ' + thing.__name__
1698
+ if inspect.ismethod(thing):
1699
+ return 'method ' + thing.__name__
1700
+ if inspect.ismethodwrapper(thing):
1701
+ return 'method wrapper ' + thing.__name__
1702
+ if inspect.ismethoddescriptor(thing):
1703
+ try:
1704
+ return 'method descriptor ' + thing.__name__
1705
+ except AttributeError:
1706
+ pass
1707
+ return type(thing).__name__
1708
+
1709
+ def locate(path, forceload=0):
1710
+ """Locate an object by name or dotted path, importing as necessary."""
1711
+ parts = [part for part in path.split('.') if part]
1712
+ module, n = None, 0
1713
+ while n < len(parts):
1714
+ nextmodule = safeimport('.'.join(parts[:n+1]), forceload)
1715
+ if nextmodule: module, n = nextmodule, n + 1
1716
+ else: break
1717
+ if module:
1718
+ object = module
1719
+ else:
1720
+ object = builtins
1721
+ for part in parts[n:]:
1722
+ try:
1723
+ object = getattr(object, part)
1724
+ except AttributeError:
1725
+ return None
1726
+ return object
1727
+
1728
+ # --------------------------------------- interactive interpreter interface
1729
+
1730
+ text = TextDoc()
1731
+ plaintext = _PlainTextDoc()
1732
+ html = HTMLDoc()
1733
+
1734
+ def resolve(thing, forceload=0):
1735
+ """Given an object or a path to an object, get the object and its name."""
1736
+ if isinstance(thing, str):
1737
+ object = locate(thing, forceload)
1738
+ if object is None:
1739
+ raise ImportError('''\
1740
+ No Python documentation found for %r.
1741
+ Use help() to get the interactive help utility.
1742
+ Use help(str) for help on the str class.''' % thing)
1743
+ return object, thing
1744
+ else:
1745
+ name = getattr(thing, '__name__', None)
1746
+ return thing, name if isinstance(name, str) else None
1747
+
1748
+ def render_doc(thing, title='Python Library Documentation: %s', forceload=0,
1749
+ renderer=None):
1750
+ """Render text documentation, given an object or a path to an object."""
1751
+ if renderer is None:
1752
+ renderer = text
1753
+ object, name = resolve(thing, forceload)
1754
+ desc = describe(object)
1755
+ module = inspect.getmodule(object)
1756
+ if name and '.' in name:
1757
+ desc += ' in ' + name[:name.rfind('.')]
1758
+ elif module and module is not object:
1759
+ desc += ' in module ' + module.__name__
1760
+
1761
+ if not (inspect.ismodule(object) or
1762
+ inspect.isclass(object) or
1763
+ inspect.isroutine(object) or
1764
+ inspect.isdatadescriptor(object) or
1765
+ _getdoc(object)):
1766
+ # If the passed object is a piece of data or an instance,
1767
+ # document its available methods instead of its value.
1768
+ if hasattr(object, '__origin__'):
1769
+ object = object.__origin__
1770
+ else:
1771
+ object = type(object)
1772
+ desc += ' object'
1773
+ return title % desc + '\n\n' + renderer.document(object, name)
1774
+
1775
+ def doc(thing, title='Python Library Documentation: %s', forceload=0,
1776
+ output=None, is_cli=False):
1777
+ """Display text documentation, given an object or a path to an object."""
1778
+ if output is None:
1779
+ try:
1780
+ if isinstance(thing, str):
1781
+ what = thing
1782
+ else:
1783
+ what = getattr(thing, '__qualname__', None)
1784
+ if not isinstance(what, str):
1785
+ what = getattr(thing, '__name__', None)
1786
+ if not isinstance(what, str):
1787
+ what = type(thing).__name__ + ' object'
1788
+ pager(render_doc(thing, title, forceload), f'Help on {what!s}')
1789
+ except ImportError as exc:
1790
+ if is_cli:
1791
+ raise
1792
+ print(exc)
1793
+ else:
1794
+ try:
1795
+ s = render_doc(thing, title, forceload, plaintext)
1796
+ except ImportError as exc:
1797
+ s = str(exc)
1798
+ output.write(s)
1799
+
1800
+ def writedoc(thing, forceload=0):
1801
+ """Write HTML documentation to a file in the current directory."""
1802
+ object, name = resolve(thing, forceload)
1803
+ page = html.page(describe(object), html.document(object, name))
1804
+ with open(name + '.html', 'w', encoding='utf-8') as file:
1805
+ file.write(page)
1806
+ print('wrote', name + '.html')
1807
+
1808
+ def writedocs(dir, pkgpath='', done=None):
1809
+ """Write out HTML documentation for all modules in a directory tree."""
1810
+ if done is None: done = {}
1811
+ for importer, modname, ispkg in pkgutil.walk_packages([dir], pkgpath):
1812
+ writedoc(modname)
1813
+ return
1814
+
1815
+
1816
+ def _introdoc():
1817
+ import textwrap
1818
+ ver = '%d.%d' % sys.version_info[:2]
1819
+ if os.environ.get('PYTHON_BASIC_REPL'):
1820
+ pyrepl_keys = ''
1821
+ else:
1822
+ # Additional help for keyboard shortcuts if enhanced REPL is used.
1823
+ pyrepl_keys = '''
1824
+ You can use the following keyboard shortcuts at the main interpreter prompt.
1825
+ F1: enter interactive help, F2: enter history browsing mode, F3: enter paste
1826
+ mode (press again to exit).
1827
+ '''
1828
+ return textwrap.dedent(f'''\
1829
+ Welcome to Python {ver}'s help utility! If this is your first time using
1830
+ Python, you should definitely check out the tutorial at
1831
+ https://docs.python.org/{ver}/tutorial/.
1832
+
1833
+ Enter the name of any module, keyword, or topic to get help on writing
1834
+ Python programs and using Python modules. To get a list of available
1835
+ modules, keywords, symbols, or topics, enter "modules", "keywords",
1836
+ "symbols", or "topics".
1837
+ {pyrepl_keys}
1838
+ Each module also comes with a one-line summary of what it does; to list
1839
+ the modules whose name or summary contain a given string such as "spam",
1840
+ enter "modules spam".
1841
+
1842
+ To quit this help utility and return to the interpreter,
1843
+ enter "q", "quit" or "exit".
1844
+ ''')
1845
+
1846
+ class Helper:
1847
+
1848
+ # These dictionaries map a topic name to either an alias, or a tuple
1849
+ # (label, seealso-items). The "label" is the label of the corresponding
1850
+ # section in the .rst file under Doc/ and an index into the dictionary
1851
+ # in pydoc_data/topics.py.
1852
+ #
1853
+ # CAUTION: if you change one of these dictionaries, be sure to adapt the
1854
+ # list of needed labels in Doc/tools/extensions/pyspecific.py and
1855
+ # regenerate the pydoc_data/topics.py file by running
1856
+ # make pydoc-topics
1857
+ # in Doc/ and copying the output file into the Lib/ directory.
1858
+
1859
+ keywords = {
1860
+ 'False': '',
1861
+ 'None': '',
1862
+ 'True': '',
1863
+ 'and': 'BOOLEAN',
1864
+ 'as': 'with',
1865
+ 'assert': ('assert', ''),
1866
+ 'async': ('async', ''),
1867
+ 'await': ('await', ''),
1868
+ 'break': ('break', 'while for'),
1869
+ 'class': ('class', 'CLASSES SPECIALMETHODS'),
1870
+ 'continue': ('continue', 'while for'),
1871
+ 'def': ('function', ''),
1872
+ 'del': ('del', 'BASICMETHODS'),
1873
+ 'elif': 'if',
1874
+ 'else': ('else', 'while for'),
1875
+ 'except': 'try',
1876
+ 'finally': 'try',
1877
+ 'for': ('for', 'break continue while'),
1878
+ 'from': 'import',
1879
+ 'global': ('global', 'nonlocal NAMESPACES'),
1880
+ 'if': ('if', 'TRUTHVALUE'),
1881
+ 'import': ('import', 'MODULES'),
1882
+ 'in': ('in', 'SEQUENCEMETHODS'),
1883
+ 'is': 'COMPARISON',
1884
+ 'lambda': ('lambda', 'FUNCTIONS'),
1885
+ 'nonlocal': ('nonlocal', 'global NAMESPACES'),
1886
+ 'not': 'BOOLEAN',
1887
+ 'or': 'BOOLEAN',
1888
+ 'pass': ('pass', ''),
1889
+ 'raise': ('raise', 'EXCEPTIONS'),
1890
+ 'return': ('return', 'FUNCTIONS'),
1891
+ 'try': ('try', 'EXCEPTIONS'),
1892
+ 'while': ('while', 'break continue if TRUTHVALUE'),
1893
+ 'with': ('with', 'CONTEXTMANAGERS EXCEPTIONS yield'),
1894
+ 'yield': ('yield', ''),
1895
+ }
1896
+ # Either add symbols to this dictionary or to the symbols dictionary
1897
+ # directly: Whichever is easier. They are merged later.
1898
+ _strprefixes = [p + q for p in ('b', 'f', 'r', 'u') for q in ("'", '"')]
1899
+ _symbols_inverse = {
1900
+ 'STRINGS' : ("'", "'''", '"', '"""', *_strprefixes),
1901
+ 'OPERATORS' : ('+', '-', '*', '**', '/', '//', '%', '<<', '>>', '&',
1902
+ '|', '^', '~', '<', '>', '<=', '>=', '==', '!=', '<>'),
1903
+ 'COMPARISON' : ('<', '>', '<=', '>=', '==', '!=', '<>'),
1904
+ 'UNARY' : ('-', '~'),
1905
+ 'AUGMENTEDASSIGNMENT' : ('+=', '-=', '*=', '/=', '%=', '&=', '|=',
1906
+ '^=', '<<=', '>>=', '**=', '//='),
1907
+ 'BITWISE' : ('<<', '>>', '&', '|', '^', '~'),
1908
+ 'COMPLEX' : ('j', 'J')
1909
+ }
1910
+ symbols = {
1911
+ '%': 'OPERATORS FORMATTING',
1912
+ '**': 'POWER',
1913
+ ',': 'TUPLES LISTS FUNCTIONS',
1914
+ '.': 'ATTRIBUTES FLOAT MODULES OBJECTS',
1915
+ '...': 'ELLIPSIS',
1916
+ ':': 'SLICINGS DICTIONARYLITERALS',
1917
+ '@': 'def class',
1918
+ '\\': 'STRINGS',
1919
+ ':=': 'ASSIGNMENTEXPRESSIONS',
1920
+ '_': 'PRIVATENAMES',
1921
+ '__': 'PRIVATENAMES SPECIALMETHODS',
1922
+ '`': 'BACKQUOTES',
1923
+ '(': 'TUPLES FUNCTIONS CALLS',
1924
+ ')': 'TUPLES FUNCTIONS CALLS',
1925
+ '[': 'LISTS SUBSCRIPTS SLICINGS',
1926
+ ']': 'LISTS SUBSCRIPTS SLICINGS'
1927
+ }
1928
+ for topic, symbols_ in _symbols_inverse.items():
1929
+ for symbol in symbols_:
1930
+ topics = symbols.get(symbol, topic)
1931
+ if topic not in topics:
1932
+ topics = topics + ' ' + topic
1933
+ symbols[symbol] = topics
1934
+ del topic, symbols_, symbol, topics
1935
+
1936
+ topics = {
1937
+ 'TYPES': ('types', 'STRINGS UNICODE NUMBERS SEQUENCES MAPPINGS '
1938
+ 'FUNCTIONS CLASSES MODULES FILES inspect'),
1939
+ 'STRINGS': ('strings', 'str UNICODE SEQUENCES STRINGMETHODS '
1940
+ 'FORMATTING TYPES'),
1941
+ 'STRINGMETHODS': ('string-methods', 'STRINGS FORMATTING'),
1942
+ 'FORMATTING': ('formatstrings', 'OPERATORS'),
1943
+ 'UNICODE': ('strings', 'encodings unicode SEQUENCES STRINGMETHODS '
1944
+ 'FORMATTING TYPES'),
1945
+ 'NUMBERS': ('numbers', 'INTEGER FLOAT COMPLEX TYPES'),
1946
+ 'INTEGER': ('integers', 'int range'),
1947
+ 'FLOAT': ('floating', 'float math'),
1948
+ 'COMPLEX': ('imaginary', 'complex cmath'),
1949
+ 'SEQUENCES': ('typesseq', 'STRINGMETHODS FORMATTING range LISTS'),
1950
+ 'MAPPINGS': 'DICTIONARIES',
1951
+ 'FUNCTIONS': ('typesfunctions', 'def TYPES'),
1952
+ 'METHODS': ('typesmethods', 'class def CLASSES TYPES'),
1953
+ 'CODEOBJECTS': ('bltin-code-objects', 'compile FUNCTIONS TYPES'),
1954
+ 'TYPEOBJECTS': ('bltin-type-objects', 'types TYPES'),
1955
+ 'FRAMEOBJECTS': 'TYPES',
1956
+ 'TRACEBACKS': 'TYPES',
1957
+ 'NONE': ('bltin-null-object', ''),
1958
+ 'ELLIPSIS': ('bltin-ellipsis-object', 'SLICINGS'),
1959
+ 'SPECIALATTRIBUTES': ('specialattrs', ''),
1960
+ 'CLASSES': ('types', 'class SPECIALMETHODS PRIVATENAMES'),
1961
+ 'MODULES': ('typesmodules', 'import'),
1962
+ 'PACKAGES': 'import',
1963
+ 'EXPRESSIONS': ('operator-summary', 'lambda or and not in is BOOLEAN '
1964
+ 'COMPARISON BITWISE SHIFTING BINARY FORMATTING POWER '
1965
+ 'UNARY ATTRIBUTES SUBSCRIPTS SLICINGS CALLS TUPLES '
1966
+ 'LISTS DICTIONARIES'),
1967
+ 'OPERATORS': 'EXPRESSIONS',
1968
+ 'PRECEDENCE': 'EXPRESSIONS',
1969
+ 'OBJECTS': ('objects', 'TYPES'),
1970
+ 'SPECIALMETHODS': ('specialnames', 'BASICMETHODS ATTRIBUTEMETHODS '
1971
+ 'CALLABLEMETHODS SEQUENCEMETHODS MAPPINGMETHODS '
1972
+ 'NUMBERMETHODS CLASSES'),
1973
+ 'BASICMETHODS': ('customization', 'hash repr str SPECIALMETHODS'),
1974
+ 'ATTRIBUTEMETHODS': ('attribute-access', 'ATTRIBUTES SPECIALMETHODS'),
1975
+ 'CALLABLEMETHODS': ('callable-types', 'CALLS SPECIALMETHODS'),
1976
+ 'SEQUENCEMETHODS': ('sequence-types', 'SEQUENCES SEQUENCEMETHODS '
1977
+ 'SPECIALMETHODS'),
1978
+ 'MAPPINGMETHODS': ('sequence-types', 'MAPPINGS SPECIALMETHODS'),
1979
+ 'NUMBERMETHODS': ('numeric-types', 'NUMBERS AUGMENTEDASSIGNMENT '
1980
+ 'SPECIALMETHODS'),
1981
+ 'EXECUTION': ('execmodel', 'NAMESPACES DYNAMICFEATURES EXCEPTIONS'),
1982
+ 'NAMESPACES': ('naming', 'global nonlocal ASSIGNMENT DELETION DYNAMICFEATURES'),
1983
+ 'DYNAMICFEATURES': ('dynamic-features', ''),
1984
+ 'SCOPING': 'NAMESPACES',
1985
+ 'FRAMES': 'NAMESPACES',
1986
+ 'EXCEPTIONS': ('exceptions', 'try except finally raise'),
1987
+ 'CONVERSIONS': ('conversions', ''),
1988
+ 'IDENTIFIERS': ('identifiers', 'keywords SPECIALIDENTIFIERS'),
1989
+ 'SPECIALIDENTIFIERS': ('id-classes', ''),
1990
+ 'PRIVATENAMES': ('atom-identifiers', ''),
1991
+ 'LITERALS': ('atom-literals', 'STRINGS NUMBERS TUPLELITERALS '
1992
+ 'LISTLITERALS DICTIONARYLITERALS'),
1993
+ 'TUPLES': 'SEQUENCES',
1994
+ 'TUPLELITERALS': ('exprlists', 'TUPLES LITERALS'),
1995
+ 'LISTS': ('typesseq-mutable', 'LISTLITERALS'),
1996
+ 'LISTLITERALS': ('lists', 'LISTS LITERALS'),
1997
+ 'DICTIONARIES': ('typesmapping', 'DICTIONARYLITERALS'),
1998
+ 'DICTIONARYLITERALS': ('dict', 'DICTIONARIES LITERALS'),
1999
+ 'ATTRIBUTES': ('attribute-references', 'getattr hasattr setattr ATTRIBUTEMETHODS'),
2000
+ 'SUBSCRIPTS': ('subscriptions', 'SEQUENCEMETHODS'),
2001
+ 'SLICINGS': ('slicings', 'SEQUENCEMETHODS'),
2002
+ 'CALLS': ('calls', 'EXPRESSIONS'),
2003
+ 'POWER': ('power', 'EXPRESSIONS'),
2004
+ 'UNARY': ('unary', 'EXPRESSIONS'),
2005
+ 'BINARY': ('binary', 'EXPRESSIONS'),
2006
+ 'SHIFTING': ('shifting', 'EXPRESSIONS'),
2007
+ 'BITWISE': ('bitwise', 'EXPRESSIONS'),
2008
+ 'COMPARISON': ('comparisons', 'EXPRESSIONS BASICMETHODS'),
2009
+ 'BOOLEAN': ('booleans', 'EXPRESSIONS TRUTHVALUE'),
2010
+ 'ASSERTION': 'assert',
2011
+ 'ASSIGNMENT': ('assignment', 'AUGMENTEDASSIGNMENT'),
2012
+ 'AUGMENTEDASSIGNMENT': ('augassign', 'NUMBERMETHODS'),
2013
+ 'ASSIGNMENTEXPRESSIONS': ('assignment-expressions', ''),
2014
+ 'DELETION': 'del',
2015
+ 'RETURNING': 'return',
2016
+ 'IMPORTING': 'import',
2017
+ 'CONDITIONAL': 'if',
2018
+ 'LOOPING': ('compound', 'for while break continue'),
2019
+ 'TRUTHVALUE': ('truth', 'if while and or not BASICMETHODS'),
2020
+ 'DEBUGGING': ('debugger', 'pdb'),
2021
+ 'CONTEXTMANAGERS': ('context-managers', 'with'),
2022
+ }
2023
+
2024
+ def __init__(self, input=None, output=None):
2025
+ self._input = input
2026
+ self._output = output
2027
+
2028
+ @property
2029
+ def input(self):
2030
+ return self._input or sys.stdin
2031
+
2032
+ @property
2033
+ def output(self):
2034
+ return self._output or sys.stdout
2035
+
2036
+ def __repr__(self):
2037
+ if inspect.stack()[1][3] == '?':
2038
+ self()
2039
+ return ''
2040
+ return '<%s.%s instance>' % (self.__class__.__module__,
2041
+ self.__class__.__qualname__)
2042
+
2043
+ _GoInteractive = object()
2044
+ def __call__(self, request=_GoInteractive):
2045
+ if request is not self._GoInteractive:
2046
+ try:
2047
+ self.help(request)
2048
+ except ImportError as err:
2049
+ self.output.write(f'{err}\n')
2050
+ else:
2051
+ self.intro()
2052
+ self.interact()
2053
+ self.output.write('''
2054
+ You are now leaving help and returning to the Python interpreter.
2055
+ If you want to ask for help on a particular object directly from the
2056
+ interpreter, you can type "help(object)". Executing "help('string')"
2057
+ has the same effect as typing a particular string at the help> prompt.
2058
+ ''')
2059
+
2060
+ def interact(self):
2061
+ self.output.write('\n')
2062
+ while True:
2063
+ try:
2064
+ request = self.getline('help> ')
2065
+ if not request: break
2066
+ except (KeyboardInterrupt, EOFError):
2067
+ break
2068
+ request = request.strip()
2069
+
2070
+ # Make sure significant trailing quoting marks of literals don't
2071
+ # get deleted while cleaning input
2072
+ if (len(request) > 2 and request[0] == request[-1] in ("'", '"')
2073
+ and request[0] not in request[1:-1]):
2074
+ request = request[1:-1]
2075
+ if request.lower() in ('q', 'quit', 'exit'): break
2076
+ if request == 'help':
2077
+ self.intro()
2078
+ else:
2079
+ self.help(request)
2080
+
2081
+ def getline(self, prompt):
2082
+ """Read one line, using input() when appropriate."""
2083
+ if self.input is sys.stdin:
2084
+ return input(prompt)
2085
+ else:
2086
+ self.output.write(prompt)
2087
+ self.output.flush()
2088
+ return self.input.readline()
2089
+
2090
+ def help(self, request, is_cli=False):
2091
+ if isinstance(request, str):
2092
+ request = request.strip()
2093
+ if request == 'keywords': self.listkeywords()
2094
+ elif request == 'symbols': self.listsymbols()
2095
+ elif request == 'topics': self.listtopics()
2096
+ elif request == 'modules': self.listmodules()
2097
+ elif request[:8] == 'modules ':
2098
+ self.listmodules(request.split()[1])
2099
+ elif request in self.symbols: self.showsymbol(request)
2100
+ elif request in ['True', 'False', 'None']:
2101
+ # special case these keywords since they are objects too
2102
+ doc(eval(request), 'Help on %s:', output=self._output, is_cli=is_cli)
2103
+ elif request in self.keywords: self.showtopic(request)
2104
+ elif request in self.topics: self.showtopic(request)
2105
+ elif request: doc(request, 'Help on %s:', output=self._output, is_cli=is_cli)
2106
+ else: doc(str, 'Help on %s:', output=self._output, is_cli=is_cli)
2107
+ elif isinstance(request, Helper): self()
2108
+ else: doc(request, 'Help on %s:', output=self._output, is_cli=is_cli)
2109
+ self.output.write('\n')
2110
+
2111
+ def intro(self):
2112
+ self.output.write(_introdoc())
2113
+
2114
+ def list(self, items, columns=4, width=80):
2115
+ items = sorted(items)
2116
+ colw = width // columns
2117
+ rows = (len(items) + columns - 1) // columns
2118
+ for row in range(rows):
2119
+ for col in range(columns):
2120
+ i = col * rows + row
2121
+ if i < len(items):
2122
+ self.output.write(items[i])
2123
+ if col < columns - 1:
2124
+ self.output.write(' ' + ' ' * (colw - 1 - len(items[i])))
2125
+ self.output.write('\n')
2126
+
2127
+ def listkeywords(self):
2128
+ self.output.write('''
2129
+ Here is a list of the Python keywords. Enter any keyword to get more help.
2130
+
2131
+ ''')
2132
+ self.list(self.keywords.keys())
2133
+
2134
+ def listsymbols(self):
2135
+ self.output.write('''
2136
+ Here is a list of the punctuation symbols which Python assigns special meaning
2137
+ to. Enter any symbol to get more help.
2138
+
2139
+ ''')
2140
+ self.list(self.symbols.keys())
2141
+
2142
+ def listtopics(self):
2143
+ self.output.write('''
2144
+ Here is a list of available topics. Enter any topic name to get more help.
2145
+
2146
+ ''')
2147
+ self.list(self.topics.keys(), columns=3)
2148
+
2149
+ def showtopic(self, topic, more_xrefs=''):
2150
+ try:
2151
+ import pydoc_data.topics
2152
+ except ImportError:
2153
+ self.output.write('''
2154
+ Sorry, topic and keyword documentation is not available because the
2155
+ module "pydoc_data.topics" could not be found.
2156
+ ''')
2157
+ return
2158
+ target = self.topics.get(topic, self.keywords.get(topic))
2159
+ if not target:
2160
+ self.output.write('no documentation found for %s\n' % repr(topic))
2161
+ return
2162
+ if isinstance(target, str):
2163
+ return self.showtopic(target, more_xrefs)
2164
+
2165
+ label, xrefs = target
2166
+ try:
2167
+ doc = pydoc_data.topics.topics[label]
2168
+ except KeyError:
2169
+ self.output.write('no documentation found for %s\n' % repr(topic))
2170
+ return
2171
+ doc = doc.strip() + '\n'
2172
+ if more_xrefs:
2173
+ xrefs = (xrefs or '') + ' ' + more_xrefs
2174
+ if xrefs:
2175
+ import textwrap
2176
+ text = 'Related help topics: ' + ', '.join(xrefs.split()) + '\n'
2177
+ wrapped_text = textwrap.wrap(text, 72)
2178
+ doc += '\n%s\n' % '\n'.join(wrapped_text)
2179
+
2180
+ if self._output is None:
2181
+ pager(doc, f'Help on {topic!s}')
2182
+ else:
2183
+ self.output.write(doc)
2184
+
2185
+ def _gettopic(self, topic, more_xrefs=''):
2186
+ """Return unbuffered tuple of (topic, xrefs).
2187
+
2188
+ If an error occurs here, the exception is caught and displayed by
2189
+ the url handler.
2190
+
2191
+ This function duplicates the showtopic method but returns its
2192
+ result directly so it can be formatted for display in an html page.
2193
+ """
2194
+ try:
2195
+ import pydoc_data.topics
2196
+ except ImportError:
2197
+ return('''
2198
+ Sorry, topic and keyword documentation is not available because the
2199
+ module "pydoc_data.topics" could not be found.
2200
+ ''' , '')
2201
+ target = self.topics.get(topic, self.keywords.get(topic))
2202
+ if not target:
2203
+ raise ValueError('could not find topic')
2204
+ if isinstance(target, str):
2205
+ return self._gettopic(target, more_xrefs)
2206
+ label, xrefs = target
2207
+ doc = pydoc_data.topics.topics[label]
2208
+ if more_xrefs:
2209
+ xrefs = (xrefs or '') + ' ' + more_xrefs
2210
+ return doc, xrefs
2211
+
2212
+ def showsymbol(self, symbol):
2213
+ target = self.symbols[symbol]
2214
+ topic, _, xrefs = target.partition(' ')
2215
+ self.showtopic(topic, xrefs)
2216
+
2217
+ def listmodules(self, key=''):
2218
+ if key:
2219
+ self.output.write('''
2220
+ Here is a list of modules whose name or summary contains '{}'.
2221
+ If there are any, enter a module name to get more help.
2222
+
2223
+ '''.format(key))
2224
+ apropos(key)
2225
+ else:
2226
+ self.output.write('''
2227
+ Please wait a moment while I gather a list of all available modules...
2228
+
2229
+ ''')
2230
+ modules = {}
2231
+ def callback(path, modname, desc, modules=modules):
2232
+ if modname and modname[-9:] == '.__init__':
2233
+ modname = modname[:-9] + ' (package)'
2234
+ if modname.find('.') < 0:
2235
+ modules[modname] = 1
2236
+ def onerror(modname):
2237
+ callback(None, modname, None)
2238
+ ModuleScanner().run(callback, onerror=onerror)
2239
+ self.list(modules.keys())
2240
+ self.output.write('''
2241
+ Enter any module name to get more help. Or, type "modules spam" to search
2242
+ for modules whose name or summary contain the string "spam".
2243
+ ''')
2244
+
2245
+ help = Helper()
2246
+
2247
+ class ModuleScanner:
2248
+ """An interruptible scanner that searches module synopses."""
2249
+
2250
+ def run(self, callback, key=None, completer=None, onerror=None):
2251
+ if key: key = key.lower()
2252
+ self.quit = False
2253
+ seen = {}
2254
+
2255
+ for modname in sys.builtin_module_names:
2256
+ if modname != '__main__':
2257
+ seen[modname] = 1
2258
+ if key is None:
2259
+ callback(None, modname, '')
2260
+ else:
2261
+ name = __import__(modname).__doc__ or ''
2262
+ desc = name.split('\n')[0]
2263
+ name = modname + ' - ' + desc
2264
+ if name.lower().find(key) >= 0:
2265
+ callback(None, modname, desc)
2266
+
2267
+ for importer, modname, ispkg in pkgutil.walk_packages(onerror=onerror):
2268
+ if self.quit:
2269
+ break
2270
+
2271
+ if key is None:
2272
+ callback(None, modname, '')
2273
+ else:
2274
+ try:
2275
+ spec = importer.find_spec(modname)
2276
+ except SyntaxError:
2277
+ # raised by tests for bad coding cookies or BOM
2278
+ continue
2279
+ loader = spec.loader
2280
+ if hasattr(loader, 'get_source'):
2281
+ try:
2282
+ source = loader.get_source(modname)
2283
+ except Exception:
2284
+ if onerror:
2285
+ onerror(modname)
2286
+ continue
2287
+ desc = source_synopsis(io.StringIO(source)) or ''
2288
+ if hasattr(loader, 'get_filename'):
2289
+ path = loader.get_filename(modname)
2290
+ else:
2291
+ path = None
2292
+ else:
2293
+ try:
2294
+ module = importlib._bootstrap._load(spec)
2295
+ except ImportError:
2296
+ if onerror:
2297
+ onerror(modname)
2298
+ continue
2299
+ desc = module.__doc__.splitlines()[0] if module.__doc__ else ''
2300
+ path = getattr(module,'__file__',None)
2301
+ name = modname + ' - ' + desc
2302
+ if name.lower().find(key) >= 0:
2303
+ callback(path, modname, desc)
2304
+
2305
+ if completer:
2306
+ completer()
2307
+
2308
+ def apropos(key):
2309
+ """Print all the one-line module summaries that contain a substring."""
2310
+ def callback(path, modname, desc):
2311
+ if modname[-9:] == '.__init__':
2312
+ modname = modname[:-9] + ' (package)'
2313
+ print(modname, desc and '- ' + desc)
2314
+ def onerror(modname):
2315
+ pass
2316
+ with warnings.catch_warnings():
2317
+ warnings.filterwarnings('ignore') # ignore problems during import
2318
+ ModuleScanner().run(callback, key, onerror=onerror)
2319
+
2320
+ # --------------------------------------- enhanced web browser interface
2321
+
2322
+ def _start_server(urlhandler, hostname, port):
2323
+ """Start an HTTP server thread on a specific port.
2324
+
2325
+ Start an HTML/text server thread, so HTML or text documents can be
2326
+ browsed dynamically and interactively with a web browser. Example use:
2327
+
2328
+ >>> import time
2329
+ >>> import pydoc
2330
+
2331
+ Define a URL handler. To determine what the client is asking
2332
+ for, check the URL and content_type.
2333
+
2334
+ Then get or generate some text or HTML code and return it.
2335
+
2336
+ >>> def my_url_handler(url, content_type):
2337
+ ... text = 'the URL sent was: (%s, %s)' % (url, content_type)
2338
+ ... return text
2339
+
2340
+ Start server thread on port 0.
2341
+ If you use port 0, the server will pick a random port number.
2342
+ You can then use serverthread.port to get the port number.
2343
+
2344
+ >>> port = 0
2345
+ >>> serverthread = pydoc._start_server(my_url_handler, port)
2346
+
2347
+ Check that the server is really started. If it is, open browser
2348
+ and get first page. Use serverthread.url as the starting page.
2349
+
2350
+ >>> if serverthread.serving:
2351
+ ... import webbrowser
2352
+
2353
+ The next two lines are commented out so a browser doesn't open if
2354
+ doctest is run on this module.
2355
+
2356
+ #... webbrowser.open(serverthread.url)
2357
+ #True
2358
+
2359
+ Let the server do its thing. We just need to monitor its status.
2360
+ Use time.sleep so the loop doesn't hog the CPU.
2361
+
2362
+ >>> starttime = time.monotonic()
2363
+ >>> timeout = 1 #seconds
2364
+
2365
+ This is a short timeout for testing purposes.
2366
+
2367
+ >>> while serverthread.serving:
2368
+ ... time.sleep(.01)
2369
+ ... if serverthread.serving and time.monotonic() - starttime > timeout:
2370
+ ... serverthread.stop()
2371
+ ... break
2372
+
2373
+ Print any errors that may have occurred.
2374
+
2375
+ >>> print(serverthread.error)
2376
+ None
2377
+ """
2378
+ import http.server
2379
+ import email.message
2380
+ import select
2381
+ import threading
2382
+
2383
+ class DocHandler(http.server.BaseHTTPRequestHandler):
2384
+
2385
+ def do_GET(self):
2386
+ """Process a request from an HTML browser.
2387
+
2388
+ The URL received is in self.path.
2389
+ Get an HTML page from self.urlhandler and send it.
2390
+ """
2391
+ if self.path.endswith('.css'):
2392
+ content_type = 'text/css'
2393
+ else:
2394
+ content_type = 'text/html'
2395
+ self.send_response(200)
2396
+ self.send_header('Content-Type', '%s; charset=UTF-8' % content_type)
2397
+ self.end_headers()
2398
+ self.wfile.write(self.urlhandler(
2399
+ self.path, content_type).encode('utf-8'))
2400
+
2401
+ def log_message(self, *args):
2402
+ # Don't log messages.
2403
+ pass
2404
+
2405
+ class DocServer(http.server.HTTPServer):
2406
+
2407
+ def __init__(self, host, port, callback):
2408
+ self.host = host
2409
+ self.address = (self.host, port)
2410
+ self.callback = callback
2411
+ self.base.__init__(self, self.address, self.handler)
2412
+ self.quit = False
2413
+
2414
+ def serve_until_quit(self):
2415
+ while not self.quit:
2416
+ rd, wr, ex = select.select([self.socket.fileno()], [], [], 1)
2417
+ if rd:
2418
+ self.handle_request()
2419
+ self.server_close()
2420
+
2421
+ def server_activate(self):
2422
+ self.base.server_activate(self)
2423
+ if self.callback:
2424
+ self.callback(self)
2425
+
2426
+ class ServerThread(threading.Thread):
2427
+
2428
+ def __init__(self, urlhandler, host, port):
2429
+ self.urlhandler = urlhandler
2430
+ self.host = host
2431
+ self.port = int(port)
2432
+ threading.Thread.__init__(self)
2433
+ self.serving = False
2434
+ self.error = None
2435
+ self.docserver = None
2436
+
2437
+ def run(self):
2438
+ """Start the server."""
2439
+ try:
2440
+ DocServer.base = http.server.HTTPServer
2441
+ DocServer.handler = DocHandler
2442
+ DocHandler.MessageClass = email.message.Message
2443
+ DocHandler.urlhandler = staticmethod(self.urlhandler)
2444
+ docsvr = DocServer(self.host, self.port, self.ready)
2445
+ self.docserver = docsvr
2446
+ docsvr.serve_until_quit()
2447
+ except Exception as err:
2448
+ self.error = err
2449
+
2450
+ def ready(self, server):
2451
+ self.serving = True
2452
+ self.host = server.host
2453
+ self.port = server.server_port
2454
+ self.url = 'http://%s:%d/' % (self.host, self.port)
2455
+
2456
+ def stop(self):
2457
+ """Stop the server and this thread nicely"""
2458
+ self.docserver.quit = True
2459
+ self.join()
2460
+ # explicitly break a reference cycle: DocServer.callback
2461
+ # has indirectly a reference to ServerThread.
2462
+ self.docserver = None
2463
+ self.serving = False
2464
+ self.url = None
2465
+
2466
+ thread = ServerThread(urlhandler, hostname, port)
2467
+ thread.start()
2468
+ # Wait until thread.serving is True and thread.docserver is set
2469
+ # to make sure we are really up before returning.
2470
+ while not thread.error and not (thread.serving and thread.docserver):
2471
+ time.sleep(.01)
2472
+ return thread
2473
+
2474
+
2475
+ def _url_handler(url, content_type="text/html"):
2476
+ """The pydoc url handler for use with the pydoc server.
2477
+
2478
+ If the content_type is 'text/css', the _pydoc.css style
2479
+ sheet is read and returned if it exits.
2480
+
2481
+ If the content_type is 'text/html', then the result of
2482
+ get_html_page(url) is returned.
2483
+ """
2484
+ class _HTMLDoc(HTMLDoc):
2485
+
2486
+ def page(self, title, contents):
2487
+ """Format an HTML page."""
2488
+ css_path = "pydoc_data/_pydoc.css"
2489
+ css_link = (
2490
+ '<link rel="stylesheet" type="text/css" href="%s">' %
2491
+ css_path)
2492
+ return '''\
2493
+ <!DOCTYPE>
2494
+ <html lang="en">
2495
+ <head>
2496
+ <meta charset="utf-8">
2497
+ <title>Pydoc: %s</title>
2498
+ %s</head><body>%s<div style="clear:both;padding-top:.5em;">%s</div>
2499
+ </body></html>''' % (title, css_link, html_navbar(), contents)
2500
+
2501
+
2502
+ html = _HTMLDoc()
2503
+
2504
+ def html_navbar():
2505
+ version = html.escape("%s [%s, %s]" % (platform.python_version(),
2506
+ platform.python_build()[0],
2507
+ platform.python_compiler()))
2508
+ return """
2509
+ <div style='float:left'>
2510
+ Python %s<br>%s
2511
+ </div>
2512
+ <div style='float:right'>
2513
+ <div style='text-align:center'>
2514
+ <a href="index.html">Module Index</a>
2515
+ : <a href="topics.html">Topics</a>
2516
+ : <a href="keywords.html">Keywords</a>
2517
+ </div>
2518
+ <div>
2519
+ <form action="get" style='display:inline;'>
2520
+ <input type=text name=key size=15>
2521
+ <input type=submit value="Get">
2522
+ </form>&nbsp;
2523
+ <form action="search" style='display:inline;'>
2524
+ <input type=text name=key size=15>
2525
+ <input type=submit value="Search">
2526
+ </form>
2527
+ </div>
2528
+ </div>
2529
+ """ % (version, html.escape(platform.platform(terse=True)))
2530
+
2531
+ def html_index():
2532
+ """Module Index page."""
2533
+
2534
+ def bltinlink(name):
2535
+ return '<a href="%s.html">%s</a>' % (name, name)
2536
+
2537
+ heading = html.heading(
2538
+ '<strong class="title">Index of Modules</strong>'
2539
+ )
2540
+ names = [name for name in sys.builtin_module_names
2541
+ if name != '__main__']
2542
+ contents = html.multicolumn(names, bltinlink)
2543
+ contents = [heading, '<p>' + html.bigsection(
2544
+ 'Built-in Modules', 'index', contents)]
2545
+
2546
+ seen = {}
2547
+ for dir in sys.path:
2548
+ contents.append(html.index(dir, seen))
2549
+
2550
+ contents.append(
2551
+ '<p align=right class="heading-text grey"><strong>pydoc</strong> by Ka-Ping Yee'
2552
+ '&lt;ping@lfw.org&gt;</p>')
2553
+ return 'Index of Modules', ''.join(contents)
2554
+
2555
+ def html_search(key):
2556
+ """Search results page."""
2557
+ # scan for modules
2558
+ search_result = []
2559
+
2560
+ def callback(path, modname, desc):
2561
+ if modname[-9:] == '.__init__':
2562
+ modname = modname[:-9] + ' (package)'
2563
+ search_result.append((modname, desc and '- ' + desc))
2564
+
2565
+ with warnings.catch_warnings():
2566
+ warnings.filterwarnings('ignore') # ignore problems during import
2567
+ def onerror(modname):
2568
+ pass
2569
+ ModuleScanner().run(callback, key, onerror=onerror)
2570
+
2571
+ # format page
2572
+ def bltinlink(name):
2573
+ return '<a href="%s.html">%s</a>' % (name, name)
2574
+
2575
+ results = []
2576
+ heading = html.heading(
2577
+ '<strong class="title">Search Results</strong>',
2578
+ )
2579
+ for name, desc in search_result:
2580
+ results.append(bltinlink(name) + desc)
2581
+ contents = heading + html.bigsection(
2582
+ 'key = %s' % key, 'index', '<br>'.join(results))
2583
+ return 'Search Results', contents
2584
+
2585
+ def html_topics():
2586
+ """Index of topic texts available."""
2587
+
2588
+ def bltinlink(name):
2589
+ return '<a href="topic?key=%s">%s</a>' % (name, name)
2590
+
2591
+ heading = html.heading(
2592
+ '<strong class="title">INDEX</strong>',
2593
+ )
2594
+ names = sorted(Helper.topics.keys())
2595
+
2596
+ contents = html.multicolumn(names, bltinlink)
2597
+ contents = heading + html.bigsection(
2598
+ 'Topics', 'index', contents)
2599
+ return 'Topics', contents
2600
+
2601
+ def html_keywords():
2602
+ """Index of keywords."""
2603
+ heading = html.heading(
2604
+ '<strong class="title">INDEX</strong>',
2605
+ )
2606
+ names = sorted(Helper.keywords.keys())
2607
+
2608
+ def bltinlink(name):
2609
+ return '<a href="topic?key=%s">%s</a>' % (name, name)
2610
+
2611
+ contents = html.multicolumn(names, bltinlink)
2612
+ contents = heading + html.bigsection(
2613
+ 'Keywords', 'index', contents)
2614
+ return 'Keywords', contents
2615
+
2616
+ def html_topicpage(topic):
2617
+ """Topic or keyword help page."""
2618
+ buf = io.StringIO()
2619
+ htmlhelp = Helper(buf, buf)
2620
+ contents, xrefs = htmlhelp._gettopic(topic)
2621
+ if topic in htmlhelp.keywords:
2622
+ title = 'KEYWORD'
2623
+ else:
2624
+ title = 'TOPIC'
2625
+ heading = html.heading(
2626
+ '<strong class="title">%s</strong>' % title,
2627
+ )
2628
+ contents = '<pre>%s</pre>' % html.markup(contents)
2629
+ contents = html.bigsection(topic , 'index', contents)
2630
+ if xrefs:
2631
+ xrefs = sorted(xrefs.split())
2632
+
2633
+ def bltinlink(name):
2634
+ return '<a href="topic?key=%s">%s</a>' % (name, name)
2635
+
2636
+ xrefs = html.multicolumn(xrefs, bltinlink)
2637
+ xrefs = html.section('Related help topics: ', 'index', xrefs)
2638
+ return ('%s %s' % (title, topic),
2639
+ ''.join((heading, contents, xrefs)))
2640
+
2641
+ def html_getobj(url):
2642
+ obj = locate(url, forceload=1)
2643
+ if obj is None and url != 'None':
2644
+ raise ValueError('could not find object')
2645
+ title = describe(obj)
2646
+ content = html.document(obj, url)
2647
+ return title, content
2648
+
2649
+ def html_error(url, exc):
2650
+ heading = html.heading(
2651
+ '<strong class="title">Error</strong>',
2652
+ )
2653
+ contents = '<br>'.join(html.escape(line) for line in
2654
+ format_exception_only(type(exc), exc))
2655
+ contents = heading + html.bigsection(url, 'error', contents)
2656
+ return "Error - %s" % url, contents
2657
+
2658
+ def get_html_page(url):
2659
+ """Generate an HTML page for url."""
2660
+ complete_url = url
2661
+ if url.endswith('.html'):
2662
+ url = url[:-5]
2663
+ try:
2664
+ if url in ("", "index"):
2665
+ title, content = html_index()
2666
+ elif url == "topics":
2667
+ title, content = html_topics()
2668
+ elif url == "keywords":
2669
+ title, content = html_keywords()
2670
+ elif '=' in url:
2671
+ op, _, url = url.partition('=')
2672
+ if op == "search?key":
2673
+ title, content = html_search(url)
2674
+ elif op == "topic?key":
2675
+ # try topics first, then objects.
2676
+ try:
2677
+ title, content = html_topicpage(url)
2678
+ except ValueError:
2679
+ title, content = html_getobj(url)
2680
+ elif op == "get?key":
2681
+ # try objects first, then topics.
2682
+ if url in ("", "index"):
2683
+ title, content = html_index()
2684
+ else:
2685
+ try:
2686
+ title, content = html_getobj(url)
2687
+ except ValueError:
2688
+ title, content = html_topicpage(url)
2689
+ else:
2690
+ raise ValueError('bad pydoc url')
2691
+ else:
2692
+ title, content = html_getobj(url)
2693
+ except Exception as exc:
2694
+ # Catch any errors and display them in an error page.
2695
+ title, content = html_error(complete_url, exc)
2696
+ return html.page(title, content)
2697
+
2698
+ if url.startswith('/'):
2699
+ url = url[1:]
2700
+ if content_type == 'text/css':
2701
+ path_here = os.path.dirname(os.path.realpath(__file__))
2702
+ css_path = os.path.join(path_here, url)
2703
+ with open(css_path) as fp:
2704
+ return ''.join(fp.readlines())
2705
+ elif content_type == 'text/html':
2706
+ return get_html_page(url)
2707
+ # Errors outside the url handler are caught by the server.
2708
+ raise TypeError('unknown content type %r for url %s' % (content_type, url))
2709
+
2710
+
2711
+ def browse(port=0, *, open_browser=True, hostname='localhost'):
2712
+ """Start the enhanced pydoc web server and open a web browser.
2713
+
2714
+ Use port '0' to start the server on an arbitrary port.
2715
+ Set open_browser to False to suppress opening a browser.
2716
+ """
2717
+ import webbrowser
2718
+ serverthread = _start_server(_url_handler, hostname, port)
2719
+ if serverthread.error:
2720
+ print(serverthread.error)
2721
+ return
2722
+ if serverthread.serving:
2723
+ server_help_msg = 'Server commands: [b]rowser, [q]uit'
2724
+ if open_browser:
2725
+ webbrowser.open(serverthread.url)
2726
+ try:
2727
+ print('Server ready at', serverthread.url)
2728
+ print(server_help_msg)
2729
+ while serverthread.serving:
2730
+ cmd = input('server> ')
2731
+ cmd = cmd.lower()
2732
+ if cmd == 'q':
2733
+ break
2734
+ elif cmd == 'b':
2735
+ webbrowser.open(serverthread.url)
2736
+ else:
2737
+ print(server_help_msg)
2738
+ except (KeyboardInterrupt, EOFError):
2739
+ print()
2740
+ finally:
2741
+ if serverthread.serving:
2742
+ serverthread.stop()
2743
+ print('Server stopped')
2744
+
2745
+
2746
+ # -------------------------------------------------- command-line interface
2747
+
2748
+ def ispath(x):
2749
+ return isinstance(x, str) and x.find(os.sep) >= 0
2750
+
2751
+ def _get_revised_path(given_path, argv0):
2752
+ """Ensures current directory is on returned path, and argv0 directory is not
2753
+
2754
+ Exception: argv0 dir is left alone if it's also pydoc's directory.
2755
+
2756
+ Returns a new path entry list, or None if no adjustment is needed.
2757
+ """
2758
+ # Scripts may get the current directory in their path by default if they're
2759
+ # run with the -m switch, or directly from the current directory.
2760
+ # The interactive prompt also allows imports from the current directory.
2761
+
2762
+ # Accordingly, if the current directory is already present, don't make
2763
+ # any changes to the given_path
2764
+ if '' in given_path or os.curdir in given_path or os.getcwd() in given_path:
2765
+ return None
2766
+
2767
+ # Otherwise, add the current directory to the given path, and remove the
2768
+ # script directory (as long as the latter isn't also pydoc's directory.
2769
+ stdlib_dir = os.path.dirname(__file__)
2770
+ script_dir = os.path.dirname(argv0)
2771
+ revised_path = given_path.copy()
2772
+ if script_dir in given_path and not os.path.samefile(script_dir, stdlib_dir):
2773
+ revised_path.remove(script_dir)
2774
+ revised_path.insert(0, os.getcwd())
2775
+ return revised_path
2776
+
2777
+
2778
+ # Note: the tests only cover _get_revised_path, not _adjust_cli_path itself
2779
+ def _adjust_cli_sys_path():
2780
+ """Ensures current directory is on sys.path, and __main__ directory is not.
2781
+
2782
+ Exception: __main__ dir is left alone if it's also pydoc's directory.
2783
+ """
2784
+ revised_path = _get_revised_path(sys.path, sys.argv[0])
2785
+ if revised_path is not None:
2786
+ sys.path[:] = revised_path
2787
+
2788
+
2789
+ def cli():
2790
+ """Command-line interface (looks at sys.argv to decide what to do)."""
2791
+ import getopt
2792
+ class BadUsage(Exception): pass
2793
+
2794
+ _adjust_cli_sys_path()
2795
+
2796
+ try:
2797
+ opts, args = getopt.getopt(sys.argv[1:], 'bk:n:p:w')
2798
+ writing = False
2799
+ start_server = False
2800
+ open_browser = False
2801
+ port = 0
2802
+ hostname = 'localhost'
2803
+ for opt, val in opts:
2804
+ if opt == '-b':
2805
+ start_server = True
2806
+ open_browser = True
2807
+ if opt == '-k':
2808
+ apropos(val)
2809
+ return
2810
+ if opt == '-p':
2811
+ start_server = True
2812
+ port = val
2813
+ if opt == '-w':
2814
+ writing = True
2815
+ if opt == '-n':
2816
+ start_server = True
2817
+ hostname = val
2818
+
2819
+ if start_server:
2820
+ browse(port, hostname=hostname, open_browser=open_browser)
2821
+ return
2822
+
2823
+ if not args: raise BadUsage
2824
+ for arg in args:
2825
+ if ispath(arg) and not os.path.exists(arg):
2826
+ print('file %r does not exist' % arg)
2827
+ sys.exit(1)
2828
+ try:
2829
+ if ispath(arg) and os.path.isfile(arg):
2830
+ arg = importfile(arg)
2831
+ if writing:
2832
+ if ispath(arg) and os.path.isdir(arg):
2833
+ writedocs(arg)
2834
+ else:
2835
+ writedoc(arg)
2836
+ else:
2837
+ help.help(arg, is_cli=True)
2838
+ except (ImportError, ErrorDuringImport) as value:
2839
+ print(value)
2840
+ sys.exit(1)
2841
+
2842
+ except (getopt.error, BadUsage):
2843
+ cmd = os.path.splitext(os.path.basename(sys.argv[0]))[0]
2844
+ print("""pydoc - the Python documentation tool
2845
+
2846
+ {cmd} <name> ...
2847
+ Show text documentation on something. <name> may be the name of a
2848
+ Python keyword, topic, function, module, or package, or a dotted
2849
+ reference to a class or function within a module or module in a
2850
+ package. If <name> contains a '{sep}', it is used as the path to a
2851
+ Python source file to document. If name is 'keywords', 'topics',
2852
+ or 'modules', a listing of these things is displayed.
2853
+
2854
+ {cmd} -k <keyword>
2855
+ Search for a keyword in the synopsis lines of all available modules.
2856
+
2857
+ {cmd} -n <hostname>
2858
+ Start an HTTP server with the given hostname (default: localhost).
2859
+
2860
+ {cmd} -p <port>
2861
+ Start an HTTP server on the given port on the local machine. Port
2862
+ number 0 can be used to get an arbitrary unused port.
2863
+
2864
+ {cmd} -b
2865
+ Start an HTTP server on an arbitrary unused port and open a web browser
2866
+ to interactively browse documentation. This option can be used in
2867
+ combination with -n and/or -p.
2868
+
2869
+ {cmd} -w <name> ...
2870
+ Write out the HTML documentation for a module to a file in the current
2871
+ directory. If <name> contains a '{sep}', it is treated as a filename; if
2872
+ it names a directory, documentation is written for all the contents.
2873
+ """.format(cmd=cmd, sep=os.sep))
2874
+
2875
+ if __name__ == '__main__':
2876
+ cli()