@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,2723 @@
1
+ """Pure Python implementation of the datetime module."""
2
+
3
+ __all__ = ("date", "datetime", "time", "timedelta", "timezone", "tzinfo",
4
+ "MINYEAR", "MAXYEAR", "UTC")
5
+
6
+ __name__ = "datetime"
7
+
8
+
9
+ import time as _time
10
+ import math as _math
11
+ import sys
12
+ from operator import index as _index
13
+
14
+ def _cmp(x, y):
15
+ return 0 if x == y else 1 if x > y else -1
16
+
17
+ def _get_class_module(self):
18
+ module_name = self.__class__.__module__
19
+ if module_name == 'datetime':
20
+ return 'datetime.'
21
+ else:
22
+ return ''
23
+
24
+ MINYEAR = 1
25
+ MAXYEAR = 9999
26
+ _MAXORDINAL = 3652059 # date.max.toordinal()
27
+
28
+ # Utility functions, adapted from Python's Demo/classes/Dates.py, which
29
+ # also assumes the current Gregorian calendar indefinitely extended in
30
+ # both directions. Difference: Dates.py calls January 1 of year 0 day
31
+ # number 1. The code here calls January 1 of year 1 day number 1. This is
32
+ # to match the definition of the "proleptic Gregorian" calendar in Dershowitz
33
+ # and Reingold's "Calendrical Calculations", where it's the base calendar
34
+ # for all computations. See the book for algorithms for converting between
35
+ # proleptic Gregorian ordinals and many other calendar systems.
36
+
37
+ # -1 is a placeholder for indexing purposes.
38
+ _DAYS_IN_MONTH = [-1, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
39
+
40
+ _DAYS_BEFORE_MONTH = [-1] # -1 is a placeholder for indexing purposes.
41
+ dbm = 0
42
+ for dim in _DAYS_IN_MONTH[1:]:
43
+ _DAYS_BEFORE_MONTH.append(dbm)
44
+ dbm += dim
45
+ del dbm, dim
46
+
47
+ def _is_leap(year):
48
+ "year -> 1 if leap year, else 0."
49
+ return year % 4 == 0 and (year % 100 != 0 or year % 400 == 0)
50
+
51
+ def _days_before_year(year):
52
+ "year -> number of days before January 1st of year."
53
+ y = year - 1
54
+ return y*365 + y//4 - y//100 + y//400
55
+
56
+ def _days_in_month(year, month):
57
+ "year, month -> number of days in that month in that year."
58
+ assert 1 <= month <= 12, month
59
+ if month == 2 and _is_leap(year):
60
+ return 29
61
+ return _DAYS_IN_MONTH[month]
62
+
63
+ def _days_before_month(year, month):
64
+ "year, month -> number of days in year preceding first day of month."
65
+ assert 1 <= month <= 12, f"month must be in 1..12, not {month}"
66
+ return _DAYS_BEFORE_MONTH[month] + (month > 2 and _is_leap(year))
67
+
68
+ def _ymd2ord(year, month, day):
69
+ "year, month, day -> ordinal, considering 01-Jan-0001 as day 1."
70
+ assert 1 <= month <= 12, f"month must be in 1..12, not {month}"
71
+ dim = _days_in_month(year, month)
72
+ assert 1 <= day <= dim, f"day must be in 1..{dim}, not {day}"
73
+ return (_days_before_year(year) +
74
+ _days_before_month(year, month) +
75
+ day)
76
+
77
+ _DI400Y = _days_before_year(401) # number of days in 400 years
78
+ _DI100Y = _days_before_year(101) # " " " " 100 "
79
+ _DI4Y = _days_before_year(5) # " " " " 4 "
80
+
81
+ # A 4-year cycle has an extra leap day over what we'd get from pasting
82
+ # together 4 single years.
83
+ assert _DI4Y == 4 * 365 + 1
84
+
85
+ # Similarly, a 400-year cycle has an extra leap day over what we'd get from
86
+ # pasting together 4 100-year cycles.
87
+ assert _DI400Y == 4 * _DI100Y + 1
88
+
89
+ # OTOH, a 100-year cycle has one fewer leap day than we'd get from
90
+ # pasting together 25 4-year cycles.
91
+ assert _DI100Y == 25 * _DI4Y - 1
92
+
93
+ def _ord2ymd(n):
94
+ "ordinal -> (year, month, day), considering 01-Jan-0001 as day 1."
95
+
96
+ # n is a 1-based index, starting at 1-Jan-1. The pattern of leap years
97
+ # repeats exactly every 400 years. The basic strategy is to find the
98
+ # closest 400-year boundary at or before n, then work with the offset
99
+ # from that boundary to n. Life is much clearer if we subtract 1 from
100
+ # n first -- then the values of n at 400-year boundaries are exactly
101
+ # those divisible by _DI400Y:
102
+ #
103
+ # D M Y n n-1
104
+ # -- --- ---- ---------- ----------------
105
+ # 31 Dec -400 -_DI400Y -_DI400Y -1
106
+ # 1 Jan -399 -_DI400Y +1 -_DI400Y 400-year boundary
107
+ # ...
108
+ # 30 Dec 000 -1 -2
109
+ # 31 Dec 000 0 -1
110
+ # 1 Jan 001 1 0 400-year boundary
111
+ # 2 Jan 001 2 1
112
+ # 3 Jan 001 3 2
113
+ # ...
114
+ # 31 Dec 400 _DI400Y _DI400Y -1
115
+ # 1 Jan 401 _DI400Y +1 _DI400Y 400-year boundary
116
+ n -= 1
117
+ n400, n = divmod(n, _DI400Y)
118
+ year = n400 * 400 + 1 # ..., -399, 1, 401, ...
119
+
120
+ # Now n is the (non-negative) offset, in days, from January 1 of year, to
121
+ # the desired date. Now compute how many 100-year cycles precede n.
122
+ # Note that it's possible for n100 to equal 4! In that case 4 full
123
+ # 100-year cycles precede the desired day, which implies the desired
124
+ # day is December 31 at the end of a 400-year cycle.
125
+ n100, n = divmod(n, _DI100Y)
126
+
127
+ # Now compute how many 4-year cycles precede it.
128
+ n4, n = divmod(n, _DI4Y)
129
+
130
+ # And now how many single years. Again n1 can be 4, and again meaning
131
+ # that the desired day is December 31 at the end of the 4-year cycle.
132
+ n1, n = divmod(n, 365)
133
+
134
+ year += n100 * 100 + n4 * 4 + n1
135
+ if n1 == 4 or n100 == 4:
136
+ assert n == 0
137
+ return year-1, 12, 31
138
+
139
+ # Now the year is correct, and n is the offset from January 1. We find
140
+ # the month via an estimate that's either exact or one too large.
141
+ leapyear = n1 == 3 and (n4 != 24 or n100 == 3)
142
+ assert leapyear == _is_leap(year)
143
+ month = (n + 50) >> 5
144
+ preceding = _DAYS_BEFORE_MONTH[month] + (month > 2 and leapyear)
145
+ if preceding > n: # estimate is too large
146
+ month -= 1
147
+ preceding -= _DAYS_IN_MONTH[month] + (month == 2 and leapyear)
148
+ n -= preceding
149
+ assert 0 <= n < _days_in_month(year, month)
150
+
151
+ # Now the year and month are correct, and n is the offset from the
152
+ # start of that month: we're done!
153
+ return year, month, n+1
154
+
155
+ # Month and day names. For localized versions, see the calendar module.
156
+ _MONTHNAMES = [None, "Jan", "Feb", "Mar", "Apr", "May", "Jun",
157
+ "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
158
+ _DAYNAMES = [None, "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]
159
+
160
+
161
+ def _build_struct_time(y, m, d, hh, mm, ss, dstflag):
162
+ wday = (_ymd2ord(y, m, d) + 6) % 7
163
+ dnum = _days_before_month(y, m) + d
164
+ return _time.struct_time((y, m, d, hh, mm, ss, wday, dnum, dstflag))
165
+
166
+ def _format_time(hh, mm, ss, us, timespec='auto'):
167
+ specs = {
168
+ 'hours': '{:02d}',
169
+ 'minutes': '{:02d}:{:02d}',
170
+ 'seconds': '{:02d}:{:02d}:{:02d}',
171
+ 'milliseconds': '{:02d}:{:02d}:{:02d}.{:03d}',
172
+ 'microseconds': '{:02d}:{:02d}:{:02d}.{:06d}'
173
+ }
174
+
175
+ if timespec == 'auto':
176
+ # Skip trailing microseconds when us==0.
177
+ timespec = 'microseconds' if us else 'seconds'
178
+ elif timespec == 'milliseconds':
179
+ us //= 1000
180
+ try:
181
+ fmt = specs[timespec]
182
+ except KeyError:
183
+ raise ValueError('Unknown timespec value')
184
+ else:
185
+ return fmt.format(hh, mm, ss, us)
186
+
187
+ def _format_offset(off, sep=':'):
188
+ s = ''
189
+ if off is not None:
190
+ if off.days < 0:
191
+ sign = "-"
192
+ off = -off
193
+ else:
194
+ sign = "+"
195
+ hh, mm = divmod(off, timedelta(hours=1))
196
+ mm, ss = divmod(mm, timedelta(minutes=1))
197
+ s += "%s%02d%s%02d" % (sign, hh, sep, mm)
198
+ if ss or ss.microseconds:
199
+ s += "%s%02d" % (sep, ss.seconds)
200
+
201
+ if ss.microseconds:
202
+ s += '.%06d' % ss.microseconds
203
+ return s
204
+
205
+ _normalize_century = None
206
+ def _need_normalize_century():
207
+ global _normalize_century
208
+ if _normalize_century is None:
209
+ try:
210
+ _normalize_century = (
211
+ _time.strftime("%Y", (99, 1, 1, 0, 0, 0, 0, 1, 0)) != "0099")
212
+ except ValueError:
213
+ _normalize_century = True
214
+ return _normalize_century
215
+
216
+ # Correctly substitute for %z and %Z escapes in strftime formats.
217
+ def _wrap_strftime(object, format, timetuple):
218
+ # Don't call utcoffset() or tzname() unless actually needed.
219
+ freplace = None # the string to use for %f
220
+ zreplace = None # the string to use for %z
221
+ colonzreplace = None # the string to use for %:z
222
+ Zreplace = None # the string to use for %Z
223
+
224
+ # Scan format for %z, %:z and %Z escapes, replacing as needed.
225
+ newformat = []
226
+ push = newformat.append
227
+ i, n = 0, len(format)
228
+ while i < n:
229
+ ch = format[i]
230
+ i += 1
231
+ if ch == '%':
232
+ if i < n:
233
+ ch = format[i]
234
+ i += 1
235
+ if ch == 'f':
236
+ if freplace is None:
237
+ freplace = '%06d' % getattr(object,
238
+ 'microsecond', 0)
239
+ newformat.append(freplace)
240
+ elif ch == 'z':
241
+ if zreplace is None:
242
+ if hasattr(object, "utcoffset"):
243
+ zreplace = _format_offset(object.utcoffset(), sep="")
244
+ else:
245
+ zreplace = ""
246
+ assert '%' not in zreplace
247
+ newformat.append(zreplace)
248
+ elif ch == ':':
249
+ if i < n:
250
+ ch2 = format[i]
251
+ i += 1
252
+ if ch2 == 'z':
253
+ if colonzreplace is None:
254
+ if hasattr(object, "utcoffset"):
255
+ colonzreplace = _format_offset(object.utcoffset(), sep=":")
256
+ else:
257
+ colonzreplace = ""
258
+ assert '%' not in colonzreplace
259
+ newformat.append(colonzreplace)
260
+ else:
261
+ push('%')
262
+ push(ch)
263
+ push(ch2)
264
+ elif ch == 'Z':
265
+ if Zreplace is None:
266
+ Zreplace = ""
267
+ if hasattr(object, "tzname"):
268
+ s = object.tzname()
269
+ if s is not None:
270
+ # strftime is going to have at this: escape %
271
+ Zreplace = s.replace('%', '%%')
272
+ newformat.append(Zreplace)
273
+ # Note that datetime(1000, 1, 1).strftime('%G') == '1000' so
274
+ # year 1000 for %G can go on the fast path.
275
+ elif ((ch in 'YG' or ch in 'FC') and
276
+ object.year < 1000 and _need_normalize_century()):
277
+ if ch == 'G':
278
+ year = int(_time.strftime("%G", timetuple))
279
+ else:
280
+ year = object.year
281
+ if ch == 'C':
282
+ push('{:02}'.format(year // 100))
283
+ else:
284
+ push('{:04}'.format(year))
285
+ if ch == 'F':
286
+ push('-{:02}-{:02}'.format(*timetuple[1:3]))
287
+ else:
288
+ push('%')
289
+ push(ch)
290
+ else:
291
+ push('%')
292
+ else:
293
+ push(ch)
294
+ newformat = "".join(newformat)
295
+ return _time.strftime(newformat, timetuple)
296
+
297
+ # Helpers for parsing the result of isoformat()
298
+ def _is_ascii_digit(c):
299
+ return c in "0123456789"
300
+
301
+ def _find_isoformat_datetime_separator(dtstr):
302
+ # See the comment in _datetimemodule.c:_find_isoformat_datetime_separator
303
+ len_dtstr = len(dtstr)
304
+ if len_dtstr == 7:
305
+ return 7
306
+
307
+ assert len_dtstr > 7
308
+ date_separator = "-"
309
+ week_indicator = "W"
310
+
311
+ if dtstr[4] == date_separator:
312
+ if dtstr[5] == week_indicator:
313
+ if len_dtstr < 8:
314
+ raise ValueError("Invalid ISO string")
315
+ if len_dtstr > 8 and dtstr[8] == date_separator:
316
+ if len_dtstr == 9:
317
+ raise ValueError("Invalid ISO string")
318
+ if len_dtstr > 10 and _is_ascii_digit(dtstr[10]):
319
+ # This is as far as we need to resolve the ambiguity for
320
+ # the moment - if we have YYYY-Www-##, the separator is
321
+ # either a hyphen at 8 or a number at 10.
322
+ #
323
+ # We'll assume it's a hyphen at 8 because it's way more
324
+ # likely that someone will use a hyphen as a separator than
325
+ # a number, but at this point it's really best effort
326
+ # because this is an extension of the spec anyway.
327
+ # TODO(pganssle): Document this
328
+ return 8
329
+ return 10
330
+ else:
331
+ # YYYY-Www (8)
332
+ return 8
333
+ else:
334
+ # YYYY-MM-DD (10)
335
+ return 10
336
+ else:
337
+ if dtstr[4] == week_indicator:
338
+ # YYYYWww (7) or YYYYWwwd (8)
339
+ idx = 7
340
+ while idx < len_dtstr:
341
+ if not _is_ascii_digit(dtstr[idx]):
342
+ break
343
+ idx += 1
344
+
345
+ if idx < 9:
346
+ return idx
347
+
348
+ if idx % 2 == 0:
349
+ # If the index of the last number is even, it's YYYYWwwd
350
+ return 7
351
+ else:
352
+ return 8
353
+ else:
354
+ # YYYYMMDD (8)
355
+ return 8
356
+
357
+
358
+ def _parse_isoformat_date(dtstr):
359
+ # It is assumed that this is an ASCII-only string of lengths 7, 8 or 10,
360
+ # see the comment on Modules/_datetimemodule.c:_find_isoformat_datetime_separator
361
+ assert len(dtstr) in (7, 8, 10)
362
+ year = int(dtstr[0:4])
363
+ has_sep = dtstr[4] == '-'
364
+
365
+ pos = 4 + has_sep
366
+ if dtstr[pos:pos + 1] == "W":
367
+ # YYYY-?Www-?D?
368
+ pos += 1
369
+ weekno = int(dtstr[pos:pos + 2])
370
+ pos += 2
371
+
372
+ dayno = 1
373
+ if len(dtstr) > pos:
374
+ if (dtstr[pos:pos + 1] == '-') != has_sep:
375
+ raise ValueError("Inconsistent use of dash separator")
376
+
377
+ pos += has_sep
378
+
379
+ dayno = int(dtstr[pos:pos + 1])
380
+
381
+ return list(_isoweek_to_gregorian(year, weekno, dayno))
382
+ else:
383
+ month = int(dtstr[pos:pos + 2])
384
+ pos += 2
385
+ if (dtstr[pos:pos + 1] == "-") != has_sep:
386
+ raise ValueError("Inconsistent use of dash separator")
387
+
388
+ pos += has_sep
389
+ day = int(dtstr[pos:pos + 2])
390
+
391
+ return [year, month, day]
392
+
393
+
394
+ _FRACTION_CORRECTION = [100000, 10000, 1000, 100, 10]
395
+
396
+
397
+ def _parse_hh_mm_ss_ff(tstr):
398
+ # Parses things of the form HH[:?MM[:?SS[{.,}fff[fff]]]]
399
+ len_str = len(tstr)
400
+
401
+ time_comps = [0, 0, 0, 0]
402
+ pos = 0
403
+ for comp in range(0, 3):
404
+ if (len_str - pos) < 2:
405
+ raise ValueError("Incomplete time component")
406
+
407
+ time_comps[comp] = int(tstr[pos:pos+2])
408
+
409
+ pos += 2
410
+ next_char = tstr[pos:pos+1]
411
+
412
+ if comp == 0:
413
+ has_sep = next_char == ':'
414
+
415
+ if not next_char or comp >= 2:
416
+ break
417
+
418
+ if has_sep and next_char != ':':
419
+ raise ValueError("Invalid time separator: %c" % next_char)
420
+
421
+ pos += has_sep
422
+
423
+ if pos < len_str:
424
+ if tstr[pos] not in '.,':
425
+ raise ValueError("Invalid microsecond separator")
426
+ else:
427
+ pos += 1
428
+ if not all(map(_is_ascii_digit, tstr[pos:])):
429
+ raise ValueError("Non-digit values in fraction")
430
+
431
+ len_remainder = len_str - pos
432
+
433
+ if len_remainder >= 6:
434
+ to_parse = 6
435
+ else:
436
+ to_parse = len_remainder
437
+
438
+ time_comps[3] = int(tstr[pos:(pos+to_parse)])
439
+ if to_parse < 6:
440
+ time_comps[3] *= _FRACTION_CORRECTION[to_parse-1]
441
+
442
+ return time_comps
443
+
444
+ def _parse_isoformat_time(tstr):
445
+ # Format supported is HH[:MM[:SS[.fff[fff]]]][+HH:MM[:SS[.ffffff]]]
446
+ len_str = len(tstr)
447
+ if len_str < 2:
448
+ raise ValueError("Isoformat time too short")
449
+
450
+ # This is equivalent to re.search('[+-Z]', tstr), but faster
451
+ tz_pos = (tstr.find('-') + 1 or tstr.find('+') + 1 or tstr.find('Z') + 1)
452
+ timestr = tstr[:tz_pos-1] if tz_pos > 0 else tstr
453
+
454
+ time_comps = _parse_hh_mm_ss_ff(timestr)
455
+
456
+ hour, minute, second, microsecond = time_comps
457
+ became_next_day = False
458
+ error_from_components = False
459
+ if (hour == 24):
460
+ if all(time_comp == 0 for time_comp in time_comps[1:]):
461
+ hour = 0
462
+ time_comps[0] = hour
463
+ became_next_day = True
464
+ else:
465
+ error_from_components = True
466
+
467
+ tzi = None
468
+ if tz_pos == len_str and tstr[-1] == 'Z':
469
+ tzi = timezone.utc
470
+ elif tz_pos > 0:
471
+ tzstr = tstr[tz_pos:]
472
+
473
+ # Valid time zone strings are:
474
+ # HH len: 2
475
+ # HHMM len: 4
476
+ # HH:MM len: 5
477
+ # HHMMSS len: 6
478
+ # HHMMSS.f+ len: 7+
479
+ # HH:MM:SS len: 8
480
+ # HH:MM:SS.f+ len: 10+
481
+
482
+ if len(tzstr) in (0, 1, 3) or tstr[tz_pos-1] == 'Z':
483
+ raise ValueError("Malformed time zone string")
484
+
485
+ tz_comps = _parse_hh_mm_ss_ff(tzstr)
486
+
487
+ if all(x == 0 for x in tz_comps):
488
+ tzi = timezone.utc
489
+ else:
490
+ tzsign = -1 if tstr[tz_pos - 1] == '-' else 1
491
+
492
+ td = timedelta(hours=tz_comps[0], minutes=tz_comps[1],
493
+ seconds=tz_comps[2], microseconds=tz_comps[3])
494
+
495
+ tzi = timezone(tzsign * td)
496
+
497
+ time_comps.append(tzi)
498
+
499
+ return time_comps, became_next_day, error_from_components
500
+
501
+ # tuple[int, int, int] -> tuple[int, int, int] version of date.fromisocalendar
502
+ def _isoweek_to_gregorian(year, week, day):
503
+ # Year is bounded this way because 9999-12-31 is (9999, 52, 5)
504
+ if not MINYEAR <= year <= MAXYEAR:
505
+ raise ValueError(f"year must be in {MINYEAR}..{MAXYEAR}, not {year}")
506
+
507
+ if not 0 < week < 53:
508
+ out_of_range = True
509
+
510
+ if week == 53:
511
+ # ISO years have 53 weeks in them on years starting with a
512
+ # Thursday and leap years starting on a Wednesday
513
+ first_weekday = _ymd2ord(year, 1, 1) % 7
514
+ if (first_weekday == 4 or (first_weekday == 3 and
515
+ _is_leap(year))):
516
+ out_of_range = False
517
+
518
+ if out_of_range:
519
+ raise ValueError(f"Invalid week: {week}")
520
+
521
+ if not 0 < day < 8:
522
+ raise ValueError(f"Invalid weekday: {day} (range is [1, 7])")
523
+
524
+ # Now compute the offset from (Y, 1, 1) in days:
525
+ day_offset = (week - 1) * 7 + (day - 1)
526
+
527
+ # Calculate the ordinal day for monday, week 1
528
+ day_1 = _isoweek1monday(year)
529
+ ord_day = day_1 + day_offset
530
+
531
+ return _ord2ymd(ord_day)
532
+
533
+
534
+ # Just raise TypeError if the arg isn't None or a string.
535
+ def _check_tzname(name):
536
+ if name is not None and not isinstance(name, str):
537
+ raise TypeError("tzinfo.tzname() must return None or string, "
538
+ f"not {type(name).__name__!r}")
539
+
540
+ # name is the offset-producing method, "utcoffset" or "dst".
541
+ # offset is what it returned.
542
+ # If offset isn't None or timedelta, raises TypeError.
543
+ # If offset is None, returns None.
544
+ # Else offset is checked for being in range.
545
+ # If it is, its integer value is returned. Else ValueError is raised.
546
+ def _check_utc_offset(name, offset):
547
+ assert name in ("utcoffset", "dst")
548
+ if offset is None:
549
+ return
550
+ if not isinstance(offset, timedelta):
551
+ raise TypeError(f"tzinfo.{name}() must return None "
552
+ f"or timedelta, not {type(offset).__name__!r}")
553
+ if not -timedelta(1) < offset < timedelta(1):
554
+ raise ValueError("offset must be a timedelta "
555
+ "strictly between -timedelta(hours=24) and "
556
+ f"timedelta(hours=24), not {offset!r}")
557
+
558
+ def _check_date_fields(year, month, day):
559
+ year = _index(year)
560
+ month = _index(month)
561
+ day = _index(day)
562
+ if not MINYEAR <= year <= MAXYEAR:
563
+ raise ValueError(f"year must be in {MINYEAR}..{MAXYEAR}, not {year}")
564
+ if not 1 <= month <= 12:
565
+ raise ValueError(f"month must be in 1..12, not {month}")
566
+ dim = _days_in_month(year, month)
567
+ if not 1 <= day <= dim:
568
+ raise ValueError(f"day {day} must be in range 1..{dim} for month {month} in year {year}")
569
+ return year, month, day
570
+
571
+ def _check_time_fields(hour, minute, second, microsecond, fold):
572
+ hour = _index(hour)
573
+ minute = _index(minute)
574
+ second = _index(second)
575
+ microsecond = _index(microsecond)
576
+ if not 0 <= hour <= 23:
577
+ raise ValueError(f"hour must be in 0..23, not {hour}")
578
+ if not 0 <= minute <= 59:
579
+ raise ValueError(f"minute must be in 0..59, not {minute}")
580
+ if not 0 <= second <= 59:
581
+ raise ValueError(f"second must be in 0..59, not {second}")
582
+ if not 0 <= microsecond <= 999999:
583
+ raise ValueError(f"microsecond must be in 0..999999, not {microsecond}")
584
+ if fold not in (0, 1):
585
+ raise ValueError(f"fold must be either 0 or 1, not {fold}")
586
+ return hour, minute, second, microsecond, fold
587
+
588
+ def _check_tzinfo_arg(tz):
589
+ if tz is not None and not isinstance(tz, tzinfo):
590
+ raise TypeError(
591
+ "tzinfo argument must be None or of a tzinfo subclass, "
592
+ f"not {type(tz).__name__!r}"
593
+ )
594
+
595
+ def _divide_and_round(a, b):
596
+ """divide a by b and round result to the nearest integer
597
+
598
+ When the ratio is exactly half-way between two integers,
599
+ the even integer is returned.
600
+ """
601
+ # Based on the reference implementation for divmod_near
602
+ # in Objects/longobject.c.
603
+ q, r = divmod(a, b)
604
+ # round up if either r / b > 0.5, or r / b == 0.5 and q is odd.
605
+ # The expression r / b > 0.5 is equivalent to 2 * r > b if b is
606
+ # positive, 2 * r < b if b negative.
607
+ r *= 2
608
+ greater_than_half = r > b if b > 0 else r < b
609
+ if greater_than_half or r == b and q % 2 == 1:
610
+ q += 1
611
+
612
+ return q
613
+
614
+
615
+ class timedelta:
616
+ """Represent the difference between two datetime objects.
617
+
618
+ Supported operators:
619
+
620
+ - add, subtract timedelta
621
+ - unary plus, minus, abs
622
+ - compare to timedelta
623
+ - multiply, divide by int
624
+
625
+ In addition, datetime supports subtraction of two datetime objects
626
+ returning a timedelta, and addition or subtraction of a datetime
627
+ and a timedelta giving a datetime.
628
+
629
+ Representation: (days, seconds, microseconds).
630
+ """
631
+ # The representation of (days, seconds, microseconds) was chosen
632
+ # arbitrarily; the exact rationale originally specified in the docstring
633
+ # was "Because I felt like it."
634
+
635
+ __slots__ = '_days', '_seconds', '_microseconds', '_hashcode'
636
+
637
+ def __new__(cls, days=0, seconds=0, microseconds=0,
638
+ milliseconds=0, minutes=0, hours=0, weeks=0):
639
+ # Doing this efficiently and accurately in C is going to be difficult
640
+ # and error-prone, due to ubiquitous overflow possibilities, and that
641
+ # C double doesn't have enough bits of precision to represent
642
+ # microseconds over 10K years faithfully. The code here tries to make
643
+ # explicit where go-fast assumptions can be relied on, in order to
644
+ # guide the C implementation; it's way more convoluted than speed-
645
+ # ignoring auto-overflow-to-long idiomatic Python could be.
646
+
647
+ for name, value in (
648
+ ("days", days),
649
+ ("seconds", seconds),
650
+ ("microseconds", microseconds),
651
+ ("milliseconds", milliseconds),
652
+ ("minutes", minutes),
653
+ ("hours", hours),
654
+ ("weeks", weeks)
655
+ ):
656
+ if not isinstance(value, (int, float)):
657
+ raise TypeError(
658
+ f"unsupported type for timedelta {name} component: {type(value).__name__}"
659
+ )
660
+
661
+ # Final values, all integer.
662
+ # s and us fit in 32-bit signed ints; d isn't bounded.
663
+ d = s = us = 0
664
+
665
+ # Normalize everything to days, seconds, microseconds.
666
+ days += weeks*7
667
+ seconds += minutes*60 + hours*3600
668
+ microseconds += milliseconds*1000
669
+
670
+ # Get rid of all fractions, and normalize s and us.
671
+ # Take a deep breath <wink>.
672
+ if isinstance(days, float):
673
+ dayfrac, days = _math.modf(days)
674
+ daysecondsfrac, daysecondswhole = _math.modf(dayfrac * (24.*3600.))
675
+ assert daysecondswhole == int(daysecondswhole) # can't overflow
676
+ s = int(daysecondswhole)
677
+ assert days == int(days)
678
+ d = int(days)
679
+ else:
680
+ daysecondsfrac = 0.0
681
+ d = days
682
+ assert isinstance(daysecondsfrac, float)
683
+ assert abs(daysecondsfrac) <= 1.0
684
+ assert isinstance(d, int)
685
+ assert abs(s) <= 24 * 3600
686
+ # days isn't referenced again before redefinition
687
+
688
+ if isinstance(seconds, float):
689
+ secondsfrac, seconds = _math.modf(seconds)
690
+ assert seconds == int(seconds)
691
+ seconds = int(seconds)
692
+ secondsfrac += daysecondsfrac
693
+ assert abs(secondsfrac) <= 2.0
694
+ else:
695
+ secondsfrac = daysecondsfrac
696
+ # daysecondsfrac isn't referenced again
697
+ assert isinstance(secondsfrac, float)
698
+ assert abs(secondsfrac) <= 2.0
699
+
700
+ assert isinstance(seconds, int)
701
+ days, seconds = divmod(seconds, 24*3600)
702
+ d += days
703
+ s += int(seconds) # can't overflow
704
+ assert isinstance(s, int)
705
+ assert abs(s) <= 2 * 24 * 3600
706
+ # seconds isn't referenced again before redefinition
707
+
708
+ usdouble = secondsfrac * 1e6
709
+ assert abs(usdouble) < 2.1e6 # exact value not critical
710
+ # secondsfrac isn't referenced again
711
+
712
+ if isinstance(microseconds, float):
713
+ microseconds = round(microseconds + usdouble)
714
+ seconds, microseconds = divmod(microseconds, 1000000)
715
+ days, seconds = divmod(seconds, 24*3600)
716
+ d += days
717
+ s += seconds
718
+ else:
719
+ microseconds = int(microseconds)
720
+ seconds, microseconds = divmod(microseconds, 1000000)
721
+ days, seconds = divmod(seconds, 24*3600)
722
+ d += days
723
+ s += seconds
724
+ microseconds = round(microseconds + usdouble)
725
+ assert isinstance(s, int)
726
+ assert isinstance(microseconds, int)
727
+ assert abs(s) <= 3 * 24 * 3600
728
+ assert abs(microseconds) < 3.1e6
729
+
730
+ # Just a little bit of carrying possible for microseconds and seconds.
731
+ seconds, us = divmod(microseconds, 1000000)
732
+ s += seconds
733
+ days, s = divmod(s, 24*3600)
734
+ d += days
735
+
736
+ assert isinstance(d, int)
737
+ assert isinstance(s, int) and 0 <= s < 24*3600
738
+ assert isinstance(us, int) and 0 <= us < 1000000
739
+
740
+ if abs(d) > 999999999:
741
+ raise OverflowError("timedelta # of days is too large: %d" % d)
742
+
743
+ self = object.__new__(cls)
744
+ self._days = d
745
+ self._seconds = s
746
+ self._microseconds = us
747
+ self._hashcode = -1
748
+ return self
749
+
750
+ def __repr__(self):
751
+ args = []
752
+ if self._days:
753
+ args.append("days=%d" % self._days)
754
+ if self._seconds:
755
+ args.append("seconds=%d" % self._seconds)
756
+ if self._microseconds:
757
+ args.append("microseconds=%d" % self._microseconds)
758
+ if not args:
759
+ args.append('0')
760
+ return "%s%s(%s)" % (_get_class_module(self),
761
+ self.__class__.__qualname__,
762
+ ', '.join(args))
763
+
764
+ def __str__(self):
765
+ mm, ss = divmod(self._seconds, 60)
766
+ hh, mm = divmod(mm, 60)
767
+ s = "%d:%02d:%02d" % (hh, mm, ss)
768
+ if self._days:
769
+ def plural(n):
770
+ return n, abs(n) != 1 and "s" or ""
771
+ s = ("%d day%s, " % plural(self._days)) + s
772
+ if self._microseconds:
773
+ s = s + ".%06d" % self._microseconds
774
+ return s
775
+
776
+ def total_seconds(self):
777
+ """Total seconds in the duration."""
778
+ return ((self.days * 86400 + self.seconds) * 10**6 +
779
+ self.microseconds) / 10**6
780
+
781
+ # Read-only field accessors
782
+ @property
783
+ def days(self):
784
+ """days"""
785
+ return self._days
786
+
787
+ @property
788
+ def seconds(self):
789
+ """seconds"""
790
+ return self._seconds
791
+
792
+ @property
793
+ def microseconds(self):
794
+ """microseconds"""
795
+ return self._microseconds
796
+
797
+ def __add__(self, other):
798
+ if isinstance(other, timedelta):
799
+ # for CPython compatibility, we cannot use
800
+ # our __class__ here, but need a real timedelta
801
+ return timedelta(self._days + other._days,
802
+ self._seconds + other._seconds,
803
+ self._microseconds + other._microseconds)
804
+ return NotImplemented
805
+
806
+ __radd__ = __add__
807
+
808
+ def __sub__(self, other):
809
+ if isinstance(other, timedelta):
810
+ # for CPython compatibility, we cannot use
811
+ # our __class__ here, but need a real timedelta
812
+ return timedelta(self._days - other._days,
813
+ self._seconds - other._seconds,
814
+ self._microseconds - other._microseconds)
815
+ return NotImplemented
816
+
817
+ def __rsub__(self, other):
818
+ if isinstance(other, timedelta):
819
+ return -self + other
820
+ return NotImplemented
821
+
822
+ def __neg__(self):
823
+ # for CPython compatibility, we cannot use
824
+ # our __class__ here, but need a real timedelta
825
+ return timedelta(-self._days,
826
+ -self._seconds,
827
+ -self._microseconds)
828
+
829
+ def __pos__(self):
830
+ return self
831
+
832
+ def __abs__(self):
833
+ if self._days < 0:
834
+ return -self
835
+ else:
836
+ return self
837
+
838
+ def __mul__(self, other):
839
+ if isinstance(other, int):
840
+ # for CPython compatibility, we cannot use
841
+ # our __class__ here, but need a real timedelta
842
+ return timedelta(self._days * other,
843
+ self._seconds * other,
844
+ self._microseconds * other)
845
+ if isinstance(other, float):
846
+ usec = self._to_microseconds()
847
+ a, b = other.as_integer_ratio()
848
+ return timedelta(0, 0, _divide_and_round(usec * a, b))
849
+ return NotImplemented
850
+
851
+ __rmul__ = __mul__
852
+
853
+ def _to_microseconds(self):
854
+ return ((self._days * (24*3600) + self._seconds) * 1000000 +
855
+ self._microseconds)
856
+
857
+ def __floordiv__(self, other):
858
+ if not isinstance(other, (int, timedelta)):
859
+ return NotImplemented
860
+ usec = self._to_microseconds()
861
+ if isinstance(other, timedelta):
862
+ return usec // other._to_microseconds()
863
+ if isinstance(other, int):
864
+ return timedelta(0, 0, usec // other)
865
+
866
+ def __truediv__(self, other):
867
+ if not isinstance(other, (int, float, timedelta)):
868
+ return NotImplemented
869
+ usec = self._to_microseconds()
870
+ if isinstance(other, timedelta):
871
+ return usec / other._to_microseconds()
872
+ if isinstance(other, int):
873
+ return timedelta(0, 0, _divide_and_round(usec, other))
874
+ if isinstance(other, float):
875
+ a, b = other.as_integer_ratio()
876
+ return timedelta(0, 0, _divide_and_round(b * usec, a))
877
+
878
+ def __mod__(self, other):
879
+ if isinstance(other, timedelta):
880
+ r = self._to_microseconds() % other._to_microseconds()
881
+ return timedelta(0, 0, r)
882
+ return NotImplemented
883
+
884
+ def __divmod__(self, other):
885
+ if isinstance(other, timedelta):
886
+ q, r = divmod(self._to_microseconds(),
887
+ other._to_microseconds())
888
+ return q, timedelta(0, 0, r)
889
+ return NotImplemented
890
+
891
+ # Comparisons of timedelta objects with other.
892
+
893
+ def __eq__(self, other):
894
+ if isinstance(other, timedelta):
895
+ return self._cmp(other) == 0
896
+ else:
897
+ return NotImplemented
898
+
899
+ def __le__(self, other):
900
+ if isinstance(other, timedelta):
901
+ return self._cmp(other) <= 0
902
+ else:
903
+ return NotImplemented
904
+
905
+ def __lt__(self, other):
906
+ if isinstance(other, timedelta):
907
+ return self._cmp(other) < 0
908
+ else:
909
+ return NotImplemented
910
+
911
+ def __ge__(self, other):
912
+ if isinstance(other, timedelta):
913
+ return self._cmp(other) >= 0
914
+ else:
915
+ return NotImplemented
916
+
917
+ def __gt__(self, other):
918
+ if isinstance(other, timedelta):
919
+ return self._cmp(other) > 0
920
+ else:
921
+ return NotImplemented
922
+
923
+ def _cmp(self, other):
924
+ assert isinstance(other, timedelta)
925
+ return _cmp(self._getstate(), other._getstate())
926
+
927
+ def __hash__(self):
928
+ if self._hashcode == -1:
929
+ self._hashcode = hash(self._getstate())
930
+ return self._hashcode
931
+
932
+ def __bool__(self):
933
+ return (self._days != 0 or
934
+ self._seconds != 0 or
935
+ self._microseconds != 0)
936
+
937
+ # Pickle support.
938
+
939
+ def _getstate(self):
940
+ return (self._days, self._seconds, self._microseconds)
941
+
942
+ def __reduce__(self):
943
+ return (self.__class__, self._getstate())
944
+
945
+ timedelta.min = timedelta(-999999999)
946
+ timedelta.max = timedelta(days=999999999, hours=23, minutes=59, seconds=59,
947
+ microseconds=999999)
948
+ timedelta.resolution = timedelta(microseconds=1)
949
+
950
+ class date:
951
+ """Concrete date type.
952
+
953
+ Constructors:
954
+
955
+ __new__()
956
+ fromtimestamp()
957
+ today()
958
+ fromordinal()
959
+ strptime()
960
+
961
+ Operators:
962
+
963
+ __repr__, __str__
964
+ __eq__, __le__, __lt__, __ge__, __gt__, __hash__
965
+ __add__, __radd__, __sub__ (add/radd only with timedelta arg)
966
+
967
+ Methods:
968
+
969
+ timetuple()
970
+ toordinal()
971
+ weekday()
972
+ isoweekday(), isocalendar(), isoformat()
973
+ ctime()
974
+ strftime()
975
+
976
+ Properties (readonly):
977
+ year, month, day
978
+ """
979
+ __slots__ = '_year', '_month', '_day', '_hashcode'
980
+
981
+ def __new__(cls, year, month=None, day=None):
982
+ """Constructor.
983
+
984
+ Arguments:
985
+
986
+ year, month, day (required, base 1)
987
+ """
988
+ if (month is None and
989
+ isinstance(year, (bytes, str)) and len(year) == 4 and
990
+ 1 <= ord(year[2:3]) <= 12):
991
+ # Pickle support
992
+ if isinstance(year, str):
993
+ try:
994
+ year = year.encode('latin1')
995
+ except UnicodeEncodeError:
996
+ # More informative error message.
997
+ raise ValueError(
998
+ "Failed to encode latin1 string when unpickling "
999
+ "a date object. "
1000
+ "pickle.load(data, encoding='latin1') is assumed.")
1001
+ self = object.__new__(cls)
1002
+ self.__setstate(year)
1003
+ self._hashcode = -1
1004
+ return self
1005
+ year, month, day = _check_date_fields(year, month, day)
1006
+ self = object.__new__(cls)
1007
+ self._year = year
1008
+ self._month = month
1009
+ self._day = day
1010
+ self._hashcode = -1
1011
+ return self
1012
+
1013
+ # Additional constructors
1014
+
1015
+ @classmethod
1016
+ def fromtimestamp(cls, t):
1017
+ "Construct a date from a POSIX timestamp (like time.time())."
1018
+ if t is None:
1019
+ raise TypeError("'NoneType' object cannot be interpreted as an integer")
1020
+ y, m, d, hh, mm, ss, weekday, jday, dst = _time.localtime(t)
1021
+ return cls(y, m, d)
1022
+
1023
+ @classmethod
1024
+ def today(cls):
1025
+ "Construct a date from time.time()."
1026
+ t = _time.time()
1027
+ return cls.fromtimestamp(t)
1028
+
1029
+ @classmethod
1030
+ def fromordinal(cls, n):
1031
+ """Construct a date from a proleptic Gregorian ordinal.
1032
+
1033
+ January 1 of year 1 is day 1. Only the year, month and day are
1034
+ non-zero in the result.
1035
+ """
1036
+ y, m, d = _ord2ymd(n)
1037
+ return cls(y, m, d)
1038
+
1039
+ @classmethod
1040
+ def fromisoformat(cls, date_string):
1041
+ """Construct a date from a string in ISO 8601 format."""
1042
+
1043
+ if not isinstance(date_string, str):
1044
+ raise TypeError('Argument must be a str')
1045
+
1046
+ if not date_string.isascii():
1047
+ raise ValueError('Argument must be an ASCII str')
1048
+
1049
+ if len(date_string) not in (7, 8, 10):
1050
+ raise ValueError(f'Invalid isoformat string: {date_string!r}')
1051
+
1052
+ try:
1053
+ return cls(*_parse_isoformat_date(date_string))
1054
+ except Exception:
1055
+ raise ValueError(f'Invalid isoformat string: {date_string!r}')
1056
+
1057
+ @classmethod
1058
+ def fromisocalendar(cls, year, week, day):
1059
+ """Construct a date from the ISO year, week number and weekday.
1060
+
1061
+ This is the inverse of the date.isocalendar() function"""
1062
+ return cls(*_isoweek_to_gregorian(year, week, day))
1063
+
1064
+ @classmethod
1065
+ def strptime(cls, date_string, format):
1066
+ """Parse a date string according to the given format (like time.strptime())."""
1067
+ import _strptime
1068
+ return _strptime._strptime_datetime_date(cls, date_string, format)
1069
+
1070
+ # Conversions to string
1071
+
1072
+ def __repr__(self):
1073
+ """Convert to formal string, for repr().
1074
+
1075
+ >>> d = date(2010, 1, 1)
1076
+ >>> repr(d)
1077
+ 'datetime.date(2010, 1, 1)'
1078
+ """
1079
+ return "%s%s(%d, %d, %d)" % (_get_class_module(self),
1080
+ self.__class__.__qualname__,
1081
+ self._year,
1082
+ self._month,
1083
+ self._day)
1084
+ # XXX These shouldn't depend on time.localtime(), because that
1085
+ # clips the usable dates to [1970 .. 2038). At least ctime() is
1086
+ # easily done without using strftime() -- that's better too because
1087
+ # strftime("%c", ...) is locale specific.
1088
+
1089
+
1090
+ def ctime(self):
1091
+ "Return ctime() style string."
1092
+ weekday = self.toordinal() % 7 or 7
1093
+ return "%s %s %2d 00:00:00 %04d" % (
1094
+ _DAYNAMES[weekday],
1095
+ _MONTHNAMES[self._month],
1096
+ self._day, self._year)
1097
+
1098
+ def strftime(self, format):
1099
+ """
1100
+ Format using strftime().
1101
+
1102
+ Example: "%d/%m/%Y, %H:%M:%S"
1103
+ """
1104
+ return _wrap_strftime(self, format, self.timetuple())
1105
+
1106
+ def __format__(self, fmt):
1107
+ if not isinstance(fmt, str):
1108
+ raise TypeError("must be str, not %s" % type(fmt).__name__)
1109
+ if len(fmt) != 0:
1110
+ return self.strftime(fmt)
1111
+ return str(self)
1112
+
1113
+ def isoformat(self):
1114
+ """Return the date formatted according to ISO.
1115
+
1116
+ This is 'YYYY-MM-DD'.
1117
+
1118
+ References:
1119
+ - https://www.w3.org/TR/NOTE-datetime
1120
+ - https://www.cl.cam.ac.uk/~mgk25/iso-time.html
1121
+ """
1122
+ return "%04d-%02d-%02d" % (self._year, self._month, self._day)
1123
+
1124
+ __str__ = isoformat
1125
+
1126
+ # Read-only field accessors
1127
+ @property
1128
+ def year(self):
1129
+ """year (1-9999)"""
1130
+ return self._year
1131
+
1132
+ @property
1133
+ def month(self):
1134
+ """month (1-12)"""
1135
+ return self._month
1136
+
1137
+ @property
1138
+ def day(self):
1139
+ """day (1-31)"""
1140
+ return self._day
1141
+
1142
+ # Standard conversions, __eq__, __le__, __lt__, __ge__, __gt__,
1143
+ # __hash__ (and helpers)
1144
+
1145
+ def timetuple(self):
1146
+ "Return local time tuple compatible with time.localtime()."
1147
+ return _build_struct_time(self._year, self._month, self._day,
1148
+ 0, 0, 0, -1)
1149
+
1150
+ def toordinal(self):
1151
+ """Return proleptic Gregorian ordinal for the year, month and day.
1152
+
1153
+ January 1 of year 1 is day 1. Only the year, month and day values
1154
+ contribute to the result.
1155
+ """
1156
+ return _ymd2ord(self._year, self._month, self._day)
1157
+
1158
+ def replace(self, year=None, month=None, day=None):
1159
+ """Return a new date with new values for the specified fields."""
1160
+ if year is None:
1161
+ year = self._year
1162
+ if month is None:
1163
+ month = self._month
1164
+ if day is None:
1165
+ day = self._day
1166
+ return type(self)(year, month, day)
1167
+
1168
+ __replace__ = replace
1169
+
1170
+ # Comparisons of date objects with other.
1171
+
1172
+ def __eq__(self, other):
1173
+ if isinstance(other, date) and not isinstance(other, datetime):
1174
+ return self._cmp(other) == 0
1175
+ return NotImplemented
1176
+
1177
+ def __le__(self, other):
1178
+ if isinstance(other, date) and not isinstance(other, datetime):
1179
+ return self._cmp(other) <= 0
1180
+ return NotImplemented
1181
+
1182
+ def __lt__(self, other):
1183
+ if isinstance(other, date) and not isinstance(other, datetime):
1184
+ return self._cmp(other) < 0
1185
+ return NotImplemented
1186
+
1187
+ def __ge__(self, other):
1188
+ if isinstance(other, date) and not isinstance(other, datetime):
1189
+ return self._cmp(other) >= 0
1190
+ return NotImplemented
1191
+
1192
+ def __gt__(self, other):
1193
+ if isinstance(other, date) and not isinstance(other, datetime):
1194
+ return self._cmp(other) > 0
1195
+ return NotImplemented
1196
+
1197
+ def _cmp(self, other):
1198
+ assert isinstance(other, date)
1199
+ assert not isinstance(other, datetime)
1200
+ y, m, d = self._year, self._month, self._day
1201
+ y2, m2, d2 = other._year, other._month, other._day
1202
+ return _cmp((y, m, d), (y2, m2, d2))
1203
+
1204
+ def __hash__(self):
1205
+ "Hash."
1206
+ if self._hashcode == -1:
1207
+ self._hashcode = hash(self._getstate())
1208
+ return self._hashcode
1209
+
1210
+ # Computations
1211
+
1212
+ def __add__(self, other):
1213
+ "Add a date to a timedelta."
1214
+ if isinstance(other, timedelta):
1215
+ o = self.toordinal() + other.days
1216
+ if 0 < o <= _MAXORDINAL:
1217
+ return type(self).fromordinal(o)
1218
+ raise OverflowError("result out of range")
1219
+ return NotImplemented
1220
+
1221
+ __radd__ = __add__
1222
+
1223
+ def __sub__(self, other):
1224
+ """Subtract two dates, or a date and a timedelta."""
1225
+ if isinstance(other, timedelta):
1226
+ return self + timedelta(-other.days)
1227
+ if isinstance(other, date):
1228
+ days1 = self.toordinal()
1229
+ days2 = other.toordinal()
1230
+ return timedelta(days1 - days2)
1231
+ return NotImplemented
1232
+
1233
+ def weekday(self):
1234
+ "Return day of the week, where Monday == 0 ... Sunday == 6."
1235
+ return (self.toordinal() + 6) % 7
1236
+
1237
+ # Day-of-the-week and week-of-the-year, according to ISO
1238
+
1239
+ def isoweekday(self):
1240
+ "Return day of the week, where Monday == 1 ... Sunday == 7."
1241
+ # 1-Jan-0001 is a Monday
1242
+ return self.toordinal() % 7 or 7
1243
+
1244
+ def isocalendar(self):
1245
+ """Return a named tuple containing ISO year, week number, and weekday.
1246
+
1247
+ The first ISO week of the year is the (Mon-Sun) week
1248
+ containing the year's first Thursday; everything else derives
1249
+ from that.
1250
+
1251
+ The first week is 1; Monday is 1 ... Sunday is 7.
1252
+
1253
+ ISO calendar algorithm taken from
1254
+ https://www.phys.uu.nl/~vgent/calendar/isocalendar.htm
1255
+ (used with permission)
1256
+ """
1257
+ year = self._year
1258
+ week1monday = _isoweek1monday(year)
1259
+ today = _ymd2ord(self._year, self._month, self._day)
1260
+ # Internally, week and day have origin 0
1261
+ week, day = divmod(today - week1monday, 7)
1262
+ if week < 0:
1263
+ year -= 1
1264
+ week1monday = _isoweek1monday(year)
1265
+ week, day = divmod(today - week1monday, 7)
1266
+ elif week >= 52:
1267
+ if today >= _isoweek1monday(year+1):
1268
+ year += 1
1269
+ week = 0
1270
+ return _IsoCalendarDate(year, week+1, day+1)
1271
+
1272
+ # Pickle support.
1273
+
1274
+ def _getstate(self):
1275
+ yhi, ylo = divmod(self._year, 256)
1276
+ return bytes([yhi, ylo, self._month, self._day]),
1277
+
1278
+ def __setstate(self, string):
1279
+ yhi, ylo, self._month, self._day = string
1280
+ self._year = yhi * 256 + ylo
1281
+
1282
+ def __reduce__(self):
1283
+ return (self.__class__, self._getstate())
1284
+
1285
+ _date_class = date # so functions w/ args named "date" can get at the class
1286
+
1287
+ date.min = date(1, 1, 1)
1288
+ date.max = date(9999, 12, 31)
1289
+ date.resolution = timedelta(days=1)
1290
+
1291
+
1292
+ class tzinfo:
1293
+ """Abstract base class for time zone info classes.
1294
+
1295
+ Subclasses must override the tzname(), utcoffset() and dst() methods.
1296
+ """
1297
+ __slots__ = ()
1298
+
1299
+ def tzname(self, dt):
1300
+ "datetime -> string name of time zone."
1301
+ raise NotImplementedError("tzinfo subclass must override tzname()")
1302
+
1303
+ def utcoffset(self, dt):
1304
+ "datetime -> timedelta, positive for east of UTC, negative for west of UTC"
1305
+ raise NotImplementedError("tzinfo subclass must override utcoffset()")
1306
+
1307
+ def dst(self, dt):
1308
+ """datetime -> DST offset as timedelta, positive for east of UTC.
1309
+
1310
+ Return 0 if DST not in effect. utcoffset() must include the DST
1311
+ offset.
1312
+ """
1313
+ raise NotImplementedError("tzinfo subclass must override dst()")
1314
+
1315
+ def fromutc(self, dt):
1316
+ "datetime in UTC -> datetime in local time."
1317
+
1318
+ if not isinstance(dt, datetime):
1319
+ raise TypeError("fromutc() requires a datetime argument")
1320
+ if dt.tzinfo is not self:
1321
+ raise ValueError("dt.tzinfo is not self")
1322
+
1323
+ dtoff = dt.utcoffset()
1324
+ if dtoff is None:
1325
+ raise ValueError("fromutc() requires a non-None utcoffset() "
1326
+ "result")
1327
+
1328
+ # See the long comment block at the end of this file for an
1329
+ # explanation of this algorithm.
1330
+ dtdst = dt.dst()
1331
+ if dtdst is None:
1332
+ raise ValueError("fromutc() requires a non-None dst() result")
1333
+ delta = dtoff - dtdst
1334
+ if delta:
1335
+ dt += delta
1336
+ dtdst = dt.dst()
1337
+ if dtdst is None:
1338
+ raise ValueError("fromutc(): dt.dst gave inconsistent "
1339
+ "results; cannot convert")
1340
+ return dt + dtdst
1341
+
1342
+ # Pickle support.
1343
+
1344
+ def __reduce__(self):
1345
+ getinitargs = getattr(self, "__getinitargs__", None)
1346
+ if getinitargs:
1347
+ args = getinitargs()
1348
+ else:
1349
+ args = ()
1350
+ return (self.__class__, args, self.__getstate__())
1351
+
1352
+
1353
+ class IsoCalendarDate(tuple):
1354
+
1355
+ def __new__(cls, year, week, weekday, /):
1356
+ return super().__new__(cls, (year, week, weekday))
1357
+
1358
+ @property
1359
+ def year(self):
1360
+ return self[0]
1361
+
1362
+ @property
1363
+ def week(self):
1364
+ return self[1]
1365
+
1366
+ @property
1367
+ def weekday(self):
1368
+ return self[2]
1369
+
1370
+ def __reduce__(self):
1371
+ # This code is intended to pickle the object without making the
1372
+ # class public. See https://bugs.python.org/msg352381
1373
+ return (tuple, (tuple(self),))
1374
+
1375
+ def __repr__(self):
1376
+ return (f'{self.__class__.__name__}'
1377
+ f'(year={self[0]}, week={self[1]}, weekday={self[2]})')
1378
+
1379
+
1380
+ _IsoCalendarDate = IsoCalendarDate
1381
+ del IsoCalendarDate
1382
+ _tzinfo_class = tzinfo
1383
+
1384
+ class time:
1385
+ """Time with time zone.
1386
+
1387
+ Constructors:
1388
+
1389
+ __new__()
1390
+ strptime()
1391
+
1392
+ Operators:
1393
+
1394
+ __repr__, __str__
1395
+ __eq__, __le__, __lt__, __ge__, __gt__, __hash__
1396
+
1397
+ Methods:
1398
+
1399
+ strftime()
1400
+ isoformat()
1401
+ utcoffset()
1402
+ tzname()
1403
+ dst()
1404
+
1405
+ Properties (readonly):
1406
+ hour, minute, second, microsecond, tzinfo, fold
1407
+ """
1408
+ __slots__ = '_hour', '_minute', '_second', '_microsecond', '_tzinfo', '_hashcode', '_fold'
1409
+
1410
+ def __new__(cls, hour=0, minute=0, second=0, microsecond=0, tzinfo=None, *, fold=0):
1411
+ """Constructor.
1412
+
1413
+ Arguments:
1414
+
1415
+ hour, minute (required)
1416
+ second, microsecond (default to zero)
1417
+ tzinfo (default to None)
1418
+ fold (keyword only, default to zero)
1419
+ """
1420
+ if (isinstance(hour, (bytes, str)) and len(hour) == 6 and
1421
+ ord(hour[0:1])&0x7F < 24):
1422
+ # Pickle support
1423
+ if isinstance(hour, str):
1424
+ try:
1425
+ hour = hour.encode('latin1')
1426
+ except UnicodeEncodeError:
1427
+ # More informative error message.
1428
+ raise ValueError(
1429
+ "Failed to encode latin1 string when unpickling "
1430
+ "a time object. "
1431
+ "pickle.load(data, encoding='latin1') is assumed.")
1432
+ self = object.__new__(cls)
1433
+ self.__setstate(hour, minute or None)
1434
+ self._hashcode = -1
1435
+ return self
1436
+ hour, minute, second, microsecond, fold = _check_time_fields(
1437
+ hour, minute, second, microsecond, fold)
1438
+ _check_tzinfo_arg(tzinfo)
1439
+ self = object.__new__(cls)
1440
+ self._hour = hour
1441
+ self._minute = minute
1442
+ self._second = second
1443
+ self._microsecond = microsecond
1444
+ self._tzinfo = tzinfo
1445
+ self._hashcode = -1
1446
+ self._fold = fold
1447
+ return self
1448
+
1449
+ @classmethod
1450
+ def strptime(cls, date_string, format):
1451
+ """string, format -> new time parsed from a string (like time.strptime())."""
1452
+ import _strptime
1453
+ return _strptime._strptime_datetime_time(cls, date_string, format)
1454
+
1455
+ # Read-only field accessors
1456
+ @property
1457
+ def hour(self):
1458
+ """hour (0-23)"""
1459
+ return self._hour
1460
+
1461
+ @property
1462
+ def minute(self):
1463
+ """minute (0-59)"""
1464
+ return self._minute
1465
+
1466
+ @property
1467
+ def second(self):
1468
+ """second (0-59)"""
1469
+ return self._second
1470
+
1471
+ @property
1472
+ def microsecond(self):
1473
+ """microsecond (0-999999)"""
1474
+ return self._microsecond
1475
+
1476
+ @property
1477
+ def tzinfo(self):
1478
+ """timezone info object"""
1479
+ return self._tzinfo
1480
+
1481
+ @property
1482
+ def fold(self):
1483
+ return self._fold
1484
+
1485
+ # Standard conversions, __hash__ (and helpers)
1486
+
1487
+ # Comparisons of time objects with other.
1488
+
1489
+ def __eq__(self, other):
1490
+ if isinstance(other, time):
1491
+ return self._cmp(other, allow_mixed=True) == 0
1492
+ else:
1493
+ return NotImplemented
1494
+
1495
+ def __le__(self, other):
1496
+ if isinstance(other, time):
1497
+ return self._cmp(other) <= 0
1498
+ else:
1499
+ return NotImplemented
1500
+
1501
+ def __lt__(self, other):
1502
+ if isinstance(other, time):
1503
+ return self._cmp(other) < 0
1504
+ else:
1505
+ return NotImplemented
1506
+
1507
+ def __ge__(self, other):
1508
+ if isinstance(other, time):
1509
+ return self._cmp(other) >= 0
1510
+ else:
1511
+ return NotImplemented
1512
+
1513
+ def __gt__(self, other):
1514
+ if isinstance(other, time):
1515
+ return self._cmp(other) > 0
1516
+ else:
1517
+ return NotImplemented
1518
+
1519
+ def _cmp(self, other, allow_mixed=False):
1520
+ assert isinstance(other, time)
1521
+ mytz = self._tzinfo
1522
+ ottz = other._tzinfo
1523
+ myoff = otoff = None
1524
+
1525
+ if mytz is ottz:
1526
+ base_compare = True
1527
+ else:
1528
+ myoff = self.utcoffset()
1529
+ otoff = other.utcoffset()
1530
+ base_compare = myoff == otoff
1531
+
1532
+ if base_compare:
1533
+ return _cmp((self._hour, self._minute, self._second,
1534
+ self._microsecond),
1535
+ (other._hour, other._minute, other._second,
1536
+ other._microsecond))
1537
+ if myoff is None or otoff is None:
1538
+ if allow_mixed:
1539
+ return 2 # arbitrary non-zero value
1540
+ else:
1541
+ raise TypeError("cannot compare naive and aware times")
1542
+ myhhmm = self._hour * 60 + self._minute - myoff//timedelta(minutes=1)
1543
+ othhmm = other._hour * 60 + other._minute - otoff//timedelta(minutes=1)
1544
+ return _cmp((myhhmm, self._second, self._microsecond),
1545
+ (othhmm, other._second, other._microsecond))
1546
+
1547
+ def __hash__(self):
1548
+ """Hash."""
1549
+ if self._hashcode == -1:
1550
+ if self.fold:
1551
+ t = self.replace(fold=0)
1552
+ else:
1553
+ t = self
1554
+ tzoff = t.utcoffset()
1555
+ if not tzoff: # zero or None
1556
+ self._hashcode = hash(t._getstate()[0])
1557
+ else:
1558
+ h, m = divmod(timedelta(hours=self.hour, minutes=self.minute) - tzoff,
1559
+ timedelta(hours=1))
1560
+ assert not m % timedelta(minutes=1), "whole minute"
1561
+ m //= timedelta(minutes=1)
1562
+ if 0 <= h < 24:
1563
+ self._hashcode = hash(time(h, m, self.second, self.microsecond))
1564
+ else:
1565
+ self._hashcode = hash((h, m, self.second, self.microsecond))
1566
+ return self._hashcode
1567
+
1568
+ # Conversion to string
1569
+
1570
+ def _tzstr(self):
1571
+ """Return formatted timezone offset (+xx:xx) or an empty string."""
1572
+ off = self.utcoffset()
1573
+ return _format_offset(off)
1574
+
1575
+ def __repr__(self):
1576
+ """Convert to formal string, for repr()."""
1577
+ if self._microsecond != 0:
1578
+ s = ", %d, %d" % (self._second, self._microsecond)
1579
+ elif self._second != 0:
1580
+ s = ", %d" % self._second
1581
+ else:
1582
+ s = ""
1583
+ s = "%s%s(%d, %d%s)" % (_get_class_module(self),
1584
+ self.__class__.__qualname__,
1585
+ self._hour, self._minute, s)
1586
+ if self._tzinfo is not None:
1587
+ assert s[-1:] == ")"
1588
+ s = s[:-1] + ", tzinfo=%r" % self._tzinfo + ")"
1589
+ if self._fold:
1590
+ assert s[-1:] == ")"
1591
+ s = s[:-1] + ", fold=1)"
1592
+ return s
1593
+
1594
+ def isoformat(self, timespec='auto'):
1595
+ """Return the time formatted according to ISO.
1596
+
1597
+ The full format is 'HH:MM:SS.mmmmmm+zz:zz'. By default, the fractional
1598
+ part is omitted if self.microsecond == 0.
1599
+
1600
+ The optional argument timespec specifies the number of additional
1601
+ terms of the time to include. Valid options are 'auto', 'hours',
1602
+ 'minutes', 'seconds', 'milliseconds' and 'microseconds'.
1603
+ """
1604
+ s = _format_time(self._hour, self._minute, self._second,
1605
+ self._microsecond, timespec)
1606
+ tz = self._tzstr()
1607
+ if tz:
1608
+ s += tz
1609
+ return s
1610
+
1611
+ __str__ = isoformat
1612
+
1613
+ @classmethod
1614
+ def fromisoformat(cls, time_string):
1615
+ """Construct a time from a string in one of the ISO 8601 formats."""
1616
+ if not isinstance(time_string, str):
1617
+ raise TypeError('fromisoformat: argument must be str')
1618
+
1619
+ # The spec actually requires that time-only ISO 8601 strings start with
1620
+ # T, but the extended format allows this to be omitted as long as there
1621
+ # is no ambiguity with date strings.
1622
+ time_string = time_string.removeprefix('T')
1623
+
1624
+ try:
1625
+ return cls(*_parse_isoformat_time(time_string)[0])
1626
+ except Exception:
1627
+ raise ValueError(f'Invalid isoformat string: {time_string!r}')
1628
+
1629
+ def strftime(self, format):
1630
+ """Format using strftime(). The date part of the timestamp passed
1631
+ to underlying strftime should not be used.
1632
+ """
1633
+ # The year must be >= 1000 else Python's strftime implementation
1634
+ # can raise a bogus exception.
1635
+ timetuple = (1900, 1, 1,
1636
+ self._hour, self._minute, self._second,
1637
+ 0, 1, -1)
1638
+ return _wrap_strftime(self, format, timetuple)
1639
+
1640
+ def __format__(self, fmt):
1641
+ if not isinstance(fmt, str):
1642
+ raise TypeError("must be str, not %s" % type(fmt).__name__)
1643
+ if len(fmt) != 0:
1644
+ return self.strftime(fmt)
1645
+ return str(self)
1646
+
1647
+ # Timezone functions
1648
+
1649
+ def utcoffset(self):
1650
+ """Return the timezone offset as timedelta, positive east of UTC
1651
+ (negative west of UTC)."""
1652
+ if self._tzinfo is None:
1653
+ return None
1654
+ offset = self._tzinfo.utcoffset(None)
1655
+ _check_utc_offset("utcoffset", offset)
1656
+ return offset
1657
+
1658
+ def tzname(self):
1659
+ """Return the timezone name.
1660
+
1661
+ Note that the name is 100% informational -- there's no requirement that
1662
+ it mean anything in particular. For example, "GMT", "UTC", "-500",
1663
+ "-5:00", "EDT", "US/Eastern", "America/New York" are all valid replies.
1664
+ """
1665
+ if self._tzinfo is None:
1666
+ return None
1667
+ name = self._tzinfo.tzname(None)
1668
+ _check_tzname(name)
1669
+ return name
1670
+
1671
+ def dst(self):
1672
+ """Return 0 if DST is not in effect, or the DST offset (as timedelta
1673
+ positive eastward) if DST is in effect.
1674
+
1675
+ This is purely informational; the DST offset has already been added to
1676
+ the UTC offset returned by utcoffset() if applicable, so there's no
1677
+ need to consult dst() unless you're interested in displaying the DST
1678
+ info.
1679
+ """
1680
+ if self._tzinfo is None:
1681
+ return None
1682
+ offset = self._tzinfo.dst(None)
1683
+ _check_utc_offset("dst", offset)
1684
+ return offset
1685
+
1686
+ def replace(self, hour=None, minute=None, second=None, microsecond=None,
1687
+ tzinfo=True, *, fold=None):
1688
+ """Return a new time with new values for the specified fields."""
1689
+ if hour is None:
1690
+ hour = self.hour
1691
+ if minute is None:
1692
+ minute = self.minute
1693
+ if second is None:
1694
+ second = self.second
1695
+ if microsecond is None:
1696
+ microsecond = self.microsecond
1697
+ if tzinfo is True:
1698
+ tzinfo = self.tzinfo
1699
+ if fold is None:
1700
+ fold = self._fold
1701
+ return type(self)(hour, minute, second, microsecond, tzinfo, fold=fold)
1702
+
1703
+ __replace__ = replace
1704
+
1705
+ # Pickle support.
1706
+
1707
+ def _getstate(self, protocol=3):
1708
+ us2, us3 = divmod(self._microsecond, 256)
1709
+ us1, us2 = divmod(us2, 256)
1710
+ h = self._hour
1711
+ if self._fold and protocol > 3:
1712
+ h += 128
1713
+ basestate = bytes([h, self._minute, self._second,
1714
+ us1, us2, us3])
1715
+ if self._tzinfo is None:
1716
+ return (basestate,)
1717
+ else:
1718
+ return (basestate, self._tzinfo)
1719
+
1720
+ def __setstate(self, string, tzinfo):
1721
+ if tzinfo is not None and not isinstance(tzinfo, _tzinfo_class):
1722
+ raise TypeError("bad tzinfo state arg")
1723
+ h, self._minute, self._second, us1, us2, us3 = string
1724
+ if h > 127:
1725
+ self._fold = 1
1726
+ self._hour = h - 128
1727
+ else:
1728
+ self._fold = 0
1729
+ self._hour = h
1730
+ self._microsecond = (((us1 << 8) | us2) << 8) | us3
1731
+ self._tzinfo = tzinfo
1732
+
1733
+ def __reduce_ex__(self, protocol):
1734
+ return (self.__class__, self._getstate(protocol))
1735
+
1736
+ def __reduce__(self):
1737
+ return self.__reduce_ex__(2)
1738
+
1739
+ _time_class = time # so functions w/ args named "time" can get at the class
1740
+
1741
+ time.min = time(0, 0, 0)
1742
+ time.max = time(23, 59, 59, 999999)
1743
+ time.resolution = timedelta(microseconds=1)
1744
+
1745
+
1746
+ class datetime(date):
1747
+ """datetime(year, month, day[, hour[, minute[, second[, microsecond[,tzinfo]]]]])
1748
+
1749
+ The year, month and day arguments are required. tzinfo may be None, or an
1750
+ instance of a tzinfo subclass. The remaining arguments may be ints.
1751
+ """
1752
+ __slots__ = time.__slots__
1753
+
1754
+ def __new__(cls, year, month=None, day=None, hour=0, minute=0, second=0,
1755
+ microsecond=0, tzinfo=None, *, fold=0):
1756
+ if (isinstance(year, (bytes, str)) and len(year) == 10 and
1757
+ 1 <= ord(year[2:3])&0x7F <= 12):
1758
+ # Pickle support
1759
+ if isinstance(year, str):
1760
+ try:
1761
+ year = bytes(year, 'latin1')
1762
+ except UnicodeEncodeError:
1763
+ # More informative error message.
1764
+ raise ValueError(
1765
+ "Failed to encode latin1 string when unpickling "
1766
+ "a datetime object. "
1767
+ "pickle.load(data, encoding='latin1') is assumed.")
1768
+ self = object.__new__(cls)
1769
+ self.__setstate(year, month)
1770
+ self._hashcode = -1
1771
+ return self
1772
+ year, month, day = _check_date_fields(year, month, day)
1773
+ hour, minute, second, microsecond, fold = _check_time_fields(
1774
+ hour, minute, second, microsecond, fold)
1775
+ _check_tzinfo_arg(tzinfo)
1776
+ self = object.__new__(cls)
1777
+ self._year = year
1778
+ self._month = month
1779
+ self._day = day
1780
+ self._hour = hour
1781
+ self._minute = minute
1782
+ self._second = second
1783
+ self._microsecond = microsecond
1784
+ self._tzinfo = tzinfo
1785
+ self._hashcode = -1
1786
+ self._fold = fold
1787
+ return self
1788
+
1789
+ # Read-only field accessors
1790
+ @property
1791
+ def hour(self):
1792
+ """hour (0-23)"""
1793
+ return self._hour
1794
+
1795
+ @property
1796
+ def minute(self):
1797
+ """minute (0-59)"""
1798
+ return self._minute
1799
+
1800
+ @property
1801
+ def second(self):
1802
+ """second (0-59)"""
1803
+ return self._second
1804
+
1805
+ @property
1806
+ def microsecond(self):
1807
+ """microsecond (0-999999)"""
1808
+ return self._microsecond
1809
+
1810
+ @property
1811
+ def tzinfo(self):
1812
+ """timezone info object"""
1813
+ return self._tzinfo
1814
+
1815
+ @property
1816
+ def fold(self):
1817
+ return self._fold
1818
+
1819
+ @classmethod
1820
+ def _fromtimestamp(cls, t, utc, tz):
1821
+ """Construct a datetime from a POSIX timestamp (like time.time()).
1822
+
1823
+ A timezone info object may be passed in as well.
1824
+ """
1825
+ frac, t = _math.modf(t)
1826
+ us = round(frac * 1e6)
1827
+ if us >= 1000000:
1828
+ t += 1
1829
+ us -= 1000000
1830
+ elif us < 0:
1831
+ t -= 1
1832
+ us += 1000000
1833
+
1834
+ converter = _time.gmtime if utc else _time.localtime
1835
+ y, m, d, hh, mm, ss, weekday, jday, dst = converter(t)
1836
+ ss = min(ss, 59) # clamp out leap seconds if the platform has them
1837
+ result = cls(y, m, d, hh, mm, ss, us, tz)
1838
+ if tz is None and not utc:
1839
+ # As of version 2015f max fold in IANA database is
1840
+ # 23 hours at 1969-09-30 13:00:00 in Kwajalein.
1841
+ # Let's probe 24 hours in the past to detect a transition:
1842
+ max_fold_seconds = 24 * 3600
1843
+
1844
+ # On Windows localtime_s throws an OSError for negative values,
1845
+ # thus we can't perform fold detection for values of time less
1846
+ # than the max time fold. See comments in _datetimemodule's
1847
+ # version of this method for more details.
1848
+ if t < max_fold_seconds and sys.platform.startswith("win"):
1849
+ return result
1850
+
1851
+ y, m, d, hh, mm, ss = converter(t - max_fold_seconds)[:6]
1852
+ probe1 = cls(y, m, d, hh, mm, ss, us, tz)
1853
+ trans = result - probe1 - timedelta(0, max_fold_seconds)
1854
+ if trans.days < 0:
1855
+ y, m, d, hh, mm, ss = converter(t + trans // timedelta(0, 1))[:6]
1856
+ probe2 = cls(y, m, d, hh, mm, ss, us, tz)
1857
+ if probe2 == result:
1858
+ result._fold = 1
1859
+ elif tz is not None:
1860
+ result = tz.fromutc(result)
1861
+ return result
1862
+
1863
+ @classmethod
1864
+ def fromtimestamp(cls, timestamp, tz=None):
1865
+ """Construct a datetime from a POSIX timestamp (like time.time()).
1866
+
1867
+ A timezone info object may be passed in as well.
1868
+ """
1869
+ _check_tzinfo_arg(tz)
1870
+
1871
+ return cls._fromtimestamp(timestamp, tz is not None, tz)
1872
+
1873
+ @classmethod
1874
+ def utcfromtimestamp(cls, t):
1875
+ """Construct a naive UTC datetime from a POSIX timestamp."""
1876
+ import warnings
1877
+ warnings.warn("datetime.datetime.utcfromtimestamp() is deprecated and scheduled "
1878
+ "for removal in a future version. Use timezone-aware "
1879
+ "objects to represent datetimes in UTC: "
1880
+ "datetime.datetime.fromtimestamp(t, datetime.UTC).",
1881
+ DeprecationWarning,
1882
+ stacklevel=2)
1883
+ return cls._fromtimestamp(t, True, None)
1884
+
1885
+ @classmethod
1886
+ def now(cls, tz=None):
1887
+ "Construct a datetime from time.time() and optional time zone info."
1888
+ t = _time.time()
1889
+ return cls.fromtimestamp(t, tz)
1890
+
1891
+ @classmethod
1892
+ def utcnow(cls):
1893
+ "Construct a UTC datetime from time.time()."
1894
+ import warnings
1895
+ warnings.warn("datetime.datetime.utcnow() is deprecated and scheduled for "
1896
+ "removal in a future version. Use timezone-aware "
1897
+ "objects to represent datetimes in UTC: "
1898
+ "datetime.datetime.now(datetime.UTC).",
1899
+ DeprecationWarning,
1900
+ stacklevel=2)
1901
+ t = _time.time()
1902
+ return cls._fromtimestamp(t, True, None)
1903
+
1904
+ @classmethod
1905
+ def combine(cls, date, time, tzinfo=True):
1906
+ "Construct a datetime from a given date and a given time."
1907
+ if not isinstance(date, _date_class):
1908
+ raise TypeError("date argument must be a date instance")
1909
+ if not isinstance(time, _time_class):
1910
+ raise TypeError("time argument must be a time instance")
1911
+ if tzinfo is True:
1912
+ tzinfo = time.tzinfo
1913
+ return cls(date.year, date.month, date.day,
1914
+ time.hour, time.minute, time.second, time.microsecond,
1915
+ tzinfo, fold=time.fold)
1916
+
1917
+ @classmethod
1918
+ def fromisoformat(cls, date_string):
1919
+ """Construct a datetime from a string in one of the ISO 8601 formats."""
1920
+ if not isinstance(date_string, str):
1921
+ raise TypeError('fromisoformat: argument must be str')
1922
+
1923
+ if len(date_string) < 7:
1924
+ raise ValueError(f'Invalid isoformat string: {date_string!r}')
1925
+
1926
+ # Split this at the separator
1927
+ try:
1928
+ separator_location = _find_isoformat_datetime_separator(date_string)
1929
+ dstr = date_string[0:separator_location]
1930
+ tstr = date_string[(separator_location+1):]
1931
+
1932
+ date_components = _parse_isoformat_date(dstr)
1933
+ except ValueError:
1934
+ raise ValueError(
1935
+ f'Invalid isoformat string: {date_string!r}') from None
1936
+
1937
+ if tstr:
1938
+ try:
1939
+ time_components, became_next_day, error_from_components = _parse_isoformat_time(tstr)
1940
+ except ValueError:
1941
+ raise ValueError(
1942
+ f'Invalid isoformat string: {date_string!r}') from None
1943
+ else:
1944
+ if error_from_components:
1945
+ raise ValueError("minute, second, and microsecond must be 0 when hour is 24")
1946
+
1947
+ if became_next_day:
1948
+ year, month, day = date_components
1949
+ # Only wrap day/month when it was previously valid
1950
+ if month <= 12 and day <= (days_in_month := _days_in_month(year, month)):
1951
+ # Calculate midnight of the next day
1952
+ day += 1
1953
+ if day > days_in_month:
1954
+ day = 1
1955
+ month += 1
1956
+ if month > 12:
1957
+ month = 1
1958
+ year += 1
1959
+ date_components = [year, month, day]
1960
+ else:
1961
+ time_components = [0, 0, 0, 0, None]
1962
+
1963
+ return cls(*(date_components + time_components))
1964
+
1965
+ def timetuple(self):
1966
+ "Return local time tuple compatible with time.localtime()."
1967
+ dst = self.dst()
1968
+ if dst is None:
1969
+ dst = -1
1970
+ elif dst:
1971
+ dst = 1
1972
+ else:
1973
+ dst = 0
1974
+ return _build_struct_time(self.year, self.month, self.day,
1975
+ self.hour, self.minute, self.second,
1976
+ dst)
1977
+
1978
+ def _mktime(self):
1979
+ """Return integer POSIX timestamp."""
1980
+ epoch = datetime(1970, 1, 1)
1981
+ max_fold_seconds = 24 * 3600
1982
+ t = (self - epoch) // timedelta(0, 1)
1983
+ def local(u):
1984
+ y, m, d, hh, mm, ss = _time.localtime(u)[:6]
1985
+ return (datetime(y, m, d, hh, mm, ss) - epoch) // timedelta(0, 1)
1986
+
1987
+ # Our goal is to solve t = local(u) for u.
1988
+ a = local(t) - t
1989
+ u1 = t - a
1990
+ t1 = local(u1)
1991
+ if t1 == t:
1992
+ # We found one solution, but it may not be the one we need.
1993
+ # Look for an earlier solution (if `fold` is 0), or a
1994
+ # later one (if `fold` is 1).
1995
+ u2 = u1 + (-max_fold_seconds, max_fold_seconds)[self.fold]
1996
+ b = local(u2) - u2
1997
+ if a == b:
1998
+ return u1
1999
+ else:
2000
+ b = t1 - u1
2001
+ assert a != b
2002
+ u2 = t - b
2003
+ t2 = local(u2)
2004
+ if t2 == t:
2005
+ return u2
2006
+ if t1 == t:
2007
+ return u1
2008
+ # We have found both offsets a and b, but neither t - a nor t - b is
2009
+ # a solution. This means t is in the gap.
2010
+ return (max, min)[self.fold](u1, u2)
2011
+
2012
+
2013
+ def timestamp(self):
2014
+ "Return POSIX timestamp as float"
2015
+ if self._tzinfo is None:
2016
+ s = self._mktime()
2017
+ return s + self.microsecond / 1e6
2018
+ else:
2019
+ return (self - _EPOCH).total_seconds()
2020
+
2021
+ def utctimetuple(self):
2022
+ "Return UTC time tuple compatible with time.gmtime()."
2023
+ offset = self.utcoffset()
2024
+ if offset:
2025
+ self -= offset
2026
+ y, m, d = self.year, self.month, self.day
2027
+ hh, mm, ss = self.hour, self.minute, self.second
2028
+ return _build_struct_time(y, m, d, hh, mm, ss, 0)
2029
+
2030
+ def date(self):
2031
+ "Return the date part."
2032
+ return date(self._year, self._month, self._day)
2033
+
2034
+ def time(self):
2035
+ "Return the time part, with tzinfo None."
2036
+ return time(self.hour, self.minute, self.second, self.microsecond, fold=self.fold)
2037
+
2038
+ def timetz(self):
2039
+ "Return the time part, with same tzinfo."
2040
+ return time(self.hour, self.minute, self.second, self.microsecond,
2041
+ self._tzinfo, fold=self.fold)
2042
+
2043
+ def replace(self, year=None, month=None, day=None, hour=None,
2044
+ minute=None, second=None, microsecond=None, tzinfo=True,
2045
+ *, fold=None):
2046
+ """Return a new datetime with new values for the specified fields."""
2047
+ if year is None:
2048
+ year = self.year
2049
+ if month is None:
2050
+ month = self.month
2051
+ if day is None:
2052
+ day = self.day
2053
+ if hour is None:
2054
+ hour = self.hour
2055
+ if minute is None:
2056
+ minute = self.minute
2057
+ if second is None:
2058
+ second = self.second
2059
+ if microsecond is None:
2060
+ microsecond = self.microsecond
2061
+ if tzinfo is True:
2062
+ tzinfo = self.tzinfo
2063
+ if fold is None:
2064
+ fold = self.fold
2065
+ return type(self)(year, month, day, hour, minute, second,
2066
+ microsecond, tzinfo, fold=fold)
2067
+
2068
+ __replace__ = replace
2069
+
2070
+ def _local_timezone(self):
2071
+ if self.tzinfo is None:
2072
+ ts = self._mktime()
2073
+ # Detect gap
2074
+ ts2 = self.replace(fold=1-self.fold)._mktime()
2075
+ if ts2 != ts: # This happens in a gap or a fold
2076
+ if (ts2 > ts) == self.fold:
2077
+ ts = ts2
2078
+ else:
2079
+ ts = (self - _EPOCH) // timedelta(seconds=1)
2080
+ localtm = _time.localtime(ts)
2081
+ local = datetime(*localtm[:6])
2082
+ # Extract TZ data
2083
+ gmtoff = localtm.tm_gmtoff
2084
+ zone = localtm.tm_zone
2085
+ return timezone(timedelta(seconds=gmtoff), zone)
2086
+
2087
+ def astimezone(self, tz=None):
2088
+ if tz is None:
2089
+ tz = self._local_timezone()
2090
+ elif not isinstance(tz, tzinfo):
2091
+ raise TypeError("tz argument must be an instance of tzinfo")
2092
+
2093
+ mytz = self.tzinfo
2094
+ if mytz is None:
2095
+ mytz = self._local_timezone()
2096
+ myoffset = mytz.utcoffset(self)
2097
+ else:
2098
+ myoffset = mytz.utcoffset(self)
2099
+ if myoffset is None:
2100
+ mytz = self.replace(tzinfo=None)._local_timezone()
2101
+ myoffset = mytz.utcoffset(self)
2102
+
2103
+ if tz is mytz:
2104
+ return self
2105
+
2106
+ # Convert self to UTC, and attach the new time zone object.
2107
+ utc = (self - myoffset).replace(tzinfo=tz)
2108
+
2109
+ # Convert from UTC to tz's local time.
2110
+ return tz.fromutc(utc)
2111
+
2112
+ # Ways to produce a string.
2113
+
2114
+ def ctime(self):
2115
+ "Return ctime() style string."
2116
+ weekday = self.toordinal() % 7 or 7
2117
+ return "%s %s %2d %02d:%02d:%02d %04d" % (
2118
+ _DAYNAMES[weekday],
2119
+ _MONTHNAMES[self._month],
2120
+ self._day,
2121
+ self._hour, self._minute, self._second,
2122
+ self._year)
2123
+
2124
+ def isoformat(self, sep='T', timespec='auto'):
2125
+ """Return the time formatted according to ISO.
2126
+
2127
+ The full format looks like 'YYYY-MM-DD HH:MM:SS.mmmmmm'.
2128
+ By default, the fractional part is omitted if self.microsecond == 0.
2129
+
2130
+ If self.tzinfo is not None, the UTC offset is also attached, giving
2131
+ a full format of 'YYYY-MM-DD HH:MM:SS.mmmmmm+HH:MM'.
2132
+
2133
+ Optional argument sep specifies the separator between date and
2134
+ time, default 'T'.
2135
+
2136
+ The optional argument timespec specifies the number of additional
2137
+ terms of the time to include. Valid options are 'auto', 'hours',
2138
+ 'minutes', 'seconds', 'milliseconds' and 'microseconds'.
2139
+ """
2140
+ s = ("%04d-%02d-%02d%c" % (self._year, self._month, self._day, sep) +
2141
+ _format_time(self._hour, self._minute, self._second,
2142
+ self._microsecond, timespec))
2143
+
2144
+ off = self.utcoffset()
2145
+ tz = _format_offset(off)
2146
+ if tz:
2147
+ s += tz
2148
+
2149
+ return s
2150
+
2151
+ def __repr__(self):
2152
+ """Convert to formal string, for repr()."""
2153
+ L = [self._year, self._month, self._day, # These are never zero
2154
+ self._hour, self._minute, self._second, self._microsecond]
2155
+ if L[-1] == 0:
2156
+ del L[-1]
2157
+ if L[-1] == 0:
2158
+ del L[-1]
2159
+ s = "%s%s(%s)" % (_get_class_module(self),
2160
+ self.__class__.__qualname__,
2161
+ ", ".join(map(str, L)))
2162
+ if self._tzinfo is not None:
2163
+ assert s[-1:] == ")"
2164
+ s = s[:-1] + ", tzinfo=%r" % self._tzinfo + ")"
2165
+ if self._fold:
2166
+ assert s[-1:] == ")"
2167
+ s = s[:-1] + ", fold=1)"
2168
+ return s
2169
+
2170
+ def __str__(self):
2171
+ "Convert to string, for str()."
2172
+ return self.isoformat(sep=' ')
2173
+
2174
+ @classmethod
2175
+ def strptime(cls, date_string, format):
2176
+ 'string, format -> new datetime parsed from a string (like time.strptime()).'
2177
+ import _strptime
2178
+ return _strptime._strptime_datetime_datetime(cls, date_string, format)
2179
+
2180
+ def utcoffset(self):
2181
+ """Return the timezone offset as timedelta positive east of UTC (negative west of
2182
+ UTC)."""
2183
+ if self._tzinfo is None:
2184
+ return None
2185
+ offset = self._tzinfo.utcoffset(self)
2186
+ _check_utc_offset("utcoffset", offset)
2187
+ return offset
2188
+
2189
+ def tzname(self):
2190
+ """Return the timezone name.
2191
+
2192
+ Note that the name is 100% informational -- there's no requirement that
2193
+ it mean anything in particular. For example, "GMT", "UTC", "-500",
2194
+ "-5:00", "EDT", "US/Eastern", "America/New York" are all valid replies.
2195
+ """
2196
+ if self._tzinfo is None:
2197
+ return None
2198
+ name = self._tzinfo.tzname(self)
2199
+ _check_tzname(name)
2200
+ return name
2201
+
2202
+ def dst(self):
2203
+ """Return 0 if DST is not in effect, or the DST offset (as timedelta
2204
+ positive eastward) if DST is in effect.
2205
+
2206
+ This is purely informational; the DST offset has already been added to
2207
+ the UTC offset returned by utcoffset() if applicable, so there's no
2208
+ need to consult dst() unless you're interested in displaying the DST
2209
+ info.
2210
+ """
2211
+ if self._tzinfo is None:
2212
+ return None
2213
+ offset = self._tzinfo.dst(self)
2214
+ _check_utc_offset("dst", offset)
2215
+ return offset
2216
+
2217
+ # Comparisons of datetime objects with other.
2218
+
2219
+ def __eq__(self, other):
2220
+ if isinstance(other, datetime):
2221
+ return self._cmp(other, allow_mixed=True) == 0
2222
+ else:
2223
+ return NotImplemented
2224
+
2225
+ def __le__(self, other):
2226
+ if isinstance(other, datetime):
2227
+ return self._cmp(other) <= 0
2228
+ else:
2229
+ return NotImplemented
2230
+
2231
+ def __lt__(self, other):
2232
+ if isinstance(other, datetime):
2233
+ return self._cmp(other) < 0
2234
+ else:
2235
+ return NotImplemented
2236
+
2237
+ def __ge__(self, other):
2238
+ if isinstance(other, datetime):
2239
+ return self._cmp(other) >= 0
2240
+ else:
2241
+ return NotImplemented
2242
+
2243
+ def __gt__(self, other):
2244
+ if isinstance(other, datetime):
2245
+ return self._cmp(other) > 0
2246
+ else:
2247
+ return NotImplemented
2248
+
2249
+ def _cmp(self, other, allow_mixed=False):
2250
+ assert isinstance(other, datetime)
2251
+ mytz = self._tzinfo
2252
+ ottz = other._tzinfo
2253
+ myoff = otoff = None
2254
+
2255
+ if mytz is ottz:
2256
+ base_compare = True
2257
+ else:
2258
+ myoff = self.utcoffset()
2259
+ otoff = other.utcoffset()
2260
+ # Assume that allow_mixed means that we are called from __eq__
2261
+ if allow_mixed:
2262
+ if myoff != self.replace(fold=not self.fold).utcoffset():
2263
+ return 2
2264
+ if otoff != other.replace(fold=not other.fold).utcoffset():
2265
+ return 2
2266
+ base_compare = myoff == otoff
2267
+
2268
+ if base_compare:
2269
+ return _cmp((self._year, self._month, self._day,
2270
+ self._hour, self._minute, self._second,
2271
+ self._microsecond),
2272
+ (other._year, other._month, other._day,
2273
+ other._hour, other._minute, other._second,
2274
+ other._microsecond))
2275
+ if myoff is None or otoff is None:
2276
+ if allow_mixed:
2277
+ return 2 # arbitrary non-zero value
2278
+ else:
2279
+ raise TypeError("cannot compare naive and aware datetimes")
2280
+ # XXX What follows could be done more efficiently...
2281
+ diff = self - other # this will take offsets into account
2282
+ if diff.days < 0:
2283
+ return -1
2284
+ return diff and 1 or 0
2285
+
2286
+ def __add__(self, other):
2287
+ "Add a datetime and a timedelta."
2288
+ if not isinstance(other, timedelta):
2289
+ return NotImplemented
2290
+ delta = timedelta(self.toordinal(),
2291
+ hours=self._hour,
2292
+ minutes=self._minute,
2293
+ seconds=self._second,
2294
+ microseconds=self._microsecond)
2295
+ delta += other
2296
+ hour, rem = divmod(delta.seconds, 3600)
2297
+ minute, second = divmod(rem, 60)
2298
+ if 0 < delta.days <= _MAXORDINAL:
2299
+ return type(self).combine(date.fromordinal(delta.days),
2300
+ time(hour, minute, second,
2301
+ delta.microseconds,
2302
+ tzinfo=self._tzinfo))
2303
+ raise OverflowError("result out of range")
2304
+
2305
+ __radd__ = __add__
2306
+
2307
+ def __sub__(self, other):
2308
+ "Subtract two datetimes, or a datetime and a timedelta."
2309
+ if not isinstance(other, datetime):
2310
+ if isinstance(other, timedelta):
2311
+ return self + -other
2312
+ return NotImplemented
2313
+
2314
+ days1 = self.toordinal()
2315
+ days2 = other.toordinal()
2316
+ secs1 = self._second + self._minute * 60 + self._hour * 3600
2317
+ secs2 = other._second + other._minute * 60 + other._hour * 3600
2318
+ base = timedelta(days1 - days2,
2319
+ secs1 - secs2,
2320
+ self._microsecond - other._microsecond)
2321
+ if self._tzinfo is other._tzinfo:
2322
+ return base
2323
+ myoff = self.utcoffset()
2324
+ otoff = other.utcoffset()
2325
+ if myoff == otoff:
2326
+ return base
2327
+ if myoff is None or otoff is None:
2328
+ raise TypeError("cannot mix naive and timezone-aware time")
2329
+ return base + otoff - myoff
2330
+
2331
+ def __hash__(self):
2332
+ if self._hashcode == -1:
2333
+ if self.fold:
2334
+ t = self.replace(fold=0)
2335
+ else:
2336
+ t = self
2337
+ tzoff = t.utcoffset()
2338
+ if tzoff is None:
2339
+ self._hashcode = hash(t._getstate()[0])
2340
+ else:
2341
+ days = _ymd2ord(self.year, self.month, self.day)
2342
+ seconds = self.hour * 3600 + self.minute * 60 + self.second
2343
+ self._hashcode = hash(timedelta(days, seconds, self.microsecond) - tzoff)
2344
+ return self._hashcode
2345
+
2346
+ # Pickle support.
2347
+
2348
+ def _getstate(self, protocol=3):
2349
+ yhi, ylo = divmod(self._year, 256)
2350
+ us2, us3 = divmod(self._microsecond, 256)
2351
+ us1, us2 = divmod(us2, 256)
2352
+ m = self._month
2353
+ if self._fold and protocol > 3:
2354
+ m += 128
2355
+ basestate = bytes([yhi, ylo, m, self._day,
2356
+ self._hour, self._minute, self._second,
2357
+ us1, us2, us3])
2358
+ if self._tzinfo is None:
2359
+ return (basestate,)
2360
+ else:
2361
+ return (basestate, self._tzinfo)
2362
+
2363
+ def __setstate(self, string, tzinfo):
2364
+ if tzinfo is not None and not isinstance(tzinfo, _tzinfo_class):
2365
+ raise TypeError("bad tzinfo state arg")
2366
+ (yhi, ylo, m, self._day, self._hour,
2367
+ self._minute, self._second, us1, us2, us3) = string
2368
+ if m > 127:
2369
+ self._fold = 1
2370
+ self._month = m - 128
2371
+ else:
2372
+ self._fold = 0
2373
+ self._month = m
2374
+ self._year = yhi * 256 + ylo
2375
+ self._microsecond = (((us1 << 8) | us2) << 8) | us3
2376
+ self._tzinfo = tzinfo
2377
+
2378
+ def __reduce_ex__(self, protocol):
2379
+ return (self.__class__, self._getstate(protocol))
2380
+
2381
+ def __reduce__(self):
2382
+ return self.__reduce_ex__(2)
2383
+
2384
+
2385
+ datetime.min = datetime(1, 1, 1)
2386
+ datetime.max = datetime(9999, 12, 31, 23, 59, 59, 999999)
2387
+ datetime.resolution = timedelta(microseconds=1)
2388
+
2389
+
2390
+ def _isoweek1monday(year):
2391
+ # Helper to calculate the day number of the Monday starting week 1
2392
+ THURSDAY = 3
2393
+ firstday = _ymd2ord(year, 1, 1)
2394
+ firstweekday = (firstday + 6) % 7 # See weekday() above
2395
+ week1monday = firstday - firstweekday
2396
+ if firstweekday > THURSDAY:
2397
+ week1monday += 7
2398
+ return week1monday
2399
+
2400
+
2401
+ class timezone(tzinfo):
2402
+ __slots__ = '_offset', '_name'
2403
+
2404
+ # Sentinel value to disallow None
2405
+ _Omitted = object()
2406
+ def __new__(cls, offset, name=_Omitted):
2407
+ if not isinstance(offset, timedelta):
2408
+ raise TypeError("offset must be a timedelta")
2409
+ if name is cls._Omitted:
2410
+ if not offset:
2411
+ return cls.utc
2412
+ name = None
2413
+ elif not isinstance(name, str):
2414
+ raise TypeError("name must be a string")
2415
+ if not cls._minoffset <= offset <= cls._maxoffset:
2416
+ raise ValueError("offset must be a timedelta "
2417
+ "strictly between -timedelta(hours=24) and "
2418
+ f"timedelta(hours=24), not {offset!r}")
2419
+ return cls._create(offset, name)
2420
+
2421
+ def __init_subclass__(cls):
2422
+ raise TypeError("type 'datetime.timezone' is not an acceptable base type")
2423
+
2424
+ @classmethod
2425
+ def _create(cls, offset, name=None):
2426
+ self = tzinfo.__new__(cls)
2427
+ self._offset = offset
2428
+ self._name = name
2429
+ return self
2430
+
2431
+ def __getinitargs__(self):
2432
+ """pickle support"""
2433
+ if self._name is None:
2434
+ return (self._offset,)
2435
+ return (self._offset, self._name)
2436
+
2437
+ def __eq__(self, other):
2438
+ if isinstance(other, timezone):
2439
+ return self._offset == other._offset
2440
+ return NotImplemented
2441
+
2442
+ def __hash__(self):
2443
+ return hash(self._offset)
2444
+
2445
+ def __repr__(self):
2446
+ """Convert to formal string, for repr().
2447
+
2448
+ >>> tz = timezone.utc
2449
+ >>> repr(tz)
2450
+ 'datetime.timezone.utc'
2451
+ >>> tz = timezone(timedelta(hours=-5), 'EST')
2452
+ >>> repr(tz)
2453
+ "datetime.timezone(datetime.timedelta(-1, 68400), 'EST')"
2454
+ """
2455
+ if self is self.utc:
2456
+ return 'datetime.timezone.utc'
2457
+ if self._name is None:
2458
+ return "%s%s(%r)" % (_get_class_module(self),
2459
+ self.__class__.__qualname__,
2460
+ self._offset)
2461
+ return "%s%s(%r, %r)" % (_get_class_module(self),
2462
+ self.__class__.__qualname__,
2463
+ self._offset, self._name)
2464
+
2465
+ def __str__(self):
2466
+ return self.tzname(None)
2467
+
2468
+ def utcoffset(self, dt):
2469
+ if isinstance(dt, datetime) or dt is None:
2470
+ return self._offset
2471
+ raise TypeError("utcoffset() argument must be a datetime instance"
2472
+ " or None")
2473
+
2474
+ def tzname(self, dt):
2475
+ if isinstance(dt, datetime) or dt is None:
2476
+ if self._name is None:
2477
+ return self._name_from_offset(self._offset)
2478
+ return self._name
2479
+ raise TypeError("tzname() argument must be a datetime instance"
2480
+ " or None")
2481
+
2482
+ def dst(self, dt):
2483
+ if isinstance(dt, datetime) or dt is None:
2484
+ return None
2485
+ raise TypeError("dst() argument must be a datetime instance"
2486
+ " or None")
2487
+
2488
+ def fromutc(self, dt):
2489
+ if isinstance(dt, datetime):
2490
+ if dt.tzinfo is not self:
2491
+ raise ValueError("fromutc: dt.tzinfo "
2492
+ "is not self")
2493
+ return dt + self._offset
2494
+ raise TypeError("fromutc() argument must be a datetime instance"
2495
+ " or None")
2496
+
2497
+ _maxoffset = timedelta(hours=24, microseconds=-1)
2498
+ _minoffset = -_maxoffset
2499
+
2500
+ @staticmethod
2501
+ def _name_from_offset(delta):
2502
+ if not delta:
2503
+ return 'UTC'
2504
+ if delta < timedelta(0):
2505
+ sign = '-'
2506
+ delta = -delta
2507
+ else:
2508
+ sign = '+'
2509
+ hours, rest = divmod(delta, timedelta(hours=1))
2510
+ minutes, rest = divmod(rest, timedelta(minutes=1))
2511
+ seconds = rest.seconds
2512
+ microseconds = rest.microseconds
2513
+ if microseconds:
2514
+ return (f'UTC{sign}{hours:02d}:{minutes:02d}:{seconds:02d}'
2515
+ f'.{microseconds:06d}')
2516
+ if seconds:
2517
+ return f'UTC{sign}{hours:02d}:{minutes:02d}:{seconds:02d}'
2518
+ return f'UTC{sign}{hours:02d}:{minutes:02d}'
2519
+
2520
+ UTC = timezone.utc = timezone._create(timedelta(0))
2521
+
2522
+ # bpo-37642: These attributes are rounded to the nearest minute for backwards
2523
+ # compatibility, even though the constructor will accept a wider range of
2524
+ # values. This may change in the future.
2525
+ timezone.min = timezone._create(-timedelta(hours=23, minutes=59))
2526
+ timezone.max = timezone._create(timedelta(hours=23, minutes=59))
2527
+ _EPOCH = datetime(1970, 1, 1, tzinfo=timezone.utc)
2528
+
2529
+ # Some time zone algebra. For a datetime x, let
2530
+ # x.n = x stripped of its timezone -- its naive time.
2531
+ # x.o = x.utcoffset(), and assuming that doesn't raise an exception or
2532
+ # return None
2533
+ # x.d = x.dst(), and assuming that doesn't raise an exception or
2534
+ # return None
2535
+ # x.s = x's standard offset, x.o - x.d
2536
+ #
2537
+ # Now some derived rules, where k is a duration (timedelta).
2538
+ #
2539
+ # 1. x.o = x.s + x.d
2540
+ # This follows from the definition of x.s.
2541
+ #
2542
+ # 2. If x and y have the same tzinfo member, x.s = y.s.
2543
+ # This is actually a requirement, an assumption we need to make about
2544
+ # sane tzinfo classes.
2545
+ #
2546
+ # 3. The naive UTC time corresponding to x is x.n - x.o.
2547
+ # This is again a requirement for a sane tzinfo class.
2548
+ #
2549
+ # 4. (x+k).s = x.s
2550
+ # This follows from #2, and that datetime.timetz+timedelta preserves tzinfo.
2551
+ #
2552
+ # 5. (x+k).n = x.n + k
2553
+ # Again follows from how arithmetic is defined.
2554
+ #
2555
+ # Now we can explain tz.fromutc(x). Let's assume it's an interesting case
2556
+ # (meaning that the various tzinfo methods exist, and don't blow up or return
2557
+ # None when called).
2558
+ #
2559
+ # The function wants to return a datetime y with timezone tz, equivalent to x.
2560
+ # x is already in UTC.
2561
+ #
2562
+ # By #3, we want
2563
+ #
2564
+ # y.n - y.o = x.n [1]
2565
+ #
2566
+ # The algorithm starts by attaching tz to x.n, and calling that y. So
2567
+ # x.n = y.n at the start. Then it wants to add a duration k to y, so that [1]
2568
+ # becomes true; in effect, we want to solve [2] for k:
2569
+ #
2570
+ # (y+k).n - (y+k).o = x.n [2]
2571
+ #
2572
+ # By #1, this is the same as
2573
+ #
2574
+ # (y+k).n - ((y+k).s + (y+k).d) = x.n [3]
2575
+ #
2576
+ # By #5, (y+k).n = y.n + k, which equals x.n + k because x.n=y.n at the start.
2577
+ # Substituting that into [3],
2578
+ #
2579
+ # x.n + k - (y+k).s - (y+k).d = x.n; the x.n terms cancel, leaving
2580
+ # k - (y+k).s - (y+k).d = 0; rearranging,
2581
+ # k = (y+k).s - (y+k).d; by #4, (y+k).s == y.s, so
2582
+ # k = y.s - (y+k).d
2583
+ #
2584
+ # On the RHS, (y+k).d can't be computed directly, but y.s can be, and we
2585
+ # approximate k by ignoring the (y+k).d term at first. Note that k can't be
2586
+ # very large, since all offset-returning methods return a duration of magnitude
2587
+ # less than 24 hours. For that reason, if y is firmly in std time, (y+k).d must
2588
+ # be 0, so ignoring it has no consequence then.
2589
+ #
2590
+ # In any case, the new value is
2591
+ #
2592
+ # z = y + y.s [4]
2593
+ #
2594
+ # It's helpful to step back at look at [4] from a higher level: it's simply
2595
+ # mapping from UTC to tz's standard time.
2596
+ #
2597
+ # At this point, if
2598
+ #
2599
+ # z.n - z.o = x.n [5]
2600
+ #
2601
+ # we have an equivalent time, and are almost done. The insecurity here is
2602
+ # at the start of daylight time. Picture US Eastern for concreteness. The wall
2603
+ # time jumps from 1:59 to 3:00, and wall hours of the form 2:MM don't make good
2604
+ # sense then. The docs ask that an Eastern tzinfo class consider such a time to
2605
+ # be EDT (because it's "after 2"), which is a redundant spelling of 1:MM EST
2606
+ # on the day DST starts. We want to return the 1:MM EST spelling because that's
2607
+ # the only spelling that makes sense on the local wall clock.
2608
+ #
2609
+ # In fact, if [5] holds at this point, we do have the standard-time spelling,
2610
+ # but that takes a bit of proof. We first prove a stronger result. What's the
2611
+ # difference between the LHS and RHS of [5]? Let
2612
+ #
2613
+ # diff = x.n - (z.n - z.o) [6]
2614
+ #
2615
+ # Now
2616
+ # z.n = by [4]
2617
+ # (y + y.s).n = by #5
2618
+ # y.n + y.s = since y.n = x.n
2619
+ # x.n + y.s = since z and y are have the same tzinfo member,
2620
+ # y.s = z.s by #2
2621
+ # x.n + z.s
2622
+ #
2623
+ # Plugging that back into [6] gives
2624
+ #
2625
+ # diff =
2626
+ # x.n - ((x.n + z.s) - z.o) = expanding
2627
+ # x.n - x.n - z.s + z.o = cancelling
2628
+ # - z.s + z.o = by #2
2629
+ # z.d
2630
+ #
2631
+ # So diff = z.d.
2632
+ #
2633
+ # If [5] is true now, diff = 0, so z.d = 0 too, and we have the standard-time
2634
+ # spelling we wanted in the endcase described above. We're done. Contrarily,
2635
+ # if z.d = 0, then we have a UTC equivalent, and are also done.
2636
+ #
2637
+ # If [5] is not true now, diff = z.d != 0, and z.d is the offset we need to
2638
+ # add to z (in effect, z is in tz's standard time, and we need to shift the
2639
+ # local clock into tz's daylight time).
2640
+ #
2641
+ # Let
2642
+ #
2643
+ # z' = z + z.d = z + diff [7]
2644
+ #
2645
+ # and we can again ask whether
2646
+ #
2647
+ # z'.n - z'.o = x.n [8]
2648
+ #
2649
+ # If so, we're done. If not, the tzinfo class is insane, according to the
2650
+ # assumptions we've made. This also requires a bit of proof. As before, let's
2651
+ # compute the difference between the LHS and RHS of [8] (and skipping some of
2652
+ # the justifications for the kinds of substitutions we've done several times
2653
+ # already):
2654
+ #
2655
+ # diff' = x.n - (z'.n - z'.o) = replacing z'.n via [7]
2656
+ # x.n - (z.n + diff - z'.o) = replacing diff via [6]
2657
+ # x.n - (z.n + x.n - (z.n - z.o) - z'.o) =
2658
+ # x.n - z.n - x.n + z.n - z.o + z'.o = cancel x.n
2659
+ # - z.n + z.n - z.o + z'.o = cancel z.n
2660
+ # - z.o + z'.o = #1 twice
2661
+ # -z.s - z.d + z'.s + z'.d = z and z' have same tzinfo
2662
+ # z'.d - z.d
2663
+ #
2664
+ # So z' is UTC-equivalent to x iff z'.d = z.d at this point. If they are equal,
2665
+ # we've found the UTC-equivalent so are done. In fact, we stop with [7] and
2666
+ # return z', not bothering to compute z'.d.
2667
+ #
2668
+ # How could z.d and z'd differ? z' = z + z.d [7], so merely moving z' by
2669
+ # a dst() offset, and starting *from* a time already in DST (we know z.d != 0),
2670
+ # would have to change the result dst() returns: we start in DST, and moving
2671
+ # a little further into it takes us out of DST.
2672
+ #
2673
+ # There isn't a sane case where this can happen. The closest it gets is at
2674
+ # the end of DST, where there's an hour in UTC with no spelling in a hybrid
2675
+ # tzinfo class. In US Eastern, that's 5:MM UTC = 0:MM EST = 1:MM EDT. During
2676
+ # that hour, on an Eastern clock 1:MM is taken as being in standard time (6:MM
2677
+ # UTC) because the docs insist on that, but 0:MM is taken as being in daylight
2678
+ # time (4:MM UTC). There is no local time mapping to 5:MM UTC. The local
2679
+ # clock jumps from 1:59 back to 1:00 again, and repeats the 1:MM hour in
2680
+ # standard time. Since that's what the local clock *does*, we want to map both
2681
+ # UTC hours 5:MM and 6:MM to 1:MM Eastern. The result is ambiguous
2682
+ # in local time, but so it goes -- it's the way the local clock works.
2683
+ #
2684
+ # When x = 5:MM UTC is the input to this algorithm, x.o=0, y.o=-5 and y.d=0,
2685
+ # so z=0:MM. z.d=60 (minutes) then, so [5] doesn't hold and we keep going.
2686
+ # z' = z + z.d = 1:MM then, and z'.d=0, and z'.d - z.d = -60 != 0 so [8]
2687
+ # (correctly) concludes that z' is not UTC-equivalent to x.
2688
+ #
2689
+ # Because we know z.d said z was in daylight time (else [5] would have held and
2690
+ # we would have stopped then), and we know z.d != z'.d (else [8] would have held
2691
+ # and we have stopped then), and there are only 2 possible values dst() can
2692
+ # return in Eastern, it follows that z'.d must be 0 (which it is in the example,
2693
+ # but the reasoning doesn't depend on the example -- it depends on there being
2694
+ # two possible dst() outcomes, one zero and the other non-zero). Therefore
2695
+ # z' must be in standard time, and is the spelling we want in this case.
2696
+ #
2697
+ # Note again that z' is not UTC-equivalent as far as the hybrid tzinfo class is
2698
+ # concerned (because it takes z' as being in standard time rather than the
2699
+ # daylight time we intend here), but returning it gives the real-life "local
2700
+ # clock repeats an hour" behavior when mapping the "unspellable" UTC hour into
2701
+ # tz.
2702
+ #
2703
+ # When the input is 6:MM, z=1:MM and z.d=0, and we stop at once, again with
2704
+ # the 1:MM standard time spelling we want.
2705
+ #
2706
+ # So how can this break? One of the assumptions must be violated. Two
2707
+ # possibilities:
2708
+ #
2709
+ # 1) [2] effectively says that y.s is invariant across all y belong to a given
2710
+ # time zone. This isn't true if, for political reasons or continental drift,
2711
+ # a region decides to change its base offset from UTC.
2712
+ #
2713
+ # 2) There may be versions of "double daylight" time where the tail end of
2714
+ # the analysis gives up a step too early. I haven't thought about that
2715
+ # enough to say.
2716
+ #
2717
+ # In any case, it's clear that the default fromutc() is strong enough to handle
2718
+ # "almost all" time zones: so long as the standard offset is invariant, it
2719
+ # doesn't matter if daylight time transition points change from year to year, or
2720
+ # if daylight time is skipped in some years; it doesn't matter how large or
2721
+ # small dst() may get within its bounds; and it doesn't even matter if some
2722
+ # perverse time zone returns a negative dst()). So a breaking case must be
2723
+ # pretty bizarre, and a tzinfo subclass can override fromutc() if it is.