@simplexai/localmodels-win32-x64 0.0.0-stage → 0.1.0-dev.100

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 (3422) hide show
  1. package/bootstrap.identity +1 -0
  2. package/bootstrap.sha256 +3420 -0
  3. package/kit.py +120 -0
  4. package/modules/localmodels/HERMES-LICENSE +21 -0
  5. package/modules/localmodels/__init__.py +6 -0
  6. package/modules/localmodels/__main__.py +741 -0
  7. package/modules/localmodels/app.py +541 -0
  8. package/modules/localmodels/apple_sensors.py +431 -0
  9. package/modules/localmodels/approval.py +241 -0
  10. package/modules/localmodels/asr_audio.py +129 -0
  11. package/modules/localmodels/asr_soniox.py +273 -0
  12. package/modules/localmodels/asr_websocket.py +93 -0
  13. package/modules/localmodels/auth_proxy.py +654 -0
  14. package/modules/localmodels/bandwidth_probe.py +64 -0
  15. package/modules/localmodels/catalog.json +8810 -0
  16. package/modules/localmodels/catalog.py +567 -0
  17. package/modules/localmodels/catalog_add.py +357 -0
  18. package/modules/localmodels/catalog_license.py +41 -0
  19. package/modules/localmodels/catalog_recipes.py +440 -0
  20. package/modules/localmodels/chat_template.py +62 -0
  21. package/modules/localmodels/chat_templates/qwen3.8-27b.jinja +184 -0
  22. package/modules/localmodels/cli_help.py +382 -0
  23. package/modules/localmodels/cli_parser.py +350 -0
  24. package/modules/localmodels/component.py +500 -0
  25. package/modules/localmodels/console.py +396 -0
  26. package/modules/localmodels/context_policy.py +748 -0
  27. package/modules/localmodels/contracts.py +133 -0
  28. package/modules/localmodels/custom_hub.py +1040 -0
  29. package/modules/localmodels/custom_hub_http.py +513 -0
  30. package/modules/localmodels/custom_probe.py +479 -0
  31. package/modules/localmodels/debug_cli.py +158 -0
  32. package/modules/localmodels/debug_mode.py +642 -0
  33. package/modules/localmodels/debug_stub_server.py +380 -0
  34. package/modules/localmodels/decode_calibration.json +6 -0
  35. package/modules/localmodels/decode_calibration.py +121 -0
  36. package/modules/localmodels/deploy.py +471 -0
  37. package/modules/localmodels/deploy_steps.py +154 -0
  38. package/modules/localmodels/deployment_lifecycle.py +167 -0
  39. package/modules/localmodels/desktop.py +137 -0
  40. package/modules/localmodels/diagnostics.py +63 -0
  41. package/modules/localmodels/discovery.py +189 -0
  42. package/modules/localmodels/download-mirrors.json +441 -0
  43. package/modules/localmodels/draft_spec.py +164 -0
  44. package/modules/localmodels/engine_adapters/__init__.py +6 -0
  45. package/modules/localmodels/engine_adapters/auxiliary.py +30 -0
  46. package/modules/localmodels/engine_adapters/base.py +40 -0
  47. package/modules/localmodels/engine_adapters/llama_cpp.py +539 -0
  48. package/modules/localmodels/engine_adapters/strata_poly.py +57 -0
  49. package/modules/localmodels/engine_adapters/suite_plan.py +394 -0
  50. package/modules/localmodels/engines-b11583.json +122 -0
  51. package/modules/localmodels/engines-b12588-mix-c0c3de8.json +110 -0
  52. package/modules/localmodels/engines-b12757-mix-ef2df21.json +110 -0
  53. package/modules/localmodels/engines-prism-b12178-03ec600.json +131 -0
  54. package/modules/localmodels/engines-strata-0.1.47.json +35 -0
  55. package/modules/localmodels/engines-strata-0.1.49.2.json +35 -0
  56. package/modules/localmodels/engines-strata-0.1.59.1.json +35 -0
  57. package/modules/localmodels/engines-strata-poly-0.2.20-poly.1.json +132 -0
  58. package/modules/localmodels/engines-strata-poly-0.2.20-poly.6.json +94 -0
  59. package/modules/localmodels/engines-whisper-b5454.json +151 -0
  60. package/modules/localmodels/engines.json +314 -0
  61. package/modules/localmodels/engines.py +343 -0
  62. package/modules/localmodels/estimator.py +574 -0
  63. package/modules/localmodels/fixtures/jfk.wav +0 -0
  64. package/modules/localmodels/fixtures/stack-research-demo-plan.json +1059 -0
  65. package/modules/localmodels/frontend.py +147 -0
  66. package/modules/localmodels/gguf.py +509 -0
  67. package/modules/localmodels/gpu_specs.py +163 -0
  68. package/modules/localmodels/guard-requirements.lock +285 -0
  69. package/modules/localmodels/guard.py +510 -0
  70. package/modules/localmodels/guard_runtime.py +235 -0
  71. package/modules/localmodels/hf_repo.py +346 -0
  72. package/modules/localmodels/host_sensors.py +704 -0
  73. package/modules/localmodels/hosts.py +696 -0
  74. package/modules/localmodels/http_local.py +59 -0
  75. package/modules/localmodels/install.py +151 -0
  76. package/modules/localmodels/kokoro-tts-0.6.1.txt +299 -0
  77. package/modules/localmodels/library_cli.py +362 -0
  78. package/modules/localmodels/library_custom.py +868 -0
  79. package/modules/localmodels/library_direct.py +94 -0
  80. package/modules/localmodels/library_elastic.py +673 -0
  81. package/modules/localmodels/library_jobs.py +758 -0
  82. package/modules/localmodels/library_kept.py +161 -0
  83. package/modules/localmodels/library_model.py +754 -0
  84. package/modules/localmodels/library_order.py +235 -0
  85. package/modules/localmodels/library_poly.py +336 -0
  86. package/modules/localmodels/library_pricing.py +638 -0
  87. package/modules/localmodels/library_serve.py +776 -0
  88. package/modules/localmodels/library_smoke.py +334 -0
  89. package/modules/localmodels/library_state.py +569 -0
  90. package/modules/localmodels/library_status.py +1179 -0
  91. package/modules/localmodels/llm_rank.py +434 -0
  92. package/modules/localmodels/memcalc_cli.py +193 -0
  93. package/modules/localmodels/metal.py +492 -0
  94. package/modules/localmodels/metal_probe.py +312 -0
  95. package/modules/localmodels/mirrors.py +464 -0
  96. package/modules/localmodels/mlx-lm-0.32.2-requirements.txt +742 -0
  97. package/modules/localmodels/mlx_server.py +97 -0
  98. package/modules/localmodels/npm_signatures.py +131 -0
  99. package/modules/localmodels/npm_transport.py +200 -0
  100. package/modules/localmodels/nvml_ctypes.py +431 -0
  101. package/modules/localmodels/openapi.yaml +359 -0
  102. package/modules/localmodels/plan_envelope.py +479 -0
  103. package/modules/localmodels/planning/__init__.py +3 -0
  104. package/modules/localmodels/planning/budget.py +698 -0
  105. package/modules/localmodels/planning/llm_ram.py +150 -0
  106. package/modules/localmodels/planning/memcalc.py +477 -0
  107. package/modules/localmodels/planning/memcalc_load.py +215 -0
  108. package/modules/localmodels/planning/memory_pools.py +403 -0
  109. package/modules/localmodels/planning/sizecalc.py +622 -0
  110. package/modules/localmodels/preparation.py +49 -0
  111. package/modules/localmodels/privacy.py +311 -0
  112. package/modules/localmodels/privacy_acceptance.py +123 -0
  113. package/modules/localmodels/probe.py +750 -0
  114. package/modules/localmodels/process_identity.py +812 -0
  115. package/modules/localmodels/process_identity_darwin.py +344 -0
  116. package/modules/localmodels/process_identity_linux.py +206 -0
  117. package/modules/localmodels/process_windows.py +235 -0
  118. package/modules/localmodels/python-bootstrap-lock.json +37 -0
  119. package/modules/localmodels/quant_formats.py +123 -0
  120. package/modules/localmodels/recommend.py +352 -0
  121. package/modules/localmodels/recommend_cli.py +242 -0
  122. package/modules/localmodels/records.py +259 -0
  123. package/modules/localmodels/region.py +659 -0
  124. package/modules/localmodels/remote_ops.py +205 -0
  125. package/modules/localmodels/remote_ops_common.py +670 -0
  126. package/modules/localmodels/remote_ops_download.py +674 -0
  127. package/modules/localmodels/remote_ops_launchd.py +91 -0
  128. package/modules/localmodels/remote_ops_mirrors.py +328 -0
  129. package/modules/localmodels/remote_ops_prepare.py +486 -0
  130. package/modules/localmodels/remote_ops_ranges.py +483 -0
  131. package/modules/localmodels/remote_ops_redirect.py +393 -0
  132. package/modules/localmodels/remote_ops_remove.py +139 -0
  133. package/modules/localmodels/remote_ops_service.py +755 -0
  134. package/modules/localmodels/remote_ops_verify.py +475 -0
  135. package/modules/localmodels/residency.py +404 -0
  136. package/modules/localmodels/residency_host.py +161 -0
  137. package/modules/localmodels/reuse.py +265 -0
  138. package/modules/localmodels/runtime-lock.json +188 -0
  139. package/modules/localmodels/runtime_args.py +150 -0
  140. package/modules/localmodels/runtime_auth.py +639 -0
  141. package/modules/localmodels/runtime_cli.py +760 -0
  142. package/modules/localmodels/runtime_discovery.py +142 -0
  143. package/modules/localmodels/runtime_install.py +258 -0
  144. package/modules/localmodels/runtime_io.py +753 -0
  145. package/modules/localmodels/runtime_pi.py +140 -0
  146. package/modules/localmodels/runtime_process.py +233 -0
  147. package/modules/localmodels/runtime_releases.py +293 -0
  148. package/modules/localmodels/runtime_windows_acl.py +365 -0
  149. package/modules/localmodels/service_autostart.py +153 -0
  150. package/modules/localmodels/service_control.py +359 -0
  151. package/modules/localmodels/service_deployment.py +538 -0
  152. package/modules/localmodels/service_jobs.py +252 -0
  153. package/modules/localmodels/service_probe.py +722 -0
  154. package/modules/localmodels/service_supervisor.py +45 -0
  155. package/modules/localmodels/service_upgrade.py +428 -0
  156. package/modules/localmodels/service_worker.py +147 -0
  157. package/modules/localmodels/services_cli.py +499 -0
  158. package/modules/localmodels/setup_capacity.py +186 -0
  159. package/modules/localmodels/setup_inspection.py +659 -0
  160. package/modules/localmodels/setup_text.py +196 -0
  161. package/modules/localmodels/setup_upgrade.py +146 -0
  162. package/modules/localmodels/sizecalc_cli.py +257 -0
  163. package/modules/localmodels/slot_cache.py +465 -0
  164. package/modules/localmodels/speech-sv.txt +93 -0
  165. package/modules/localmodels/speech_admission.py +449 -0
  166. package/modules/localmodels/speech_catalog.py +174 -0
  167. package/modules/localmodels/speech_cli.py +273 -0
  168. package/modules/localmodels/speech_jobs.py +859 -0
  169. package/modules/localmodels/speech_model.py +406 -0
  170. package/modules/localmodels/speech_serve.py +287 -0
  171. package/modules/localmodels/speech_server.py +960 -0
  172. package/modules/localmodels/speech_state.py +708 -0
  173. package/modules/localmodels/speech_worker_sensevoice.py +481 -0
  174. package/modules/localmodels/speech_workers.py +855 -0
  175. package/modules/localmodels/stack.py +463 -0
  176. package/modules/localmodels/stack_arena.py +732 -0
  177. package/modules/localmodels/stack_args.py +614 -0
  178. package/modules/localmodels/stack_auto.py +503 -0
  179. package/modules/localmodels/stack_aux_gpu.py +157 -0
  180. package/modules/localmodels/stack_capacity.py +207 -0
  181. package/modules/localmodels/stack_card.py +196 -0
  182. package/modules/localmodels/stack_cleanup.py +389 -0
  183. package/modules/localmodels/stack_cli.py +339 -0
  184. package/modules/localmodels/stack_compose.py +734 -0
  185. package/modules/localmodels/stack_console.py +320 -0
  186. package/modules/localmodels/stack_debug.py +140 -0
  187. package/modules/localmodels/stack_decision.py +730 -0
  188. package/modules/localmodels/stack_doctor.py +518 -0
  189. package/modules/localmodels/stack_down.py +138 -0
  190. package/modules/localmodels/stack_events.py +375 -0
  191. package/modules/localmodels/stack_gpu_memory.py +61 -0
  192. package/modules/localmodels/stack_hardware.py +599 -0
  193. package/modules/localmodels/stack_hardware_text.py +213 -0
  194. package/modules/localmodels/stack_journal.py +224 -0
  195. package/modules/localmodels/stack_ledger.py +442 -0
  196. package/modules/localmodels/stack_lifecycle.py +453 -0
  197. package/modules/localmodels/stack_mcp.py +729 -0
  198. package/modules/localmodels/stack_memory.py +730 -0
  199. package/modules/localmodels/stack_mlx.py +271 -0
  200. package/modules/localmodels/stack_picks.py +228 -0
  201. package/modules/localmodels/stack_plan.py +713 -0
  202. package/modules/localmodels/stack_ports.py +348 -0
  203. package/modules/localmodels/stack_preflight.py +696 -0
  204. package/modules/localmodels/stack_progress.py +117 -0
  205. package/modules/localmodels/stack_remove.py +355 -0
  206. package/modules/localmodels/stack_research.py +716 -0
  207. package/modules/localmodels/stack_research_demo.py +125 -0
  208. package/modules/localmodels/stack_research_plan.py +146 -0
  209. package/modules/localmodels/stack_review.py +201 -0
  210. package/modules/localmodels/stack_rollback.py +290 -0
  211. package/modules/localmodels/stack_route.py +338 -0
  212. package/modules/localmodels/stack_run.py +773 -0
  213. package/modules/localmodels/stack_suite.py +761 -0
  214. package/modules/localmodels/stack_summary.py +296 -0
  215. package/modules/localmodels/stack_try.py +281 -0
  216. package/modules/localmodels/stack_try_client.py +232 -0
  217. package/modules/localmodels/stack_try_docs.py +139 -0
  218. package/modules/localmodels/stack_up.py +330 -0
  219. package/modules/localmodels/stack_update.py +570 -0
  220. package/modules/localmodels/stack_verify.py +86 -0
  221. package/modules/localmodels/stack_view.py +602 -0
  222. package/modules/localmodels/stack_view_access.py +419 -0
  223. package/modules/localmodels/stack_view_agent.py +370 -0
  224. package/modules/localmodels/stack_view_apply.py +85 -0
  225. package/modules/localmodels/stack_view_demo.py +309 -0
  226. package/modules/localmodels/stack_view_events.py +143 -0
  227. package/modules/localmodels/stack_view_gpu.py +164 -0
  228. package/modules/localmodels/stack_view_hub.py +613 -0
  229. package/modules/localmodels/stack_view_hub_cli.py +312 -0
  230. package/modules/localmodels/stack_view_llm.py +65 -0
  231. package/modules/localmodels/stack_view_measure.py +152 -0
  232. package/modules/localmodels/stack_view_sandbox.py +333 -0
  233. package/modules/localmodels/stack_view_schema.py +229 -0
  234. package/modules/localmodels/stack_view_serve.py +523 -0
  235. package/modules/localmodels/stack_view_service.py +295 -0
  236. package/modules/localmodels/stack_view_slots.py +167 -0
  237. package/modules/localmodels/stack_view_telemetry.py +163 -0
  238. package/modules/localmodels/stack_view_text.py +620 -0
  239. package/modules/localmodels/stack_view_tick.py +605 -0
  240. package/modules/localmodels/stack_view_words.py +230 -0
  241. package/modules/localmodels/stack_warm.py +642 -0
  242. package/modules/localmodels/stack_warm_store.py +506 -0
  243. package/modules/localmodels/stack_whatif.py +558 -0
  244. package/modules/localmodels/startlux-decide-83fe6c7d.txt +1532 -0
  245. package/modules/localmodels/strata-poly-serve-0.2.20-poly.1.txt +254 -0
  246. package/modules/localmodels/strata-poly-serve-0.2.20-poly.6.txt +428 -0
  247. package/modules/localmodels/strata_poly_server.py +142 -0
  248. package/modules/localmodels/suite.py +250 -0
  249. package/modules/localmodels/telemetry_math.py +538 -0
  250. package/modules/localmodels/tool_archive.py +101 -0
  251. package/modules/localmodels/tools.json +1401 -0
  252. package/modules/localmodels/transport.py +257 -0
  253. package/modules/localmodels/tts_server.py +215 -0
  254. package/modules/localmodels/tui.py +142 -0
  255. package/modules/localmodels/tui_dialogs.py +168 -0
  256. package/modules/localmodels/tui_modals.py +326 -0
  257. package/modules/localmodels/tui_screen.py +736 -0
  258. package/modules/localmodels/tui_views.py +575 -0
  259. package/modules/localmodels/vision.py +191 -0
  260. package/modules/localmodels/web/index.html +2605 -0
  261. package/modules/localmodels/web/sizecalc/app.js +1306 -0
  262. package/modules/localmodels/web/sizecalc/calc.js +269 -0
  263. package/modules/localmodels/web/sizecalc/page.html +520 -0
  264. package/modules/localmodels/web/view/ASSET-SOURCES.md +11 -0
  265. package/modules/localmodels/web/view/fleet.html +52 -0
  266. package/modules/localmodels/web/view/fleet.js +446 -0
  267. package/modules/localmodels/web/view/i18n.js +126 -0
  268. package/modules/localmodels/web/view/icon.svg +1 -0
  269. package/modules/localmodels/web/view/index.html +149 -0
  270. package/modules/localmodels/web/view/logo-claude.svg +3 -0
  271. package/modules/localmodels/web/view/logo-codex.png +0 -0
  272. package/modules/localmodels/web/view/logo-pi.svg +6 -0
  273. package/modules/localmodels/web/view/manifest.webmanifest +11 -0
  274. package/modules/localmodels/web/view/nav.js +241 -0
  275. package/modules/localmodels/web/view/theme.js +13 -0
  276. package/modules/localmodels/web/view/view.css +903 -0
  277. package/modules/localmodels/web/view/view.js +2265 -0
  278. package/modules/localmodels/win_probe.py +204 -0
  279. package/modules/localmodels/windows_job.py +69 -0
  280. package/modules/simplex_localmodels-0.1.0.dev100.dist-info/METADATA +9 -0
  281. package/modules/simplex_localmodels-0.1.0.dev100.dist-info/RECORD +282 -0
  282. package/modules/simplex_localmodels-0.1.0.dev100.dist-info/WHEEL +4 -0
  283. package/modules/simplex_localmodels-0.1.0.dev100.dist-info/entry_points.txt +3 -0
  284. package/modules/simplex_localmodels-0.1.0.dev100.dist-info/licenses/NOTICE +68 -0
  285. package/modules/simplex_localmodels-0.1.0.dev100.dist-info/licenses/localmodels/HERMES-LICENSE +21 -0
  286. package/package.json +12 -4
  287. package/python/DLLs/_asyncio.pyd +0 -0
  288. package/python/DLLs/_bz2.pyd +0 -0
  289. package/python/DLLs/_ctypes.pyd +0 -0
  290. package/python/DLLs/_ctypes_test.pyd +0 -0
  291. package/python/DLLs/_decimal.pyd +0 -0
  292. package/python/DLLs/_elementtree.pyd +0 -0
  293. package/python/DLLs/_hashlib.pyd +0 -0
  294. package/python/DLLs/_lzma.pyd +0 -0
  295. package/python/DLLs/_msi.pyd +0 -0
  296. package/python/DLLs/_multiprocessing.pyd +0 -0
  297. package/python/DLLs/_overlapped.pyd +0 -0
  298. package/python/DLLs/_queue.pyd +0 -0
  299. package/python/DLLs/_socket.pyd +0 -0
  300. package/python/DLLs/_sqlite3.pyd +0 -0
  301. package/python/DLLs/_ssl.pyd +0 -0
  302. package/python/DLLs/_testbuffer.pyd +0 -0
  303. package/python/DLLs/_testcapi.pyd +0 -0
  304. package/python/DLLs/_testclinic.pyd +0 -0
  305. package/python/DLLs/_testconsole.pyd +0 -0
  306. package/python/DLLs/_testimportmultiple.pyd +0 -0
  307. package/python/DLLs/_testinternalcapi.pyd +0 -0
  308. package/python/DLLs/_testmultiphase.pyd +0 -0
  309. package/python/DLLs/_testsinglephase.pyd +0 -0
  310. package/python/DLLs/_tkinter.pyd +0 -0
  311. package/python/DLLs/_uuid.pyd +0 -0
  312. package/python/DLLs/_wmi.pyd +0 -0
  313. package/python/DLLs/_zoneinfo.pyd +0 -0
  314. package/python/DLLs/libcrypto-3-x64.dll +0 -0
  315. package/python/DLLs/libffi-8.dll +0 -0
  316. package/python/DLLs/libssl-3-x64.dll +0 -0
  317. package/python/DLLs/pyexpat.pyd +0 -0
  318. package/python/DLLs/select.pyd +0 -0
  319. package/python/DLLs/sqlite3.dll +0 -0
  320. package/python/DLLs/tcl86t.dll +0 -0
  321. package/python/DLLs/tk86t.dll +0 -0
  322. package/python/DLLs/unicodedata.pyd +0 -0
  323. package/python/DLLs/winsound.pyd +0 -0
  324. package/python/DLLs/zlib1.dll +0 -0
  325. package/python/LICENSE.txt +502 -0
  326. package/python/Lib/__future__.py +147 -0
  327. package/python/Lib/__hello__.py +16 -0
  328. package/python/Lib/__phello__/__init__.py +7 -0
  329. package/python/Lib/__phello__/ham/__init__.py +0 -0
  330. package/python/Lib/__phello__/ham/eggs.py +0 -0
  331. package/python/Lib/__phello__/spam.py +7 -0
  332. package/python/Lib/__pycache__/__future__.cpython-312.pyc +0 -0
  333. package/python/Lib/__pycache__/_compat_pickle.cpython-312.pyc +0 -0
  334. package/python/Lib/__pycache__/_compression.cpython-312.pyc +0 -0
  335. package/python/Lib/__pycache__/_markupbase.cpython-312.pyc +0 -0
  336. package/python/Lib/__pycache__/_weakrefset.cpython-312.pyc +0 -0
  337. package/python/Lib/__pycache__/ast.cpython-312.pyc +0 -0
  338. package/python/Lib/__pycache__/base64.cpython-312.pyc +0 -0
  339. package/python/Lib/__pycache__/bisect.cpython-312.pyc +0 -0
  340. package/python/Lib/__pycache__/bz2.cpython-312.pyc +0 -0
  341. package/python/Lib/__pycache__/calendar.cpython-312.pyc +0 -0
  342. package/python/Lib/__pycache__/colorsys.cpython-312.pyc +0 -0
  343. package/python/Lib/__pycache__/compileall.cpython-312.pyc +0 -0
  344. package/python/Lib/__pycache__/configparser.cpython-312.pyc +0 -0
  345. package/python/Lib/__pycache__/contextlib.cpython-312.pyc +0 -0
  346. package/python/Lib/__pycache__/copy.cpython-312.pyc +0 -0
  347. package/python/Lib/__pycache__/copyreg.cpython-312.pyc +0 -0
  348. package/python/Lib/__pycache__/csv.cpython-312.pyc +0 -0
  349. package/python/Lib/__pycache__/dataclasses.cpython-312.pyc +0 -0
  350. package/python/Lib/__pycache__/datetime.cpython-312.pyc +0 -0
  351. package/python/Lib/__pycache__/decimal.cpython-312.pyc +0 -0
  352. package/python/Lib/__pycache__/dis.cpython-312.pyc +0 -0
  353. package/python/Lib/__pycache__/enum.cpython-312.pyc +0 -0
  354. package/python/Lib/__pycache__/filecmp.cpython-312.pyc +0 -0
  355. package/python/Lib/__pycache__/fnmatch.cpython-312.pyc +0 -0
  356. package/python/Lib/__pycache__/fractions.cpython-312.pyc +0 -0
  357. package/python/Lib/__pycache__/functools.cpython-312.pyc +0 -0
  358. package/python/Lib/__pycache__/getpass.cpython-312.pyc +0 -0
  359. package/python/Lib/__pycache__/gettext.cpython-312.pyc +0 -0
  360. package/python/Lib/__pycache__/glob.cpython-312.pyc +0 -0
  361. package/python/Lib/__pycache__/gzip.cpython-312.pyc +0 -0
  362. package/python/Lib/__pycache__/hashlib.cpython-312.pyc +0 -0
  363. package/python/Lib/__pycache__/heapq.cpython-312.pyc +0 -0
  364. package/python/Lib/__pycache__/hmac.cpython-312.pyc +0 -0
  365. package/python/Lib/__pycache__/inspect.cpython-312.pyc +0 -0
  366. package/python/Lib/__pycache__/ipaddress.cpython-312.pyc +0 -0
  367. package/python/Lib/__pycache__/keyword.cpython-312.pyc +0 -0
  368. package/python/Lib/__pycache__/linecache.cpython-312.pyc +0 -0
  369. package/python/Lib/__pycache__/locale.cpython-312.pyc +0 -0
  370. package/python/Lib/__pycache__/lzma.cpython-312.pyc +0 -0
  371. package/python/Lib/__pycache__/mimetypes.cpython-312.pyc +0 -0
  372. package/python/Lib/__pycache__/nturl2path.cpython-312.pyc +0 -0
  373. package/python/Lib/__pycache__/numbers.cpython-312.pyc +0 -0
  374. package/python/Lib/__pycache__/opcode.cpython-312.pyc +0 -0
  375. package/python/Lib/__pycache__/operator.cpython-312.pyc +0 -0
  376. package/python/Lib/__pycache__/optparse.cpython-312.pyc +0 -0
  377. package/python/Lib/__pycache__/pathlib.cpython-312.pyc +0 -0
  378. package/python/Lib/__pycache__/pickle.cpython-312.pyc +0 -0
  379. package/python/Lib/__pycache__/pkgutil.cpython-312.pyc +0 -0
  380. package/python/Lib/__pycache__/platform.cpython-312.pyc +0 -0
  381. package/python/Lib/__pycache__/py_compile.cpython-312.pyc +0 -0
  382. package/python/Lib/__pycache__/queue.cpython-312.pyc +0 -0
  383. package/python/Lib/__pycache__/quopri.cpython-312.pyc +0 -0
  384. package/python/Lib/__pycache__/random.cpython-312.pyc +0 -0
  385. package/python/Lib/__pycache__/reprlib.cpython-312.pyc +0 -0
  386. package/python/Lib/__pycache__/selectors.cpython-312.pyc +0 -0
  387. package/python/Lib/__pycache__/shlex.cpython-312.pyc +0 -0
  388. package/python/Lib/__pycache__/shutil.cpython-312.pyc +0 -0
  389. package/python/Lib/__pycache__/signal.cpython-312.pyc +0 -0
  390. package/python/Lib/__pycache__/socket.cpython-312.pyc +0 -0
  391. package/python/Lib/__pycache__/socketserver.cpython-312.pyc +0 -0
  392. package/python/Lib/__pycache__/ssl.cpython-312.pyc +0 -0
  393. package/python/Lib/__pycache__/string.cpython-312.pyc +0 -0
  394. package/python/Lib/__pycache__/stringprep.cpython-312.pyc +0 -0
  395. package/python/Lib/__pycache__/struct.cpython-312.pyc +0 -0
  396. package/python/Lib/__pycache__/subprocess.cpython-312.pyc +0 -0
  397. package/python/Lib/__pycache__/sysconfig.cpython-312.pyc +0 -0
  398. package/python/Lib/__pycache__/tarfile.cpython-312.pyc +0 -0
  399. package/python/Lib/__pycache__/tempfile.cpython-312.pyc +0 -0
  400. package/python/Lib/__pycache__/textwrap.cpython-312.pyc +0 -0
  401. package/python/Lib/__pycache__/threading.cpython-312.pyc +0 -0
  402. package/python/Lib/__pycache__/token.cpython-312.pyc +0 -0
  403. package/python/Lib/__pycache__/tokenize.cpython-312.pyc +0 -0
  404. package/python/Lib/__pycache__/traceback.cpython-312.pyc +0 -0
  405. package/python/Lib/__pycache__/types.cpython-312.pyc +0 -0
  406. package/python/Lib/__pycache__/typing.cpython-312.pyc +0 -0
  407. package/python/Lib/__pycache__/uuid.cpython-312.pyc +0 -0
  408. package/python/Lib/__pycache__/warnings.cpython-312.pyc +0 -0
  409. package/python/Lib/__pycache__/weakref.cpython-312.pyc +0 -0
  410. package/python/Lib/_aix_support.py +108 -0
  411. package/python/Lib/_collections_abc.py +1173 -0
  412. package/python/Lib/_compat_pickle.py +252 -0
  413. package/python/Lib/_compression.py +162 -0
  414. package/python/Lib/_markupbase.py +396 -0
  415. package/python/Lib/_osx_support.py +579 -0
  416. package/python/Lib/_py_abc.py +147 -0
  417. package/python/Lib/_pydatetime.py +2643 -0
  418. package/python/Lib/_pydecimal.py +6339 -0
  419. package/python/Lib/_pyio.py +2698 -0
  420. package/python/Lib/_pylong.py +329 -0
  421. package/python/Lib/_sitebuiltins.py +103 -0
  422. package/python/Lib/_strptime.py +664 -0
  423. package/python/Lib/_threading_local.py +242 -0
  424. package/python/Lib/_weakrefset.py +205 -0
  425. package/python/Lib/abc.py +188 -0
  426. package/python/Lib/aifc.py +984 -0
  427. package/python/Lib/antigravity.py +17 -0
  428. package/python/Lib/argparse.py +2650 -0
  429. package/python/Lib/ast.py +1840 -0
  430. package/python/Lib/asyncio/__init__.py +47 -0
  431. package/python/Lib/asyncio/__main__.py +128 -0
  432. package/python/Lib/asyncio/base_events.py +2024 -0
  433. package/python/Lib/asyncio/base_futures.py +67 -0
  434. package/python/Lib/asyncio/base_subprocess.py +285 -0
  435. package/python/Lib/asyncio/base_tasks.py +94 -0
  436. package/python/Lib/asyncio/constants.py +41 -0
  437. package/python/Lib/asyncio/coroutines.py +109 -0
  438. package/python/Lib/asyncio/events.py +868 -0
  439. package/python/Lib/asyncio/exceptions.py +62 -0
  440. package/python/Lib/asyncio/format_helpers.py +76 -0
  441. package/python/Lib/asyncio/futures.py +430 -0
  442. package/python/Lib/asyncio/locks.py +586 -0
  443. package/python/Lib/asyncio/log.py +7 -0
  444. package/python/Lib/asyncio/mixins.py +21 -0
  445. package/python/Lib/asyncio/proactor_events.py +897 -0
  446. package/python/Lib/asyncio/protocols.py +216 -0
  447. package/python/Lib/asyncio/queues.py +244 -0
  448. package/python/Lib/asyncio/runners.py +216 -0
  449. package/python/Lib/asyncio/selector_events.py +1324 -0
  450. package/python/Lib/asyncio/sslproto.py +929 -0
  451. package/python/Lib/asyncio/staggered.py +174 -0
  452. package/python/Lib/asyncio/streams.py +770 -0
  453. package/python/Lib/asyncio/subprocess.py +229 -0
  454. package/python/Lib/asyncio/taskgroups.py +268 -0
  455. package/python/Lib/asyncio/tasks.py +1065 -0
  456. package/python/Lib/asyncio/threads.py +25 -0
  457. package/python/Lib/asyncio/timeouts.py +168 -0
  458. package/python/Lib/asyncio/transports.py +335 -0
  459. package/python/Lib/asyncio/trsock.py +98 -0
  460. package/python/Lib/asyncio/unix_events.py +1500 -0
  461. package/python/Lib/asyncio/windows_events.py +901 -0
  462. package/python/Lib/asyncio/windows_utils.py +173 -0
  463. package/python/Lib/base64.py +586 -0
  464. package/python/Lib/bdb.py +920 -0
  465. package/python/Lib/bisect.py +118 -0
  466. package/python/Lib/bz2.py +344 -0
  467. package/python/Lib/cProfile.py +195 -0
  468. package/python/Lib/calendar.py +808 -0
  469. package/python/Lib/cgi.py +1012 -0
  470. package/python/Lib/cgitb.py +332 -0
  471. package/python/Lib/chunk.py +173 -0
  472. package/python/Lib/cmd.py +401 -0
  473. package/python/Lib/code.py +324 -0
  474. package/python/Lib/codecs.py +1129 -0
  475. package/python/Lib/codeop.py +161 -0
  476. package/python/Lib/collections/__init__.py +1592 -0
  477. package/python/Lib/collections/__pycache__/__init__.cpython-312.pyc +0 -0
  478. package/python/Lib/collections/__pycache__/abc.cpython-312.pyc +0 -0
  479. package/python/Lib/collections/abc.py +3 -0
  480. package/python/Lib/colorsys.py +166 -0
  481. package/python/Lib/compileall.py +469 -0
  482. package/python/Lib/concurrent/__init__.py +1 -0
  483. package/python/Lib/concurrent/futures/__init__.py +54 -0
  484. package/python/Lib/concurrent/futures/_base.py +654 -0
  485. package/python/Lib/concurrent/futures/process.py +876 -0
  486. package/python/Lib/concurrent/futures/thread.py +240 -0
  487. package/python/Lib/configparser.py +1341 -0
  488. package/python/Lib/contextlib.py +800 -0
  489. package/python/Lib/contextvars.py +4 -0
  490. package/python/Lib/copy.py +292 -0
  491. package/python/Lib/copyreg.py +217 -0
  492. package/python/Lib/crypt.py +124 -0
  493. package/python/Lib/csv.py +461 -0
  494. package/python/Lib/ctypes/__init__.py +579 -0
  495. package/python/Lib/ctypes/__pycache__/__init__.cpython-312.pyc +0 -0
  496. package/python/Lib/ctypes/__pycache__/_endian.cpython-312.pyc +0 -0
  497. package/python/Lib/ctypes/__pycache__/wintypes.cpython-312.pyc +0 -0
  498. package/python/Lib/ctypes/_aix.py +327 -0
  499. package/python/Lib/ctypes/_endian.py +78 -0
  500. package/python/Lib/ctypes/macholib/README.ctypes +7 -0
  501. package/python/Lib/ctypes/macholib/__init__.py +9 -0
  502. package/python/Lib/ctypes/macholib/dyld.py +165 -0
  503. package/python/Lib/ctypes/macholib/dylib.py +42 -0
  504. package/python/Lib/ctypes/macholib/fetch_macholib +2 -0
  505. package/python/Lib/ctypes/macholib/fetch_macholib.bat +1 -0
  506. package/python/Lib/ctypes/macholib/framework.py +42 -0
  507. package/python/Lib/ctypes/util.py +379 -0
  508. package/python/Lib/ctypes/wintypes.py +202 -0
  509. package/python/Lib/curses/__init__.py +101 -0
  510. package/python/Lib/curses/ascii.py +99 -0
  511. package/python/Lib/curses/has_key.py +192 -0
  512. package/python/Lib/curses/panel.py +6 -0
  513. package/python/Lib/curses/textpad.py +204 -0
  514. package/python/Lib/dataclasses.py +1588 -0
  515. package/python/Lib/datetime.py +9 -0
  516. package/python/Lib/dbm/__init__.py +190 -0
  517. package/python/Lib/dbm/dumb.py +317 -0
  518. package/python/Lib/dbm/gnu.py +3 -0
  519. package/python/Lib/dbm/ndbm.py +3 -0
  520. package/python/Lib/decimal.py +108 -0
  521. package/python/Lib/difflib.py +2056 -0
  522. package/python/Lib/dis.py +805 -0
  523. package/python/Lib/doctest.py +2845 -0
  524. package/python/Lib/email/__init__.py +61 -0
  525. package/python/Lib/email/__pycache__/__init__.cpython-312.pyc +0 -0
  526. package/python/Lib/email/__pycache__/_encoded_words.cpython-312.pyc +0 -0
  527. package/python/Lib/email/__pycache__/_parseaddr.cpython-312.pyc +0 -0
  528. package/python/Lib/email/__pycache__/_policybase.cpython-312.pyc +0 -0
  529. package/python/Lib/email/__pycache__/base64mime.cpython-312.pyc +0 -0
  530. package/python/Lib/email/__pycache__/charset.cpython-312.pyc +0 -0
  531. package/python/Lib/email/__pycache__/encoders.cpython-312.pyc +0 -0
  532. package/python/Lib/email/__pycache__/errors.cpython-312.pyc +0 -0
  533. package/python/Lib/email/__pycache__/feedparser.cpython-312.pyc +0 -0
  534. package/python/Lib/email/__pycache__/header.cpython-312.pyc +0 -0
  535. package/python/Lib/email/__pycache__/iterators.cpython-312.pyc +0 -0
  536. package/python/Lib/email/__pycache__/message.cpython-312.pyc +0 -0
  537. package/python/Lib/email/__pycache__/parser.cpython-312.pyc +0 -0
  538. package/python/Lib/email/__pycache__/quoprimime.cpython-312.pyc +0 -0
  539. package/python/Lib/email/__pycache__/utils.cpython-312.pyc +0 -0
  540. package/python/Lib/email/_encoded_words.py +233 -0
  541. package/python/Lib/email/_header_value_parser.py +3119 -0
  542. package/python/Lib/email/_parseaddr.py +557 -0
  543. package/python/Lib/email/_policybase.py +382 -0
  544. package/python/Lib/email/architecture.rst +216 -0
  545. package/python/Lib/email/base64mime.py +115 -0
  546. package/python/Lib/email/charset.py +398 -0
  547. package/python/Lib/email/contentmanager.py +251 -0
  548. package/python/Lib/email/encoders.py +65 -0
  549. package/python/Lib/email/errors.py +117 -0
  550. package/python/Lib/email/feedparser.py +534 -0
  551. package/python/Lib/email/generator.py +530 -0
  552. package/python/Lib/email/header.py +573 -0
  553. package/python/Lib/email/headerregistry.py +604 -0
  554. package/python/Lib/email/iterators.py +68 -0
  555. package/python/Lib/email/message.py +1215 -0
  556. package/python/Lib/email/mime/__init__.py +0 -0
  557. package/python/Lib/email/mime/application.py +37 -0
  558. package/python/Lib/email/mime/audio.py +100 -0
  559. package/python/Lib/email/mime/base.py +29 -0
  560. package/python/Lib/email/mime/image.py +152 -0
  561. package/python/Lib/email/mime/message.py +33 -0
  562. package/python/Lib/email/mime/multipart.py +47 -0
  563. package/python/Lib/email/mime/nonmultipart.py +21 -0
  564. package/python/Lib/email/mime/text.py +40 -0
  565. package/python/Lib/email/parser.py +127 -0
  566. package/python/Lib/email/policy.py +232 -0
  567. package/python/Lib/email/quoprimime.py +300 -0
  568. package/python/Lib/email/utils.py +486 -0
  569. package/python/Lib/encodings/__init__.py +174 -0
  570. package/python/Lib/encodings/__pycache__/__init__.cpython-312.pyc +0 -0
  571. package/python/Lib/encodings/__pycache__/aliases.cpython-312.pyc +0 -0
  572. package/python/Lib/encodings/__pycache__/cp1252.cpython-312.pyc +0 -0
  573. package/python/Lib/encodings/__pycache__/cp437.cpython-312.pyc +0 -0
  574. package/python/Lib/encodings/__pycache__/hex_codec.cpython-312.pyc +0 -0
  575. package/python/Lib/encodings/__pycache__/idna.cpython-312.pyc +0 -0
  576. package/python/Lib/encodings/__pycache__/utf_8.cpython-312.pyc +0 -0
  577. package/python/Lib/encodings/aliases.py +551 -0
  578. package/python/Lib/encodings/ascii.py +50 -0
  579. package/python/Lib/encodings/base64_codec.py +55 -0
  580. package/python/Lib/encodings/big5.py +39 -0
  581. package/python/Lib/encodings/big5hkscs.py +39 -0
  582. package/python/Lib/encodings/bz2_codec.py +78 -0
  583. package/python/Lib/encodings/charmap.py +69 -0
  584. package/python/Lib/encodings/cp037.py +307 -0
  585. package/python/Lib/encodings/cp1006.py +307 -0
  586. package/python/Lib/encodings/cp1026.py +307 -0
  587. package/python/Lib/encodings/cp1125.py +698 -0
  588. package/python/Lib/encodings/cp1140.py +307 -0
  589. package/python/Lib/encodings/cp1250.py +307 -0
  590. package/python/Lib/encodings/cp1251.py +307 -0
  591. package/python/Lib/encodings/cp1252.py +307 -0
  592. package/python/Lib/encodings/cp1253.py +307 -0
  593. package/python/Lib/encodings/cp1254.py +307 -0
  594. package/python/Lib/encodings/cp1255.py +307 -0
  595. package/python/Lib/encodings/cp1256.py +307 -0
  596. package/python/Lib/encodings/cp1257.py +307 -0
  597. package/python/Lib/encodings/cp1258.py +307 -0
  598. package/python/Lib/encodings/cp273.py +307 -0
  599. package/python/Lib/encodings/cp424.py +307 -0
  600. package/python/Lib/encodings/cp437.py +698 -0
  601. package/python/Lib/encodings/cp500.py +307 -0
  602. package/python/Lib/encodings/cp720.py +309 -0
  603. package/python/Lib/encodings/cp737.py +698 -0
  604. package/python/Lib/encodings/cp775.py +697 -0
  605. package/python/Lib/encodings/cp850.py +698 -0
  606. package/python/Lib/encodings/cp852.py +698 -0
  607. package/python/Lib/encodings/cp855.py +698 -0
  608. package/python/Lib/encodings/cp856.py +307 -0
  609. package/python/Lib/encodings/cp857.py +694 -0
  610. package/python/Lib/encodings/cp858.py +698 -0
  611. package/python/Lib/encodings/cp860.py +698 -0
  612. package/python/Lib/encodings/cp861.py +698 -0
  613. package/python/Lib/encodings/cp862.py +698 -0
  614. package/python/Lib/encodings/cp863.py +698 -0
  615. package/python/Lib/encodings/cp864.py +690 -0
  616. package/python/Lib/encodings/cp865.py +698 -0
  617. package/python/Lib/encodings/cp866.py +698 -0
  618. package/python/Lib/encodings/cp869.py +689 -0
  619. package/python/Lib/encodings/cp874.py +307 -0
  620. package/python/Lib/encodings/cp875.py +307 -0
  621. package/python/Lib/encodings/cp932.py +39 -0
  622. package/python/Lib/encodings/cp949.py +39 -0
  623. package/python/Lib/encodings/cp950.py +39 -0
  624. package/python/Lib/encodings/euc_jis_2004.py +39 -0
  625. package/python/Lib/encodings/euc_jisx0213.py +39 -0
  626. package/python/Lib/encodings/euc_jp.py +39 -0
  627. package/python/Lib/encodings/euc_kr.py +39 -0
  628. package/python/Lib/encodings/gb18030.py +39 -0
  629. package/python/Lib/encodings/gb2312.py +39 -0
  630. package/python/Lib/encodings/gbk.py +39 -0
  631. package/python/Lib/encodings/hex_codec.py +55 -0
  632. package/python/Lib/encodings/hp_roman8.py +314 -0
  633. package/python/Lib/encodings/hz.py +39 -0
  634. package/python/Lib/encodings/idna.py +317 -0
  635. package/python/Lib/encodings/iso2022_jp.py +39 -0
  636. package/python/Lib/encodings/iso2022_jp_1.py +39 -0
  637. package/python/Lib/encodings/iso2022_jp_2.py +39 -0
  638. package/python/Lib/encodings/iso2022_jp_2004.py +39 -0
  639. package/python/Lib/encodings/iso2022_jp_3.py +39 -0
  640. package/python/Lib/encodings/iso2022_jp_ext.py +39 -0
  641. package/python/Lib/encodings/iso2022_kr.py +39 -0
  642. package/python/Lib/encodings/iso8859_1.py +307 -0
  643. package/python/Lib/encodings/iso8859_10.py +307 -0
  644. package/python/Lib/encodings/iso8859_11.py +307 -0
  645. package/python/Lib/encodings/iso8859_13.py +307 -0
  646. package/python/Lib/encodings/iso8859_14.py +307 -0
  647. package/python/Lib/encodings/iso8859_15.py +307 -0
  648. package/python/Lib/encodings/iso8859_16.py +307 -0
  649. package/python/Lib/encodings/iso8859_2.py +307 -0
  650. package/python/Lib/encodings/iso8859_3.py +307 -0
  651. package/python/Lib/encodings/iso8859_4.py +307 -0
  652. package/python/Lib/encodings/iso8859_5.py +307 -0
  653. package/python/Lib/encodings/iso8859_6.py +307 -0
  654. package/python/Lib/encodings/iso8859_7.py +307 -0
  655. package/python/Lib/encodings/iso8859_8.py +307 -0
  656. package/python/Lib/encodings/iso8859_9.py +307 -0
  657. package/python/Lib/encodings/johab.py +39 -0
  658. package/python/Lib/encodings/koi8_r.py +307 -0
  659. package/python/Lib/encodings/koi8_t.py +308 -0
  660. package/python/Lib/encodings/koi8_u.py +307 -0
  661. package/python/Lib/encodings/kz1048.py +307 -0
  662. package/python/Lib/encodings/latin_1.py +50 -0
  663. package/python/Lib/encodings/mac_arabic.py +698 -0
  664. package/python/Lib/encodings/mac_croatian.py +307 -0
  665. package/python/Lib/encodings/mac_cyrillic.py +307 -0
  666. package/python/Lib/encodings/mac_farsi.py +307 -0
  667. package/python/Lib/encodings/mac_greek.py +307 -0
  668. package/python/Lib/encodings/mac_iceland.py +307 -0
  669. package/python/Lib/encodings/mac_latin2.py +312 -0
  670. package/python/Lib/encodings/mac_roman.py +307 -0
  671. package/python/Lib/encodings/mac_romanian.py +307 -0
  672. package/python/Lib/encodings/mac_turkish.py +307 -0
  673. package/python/Lib/encodings/mbcs.py +47 -0
  674. package/python/Lib/encodings/oem.py +41 -0
  675. package/python/Lib/encodings/palmos.py +308 -0
  676. package/python/Lib/encodings/ptcp154.py +312 -0
  677. package/python/Lib/encodings/punycode.py +237 -0
  678. package/python/Lib/encodings/quopri_codec.py +56 -0
  679. package/python/Lib/encodings/raw_unicode_escape.py +46 -0
  680. package/python/Lib/encodings/rot_13.py +113 -0
  681. package/python/Lib/encodings/shift_jis.py +39 -0
  682. package/python/Lib/encodings/shift_jis_2004.py +39 -0
  683. package/python/Lib/encodings/shift_jisx0213.py +39 -0
  684. package/python/Lib/encodings/tis_620.py +307 -0
  685. package/python/Lib/encodings/undefined.py +49 -0
  686. package/python/Lib/encodings/unicode_escape.py +46 -0
  687. package/python/Lib/encodings/utf_16.py +155 -0
  688. package/python/Lib/encodings/utf_16_be.py +42 -0
  689. package/python/Lib/encodings/utf_16_le.py +42 -0
  690. package/python/Lib/encodings/utf_32.py +150 -0
  691. package/python/Lib/encodings/utf_32_be.py +37 -0
  692. package/python/Lib/encodings/utf_32_le.py +37 -0
  693. package/python/Lib/encodings/utf_7.py +38 -0
  694. package/python/Lib/encodings/utf_8.py +42 -0
  695. package/python/Lib/encodings/utf_8_sig.py +130 -0
  696. package/python/Lib/encodings/uu_codec.py +103 -0
  697. package/python/Lib/encodings/zlib_codec.py +77 -0
  698. package/python/Lib/ensurepip/__init__.py +291 -0
  699. package/python/Lib/ensurepip/__main__.py +5 -0
  700. package/python/Lib/ensurepip/_bundled/pip-26.2.2-py3-none-any.whl +0 -0
  701. package/python/Lib/ensurepip/_uninstall.py +31 -0
  702. package/python/Lib/enum.py +2108 -0
  703. package/python/Lib/filecmp.py +315 -0
  704. package/python/Lib/fileinput.py +442 -0
  705. package/python/Lib/fnmatch.py +185 -0
  706. package/python/Lib/fractions.py +990 -0
  707. package/python/Lib/ftplib.py +975 -0
  708. package/python/Lib/functools.py +1009 -0
  709. package/python/Lib/genericpath.py +176 -0
  710. package/python/Lib/getopt.py +215 -0
  711. package/python/Lib/getpass.py +185 -0
  712. package/python/Lib/gettext.py +646 -0
  713. package/python/Lib/glob.py +252 -0
  714. package/python/Lib/graphlib.py +250 -0
  715. package/python/Lib/gzip.py +711 -0
  716. package/python/Lib/hashlib.py +253 -0
  717. package/python/Lib/heapq.py +603 -0
  718. package/python/Lib/hmac.py +219 -0
  719. package/python/Lib/html/__init__.py +132 -0
  720. package/python/Lib/html/__pycache__/__init__.cpython-312.pyc +0 -0
  721. package/python/Lib/html/__pycache__/entities.cpython-312.pyc +0 -0
  722. package/python/Lib/html/__pycache__/parser.cpython-312.pyc +0 -0
  723. package/python/Lib/html/entities.py +2513 -0
  724. package/python/Lib/html/parser.py +563 -0
  725. package/python/Lib/http/__init__.py +200 -0
  726. package/python/Lib/http/__pycache__/__init__.cpython-312.pyc +0 -0
  727. package/python/Lib/http/__pycache__/client.cpython-312.pyc +0 -0
  728. package/python/Lib/http/__pycache__/cookiejar.cpython-312.pyc +0 -0
  729. package/python/Lib/http/__pycache__/cookies.cpython-312.pyc +0 -0
  730. package/python/Lib/http/client.py +1598 -0
  731. package/python/Lib/http/cookiejar.py +2132 -0
  732. package/python/Lib/http/cookies.py +631 -0
  733. package/python/Lib/http/server.py +1335 -0
  734. package/python/Lib/idlelib/CREDITS.txt +47 -0
  735. package/python/Lib/idlelib/ChangeLog +1591 -0
  736. package/python/Lib/idlelib/HISTORY.txt +296 -0
  737. package/python/Lib/idlelib/Icons/README.txt +51 -0
  738. package/python/Lib/idlelib/Icons/folder.gif +0 -0
  739. package/python/Lib/idlelib/Icons/idle.ico +0 -0
  740. package/python/Lib/idlelib/Icons/idle_16.gif +0 -0
  741. package/python/Lib/idlelib/Icons/idle_16.png +0 -0
  742. package/python/Lib/idlelib/Icons/idle_256.png +0 -0
  743. package/python/Lib/idlelib/Icons/idle_32.gif +0 -0
  744. package/python/Lib/idlelib/Icons/idle_32.png +0 -0
  745. package/python/Lib/idlelib/Icons/idle_48.gif +0 -0
  746. package/python/Lib/idlelib/Icons/idle_48.png +0 -0
  747. package/python/Lib/idlelib/Icons/minusnode.gif +0 -0
  748. package/python/Lib/idlelib/Icons/openfolder.gif +0 -0
  749. package/python/Lib/idlelib/Icons/plusnode.gif +0 -0
  750. package/python/Lib/idlelib/Icons/python.gif +0 -0
  751. package/python/Lib/idlelib/Icons/tk.gif +0 -0
  752. package/python/Lib/idlelib/NEWS2x.txt +660 -0
  753. package/python/Lib/idlelib/News3.txt +1390 -0
  754. package/python/Lib/idlelib/README.txt +290 -0
  755. package/python/Lib/idlelib/TODO.txt +210 -0
  756. package/python/Lib/idlelib/__init__.py +10 -0
  757. package/python/Lib/idlelib/__main__.py +7 -0
  758. package/python/Lib/idlelib/autocomplete.py +228 -0
  759. package/python/Lib/idlelib/autocomplete_w.py +498 -0
  760. package/python/Lib/idlelib/autoexpand.py +96 -0
  761. package/python/Lib/idlelib/browser.py +260 -0
  762. package/python/Lib/idlelib/calltip.py +205 -0
  763. package/python/Lib/idlelib/calltip_w.py +202 -0
  764. package/python/Lib/idlelib/codecontext.py +270 -0
  765. package/python/Lib/idlelib/colorizer.py +384 -0
  766. package/python/Lib/idlelib/config-extensions.def +62 -0
  767. package/python/Lib/idlelib/config-highlight.def +105 -0
  768. package/python/Lib/idlelib/config-keys.def +309 -0
  769. package/python/Lib/idlelib/config-main.def +93 -0
  770. package/python/Lib/idlelib/config.py +917 -0
  771. package/python/Lib/idlelib/config_key.py +354 -0
  772. package/python/Lib/idlelib/configdialog.py +2408 -0
  773. package/python/Lib/idlelib/debugger.py +602 -0
  774. package/python/Lib/idlelib/debugger_r.py +390 -0
  775. package/python/Lib/idlelib/debugobj.py +146 -0
  776. package/python/Lib/idlelib/debugobj_r.py +41 -0
  777. package/python/Lib/idlelib/delegator.py +34 -0
  778. package/python/Lib/idlelib/dynoption.py +57 -0
  779. package/python/Lib/idlelib/editor.py +1767 -0
  780. package/python/Lib/idlelib/extend.txt +83 -0
  781. package/python/Lib/idlelib/filelist.py +132 -0
  782. package/python/Lib/idlelib/format.py +426 -0
  783. package/python/Lib/idlelib/grep.py +223 -0
  784. package/python/Lib/idlelib/help.html +805 -0
  785. package/python/Lib/idlelib/help.py +297 -0
  786. package/python/Lib/idlelib/help_about.py +211 -0
  787. package/python/Lib/idlelib/history.py +106 -0
  788. package/python/Lib/idlelib/hyperparser.py +312 -0
  789. package/python/Lib/idlelib/idle.bat +4 -0
  790. package/python/Lib/idlelib/idle.py +14 -0
  791. package/python/Lib/idlelib/idle.pyw +17 -0
  792. package/python/Lib/idlelib/iomenu.py +441 -0
  793. package/python/Lib/idlelib/macosx.py +278 -0
  794. package/python/Lib/idlelib/mainmenu.py +126 -0
  795. package/python/Lib/idlelib/multicall.py +451 -0
  796. package/python/Lib/idlelib/outwin.py +188 -0
  797. package/python/Lib/idlelib/parenmatch.py +183 -0
  798. package/python/Lib/idlelib/pathbrowser.py +107 -0
  799. package/python/Lib/idlelib/percolator.py +120 -0
  800. package/python/Lib/idlelib/pyparse.py +589 -0
  801. package/python/Lib/idlelib/pyshell.py +1694 -0
  802. package/python/Lib/idlelib/query.py +392 -0
  803. package/python/Lib/idlelib/redirector.py +173 -0
  804. package/python/Lib/idlelib/replace.py +300 -0
  805. package/python/Lib/idlelib/rpc.py +635 -0
  806. package/python/Lib/idlelib/run.py +646 -0
  807. package/python/Lib/idlelib/runscript.py +213 -0
  808. package/python/Lib/idlelib/scrolledlist.py +151 -0
  809. package/python/Lib/idlelib/search.py +165 -0
  810. package/python/Lib/idlelib/searchbase.py +210 -0
  811. package/python/Lib/idlelib/searchengine.py +235 -0
  812. package/python/Lib/idlelib/sidebar.py +544 -0
  813. package/python/Lib/idlelib/squeezer.py +345 -0
  814. package/python/Lib/idlelib/stackviewer.py +134 -0
  815. package/python/Lib/idlelib/statusbar.py +52 -0
  816. package/python/Lib/idlelib/textview.py +193 -0
  817. package/python/Lib/idlelib/tooltip.py +190 -0
  818. package/python/Lib/idlelib/tree.py +509 -0
  819. package/python/Lib/idlelib/undo.py +367 -0
  820. package/python/Lib/idlelib/util.py +37 -0
  821. package/python/Lib/idlelib/window.py +98 -0
  822. package/python/Lib/idlelib/zoomheight.py +124 -0
  823. package/python/Lib/idlelib/zzdummy.py +73 -0
  824. package/python/Lib/imaplib.py +1641 -0
  825. package/python/Lib/imghdr.py +180 -0
  826. package/python/Lib/importlib/__init__.py +138 -0
  827. package/python/Lib/importlib/__pycache__/__init__.cpython-312.pyc +0 -0
  828. package/python/Lib/importlib/__pycache__/_abc.cpython-312.pyc +0 -0
  829. package/python/Lib/importlib/__pycache__/abc.cpython-312.pyc +0 -0
  830. package/python/Lib/importlib/__pycache__/readers.cpython-312.pyc +0 -0
  831. package/python/Lib/importlib/_abc.py +39 -0
  832. package/python/Lib/importlib/_bootstrap.py +1551 -0
  833. package/python/Lib/importlib/_bootstrap_external.py +1749 -0
  834. package/python/Lib/importlib/abc.py +239 -0
  835. package/python/Lib/importlib/machinery.py +20 -0
  836. package/python/Lib/importlib/metadata/__init__.py +966 -0
  837. package/python/Lib/importlib/metadata/__pycache__/__init__.cpython-312.pyc +0 -0
  838. package/python/Lib/importlib/metadata/__pycache__/_adapters.cpython-312.pyc +0 -0
  839. package/python/Lib/importlib/metadata/__pycache__/_collections.cpython-312.pyc +0 -0
  840. package/python/Lib/importlib/metadata/__pycache__/_functools.cpython-312.pyc +0 -0
  841. package/python/Lib/importlib/metadata/__pycache__/_itertools.cpython-312.pyc +0 -0
  842. package/python/Lib/importlib/metadata/__pycache__/_meta.cpython-312.pyc +0 -0
  843. package/python/Lib/importlib/metadata/__pycache__/_text.cpython-312.pyc +0 -0
  844. package/python/Lib/importlib/metadata/_adapters.py +89 -0
  845. package/python/Lib/importlib/metadata/_collections.py +30 -0
  846. package/python/Lib/importlib/metadata/_functools.py +104 -0
  847. package/python/Lib/importlib/metadata/_itertools.py +73 -0
  848. package/python/Lib/importlib/metadata/_meta.py +63 -0
  849. package/python/Lib/importlib/metadata/_text.py +99 -0
  850. package/python/Lib/importlib/readers.py +12 -0
  851. package/python/Lib/importlib/resources/__init__.py +38 -0
  852. package/python/Lib/importlib/resources/__pycache__/__init__.cpython-312.pyc +0 -0
  853. package/python/Lib/importlib/resources/__pycache__/_adapters.cpython-312.pyc +0 -0
  854. package/python/Lib/importlib/resources/__pycache__/_common.cpython-312.pyc +0 -0
  855. package/python/Lib/importlib/resources/__pycache__/_itertools.cpython-312.pyc +0 -0
  856. package/python/Lib/importlib/resources/__pycache__/_legacy.cpython-312.pyc +0 -0
  857. package/python/Lib/importlib/resources/__pycache__/abc.cpython-312.pyc +0 -0
  858. package/python/Lib/importlib/resources/__pycache__/readers.cpython-312.pyc +0 -0
  859. package/python/Lib/importlib/resources/_adapters.py +168 -0
  860. package/python/Lib/importlib/resources/_common.py +208 -0
  861. package/python/Lib/importlib/resources/_itertools.py +38 -0
  862. package/python/Lib/importlib/resources/_legacy.py +98 -0
  863. package/python/Lib/importlib/resources/abc.py +173 -0
  864. package/python/Lib/importlib/resources/readers.py +146 -0
  865. package/python/Lib/importlib/resources/simple.py +106 -0
  866. package/python/Lib/importlib/simple.py +14 -0
  867. package/python/Lib/importlib/util.py +270 -0
  868. package/python/Lib/inspect.py +3433 -0
  869. package/python/Lib/io.py +99 -0
  870. package/python/Lib/ipaddress.py +2430 -0
  871. package/python/Lib/json/__init__.py +359 -0
  872. package/python/Lib/json/__pycache__/__init__.cpython-312.pyc +0 -0
  873. package/python/Lib/json/__pycache__/decoder.cpython-312.pyc +0 -0
  874. package/python/Lib/json/__pycache__/encoder.cpython-312.pyc +0 -0
  875. package/python/Lib/json/__pycache__/scanner.cpython-312.pyc +0 -0
  876. package/python/Lib/json/decoder.py +357 -0
  877. package/python/Lib/json/encoder.py +443 -0
  878. package/python/Lib/json/scanner.py +73 -0
  879. package/python/Lib/json/tool.py +85 -0
  880. package/python/Lib/keyword.py +64 -0
  881. package/python/Lib/lib2to3/Grammar.txt +196 -0
  882. package/python/Lib/lib2to3/PatternGrammar.txt +28 -0
  883. package/python/Lib/lib2to3/__init__.py +8 -0
  884. package/python/Lib/lib2to3/__main__.py +4 -0
  885. package/python/Lib/lib2to3/btm_matcher.py +163 -0
  886. package/python/Lib/lib2to3/btm_utils.py +280 -0
  887. package/python/Lib/lib2to3/fixer_base.py +186 -0
  888. package/python/Lib/lib2to3/fixer_util.py +453 -0
  889. package/python/Lib/lib2to3/fixes/__init__.py +1 -0
  890. package/python/Lib/lib2to3/fixes/fix_apply.py +68 -0
  891. package/python/Lib/lib2to3/fixes/fix_asserts.py +34 -0
  892. package/python/Lib/lib2to3/fixes/fix_basestring.py +14 -0
  893. package/python/Lib/lib2to3/fixes/fix_buffer.py +22 -0
  894. package/python/Lib/lib2to3/fixes/fix_dict.py +106 -0
  895. package/python/Lib/lib2to3/fixes/fix_except.py +93 -0
  896. package/python/Lib/lib2to3/fixes/fix_exec.py +39 -0
  897. package/python/Lib/lib2to3/fixes/fix_execfile.py +53 -0
  898. package/python/Lib/lib2to3/fixes/fix_exitfunc.py +72 -0
  899. package/python/Lib/lib2to3/fixes/fix_filter.py +94 -0
  900. package/python/Lib/lib2to3/fixes/fix_funcattrs.py +21 -0
  901. package/python/Lib/lib2to3/fixes/fix_future.py +22 -0
  902. package/python/Lib/lib2to3/fixes/fix_getcwdu.py +19 -0
  903. package/python/Lib/lib2to3/fixes/fix_has_key.py +109 -0
  904. package/python/Lib/lib2to3/fixes/fix_idioms.py +152 -0
  905. package/python/Lib/lib2to3/fixes/fix_import.py +99 -0
  906. package/python/Lib/lib2to3/fixes/fix_imports.py +145 -0
  907. package/python/Lib/lib2to3/fixes/fix_imports2.py +16 -0
  908. package/python/Lib/lib2to3/fixes/fix_input.py +26 -0
  909. package/python/Lib/lib2to3/fixes/fix_intern.py +39 -0
  910. package/python/Lib/lib2to3/fixes/fix_isinstance.py +52 -0
  911. package/python/Lib/lib2to3/fixes/fix_itertools.py +43 -0
  912. package/python/Lib/lib2to3/fixes/fix_itertools_imports.py +57 -0
  913. package/python/Lib/lib2to3/fixes/fix_long.py +19 -0
  914. package/python/Lib/lib2to3/fixes/fix_map.py +110 -0
  915. package/python/Lib/lib2to3/fixes/fix_metaclass.py +228 -0
  916. package/python/Lib/lib2to3/fixes/fix_methodattrs.py +24 -0
  917. package/python/Lib/lib2to3/fixes/fix_ne.py +23 -0
  918. package/python/Lib/lib2to3/fixes/fix_next.py +103 -0
  919. package/python/Lib/lib2to3/fixes/fix_nonzero.py +21 -0
  920. package/python/Lib/lib2to3/fixes/fix_numliterals.py +28 -0
  921. package/python/Lib/lib2to3/fixes/fix_operator.py +97 -0
  922. package/python/Lib/lib2to3/fixes/fix_paren.py +44 -0
  923. package/python/Lib/lib2to3/fixes/fix_print.py +87 -0
  924. package/python/Lib/lib2to3/fixes/fix_raise.py +90 -0
  925. package/python/Lib/lib2to3/fixes/fix_raw_input.py +17 -0
  926. package/python/Lib/lib2to3/fixes/fix_reduce.py +35 -0
  927. package/python/Lib/lib2to3/fixes/fix_reload.py +36 -0
  928. package/python/Lib/lib2to3/fixes/fix_renames.py +70 -0
  929. package/python/Lib/lib2to3/fixes/fix_repr.py +23 -0
  930. package/python/Lib/lib2to3/fixes/fix_set_literal.py +53 -0
  931. package/python/Lib/lib2to3/fixes/fix_standarderror.py +18 -0
  932. package/python/Lib/lib2to3/fixes/fix_sys_exc.py +30 -0
  933. package/python/Lib/lib2to3/fixes/fix_throw.py +56 -0
  934. package/python/Lib/lib2to3/fixes/fix_tuple_params.py +175 -0
  935. package/python/Lib/lib2to3/fixes/fix_types.py +61 -0
  936. package/python/Lib/lib2to3/fixes/fix_unicode.py +42 -0
  937. package/python/Lib/lib2to3/fixes/fix_urllib.py +196 -0
  938. package/python/Lib/lib2to3/fixes/fix_ws_comma.py +39 -0
  939. package/python/Lib/lib2to3/fixes/fix_xrange.py +73 -0
  940. package/python/Lib/lib2to3/fixes/fix_xreadlines.py +25 -0
  941. package/python/Lib/lib2to3/fixes/fix_zip.py +46 -0
  942. package/python/Lib/lib2to3/main.py +273 -0
  943. package/python/Lib/lib2to3/patcomp.py +204 -0
  944. package/python/Lib/lib2to3/pgen2/__init__.py +4 -0
  945. package/python/Lib/lib2to3/pgen2/conv.py +257 -0
  946. package/python/Lib/lib2to3/pgen2/driver.py +177 -0
  947. package/python/Lib/lib2to3/pgen2/grammar.py +189 -0
  948. package/python/Lib/lib2to3/pgen2/literals.py +60 -0
  949. package/python/Lib/lib2to3/pgen2/parse.py +204 -0
  950. package/python/Lib/lib2to3/pgen2/pgen.py +386 -0
  951. package/python/Lib/lib2to3/pgen2/token.py +86 -0
  952. package/python/Lib/lib2to3/pgen2/tokenize.py +564 -0
  953. package/python/Lib/lib2to3/pygram.py +43 -0
  954. package/python/Lib/lib2to3/pytree.py +853 -0
  955. package/python/Lib/lib2to3/refactor.py +732 -0
  956. package/python/Lib/linecache.py +185 -0
  957. package/python/Lib/locale.py +1779 -0
  958. package/python/Lib/logging/__init__.py +2345 -0
  959. package/python/Lib/logging/__pycache__/__init__.cpython-312.pyc +0 -0
  960. package/python/Lib/logging/__pycache__/config.cpython-312.pyc +0 -0
  961. package/python/Lib/logging/__pycache__/handlers.cpython-312.pyc +0 -0
  962. package/python/Lib/logging/config.py +1078 -0
  963. package/python/Lib/logging/handlers.py +1624 -0
  964. package/python/Lib/lzma.py +356 -0
  965. package/python/Lib/mailbox.py +2153 -0
  966. package/python/Lib/mailcap.py +302 -0
  967. package/python/Lib/mimetypes.py +662 -0
  968. package/python/Lib/modulefinder.py +666 -0
  969. package/python/Lib/msilib/__init__.py +484 -0
  970. package/python/Lib/msilib/schema.py +1007 -0
  971. package/python/Lib/msilib/sequence.py +126 -0
  972. package/python/Lib/msilib/text.py +129 -0
  973. package/python/Lib/multiprocessing/__init__.py +37 -0
  974. package/python/Lib/multiprocessing/connection.py +1178 -0
  975. package/python/Lib/multiprocessing/context.py +377 -0
  976. package/python/Lib/multiprocessing/dummy/__init__.py +126 -0
  977. package/python/Lib/multiprocessing/dummy/connection.py +75 -0
  978. package/python/Lib/multiprocessing/forkserver.py +350 -0
  979. package/python/Lib/multiprocessing/heap.py +337 -0
  980. package/python/Lib/multiprocessing/managers.py +1387 -0
  981. package/python/Lib/multiprocessing/pool.py +957 -0
  982. package/python/Lib/multiprocessing/popen_fork.py +83 -0
  983. package/python/Lib/multiprocessing/popen_forkserver.py +74 -0
  984. package/python/Lib/multiprocessing/popen_spawn_posix.py +72 -0
  985. package/python/Lib/multiprocessing/popen_spawn_win32.py +145 -0
  986. package/python/Lib/multiprocessing/process.py +439 -0
  987. package/python/Lib/multiprocessing/queues.py +401 -0
  988. package/python/Lib/multiprocessing/reduction.py +281 -0
  989. package/python/Lib/multiprocessing/resource_sharer.py +154 -0
  990. package/python/Lib/multiprocessing/resource_tracker.py +294 -0
  991. package/python/Lib/multiprocessing/shared_memory.py +534 -0
  992. package/python/Lib/multiprocessing/sharedctypes.py +240 -0
  993. package/python/Lib/multiprocessing/spawn.py +307 -0
  994. package/python/Lib/multiprocessing/synchronize.py +404 -0
  995. package/python/Lib/multiprocessing/util.py +494 -0
  996. package/python/Lib/netrc.py +192 -0
  997. package/python/Lib/nntplib.py +1093 -0
  998. package/python/Lib/ntpath.py +869 -0
  999. package/python/Lib/nturl2path.py +69 -0
  1000. package/python/Lib/numbers.py +418 -0
  1001. package/python/Lib/opcode.py +493 -0
  1002. package/python/Lib/operator.py +467 -0
  1003. package/python/Lib/optparse.py +1681 -0
  1004. package/python/Lib/os.py +1160 -0
  1005. package/python/Lib/pathlib.py +1435 -0
  1006. package/python/Lib/pdb.py +1987 -0
  1007. package/python/Lib/pickle.py +1866 -0
  1008. package/python/Lib/pickletools.py +2904 -0
  1009. package/python/Lib/pipes.py +250 -0
  1010. package/python/Lib/pkgutil.py +529 -0
  1011. package/python/Lib/platform.py +1359 -0
  1012. package/python/Lib/plistlib.py +920 -0
  1013. package/python/Lib/poplib.py +478 -0
  1014. package/python/Lib/posixpath.py +577 -0
  1015. package/python/Lib/pprint.py +658 -0
  1016. package/python/Lib/profile.py +615 -0
  1017. package/python/Lib/pstats.py +778 -0
  1018. package/python/Lib/pty.py +211 -0
  1019. package/python/Lib/py_compile.py +212 -0
  1020. package/python/Lib/pyclbr.py +314 -0
  1021. package/python/Lib/pydoc.py +2950 -0
  1022. package/python/Lib/pydoc_data/__init__.py +0 -0
  1023. package/python/Lib/pydoc_data/_pydoc.css +112 -0
  1024. package/python/Lib/pydoc_data/topics.py +12500 -0
  1025. package/python/Lib/queue.py +326 -0
  1026. package/python/Lib/quopri.py +237 -0
  1027. package/python/Lib/random.py +996 -0
  1028. package/python/Lib/re/__init__.py +385 -0
  1029. package/python/Lib/re/__pycache__/__init__.cpython-312.pyc +0 -0
  1030. package/python/Lib/re/__pycache__/_casefix.cpython-312.pyc +0 -0
  1031. package/python/Lib/re/__pycache__/_compiler.cpython-312.pyc +0 -0
  1032. package/python/Lib/re/__pycache__/_constants.cpython-312.pyc +0 -0
  1033. package/python/Lib/re/__pycache__/_parser.cpython-312.pyc +0 -0
  1034. package/python/Lib/re/_casefix.py +106 -0
  1035. package/python/Lib/re/_compiler.py +770 -0
  1036. package/python/Lib/re/_constants.py +220 -0
  1037. package/python/Lib/re/_parser.py +1080 -0
  1038. package/python/Lib/reprlib.py +214 -0
  1039. package/python/Lib/rlcompleter.py +219 -0
  1040. package/python/Lib/runpy.py +319 -0
  1041. package/python/Lib/sched.py +167 -0
  1042. package/python/Lib/secrets.py +71 -0
  1043. package/python/Lib/selectors.py +623 -0
  1044. package/python/Lib/shelve.py +243 -0
  1045. package/python/Lib/shlex.py +345 -0
  1046. package/python/Lib/shutil.py +1555 -0
  1047. package/python/Lib/signal.py +94 -0
  1048. package/python/Lib/site-packages/README.txt +2 -0
  1049. package/python/Lib/site-packages/pip/__init__.py +13 -0
  1050. package/python/Lib/site-packages/pip/__main__.py +24 -0
  1051. package/python/Lib/site-packages/pip/__pip-runner__.py +50 -0
  1052. package/python/Lib/site-packages/pip/__pycache__/__init__.cpython-312.pyc +0 -0
  1053. package/python/Lib/site-packages/pip/__pycache__/__main__.cpython-312.pyc +0 -0
  1054. package/python/Lib/site-packages/pip/__pycache__/__pip-runner__.cpython-312.pyc +0 -0
  1055. package/python/Lib/site-packages/pip/_internal/__init__.py +18 -0
  1056. package/python/Lib/site-packages/pip/_internal/__pycache__/__init__.cpython-312.pyc +0 -0
  1057. package/python/Lib/site-packages/pip/_internal/__pycache__/cache.cpython-312.pyc +0 -0
  1058. package/python/Lib/site-packages/pip/_internal/__pycache__/configuration.cpython-312.pyc +0 -0
  1059. package/python/Lib/site-packages/pip/_internal/__pycache__/exceptions.cpython-312.pyc +0 -0
  1060. package/python/Lib/site-packages/pip/_internal/__pycache__/main.cpython-312.pyc +0 -0
  1061. package/python/Lib/site-packages/pip/_internal/__pycache__/pyproject.cpython-312.pyc +0 -0
  1062. package/python/Lib/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-312.pyc +0 -0
  1063. package/python/Lib/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-312.pyc +0 -0
  1064. package/python/Lib/site-packages/pip/_internal/build_env/__init__.py +25 -0
  1065. package/python/Lib/site-packages/pip/_internal/build_env/__pycache__/__init__.cpython-312.pyc +0 -0
  1066. package/python/Lib/site-packages/pip/_internal/build_env/__pycache__/base.cpython-312.pyc +0 -0
  1067. package/python/Lib/site-packages/pip/_internal/build_env/__pycache__/installer.cpython-312.pyc +0 -0
  1068. package/python/Lib/site-packages/pip/_internal/build_env/__pycache__/noop.cpython-312.pyc +0 -0
  1069. package/python/Lib/site-packages/pip/_internal/build_env/__pycache__/venv.cpython-312.pyc +0 -0
  1070. package/python/Lib/site-packages/pip/_internal/build_env/__pycache__/virtual.cpython-312.pyc +0 -0
  1071. package/python/Lib/site-packages/pip/_internal/build_env/base.py +103 -0
  1072. package/python/Lib/site-packages/pip/_internal/build_env/installer.py +333 -0
  1073. package/python/Lib/site-packages/pip/_internal/build_env/noop.py +42 -0
  1074. package/python/Lib/site-packages/pip/_internal/build_env/venv.py +145 -0
  1075. package/python/Lib/site-packages/pip/_internal/build_env/virtual.py +139 -0
  1076. package/python/Lib/site-packages/pip/_internal/cache.py +294 -0
  1077. package/python/Lib/site-packages/pip/_internal/cli/__init__.py +3 -0
  1078. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-312.pyc +0 -0
  1079. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-312.pyc +0 -0
  1080. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-312.pyc +0 -0
  1081. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-312.pyc +0 -0
  1082. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-312.pyc +0 -0
  1083. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/index_command.cpython-312.pyc +0 -0
  1084. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/main.cpython-312.pyc +0 -0
  1085. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-312.pyc +0 -0
  1086. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/parser.cpython-312.pyc +0 -0
  1087. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-312.pyc +0 -0
  1088. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-312.pyc +0 -0
  1089. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-312.pyc +0 -0
  1090. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-312.pyc +0 -0
  1091. package/python/Lib/site-packages/pip/_internal/cli/autocompletion.py +187 -0
  1092. package/python/Lib/site-packages/pip/_internal/cli/base_command.py +261 -0
  1093. package/python/Lib/site-packages/pip/_internal/cli/cmdoptions.py +1409 -0
  1094. package/python/Lib/site-packages/pip/_internal/cli/command_context.py +28 -0
  1095. package/python/Lib/site-packages/pip/_internal/cli/index_command.py +217 -0
  1096. package/python/Lib/site-packages/pip/_internal/cli/main.py +86 -0
  1097. package/python/Lib/site-packages/pip/_internal/cli/main_parser.py +135 -0
  1098. package/python/Lib/site-packages/pip/_internal/cli/parser.py +366 -0
  1099. package/python/Lib/site-packages/pip/_internal/cli/progress_bars.py +153 -0
  1100. package/python/Lib/site-packages/pip/_internal/cli/req_command.py +504 -0
  1101. package/python/Lib/site-packages/pip/_internal/cli/spinners.py +235 -0
  1102. package/python/Lib/site-packages/pip/_internal/cli/status_codes.py +7 -0
  1103. package/python/Lib/site-packages/pip/_internal/commands/__init__.py +139 -0
  1104. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/__init__.cpython-312.pyc +0 -0
  1105. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/cache.cpython-312.pyc +0 -0
  1106. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/check.cpython-312.pyc +0 -0
  1107. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/completion.cpython-312.pyc +0 -0
  1108. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/configuration.cpython-312.pyc +0 -0
  1109. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/debug.cpython-312.pyc +0 -0
  1110. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/download.cpython-312.pyc +0 -0
  1111. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/freeze.cpython-312.pyc +0 -0
  1112. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/hash.cpython-312.pyc +0 -0
  1113. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/help.cpython-312.pyc +0 -0
  1114. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/index.cpython-312.pyc +0 -0
  1115. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/inspect.cpython-312.pyc +0 -0
  1116. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/install.cpython-312.pyc +0 -0
  1117. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/list.cpython-312.pyc +0 -0
  1118. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/lock.cpython-312.pyc +0 -0
  1119. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/search.cpython-312.pyc +0 -0
  1120. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/show.cpython-312.pyc +0 -0
  1121. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/uninstall.cpython-312.pyc +0 -0
  1122. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/wheel.cpython-312.pyc +0 -0
  1123. package/python/Lib/site-packages/pip/_internal/commands/cache.py +256 -0
  1124. package/python/Lib/site-packages/pip/_internal/commands/check.py +66 -0
  1125. package/python/Lib/site-packages/pip/_internal/commands/completion.py +136 -0
  1126. package/python/Lib/site-packages/pip/_internal/commands/configuration.py +289 -0
  1127. package/python/Lib/site-packages/pip/_internal/commands/debug.py +195 -0
  1128. package/python/Lib/site-packages/pip/_internal/commands/download.py +150 -0
  1129. package/python/Lib/site-packages/pip/_internal/commands/freeze.py +107 -0
  1130. package/python/Lib/site-packages/pip/_internal/commands/hash.py +58 -0
  1131. package/python/Lib/site-packages/pip/_internal/commands/help.py +40 -0
  1132. package/python/Lib/site-packages/pip/_internal/commands/index.py +173 -0
  1133. package/python/Lib/site-packages/pip/_internal/commands/inspect.py +92 -0
  1134. package/python/Lib/site-packages/pip/_internal/commands/install.py +904 -0
  1135. package/python/Lib/site-packages/pip/_internal/commands/list.py +408 -0
  1136. package/python/Lib/site-packages/pip/_internal/commands/lock.py +173 -0
  1137. package/python/Lib/site-packages/pip/_internal/commands/search.py +178 -0
  1138. package/python/Lib/site-packages/pip/_internal/commands/show.py +237 -0
  1139. package/python/Lib/site-packages/pip/_internal/commands/uninstall.py +113 -0
  1140. package/python/Lib/site-packages/pip/_internal/commands/wheel.py +177 -0
  1141. package/python/Lib/site-packages/pip/_internal/configuration.py +395 -0
  1142. package/python/Lib/site-packages/pip/_internal/distributions/__init__.py +21 -0
  1143. package/python/Lib/site-packages/pip/_internal/distributions/__pycache__/__init__.cpython-312.pyc +0 -0
  1144. package/python/Lib/site-packages/pip/_internal/distributions/__pycache__/base.cpython-312.pyc +0 -0
  1145. package/python/Lib/site-packages/pip/_internal/distributions/__pycache__/installed.cpython-312.pyc +0 -0
  1146. package/python/Lib/site-packages/pip/_internal/distributions/__pycache__/sdist.cpython-312.pyc +0 -0
  1147. package/python/Lib/site-packages/pip/_internal/distributions/__pycache__/wheel.cpython-312.pyc +0 -0
  1148. package/python/Lib/site-packages/pip/_internal/distributions/base.py +57 -0
  1149. package/python/Lib/site-packages/pip/_internal/distributions/installed.py +34 -0
  1150. package/python/Lib/site-packages/pip/_internal/distributions/sdist.py +193 -0
  1151. package/python/Lib/site-packages/pip/_internal/distributions/wheel.py +45 -0
  1152. package/python/Lib/site-packages/pip/_internal/exceptions.py +1145 -0
  1153. package/python/Lib/site-packages/pip/_internal/index/__init__.py +1 -0
  1154. package/python/Lib/site-packages/pip/_internal/index/__pycache__/__init__.cpython-312.pyc +0 -0
  1155. package/python/Lib/site-packages/pip/_internal/index/__pycache__/collector.cpython-312.pyc +0 -0
  1156. package/python/Lib/site-packages/pip/_internal/index/__pycache__/package_finder.cpython-312.pyc +0 -0
  1157. package/python/Lib/site-packages/pip/_internal/index/__pycache__/sources.cpython-312.pyc +0 -0
  1158. package/python/Lib/site-packages/pip/_internal/index/collector.py +510 -0
  1159. package/python/Lib/site-packages/pip/_internal/index/package_finder.py +1152 -0
  1160. package/python/Lib/site-packages/pip/_internal/index/sources.py +286 -0
  1161. package/python/Lib/site-packages/pip/_internal/locations/__init__.py +438 -0
  1162. package/python/Lib/site-packages/pip/_internal/locations/__pycache__/__init__.cpython-312.pyc +0 -0
  1163. package/python/Lib/site-packages/pip/_internal/locations/__pycache__/_distutils.cpython-312.pyc +0 -0
  1164. package/python/Lib/site-packages/pip/_internal/locations/__pycache__/_sysconfig.cpython-312.pyc +0 -0
  1165. package/python/Lib/site-packages/pip/_internal/locations/__pycache__/base.cpython-312.pyc +0 -0
  1166. package/python/Lib/site-packages/pip/_internal/locations/_distutils.py +173 -0
  1167. package/python/Lib/site-packages/pip/_internal/locations/_sysconfig.py +218 -0
  1168. package/python/Lib/site-packages/pip/_internal/locations/base.py +82 -0
  1169. package/python/Lib/site-packages/pip/_internal/main.py +12 -0
  1170. package/python/Lib/site-packages/pip/_internal/metadata/__init__.py +169 -0
  1171. package/python/Lib/site-packages/pip/_internal/metadata/__pycache__/__init__.cpython-312.pyc +0 -0
  1172. package/python/Lib/site-packages/pip/_internal/metadata/__pycache__/_json.cpython-312.pyc +0 -0
  1173. package/python/Lib/site-packages/pip/_internal/metadata/__pycache__/base.cpython-312.pyc +0 -0
  1174. package/python/Lib/site-packages/pip/_internal/metadata/__pycache__/pkg_resources.cpython-312.pyc +0 -0
  1175. package/python/Lib/site-packages/pip/_internal/metadata/_json.py +87 -0
  1176. package/python/Lib/site-packages/pip/_internal/metadata/base.py +690 -0
  1177. package/python/Lib/site-packages/pip/_internal/metadata/importlib/__init__.py +6 -0
  1178. package/python/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/__init__.cpython-312.pyc +0 -0
  1179. package/python/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_compat.cpython-312.pyc +0 -0
  1180. package/python/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_dists.cpython-312.pyc +0 -0
  1181. package/python/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_envs.cpython-312.pyc +0 -0
  1182. package/python/Lib/site-packages/pip/_internal/metadata/importlib/_compat.py +87 -0
  1183. package/python/Lib/site-packages/pip/_internal/metadata/importlib/_dists.py +235 -0
  1184. package/python/Lib/site-packages/pip/_internal/metadata/importlib/_envs.py +148 -0
  1185. package/python/Lib/site-packages/pip/_internal/metadata/pkg_resources.py +298 -0
  1186. package/python/Lib/site-packages/pip/_internal/models/__init__.py +1 -0
  1187. package/python/Lib/site-packages/pip/_internal/models/__pycache__/__init__.cpython-312.pyc +0 -0
  1188. package/python/Lib/site-packages/pip/_internal/models/__pycache__/candidate.cpython-312.pyc +0 -0
  1189. package/python/Lib/site-packages/pip/_internal/models/__pycache__/direct_url.cpython-312.pyc +0 -0
  1190. package/python/Lib/site-packages/pip/_internal/models/__pycache__/format_control.cpython-312.pyc +0 -0
  1191. package/python/Lib/site-packages/pip/_internal/models/__pycache__/index.cpython-312.pyc +0 -0
  1192. package/python/Lib/site-packages/pip/_internal/models/__pycache__/installation_report.cpython-312.pyc +0 -0
  1193. package/python/Lib/site-packages/pip/_internal/models/__pycache__/link.cpython-312.pyc +0 -0
  1194. package/python/Lib/site-packages/pip/_internal/models/__pycache__/release_control.cpython-312.pyc +0 -0
  1195. package/python/Lib/site-packages/pip/_internal/models/__pycache__/scheme.cpython-312.pyc +0 -0
  1196. package/python/Lib/site-packages/pip/_internal/models/__pycache__/search_scope.cpython-312.pyc +0 -0
  1197. package/python/Lib/site-packages/pip/_internal/models/__pycache__/selection_prefs.cpython-312.pyc +0 -0
  1198. package/python/Lib/site-packages/pip/_internal/models/__pycache__/target_python.cpython-312.pyc +0 -0
  1199. package/python/Lib/site-packages/pip/_internal/models/__pycache__/wheel.cpython-312.pyc +0 -0
  1200. package/python/Lib/site-packages/pip/_internal/models/candidate.py +27 -0
  1201. package/python/Lib/site-packages/pip/_internal/models/direct_url.py +42 -0
  1202. package/python/Lib/site-packages/pip/_internal/models/format_control.py +78 -0
  1203. package/python/Lib/site-packages/pip/_internal/models/index.py +28 -0
  1204. package/python/Lib/site-packages/pip/_internal/models/installation_report.py +57 -0
  1205. package/python/Lib/site-packages/pip/_internal/models/link.py +657 -0
  1206. package/python/Lib/site-packages/pip/_internal/models/release_control.py +91 -0
  1207. package/python/Lib/site-packages/pip/_internal/models/scheme.py +23 -0
  1208. package/python/Lib/site-packages/pip/_internal/models/search_scope.py +124 -0
  1209. package/python/Lib/site-packages/pip/_internal/models/selection_prefs.py +36 -0
  1210. package/python/Lib/site-packages/pip/_internal/models/target_python.py +122 -0
  1211. package/python/Lib/site-packages/pip/_internal/models/wheel.py +80 -0
  1212. package/python/Lib/site-packages/pip/_internal/network/__init__.py +1 -0
  1213. package/python/Lib/site-packages/pip/_internal/network/__pycache__/__init__.cpython-312.pyc +0 -0
  1214. package/python/Lib/site-packages/pip/_internal/network/__pycache__/auth.cpython-312.pyc +0 -0
  1215. package/python/Lib/site-packages/pip/_internal/network/__pycache__/cache.cpython-312.pyc +0 -0
  1216. package/python/Lib/site-packages/pip/_internal/network/__pycache__/download.cpython-312.pyc +0 -0
  1217. package/python/Lib/site-packages/pip/_internal/network/__pycache__/lazy_wheel.cpython-312.pyc +0 -0
  1218. package/python/Lib/site-packages/pip/_internal/network/__pycache__/session.cpython-312.pyc +0 -0
  1219. package/python/Lib/site-packages/pip/_internal/network/__pycache__/utils.cpython-312.pyc +0 -0
  1220. package/python/Lib/site-packages/pip/_internal/network/__pycache__/xmlrpc.cpython-312.pyc +0 -0
  1221. package/python/Lib/site-packages/pip/_internal/network/auth.py +587 -0
  1222. package/python/Lib/site-packages/pip/_internal/network/cache.py +128 -0
  1223. package/python/Lib/site-packages/pip/_internal/network/download.py +387 -0
  1224. package/python/Lib/site-packages/pip/_internal/network/lazy_wheel.py +215 -0
  1225. package/python/Lib/site-packages/pip/_internal/network/session.py +532 -0
  1226. package/python/Lib/site-packages/pip/_internal/network/utils.py +206 -0
  1227. package/python/Lib/site-packages/pip/_internal/network/xmlrpc.py +61 -0
  1228. package/python/Lib/site-packages/pip/_internal/operations/__init__.py +0 -0
  1229. package/python/Lib/site-packages/pip/_internal/operations/__pycache__/__init__.cpython-312.pyc +0 -0
  1230. package/python/Lib/site-packages/pip/_internal/operations/__pycache__/check.cpython-312.pyc +0 -0
  1231. package/python/Lib/site-packages/pip/_internal/operations/__pycache__/freeze.cpython-312.pyc +0 -0
  1232. package/python/Lib/site-packages/pip/_internal/operations/__pycache__/prepare.cpython-312.pyc +0 -0
  1233. package/python/Lib/site-packages/pip/_internal/operations/build/__init__.py +0 -0
  1234. package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/__init__.cpython-312.pyc +0 -0
  1235. package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/build_tracker.cpython-312.pyc +0 -0
  1236. package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/metadata.cpython-312.pyc +0 -0
  1237. package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/metadata_editable.cpython-312.pyc +0 -0
  1238. package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/wheel.cpython-312.pyc +0 -0
  1239. package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/wheel_editable.cpython-312.pyc +0 -0
  1240. package/python/Lib/site-packages/pip/_internal/operations/build/build_tracker.py +140 -0
  1241. package/python/Lib/site-packages/pip/_internal/operations/build/metadata.py +38 -0
  1242. package/python/Lib/site-packages/pip/_internal/operations/build/metadata_editable.py +41 -0
  1243. package/python/Lib/site-packages/pip/_internal/operations/build/wheel.py +38 -0
  1244. package/python/Lib/site-packages/pip/_internal/operations/build/wheel_editable.py +47 -0
  1245. package/python/Lib/site-packages/pip/_internal/operations/check.py +174 -0
  1246. package/python/Lib/site-packages/pip/_internal/operations/freeze.py +259 -0
  1247. package/python/Lib/site-packages/pip/_internal/operations/install/__init__.py +1 -0
  1248. package/python/Lib/site-packages/pip/_internal/operations/install/__pycache__/__init__.cpython-312.pyc +0 -0
  1249. package/python/Lib/site-packages/pip/_internal/operations/install/__pycache__/wheel.cpython-312.pyc +0 -0
  1250. package/python/Lib/site-packages/pip/_internal/operations/install/wheel.py +764 -0
  1251. package/python/Lib/site-packages/pip/_internal/operations/prepare.py +896 -0
  1252. package/python/Lib/site-packages/pip/_internal/pyproject.py +123 -0
  1253. package/python/Lib/site-packages/pip/_internal/req/__init__.py +105 -0
  1254. package/python/Lib/site-packages/pip/_internal/req/__pycache__/__init__.cpython-312.pyc +0 -0
  1255. package/python/Lib/site-packages/pip/_internal/req/__pycache__/constructors.cpython-312.pyc +0 -0
  1256. package/python/Lib/site-packages/pip/_internal/req/__pycache__/pep723.cpython-312.pyc +0 -0
  1257. package/python/Lib/site-packages/pip/_internal/req/__pycache__/req_dependency_group.cpython-312.pyc +0 -0
  1258. package/python/Lib/site-packages/pip/_internal/req/__pycache__/req_file.cpython-312.pyc +0 -0
  1259. package/python/Lib/site-packages/pip/_internal/req/__pycache__/req_install.cpython-312.pyc +0 -0
  1260. package/python/Lib/site-packages/pip/_internal/req/__pycache__/req_set.cpython-312.pyc +0 -0
  1261. package/python/Lib/site-packages/pip/_internal/req/__pycache__/req_uninstall.cpython-312.pyc +0 -0
  1262. package/python/Lib/site-packages/pip/_internal/req/constructors.py +662 -0
  1263. package/python/Lib/site-packages/pip/_internal/req/pep723.py +41 -0
  1264. package/python/Lib/site-packages/pip/_internal/req/req_dependency_group.py +86 -0
  1265. package/python/Lib/site-packages/pip/_internal/req/req_file.py +622 -0
  1266. package/python/Lib/site-packages/pip/_internal/req/req_install.py +842 -0
  1267. package/python/Lib/site-packages/pip/_internal/req/req_set.py +81 -0
  1268. package/python/Lib/site-packages/pip/_internal/req/req_uninstall.py +644 -0
  1269. package/python/Lib/site-packages/pip/_internal/resolution/__init__.py +0 -0
  1270. package/python/Lib/site-packages/pip/_internal/resolution/__pycache__/__init__.cpython-312.pyc +0 -0
  1271. package/python/Lib/site-packages/pip/_internal/resolution/__pycache__/base.cpython-312.pyc +0 -0
  1272. package/python/Lib/site-packages/pip/_internal/resolution/base.py +20 -0
  1273. package/python/Lib/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
  1274. package/python/Lib/site-packages/pip/_internal/resolution/legacy/__pycache__/__init__.cpython-312.pyc +0 -0
  1275. package/python/Lib/site-packages/pip/_internal/resolution/legacy/__pycache__/resolver.cpython-312.pyc +0 -0
  1276. package/python/Lib/site-packages/pip/_internal/resolution/legacy/resolver.py +598 -0
  1277. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
  1278. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-312.pyc +0 -0
  1279. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/base.cpython-312.pyc +0 -0
  1280. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-312.pyc +0 -0
  1281. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-312.pyc +0 -0
  1282. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-312.pyc +0 -0
  1283. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-312.pyc +0 -0
  1284. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-312.pyc +0 -0
  1285. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-312.pyc +0 -0
  1286. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-312.pyc +0 -0
  1287. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/base.py +164 -0
  1288. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/candidates.py +598 -0
  1289. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/factory.py +901 -0
  1290. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +166 -0
  1291. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/provider.py +309 -0
  1292. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/reporter.py +98 -0
  1293. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/requirements.py +251 -0
  1294. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/resolver.py +341 -0
  1295. package/python/Lib/site-packages/pip/_internal/self_outdated_check.py +246 -0
  1296. package/python/Lib/site-packages/pip/_internal/utils/__init__.py +0 -0
  1297. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/__init__.cpython-312.pyc +0 -0
  1298. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/_jaraco_text.cpython-312.pyc +0 -0
  1299. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/_log.cpython-312.pyc +0 -0
  1300. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-312.pyc +0 -0
  1301. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/compat.cpython-312.pyc +0 -0
  1302. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/compatibility_tags.cpython-312.pyc +0 -0
  1303. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/datetime.cpython-312.pyc +0 -0
  1304. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/deprecation.cpython-312.pyc +0 -0
  1305. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/direct_url_helpers.cpython-312.pyc +0 -0
  1306. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/egg_link.cpython-312.pyc +0 -0
  1307. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/entrypoints.cpython-312.pyc +0 -0
  1308. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/filesystem.cpython-312.pyc +0 -0
  1309. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/filetypes.cpython-312.pyc +0 -0
  1310. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/glibc.cpython-312.pyc +0 -0
  1311. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/hashes.cpython-312.pyc +0 -0
  1312. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/logging.cpython-312.pyc +0 -0
  1313. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/misc.cpython-312.pyc +0 -0
  1314. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/packaging.cpython-312.pyc +0 -0
  1315. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/pylock.cpython-312.pyc +0 -0
  1316. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/retry.cpython-312.pyc +0 -0
  1317. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/subprocess.cpython-312.pyc +0 -0
  1318. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/temp_dir.cpython-312.pyc +0 -0
  1319. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/unpacking.cpython-312.pyc +0 -0
  1320. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/urls.cpython-312.pyc +0 -0
  1321. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/virtualenv.cpython-312.pyc +0 -0
  1322. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/wheel.cpython-312.pyc +0 -0
  1323. package/python/Lib/site-packages/pip/_internal/utils/_jaraco_text.py +109 -0
  1324. package/python/Lib/site-packages/pip/_internal/utils/_log.py +38 -0
  1325. package/python/Lib/site-packages/pip/_internal/utils/appdirs.py +52 -0
  1326. package/python/Lib/site-packages/pip/_internal/utils/compat.py +91 -0
  1327. package/python/Lib/site-packages/pip/_internal/utils/compatibility_tags.py +201 -0
  1328. package/python/Lib/site-packages/pip/_internal/utils/datetime.py +28 -0
  1329. package/python/Lib/site-packages/pip/_internal/utils/deprecation.py +144 -0
  1330. package/python/Lib/site-packages/pip/_internal/utils/direct_url_helpers.py +92 -0
  1331. package/python/Lib/site-packages/pip/_internal/utils/egg_link.py +81 -0
  1332. package/python/Lib/site-packages/pip/_internal/utils/entrypoints.py +88 -0
  1333. package/python/Lib/site-packages/pip/_internal/utils/filesystem.py +201 -0
  1334. package/python/Lib/site-packages/pip/_internal/utils/filetypes.py +24 -0
  1335. package/python/Lib/site-packages/pip/_internal/utils/glibc.py +102 -0
  1336. package/python/Lib/site-packages/pip/_internal/utils/hashes.py +150 -0
  1337. package/python/Lib/site-packages/pip/_internal/utils/logging.py +404 -0
  1338. package/python/Lib/site-packages/pip/_internal/utils/misc.py +815 -0
  1339. package/python/Lib/site-packages/pip/_internal/utils/packaging.py +44 -0
  1340. package/python/Lib/site-packages/pip/_internal/utils/pylock.py +299 -0
  1341. package/python/Lib/site-packages/pip/_internal/utils/retry.py +46 -0
  1342. package/python/Lib/site-packages/pip/_internal/utils/subprocess.py +249 -0
  1343. package/python/Lib/site-packages/pip/_internal/utils/temp_dir.py +293 -0
  1344. package/python/Lib/site-packages/pip/_internal/utils/unpacking.py +407 -0
  1345. package/python/Lib/site-packages/pip/_internal/utils/urls.py +58 -0
  1346. package/python/Lib/site-packages/pip/_internal/utils/virtualenv.py +71 -0
  1347. package/python/Lib/site-packages/pip/_internal/utils/wheel.py +132 -0
  1348. package/python/Lib/site-packages/pip/_internal/vcs/__init__.py +15 -0
  1349. package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/__init__.cpython-312.pyc +0 -0
  1350. package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/bazaar.cpython-312.pyc +0 -0
  1351. package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/git.cpython-312.pyc +0 -0
  1352. package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/mercurial.cpython-312.pyc +0 -0
  1353. package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/subversion.cpython-312.pyc +0 -0
  1354. package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/versioncontrol.cpython-312.pyc +0 -0
  1355. package/python/Lib/site-packages/pip/_internal/vcs/bazaar.py +130 -0
  1356. package/python/Lib/site-packages/pip/_internal/vcs/git.py +574 -0
  1357. package/python/Lib/site-packages/pip/_internal/vcs/mercurial.py +186 -0
  1358. package/python/Lib/site-packages/pip/_internal/vcs/subversion.py +335 -0
  1359. package/python/Lib/site-packages/pip/_internal/vcs/versioncontrol.py +694 -0
  1360. package/python/Lib/site-packages/pip/_internal/wheel_builder.py +265 -0
  1361. package/python/Lib/site-packages/pip/_vendor/README.rst +178 -0
  1362. package/python/Lib/site-packages/pip/_vendor/__init__.py +117 -0
  1363. package/python/Lib/site-packages/pip/_vendor/__pycache__/__init__.cpython-312.pyc +0 -0
  1364. package/python/Lib/site-packages/pip/_vendor/bom.cdx.json +231 -0
  1365. package/python/Lib/site-packages/pip/_vendor/cachecontrol/LICENSE.txt +13 -0
  1366. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__init__.py +32 -0
  1367. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/__init__.cpython-312.pyc +0 -0
  1368. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-312.pyc +0 -0
  1369. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/adapter.cpython-312.pyc +0 -0
  1370. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/cache.cpython-312.pyc +0 -0
  1371. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/controller.cpython-312.pyc +0 -0
  1372. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-312.pyc +0 -0
  1373. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-312.pyc +0 -0
  1374. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/serialize.cpython-312.pyc +0 -0
  1375. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-312.pyc +0 -0
  1376. package/python/Lib/site-packages/pip/_vendor/cachecontrol/_cmd.py +70 -0
  1377. package/python/Lib/site-packages/pip/_vendor/cachecontrol/adapter.py +167 -0
  1378. package/python/Lib/site-packages/pip/_vendor/cachecontrol/cache.py +75 -0
  1379. package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +8 -0
  1380. package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-312.pyc +0 -0
  1381. package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-312.pyc +0 -0
  1382. package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-312.pyc +0 -0
  1383. package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +145 -0
  1384. package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +48 -0
  1385. package/python/Lib/site-packages/pip/_vendor/cachecontrol/controller.py +511 -0
  1386. package/python/Lib/site-packages/pip/_vendor/cachecontrol/filewrapper.py +121 -0
  1387. package/python/Lib/site-packages/pip/_vendor/cachecontrol/heuristics.py +157 -0
  1388. package/python/Lib/site-packages/pip/_vendor/cachecontrol/py.typed +0 -0
  1389. package/python/Lib/site-packages/pip/_vendor/cachecontrol/serialize.py +146 -0
  1390. package/python/Lib/site-packages/pip/_vendor/cachecontrol/wrapper.py +43 -0
  1391. package/python/Lib/site-packages/pip/_vendor/certifi/LICENSE +20 -0
  1392. package/python/Lib/site-packages/pip/_vendor/certifi/__init__.py +4 -0
  1393. package/python/Lib/site-packages/pip/_vendor/certifi/__main__.py +12 -0
  1394. package/python/Lib/site-packages/pip/_vendor/certifi/__pycache__/__init__.cpython-312.pyc +0 -0
  1395. package/python/Lib/site-packages/pip/_vendor/certifi/__pycache__/__main__.cpython-312.pyc +0 -0
  1396. package/python/Lib/site-packages/pip/_vendor/certifi/__pycache__/core.cpython-312.pyc +0 -0
  1397. package/python/Lib/site-packages/pip/_vendor/certifi/cacert.pem +3936 -0
  1398. package/python/Lib/site-packages/pip/_vendor/certifi/core.py +83 -0
  1399. package/python/Lib/site-packages/pip/_vendor/certifi/py.typed +0 -0
  1400. package/python/Lib/site-packages/pip/_vendor/certifi/tests/__init__.py +0 -0
  1401. package/python/Lib/site-packages/pip/_vendor/certifi/tests/__pycache__/__init__.cpython-312.pyc +0 -0
  1402. package/python/Lib/site-packages/pip/_vendor/certifi/tests/__pycache__/test_certify.cpython-312.pyc +0 -0
  1403. package/python/Lib/site-packages/pip/_vendor/certifi/tests/test_certify.py +18 -0
  1404. package/python/Lib/site-packages/pip/_vendor/distlib/LICENSE.txt +284 -0
  1405. package/python/Lib/site-packages/pip/_vendor/distlib/__init__.py +33 -0
  1406. package/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/__init__.cpython-312.pyc +0 -0
  1407. package/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/compat.cpython-312.pyc +0 -0
  1408. package/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/resources.cpython-312.pyc +0 -0
  1409. package/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/scripts.cpython-312.pyc +0 -0
  1410. package/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/util.cpython-312.pyc +0 -0
  1411. package/python/Lib/site-packages/pip/_vendor/distlib/compat.py +1107 -0
  1412. package/python/Lib/site-packages/pip/_vendor/distlib/resources.py +372 -0
  1413. package/python/Lib/site-packages/pip/_vendor/distlib/scripts.py +451 -0
  1414. package/python/Lib/site-packages/pip/_vendor/distlib/t32.exe +0 -0
  1415. package/python/Lib/site-packages/pip/_vendor/distlib/t64-arm.exe +0 -0
  1416. package/python/Lib/site-packages/pip/_vendor/distlib/t64.exe +0 -0
  1417. package/python/Lib/site-packages/pip/_vendor/distlib/util.py +2021 -0
  1418. package/python/Lib/site-packages/pip/_vendor/distlib/w32.exe +0 -0
  1419. package/python/Lib/site-packages/pip/_vendor/distlib/w64-arm.exe +0 -0
  1420. package/python/Lib/site-packages/pip/_vendor/distlib/w64.exe +0 -0
  1421. package/python/Lib/site-packages/pip/_vendor/distro/LICENSE +202 -0
  1422. package/python/Lib/site-packages/pip/_vendor/distro/__init__.py +54 -0
  1423. package/python/Lib/site-packages/pip/_vendor/distro/__main__.py +4 -0
  1424. package/python/Lib/site-packages/pip/_vendor/distro/__pycache__/__init__.cpython-312.pyc +0 -0
  1425. package/python/Lib/site-packages/pip/_vendor/distro/__pycache__/__main__.cpython-312.pyc +0 -0
  1426. package/python/Lib/site-packages/pip/_vendor/distro/__pycache__/distro.cpython-312.pyc +0 -0
  1427. package/python/Lib/site-packages/pip/_vendor/distro/distro.py +1403 -0
  1428. package/python/Lib/site-packages/pip/_vendor/distro/py.typed +0 -0
  1429. package/python/Lib/site-packages/pip/_vendor/idna/LICENSE.md +31 -0
  1430. package/python/Lib/site-packages/pip/_vendor/idna/__init__.py +45 -0
  1431. package/python/Lib/site-packages/pip/_vendor/idna/__main__.py +6 -0
  1432. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/__init__.cpython-312.pyc +0 -0
  1433. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/__main__.cpython-312.pyc +0 -0
  1434. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/cli.cpython-312.pyc +0 -0
  1435. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/codec.cpython-312.pyc +0 -0
  1436. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/compat.cpython-312.pyc +0 -0
  1437. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/core.cpython-312.pyc +0 -0
  1438. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/idnadata.cpython-312.pyc +0 -0
  1439. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/intranges.cpython-312.pyc +0 -0
  1440. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/package_data.cpython-312.pyc +0 -0
  1441. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-312.pyc +0 -0
  1442. package/python/Lib/site-packages/pip/_vendor/idna/cli.py +128 -0
  1443. package/python/Lib/site-packages/pip/_vendor/idna/codec.py +159 -0
  1444. package/python/Lib/site-packages/pip/_vendor/idna/compat.py +41 -0
  1445. package/python/Lib/site-packages/pip/_vendor/idna/core.py +648 -0
  1446. package/python/Lib/site-packages/pip/_vendor/idna/idnadata.py +1897 -0
  1447. package/python/Lib/site-packages/pip/_vendor/idna/intranges.py +55 -0
  1448. package/python/Lib/site-packages/pip/_vendor/idna/package_data.py +1 -0
  1449. package/python/Lib/site-packages/pip/_vendor/idna/py.typed +0 -0
  1450. package/python/Lib/site-packages/pip/_vendor/idna/uts46data.py +16896 -0
  1451. package/python/Lib/site-packages/pip/_vendor/msgpack/COPYING +14 -0
  1452. package/python/Lib/site-packages/pip/_vendor/msgpack/__init__.py +55 -0
  1453. package/python/Lib/site-packages/pip/_vendor/msgpack/__pycache__/__init__.cpython-312.pyc +0 -0
  1454. package/python/Lib/site-packages/pip/_vendor/msgpack/__pycache__/exceptions.cpython-312.pyc +0 -0
  1455. package/python/Lib/site-packages/pip/_vendor/msgpack/__pycache__/ext.cpython-312.pyc +0 -0
  1456. package/python/Lib/site-packages/pip/_vendor/msgpack/__pycache__/fallback.cpython-312.pyc +0 -0
  1457. package/python/Lib/site-packages/pip/_vendor/msgpack/exceptions.py +48 -0
  1458. package/python/Lib/site-packages/pip/_vendor/msgpack/ext.py +170 -0
  1459. package/python/Lib/site-packages/pip/_vendor/msgpack/fallback.py +929 -0
  1460. package/python/Lib/site-packages/pip/_vendor/packaging/LICENSE +3 -0
  1461. package/python/Lib/site-packages/pip/_vendor/packaging/LICENSE.APACHE +177 -0
  1462. package/python/Lib/site-packages/pip/_vendor/packaging/LICENSE.BSD +23 -0
  1463. package/python/Lib/site-packages/pip/_vendor/packaging/__init__.py +15 -0
  1464. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/__init__.cpython-312.pyc +0 -0
  1465. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_elffile.cpython-312.pyc +0 -0
  1466. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_manylinux.cpython-312.pyc +0 -0
  1467. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_musllinux.cpython-312.pyc +0 -0
  1468. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_parser.cpython-312.pyc +0 -0
  1469. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_structures.cpython-312.pyc +0 -0
  1470. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_tokenizer.cpython-312.pyc +0 -0
  1471. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/dependency_groups.cpython-312.pyc +0 -0
  1472. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/direct_url.cpython-312.pyc +0 -0
  1473. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/errors.cpython-312.pyc +0 -0
  1474. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/markers.cpython-312.pyc +0 -0
  1475. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/metadata.cpython-312.pyc +0 -0
  1476. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/pylock.cpython-312.pyc +0 -0
  1477. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/requirements.cpython-312.pyc +0 -0
  1478. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/specifiers.cpython-312.pyc +0 -0
  1479. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/tags.cpython-312.pyc +0 -0
  1480. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/utils.cpython-312.pyc +0 -0
  1481. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/version.cpython-312.pyc +0 -0
  1482. package/python/Lib/site-packages/pip/_vendor/packaging/_elffile.py +108 -0
  1483. package/python/Lib/site-packages/pip/_vendor/packaging/_manylinux.py +262 -0
  1484. package/python/Lib/site-packages/pip/_vendor/packaging/_musllinux.py +85 -0
  1485. package/python/Lib/site-packages/pip/_vendor/packaging/_parser.py +393 -0
  1486. package/python/Lib/site-packages/pip/_vendor/packaging/_structures.py +33 -0
  1487. package/python/Lib/site-packages/pip/_vendor/packaging/_tokenizer.py +193 -0
  1488. package/python/Lib/site-packages/pip/_vendor/packaging/dependency_groups.py +302 -0
  1489. package/python/Lib/site-packages/pip/_vendor/packaging/direct_url.py +325 -0
  1490. package/python/Lib/site-packages/pip/_vendor/packaging/errors.py +94 -0
  1491. package/python/Lib/site-packages/pip/_vendor/packaging/licenses/__init__.py +186 -0
  1492. package/python/Lib/site-packages/pip/_vendor/packaging/licenses/__pycache__/__init__.cpython-312.pyc +0 -0
  1493. package/python/Lib/site-packages/pip/_vendor/packaging/licenses/__pycache__/_spdx.cpython-312.pyc +0 -0
  1494. package/python/Lib/site-packages/pip/_vendor/packaging/licenses/_spdx.py +799 -0
  1495. package/python/Lib/site-packages/pip/_vendor/packaging/markers.py +492 -0
  1496. package/python/Lib/site-packages/pip/_vendor/packaging/metadata.py +964 -0
  1497. package/python/Lib/site-packages/pip/_vendor/packaging/py.typed +0 -0
  1498. package/python/Lib/site-packages/pip/_vendor/packaging/pylock.py +905 -0
  1499. package/python/Lib/site-packages/pip/_vendor/packaging/requirements.py +129 -0
  1500. package/python/Lib/site-packages/pip/_vendor/packaging/specifiers.py +1943 -0
  1501. package/python/Lib/site-packages/pip/_vendor/packaging/tags.py +932 -0
  1502. package/python/Lib/site-packages/pip/_vendor/packaging/utils.py +296 -0
  1503. package/python/Lib/site-packages/pip/_vendor/packaging/version.py +1231 -0
  1504. package/python/Lib/site-packages/pip/_vendor/pkg_resources/LICENSE +17 -0
  1505. package/python/Lib/site-packages/pip/_vendor/pkg_resources/__init__.py +3676 -0
  1506. package/python/Lib/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-312.pyc +0 -0
  1507. package/python/Lib/site-packages/pip/_vendor/platformdirs/LICENSE +21 -0
  1508. package/python/Lib/site-packages/pip/_vendor/platformdirs/__init__.py +917 -0
  1509. package/python/Lib/site-packages/pip/_vendor/platformdirs/__main__.py +66 -0
  1510. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/__init__.cpython-312.pyc +0 -0
  1511. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/__main__.cpython-312.pyc +0 -0
  1512. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/_xdg.cpython-312.pyc +0 -0
  1513. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/android.cpython-312.pyc +0 -0
  1514. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/api.cpython-312.pyc +0 -0
  1515. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/macos.cpython-312.pyc +0 -0
  1516. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/unix.cpython-312.pyc +0 -0
  1517. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/version.cpython-312.pyc +0 -0
  1518. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/windows.cpython-312.pyc +0 -0
  1519. package/python/Lib/site-packages/pip/_vendor/platformdirs/_xdg.py +171 -0
  1520. package/python/Lib/site-packages/pip/_vendor/platformdirs/android.py +300 -0
  1521. package/python/Lib/site-packages/pip/_vendor/platformdirs/api.py +463 -0
  1522. package/python/Lib/site-packages/pip/_vendor/platformdirs/macos.py +223 -0
  1523. package/python/Lib/site-packages/pip/_vendor/platformdirs/py.typed +0 -0
  1524. package/python/Lib/site-packages/pip/_vendor/platformdirs/unix.py +321 -0
  1525. package/python/Lib/site-packages/pip/_vendor/platformdirs/version.py +24 -0
  1526. package/python/Lib/site-packages/pip/_vendor/platformdirs/windows.py +395 -0
  1527. package/python/Lib/site-packages/pip/_vendor/pygments/LICENSE +25 -0
  1528. package/python/Lib/site-packages/pip/_vendor/pygments/__init__.py +82 -0
  1529. package/python/Lib/site-packages/pip/_vendor/pygments/__main__.py +17 -0
  1530. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/__init__.cpython-312.pyc +0 -0
  1531. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/__main__.cpython-312.pyc +0 -0
  1532. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/console.cpython-312.pyc +0 -0
  1533. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/filter.cpython-312.pyc +0 -0
  1534. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/formatter.cpython-312.pyc +0 -0
  1535. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/lexer.cpython-312.pyc +0 -0
  1536. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/modeline.cpython-312.pyc +0 -0
  1537. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/plugin.cpython-312.pyc +0 -0
  1538. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/regexopt.cpython-312.pyc +0 -0
  1539. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/scanner.cpython-312.pyc +0 -0
  1540. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/sphinxext.cpython-312.pyc +0 -0
  1541. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/style.cpython-312.pyc +0 -0
  1542. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/token.cpython-312.pyc +0 -0
  1543. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/unistring.cpython-312.pyc +0 -0
  1544. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/util.cpython-312.pyc +0 -0
  1545. package/python/Lib/site-packages/pip/_vendor/pygments/console.py +70 -0
  1546. package/python/Lib/site-packages/pip/_vendor/pygments/filter.py +70 -0
  1547. package/python/Lib/site-packages/pip/_vendor/pygments/filters/__init__.py +942 -0
  1548. package/python/Lib/site-packages/pip/_vendor/pygments/filters/__pycache__/__init__.cpython-312.pyc +0 -0
  1549. package/python/Lib/site-packages/pip/_vendor/pygments/formatter.py +129 -0
  1550. package/python/Lib/site-packages/pip/_vendor/pygments/formatters/__init__.py +157 -0
  1551. package/python/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-312.pyc +0 -0
  1552. package/python/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-312.pyc +0 -0
  1553. package/python/Lib/site-packages/pip/_vendor/pygments/formatters/_mapping.py +23 -0
  1554. package/python/Lib/site-packages/pip/_vendor/pygments/lexer.py +965 -0
  1555. package/python/Lib/site-packages/pip/_vendor/pygments/lexers/__init__.py +362 -0
  1556. package/python/Lib/site-packages/pip/_vendor/pygments/lexers/__pycache__/__init__.cpython-312.pyc +0 -0
  1557. package/python/Lib/site-packages/pip/_vendor/pygments/lexers/__pycache__/_mapping.cpython-312.pyc +0 -0
  1558. package/python/Lib/site-packages/pip/_vendor/pygments/lexers/__pycache__/python.cpython-312.pyc +0 -0
  1559. package/python/Lib/site-packages/pip/_vendor/pygments/lexers/_mapping.py +603 -0
  1560. package/python/Lib/site-packages/pip/_vendor/pygments/lexers/python.py +1204 -0
  1561. package/python/Lib/site-packages/pip/_vendor/pygments/modeline.py +43 -0
  1562. package/python/Lib/site-packages/pip/_vendor/pygments/plugin.py +74 -0
  1563. package/python/Lib/site-packages/pip/_vendor/pygments/regexopt.py +102 -0
  1564. package/python/Lib/site-packages/pip/_vendor/pygments/scanner.py +104 -0
  1565. package/python/Lib/site-packages/pip/_vendor/pygments/sphinxext.py +247 -0
  1566. package/python/Lib/site-packages/pip/_vendor/pygments/style.py +203 -0
  1567. package/python/Lib/site-packages/pip/_vendor/pygments/styles/__init__.py +61 -0
  1568. package/python/Lib/site-packages/pip/_vendor/pygments/styles/__pycache__/__init__.cpython-312.pyc +0 -0
  1569. package/python/Lib/site-packages/pip/_vendor/pygments/styles/__pycache__/_mapping.cpython-312.pyc +0 -0
  1570. package/python/Lib/site-packages/pip/_vendor/pygments/styles/_mapping.py +54 -0
  1571. package/python/Lib/site-packages/pip/_vendor/pygments/token.py +214 -0
  1572. package/python/Lib/site-packages/pip/_vendor/pygments/unistring.py +153 -0
  1573. package/python/Lib/site-packages/pip/_vendor/pygments/util.py +324 -0
  1574. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/LICENSE +21 -0
  1575. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/__init__.py +31 -0
  1576. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-312.pyc +0 -0
  1577. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-312.pyc +0 -0
  1578. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/_impl.py +410 -0
  1579. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py +21 -0
  1580. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-312.pyc +0 -0
  1581. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-312.pyc +0 -0
  1582. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py +389 -0
  1583. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/py.typed +0 -0
  1584. package/python/Lib/site-packages/pip/_vendor/requests/LICENSE +175 -0
  1585. package/python/Lib/site-packages/pip/_vendor/requests/__init__.py +214 -0
  1586. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/__init__.cpython-312.pyc +0 -0
  1587. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/__version__.cpython-312.pyc +0 -0
  1588. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/_internal_utils.cpython-312.pyc +0 -0
  1589. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/_types.cpython-312.pyc +0 -0
  1590. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/adapters.cpython-312.pyc +0 -0
  1591. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/api.cpython-312.pyc +0 -0
  1592. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/auth.cpython-312.pyc +0 -0
  1593. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/certs.cpython-312.pyc +0 -0
  1594. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/compat.cpython-312.pyc +0 -0
  1595. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/cookies.cpython-312.pyc +0 -0
  1596. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/exceptions.cpython-312.pyc +0 -0
  1597. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/help.cpython-312.pyc +0 -0
  1598. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/hooks.cpython-312.pyc +0 -0
  1599. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/models.cpython-312.pyc +0 -0
  1600. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/packages.cpython-312.pyc +0 -0
  1601. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/sessions.cpython-312.pyc +0 -0
  1602. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/status_codes.cpython-312.pyc +0 -0
  1603. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/structures.cpython-312.pyc +0 -0
  1604. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/utils.cpython-312.pyc +0 -0
  1605. package/python/Lib/site-packages/pip/_vendor/requests/__version__.py +14 -0
  1606. package/python/Lib/site-packages/pip/_vendor/requests/_internal_utils.py +51 -0
  1607. package/python/Lib/site-packages/pip/_vendor/requests/_types.py +183 -0
  1608. package/python/Lib/site-packages/pip/_vendor/requests/adapters.py +748 -0
  1609. package/python/Lib/site-packages/pip/_vendor/requests/api.py +180 -0
  1610. package/python/Lib/site-packages/pip/_vendor/requests/auth.py +354 -0
  1611. package/python/Lib/site-packages/pip/_vendor/requests/certs.py +18 -0
  1612. package/python/Lib/site-packages/pip/_vendor/requests/compat.py +96 -0
  1613. package/python/Lib/site-packages/pip/_vendor/requests/cookies.py +625 -0
  1614. package/python/Lib/site-packages/pip/_vendor/requests/exceptions.py +162 -0
  1615. package/python/Lib/site-packages/pip/_vendor/requests/help.py +127 -0
  1616. package/python/Lib/site-packages/pip/_vendor/requests/hooks.py +48 -0
  1617. package/python/Lib/site-packages/pip/_vendor/requests/models.py +1180 -0
  1618. package/python/Lib/site-packages/pip/_vendor/requests/packages.py +25 -0
  1619. package/python/Lib/site-packages/pip/_vendor/requests/py.typed +0 -0
  1620. package/python/Lib/site-packages/pip/_vendor/requests/sessions.py +920 -0
  1621. package/python/Lib/site-packages/pip/_vendor/requests/status_codes.py +128 -0
  1622. package/python/Lib/site-packages/pip/_vendor/requests/structures.py +130 -0
  1623. package/python/Lib/site-packages/pip/_vendor/requests/utils.py +1155 -0
  1624. package/python/Lib/site-packages/pip/_vendor/resolvelib/LICENSE +13 -0
  1625. package/python/Lib/site-packages/pip/_vendor/resolvelib/__init__.py +27 -0
  1626. package/python/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/__init__.cpython-312.pyc +0 -0
  1627. package/python/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/providers.cpython-312.pyc +0 -0
  1628. package/python/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/reporters.cpython-312.pyc +0 -0
  1629. package/python/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/structs.cpython-312.pyc +0 -0
  1630. package/python/Lib/site-packages/pip/_vendor/resolvelib/providers.py +196 -0
  1631. package/python/Lib/site-packages/pip/_vendor/resolvelib/py.typed +0 -0
  1632. package/python/Lib/site-packages/pip/_vendor/resolvelib/reporters.py +55 -0
  1633. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__init__.py +27 -0
  1634. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/__init__.cpython-312.pyc +0 -0
  1635. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/abstract.cpython-312.pyc +0 -0
  1636. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/criterion.cpython-312.pyc +0 -0
  1637. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/exceptions.cpython-312.pyc +0 -0
  1638. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/resolution.cpython-312.pyc +0 -0
  1639. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/abstract.py +47 -0
  1640. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/criterion.py +48 -0
  1641. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/exceptions.py +57 -0
  1642. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py +627 -0
  1643. package/python/Lib/site-packages/pip/_vendor/resolvelib/structs.py +209 -0
  1644. package/python/Lib/site-packages/pip/_vendor/rich/LICENSE +19 -0
  1645. package/python/Lib/site-packages/pip/_vendor/rich/__init__.py +177 -0
  1646. package/python/Lib/site-packages/pip/_vendor/rich/__main__.py +245 -0
  1647. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/__init__.cpython-312.pyc +0 -0
  1648. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/__main__.cpython-312.pyc +0 -0
  1649. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_cell_widths.cpython-312.pyc +0 -0
  1650. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-312.pyc +0 -0
  1651. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_emoji_replace.cpython-312.pyc +0 -0
  1652. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_export_format.cpython-312.pyc +0 -0
  1653. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_extension.cpython-312.pyc +0 -0
  1654. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_fileno.cpython-312.pyc +0 -0
  1655. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_inspect.cpython-312.pyc +0 -0
  1656. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_log_render.cpython-312.pyc +0 -0
  1657. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_loop.cpython-312.pyc +0 -0
  1658. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_null_file.cpython-312.pyc +0 -0
  1659. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_palettes.cpython-312.pyc +0 -0
  1660. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_pick.cpython-312.pyc +0 -0
  1661. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_ratio.cpython-312.pyc +0 -0
  1662. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_spinners.cpython-312.pyc +0 -0
  1663. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_stack.cpython-312.pyc +0 -0
  1664. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_timer.cpython-312.pyc +0 -0
  1665. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_win32_console.cpython-312.pyc +0 -0
  1666. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_windows.cpython-312.pyc +0 -0
  1667. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_windows_renderer.cpython-312.pyc +0 -0
  1668. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_wrap.cpython-312.pyc +0 -0
  1669. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/abc.cpython-312.pyc +0 -0
  1670. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/align.cpython-312.pyc +0 -0
  1671. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/ansi.cpython-312.pyc +0 -0
  1672. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/bar.cpython-312.pyc +0 -0
  1673. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/box.cpython-312.pyc +0 -0
  1674. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/cells.cpython-312.pyc +0 -0
  1675. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/color.cpython-312.pyc +0 -0
  1676. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/color_triplet.cpython-312.pyc +0 -0
  1677. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/columns.cpython-312.pyc +0 -0
  1678. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/console.cpython-312.pyc +0 -0
  1679. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/constrain.cpython-312.pyc +0 -0
  1680. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/containers.cpython-312.pyc +0 -0
  1681. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/control.cpython-312.pyc +0 -0
  1682. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/default_styles.cpython-312.pyc +0 -0
  1683. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/diagnose.cpython-312.pyc +0 -0
  1684. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/emoji.cpython-312.pyc +0 -0
  1685. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/errors.cpython-312.pyc +0 -0
  1686. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/file_proxy.cpython-312.pyc +0 -0
  1687. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/filesize.cpython-312.pyc +0 -0
  1688. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/highlighter.cpython-312.pyc +0 -0
  1689. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/json.cpython-312.pyc +0 -0
  1690. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/jupyter.cpython-312.pyc +0 -0
  1691. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/layout.cpython-312.pyc +0 -0
  1692. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/live.cpython-312.pyc +0 -0
  1693. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/live_render.cpython-312.pyc +0 -0
  1694. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/logging.cpython-312.pyc +0 -0
  1695. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/markup.cpython-312.pyc +0 -0
  1696. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/measure.cpython-312.pyc +0 -0
  1697. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/padding.cpython-312.pyc +0 -0
  1698. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/pager.cpython-312.pyc +0 -0
  1699. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/palette.cpython-312.pyc +0 -0
  1700. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/panel.cpython-312.pyc +0 -0
  1701. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/pretty.cpython-312.pyc +0 -0
  1702. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/progress.cpython-312.pyc +0 -0
  1703. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/progress_bar.cpython-312.pyc +0 -0
  1704. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/prompt.cpython-312.pyc +0 -0
  1705. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/protocol.cpython-312.pyc +0 -0
  1706. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/region.cpython-312.pyc +0 -0
  1707. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/repr.cpython-312.pyc +0 -0
  1708. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/rule.cpython-312.pyc +0 -0
  1709. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/scope.cpython-312.pyc +0 -0
  1710. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/screen.cpython-312.pyc +0 -0
  1711. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/segment.cpython-312.pyc +0 -0
  1712. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/spinner.cpython-312.pyc +0 -0
  1713. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/status.cpython-312.pyc +0 -0
  1714. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/style.cpython-312.pyc +0 -0
  1715. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/styled.cpython-312.pyc +0 -0
  1716. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/syntax.cpython-312.pyc +0 -0
  1717. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/table.cpython-312.pyc +0 -0
  1718. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/terminal_theme.cpython-312.pyc +0 -0
  1719. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/text.cpython-312.pyc +0 -0
  1720. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/theme.cpython-312.pyc +0 -0
  1721. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/themes.cpython-312.pyc +0 -0
  1722. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/traceback.cpython-312.pyc +0 -0
  1723. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/tree.cpython-312.pyc +0 -0
  1724. package/python/Lib/site-packages/pip/_vendor/rich/_cell_widths.py +454 -0
  1725. package/python/Lib/site-packages/pip/_vendor/rich/_emoji_codes.py +3610 -0
  1726. package/python/Lib/site-packages/pip/_vendor/rich/_emoji_replace.py +32 -0
  1727. package/python/Lib/site-packages/pip/_vendor/rich/_export_format.py +76 -0
  1728. package/python/Lib/site-packages/pip/_vendor/rich/_extension.py +10 -0
  1729. package/python/Lib/site-packages/pip/_vendor/rich/_fileno.py +24 -0
  1730. package/python/Lib/site-packages/pip/_vendor/rich/_inspect.py +268 -0
  1731. package/python/Lib/site-packages/pip/_vendor/rich/_log_render.py +94 -0
  1732. package/python/Lib/site-packages/pip/_vendor/rich/_loop.py +43 -0
  1733. package/python/Lib/site-packages/pip/_vendor/rich/_null_file.py +69 -0
  1734. package/python/Lib/site-packages/pip/_vendor/rich/_palettes.py +309 -0
  1735. package/python/Lib/site-packages/pip/_vendor/rich/_pick.py +17 -0
  1736. package/python/Lib/site-packages/pip/_vendor/rich/_ratio.py +153 -0
  1737. package/python/Lib/site-packages/pip/_vendor/rich/_spinners.py +482 -0
  1738. package/python/Lib/site-packages/pip/_vendor/rich/_stack.py +16 -0
  1739. package/python/Lib/site-packages/pip/_vendor/rich/_timer.py +19 -0
  1740. package/python/Lib/site-packages/pip/_vendor/rich/_win32_console.py +661 -0
  1741. package/python/Lib/site-packages/pip/_vendor/rich/_windows.py +71 -0
  1742. package/python/Lib/site-packages/pip/_vendor/rich/_windows_renderer.py +56 -0
  1743. package/python/Lib/site-packages/pip/_vendor/rich/_wrap.py +93 -0
  1744. package/python/Lib/site-packages/pip/_vendor/rich/abc.py +33 -0
  1745. package/python/Lib/site-packages/pip/_vendor/rich/align.py +306 -0
  1746. package/python/Lib/site-packages/pip/_vendor/rich/ansi.py +241 -0
  1747. package/python/Lib/site-packages/pip/_vendor/rich/bar.py +93 -0
  1748. package/python/Lib/site-packages/pip/_vendor/rich/box.py +474 -0
  1749. package/python/Lib/site-packages/pip/_vendor/rich/cells.py +174 -0
  1750. package/python/Lib/site-packages/pip/_vendor/rich/color.py +621 -0
  1751. package/python/Lib/site-packages/pip/_vendor/rich/color_triplet.py +38 -0
  1752. package/python/Lib/site-packages/pip/_vendor/rich/columns.py +187 -0
  1753. package/python/Lib/site-packages/pip/_vendor/rich/console.py +2680 -0
  1754. package/python/Lib/site-packages/pip/_vendor/rich/constrain.py +37 -0
  1755. package/python/Lib/site-packages/pip/_vendor/rich/containers.py +167 -0
  1756. package/python/Lib/site-packages/pip/_vendor/rich/control.py +219 -0
  1757. package/python/Lib/site-packages/pip/_vendor/rich/default_styles.py +193 -0
  1758. package/python/Lib/site-packages/pip/_vendor/rich/diagnose.py +39 -0
  1759. package/python/Lib/site-packages/pip/_vendor/rich/emoji.py +91 -0
  1760. package/python/Lib/site-packages/pip/_vendor/rich/errors.py +34 -0
  1761. package/python/Lib/site-packages/pip/_vendor/rich/file_proxy.py +57 -0
  1762. package/python/Lib/site-packages/pip/_vendor/rich/filesize.py +88 -0
  1763. package/python/Lib/site-packages/pip/_vendor/rich/highlighter.py +232 -0
  1764. package/python/Lib/site-packages/pip/_vendor/rich/json.py +139 -0
  1765. package/python/Lib/site-packages/pip/_vendor/rich/jupyter.py +101 -0
  1766. package/python/Lib/site-packages/pip/_vendor/rich/layout.py +442 -0
  1767. package/python/Lib/site-packages/pip/_vendor/rich/live.py +400 -0
  1768. package/python/Lib/site-packages/pip/_vendor/rich/live_render.py +106 -0
  1769. package/python/Lib/site-packages/pip/_vendor/rich/logging.py +297 -0
  1770. package/python/Lib/site-packages/pip/_vendor/rich/markup.py +251 -0
  1771. package/python/Lib/site-packages/pip/_vendor/rich/measure.py +151 -0
  1772. package/python/Lib/site-packages/pip/_vendor/rich/padding.py +141 -0
  1773. package/python/Lib/site-packages/pip/_vendor/rich/pager.py +34 -0
  1774. package/python/Lib/site-packages/pip/_vendor/rich/palette.py +100 -0
  1775. package/python/Lib/site-packages/pip/_vendor/rich/panel.py +317 -0
  1776. package/python/Lib/site-packages/pip/_vendor/rich/pretty.py +1016 -0
  1777. package/python/Lib/site-packages/pip/_vendor/rich/progress.py +1715 -0
  1778. package/python/Lib/site-packages/pip/_vendor/rich/progress_bar.py +223 -0
  1779. package/python/Lib/site-packages/pip/_vendor/rich/prompt.py +400 -0
  1780. package/python/Lib/site-packages/pip/_vendor/rich/protocol.py +42 -0
  1781. package/python/Lib/site-packages/pip/_vendor/rich/py.typed +0 -0
  1782. package/python/Lib/site-packages/pip/_vendor/rich/region.py +10 -0
  1783. package/python/Lib/site-packages/pip/_vendor/rich/repr.py +149 -0
  1784. package/python/Lib/site-packages/pip/_vendor/rich/rule.py +130 -0
  1785. package/python/Lib/site-packages/pip/_vendor/rich/scope.py +86 -0
  1786. package/python/Lib/site-packages/pip/_vendor/rich/screen.py +54 -0
  1787. package/python/Lib/site-packages/pip/_vendor/rich/segment.py +752 -0
  1788. package/python/Lib/site-packages/pip/_vendor/rich/spinner.py +132 -0
  1789. package/python/Lib/site-packages/pip/_vendor/rich/status.py +131 -0
  1790. package/python/Lib/site-packages/pip/_vendor/rich/style.py +792 -0
  1791. package/python/Lib/site-packages/pip/_vendor/rich/styled.py +42 -0
  1792. package/python/Lib/site-packages/pip/_vendor/rich/syntax.py +985 -0
  1793. package/python/Lib/site-packages/pip/_vendor/rich/table.py +1006 -0
  1794. package/python/Lib/site-packages/pip/_vendor/rich/terminal_theme.py +153 -0
  1795. package/python/Lib/site-packages/pip/_vendor/rich/text.py +1361 -0
  1796. package/python/Lib/site-packages/pip/_vendor/rich/theme.py +115 -0
  1797. package/python/Lib/site-packages/pip/_vendor/rich/themes.py +5 -0
  1798. package/python/Lib/site-packages/pip/_vendor/rich/traceback.py +899 -0
  1799. package/python/Lib/site-packages/pip/_vendor/rich/tree.py +257 -0
  1800. package/python/Lib/site-packages/pip/_vendor/tomli/LICENSE +21 -0
  1801. package/python/Lib/site-packages/pip/_vendor/tomli/__init__.py +8 -0
  1802. package/python/Lib/site-packages/pip/_vendor/tomli/__pycache__/__init__.cpython-312.pyc +0 -0
  1803. package/python/Lib/site-packages/pip/_vendor/tomli/__pycache__/_parser.cpython-312.pyc +0 -0
  1804. package/python/Lib/site-packages/pip/_vendor/tomli/__pycache__/_re.cpython-312.pyc +0 -0
  1805. package/python/Lib/site-packages/pip/_vendor/tomli/__pycache__/_types.cpython-312.pyc +0 -0
  1806. package/python/Lib/site-packages/pip/_vendor/tomli/_parser.py +793 -0
  1807. package/python/Lib/site-packages/pip/_vendor/tomli/_re.py +119 -0
  1808. package/python/Lib/site-packages/pip/_vendor/tomli/_types.py +10 -0
  1809. package/python/Lib/site-packages/pip/_vendor/tomli/py.typed +1 -0
  1810. package/python/Lib/site-packages/pip/_vendor/tomli_w/LICENSE +21 -0
  1811. package/python/Lib/site-packages/pip/_vendor/tomli_w/__init__.py +4 -0
  1812. package/python/Lib/site-packages/pip/_vendor/tomli_w/__pycache__/__init__.cpython-312.pyc +0 -0
  1813. package/python/Lib/site-packages/pip/_vendor/tomli_w/__pycache__/_writer.cpython-312.pyc +0 -0
  1814. package/python/Lib/site-packages/pip/_vendor/tomli_w/_writer.py +229 -0
  1815. package/python/Lib/site-packages/pip/_vendor/tomli_w/py.typed +1 -0
  1816. package/python/Lib/site-packages/pip/_vendor/truststore/LICENSE +21 -0
  1817. package/python/Lib/site-packages/pip/_vendor/truststore/__init__.py +36 -0
  1818. package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/__init__.cpython-312.pyc +0 -0
  1819. package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_api.cpython-312.pyc +0 -0
  1820. package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_macos.cpython-312.pyc +0 -0
  1821. package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_openssl.cpython-312.pyc +0 -0
  1822. package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_ssl_constants.cpython-312.pyc +0 -0
  1823. package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_windows.cpython-312.pyc +0 -0
  1824. package/python/Lib/site-packages/pip/_vendor/truststore/_api.py +341 -0
  1825. package/python/Lib/site-packages/pip/_vendor/truststore/_macos.py +571 -0
  1826. package/python/Lib/site-packages/pip/_vendor/truststore/_openssl.py +68 -0
  1827. package/python/Lib/site-packages/pip/_vendor/truststore/_ssl_constants.py +31 -0
  1828. package/python/Lib/site-packages/pip/_vendor/truststore/_windows.py +567 -0
  1829. package/python/Lib/site-packages/pip/_vendor/truststore/py.typed +0 -0
  1830. package/python/Lib/site-packages/pip/_vendor/urllib3/LICENSE.txt +21 -0
  1831. package/python/Lib/site-packages/pip/_vendor/urllib3/__init__.py +211 -0
  1832. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/__init__.cpython-312.pyc +0 -0
  1833. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/_base_connection.cpython-312.pyc +0 -0
  1834. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/_collections.cpython-312.pyc +0 -0
  1835. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/_request_methods.cpython-312.pyc +0 -0
  1836. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/_version.cpython-312.pyc +0 -0
  1837. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/connection.cpython-312.pyc +0 -0
  1838. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/connectionpool.cpython-312.pyc +0 -0
  1839. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/exceptions.cpython-312.pyc +0 -0
  1840. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/fields.cpython-312.pyc +0 -0
  1841. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/filepost.cpython-312.pyc +0 -0
  1842. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/poolmanager.cpython-312.pyc +0 -0
  1843. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/response.cpython-312.pyc +0 -0
  1844. package/python/Lib/site-packages/pip/_vendor/urllib3/_base_connection.py +167 -0
  1845. package/python/Lib/site-packages/pip/_vendor/urllib3/_collections.py +486 -0
  1846. package/python/Lib/site-packages/pip/_vendor/urllib3/_request_methods.py +278 -0
  1847. package/python/Lib/site-packages/pip/_vendor/urllib3/_version.py +24 -0
  1848. package/python/Lib/site-packages/pip/_vendor/urllib3/connection.py +1099 -0
  1849. package/python/Lib/site-packages/pip/_vendor/urllib3/connectionpool.py +1191 -0
  1850. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
  1851. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-312.pyc +0 -0
  1852. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-312.pyc +0 -0
  1853. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-312.pyc +0 -0
  1854. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/emscripten/__init__.py +17 -0
  1855. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/emscripten/__pycache__/__init__.cpython-312.pyc +0 -0
  1856. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/emscripten/__pycache__/connection.cpython-312.pyc +0 -0
  1857. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/emscripten/__pycache__/fetch.cpython-312.pyc +0 -0
  1858. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/emscripten/__pycache__/request.cpython-312.pyc +0 -0
  1859. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/emscripten/__pycache__/response.cpython-312.pyc +0 -0
  1860. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/emscripten/connection.py +260 -0
  1861. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/emscripten/emscripten_fetch_worker.js +110 -0
  1862. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/emscripten/fetch.py +726 -0
  1863. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/emscripten/request.py +22 -0
  1864. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/emscripten/response.py +281 -0
  1865. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +563 -0
  1866. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/socks.py +228 -0
  1867. package/python/Lib/site-packages/pip/_vendor/urllib3/exceptions.py +335 -0
  1868. package/python/Lib/site-packages/pip/_vendor/urllib3/fields.py +341 -0
  1869. package/python/Lib/site-packages/pip/_vendor/urllib3/filepost.py +89 -0
  1870. package/python/Lib/site-packages/pip/_vendor/urllib3/http2/__init__.py +53 -0
  1871. package/python/Lib/site-packages/pip/_vendor/urllib3/http2/__pycache__/__init__.cpython-312.pyc +0 -0
  1872. package/python/Lib/site-packages/pip/_vendor/urllib3/http2/__pycache__/connection.cpython-312.pyc +0 -0
  1873. package/python/Lib/site-packages/pip/_vendor/urllib3/http2/__pycache__/probe.cpython-312.pyc +0 -0
  1874. package/python/Lib/site-packages/pip/_vendor/urllib3/http2/connection.py +356 -0
  1875. package/python/Lib/site-packages/pip/_vendor/urllib3/http2/probe.py +87 -0
  1876. package/python/Lib/site-packages/pip/_vendor/urllib3/poolmanager.py +653 -0
  1877. package/python/Lib/site-packages/pip/_vendor/urllib3/py.typed +2 -0
  1878. package/python/Lib/site-packages/pip/_vendor/urllib3/response.py +1487 -0
  1879. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__init__.py +42 -0
  1880. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/__init__.cpython-312.pyc +0 -0
  1881. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/connection.cpython-312.pyc +0 -0
  1882. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/proxy.cpython-312.pyc +0 -0
  1883. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/request.cpython-312.pyc +0 -0
  1884. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/response.cpython-312.pyc +0 -0
  1885. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/retry.cpython-312.pyc +0 -0
  1886. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-312.pyc +0 -0
  1887. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_match_hostname.cpython-312.pyc +0 -0
  1888. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-312.pyc +0 -0
  1889. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/timeout.cpython-312.pyc +0 -0
  1890. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/url.cpython-312.pyc +0 -0
  1891. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/util.cpython-312.pyc +0 -0
  1892. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/wait.cpython-312.pyc +0 -0
  1893. package/python/Lib/site-packages/pip/_vendor/urllib3/util/connection.py +137 -0
  1894. package/python/Lib/site-packages/pip/_vendor/urllib3/util/proxy.py +43 -0
  1895. package/python/Lib/site-packages/pip/_vendor/urllib3/util/request.py +254 -0
  1896. package/python/Lib/site-packages/pip/_vendor/urllib3/util/response.py +101 -0
  1897. package/python/Lib/site-packages/pip/_vendor/urllib3/util/retry.py +557 -0
  1898. package/python/Lib/site-packages/pip/_vendor/urllib3/util/ssl_.py +477 -0
  1899. package/python/Lib/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py +153 -0
  1900. package/python/Lib/site-packages/pip/_vendor/urllib3/util/ssltransport.py +271 -0
  1901. package/python/Lib/site-packages/pip/_vendor/urllib3/util/timeout.py +275 -0
  1902. package/python/Lib/site-packages/pip/_vendor/urllib3/util/url.py +469 -0
  1903. package/python/Lib/site-packages/pip/_vendor/urllib3/util/util.py +42 -0
  1904. package/python/Lib/site-packages/pip/_vendor/urllib3/util/wait.py +124 -0
  1905. package/python/Lib/site-packages/pip/_vendor/vendor.txt +18 -0
  1906. package/python/Lib/site-packages/pip/py.typed +4 -0
  1907. package/python/Lib/site-packages/pip-26.2.2.dist-info/INSTALLER +1 -0
  1908. package/python/Lib/site-packages/pip-26.2.2.dist-info/METADATA +110 -0
  1909. package/python/Lib/site-packages/pip-26.2.2.dist-info/RECORD +890 -0
  1910. package/python/Lib/site-packages/pip-26.2.2.dist-info/REQUESTED +0 -0
  1911. package/python/Lib/site-packages/pip-26.2.2.dist-info/WHEEL +4 -0
  1912. package/python/Lib/site-packages/pip-26.2.2.dist-info/direct_url.json +1 -0
  1913. package/python/Lib/site-packages/pip-26.2.2.dist-info/entry_points.txt +4 -0
  1914. package/python/Lib/site-packages/pip-26.2.2.dist-info/licenses/AUTHORS.txt +888 -0
  1915. package/python/Lib/site-packages/pip-26.2.2.dist-info/licenses/LICENSE.txt +20 -0
  1916. package/python/Lib/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/cachecontrol/LICENSE.txt +13 -0
  1917. package/python/Lib/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/certifi/LICENSE +20 -0
  1918. package/python/Lib/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/distlib/LICENSE.txt +284 -0
  1919. package/python/Lib/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/distro/LICENSE +202 -0
  1920. package/python/Lib/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/idna/LICENSE.md +31 -0
  1921. package/python/Lib/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/msgpack/COPYING +14 -0
  1922. package/python/Lib/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE +3 -0
  1923. package/python/Lib/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.APACHE +177 -0
  1924. package/python/Lib/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.BSD +23 -0
  1925. package/python/Lib/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/pkg_resources/LICENSE +17 -0
  1926. package/python/Lib/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/platformdirs/LICENSE +21 -0
  1927. package/python/Lib/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/pygments/LICENSE +25 -0
  1928. package/python/Lib/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/pyproject_hooks/LICENSE +21 -0
  1929. package/python/Lib/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/requests/LICENSE +175 -0
  1930. package/python/Lib/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/resolvelib/LICENSE +13 -0
  1931. package/python/Lib/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/rich/LICENSE +19 -0
  1932. package/python/Lib/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/tomli/LICENSE +21 -0
  1933. package/python/Lib/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/tomli_w/LICENSE +21 -0
  1934. package/python/Lib/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/truststore/LICENSE +21 -0
  1935. package/python/Lib/site-packages/pip-26.2.2.dist-info/licenses/src/pip/_vendor/urllib3/LICENSE.txt +21 -0
  1936. package/python/Lib/site.py +693 -0
  1937. package/python/Lib/smtplib.py +1109 -0
  1938. package/python/Lib/sndhdr.py +271 -0
  1939. package/python/Lib/socket.py +983 -0
  1940. package/python/Lib/socketserver.py +863 -0
  1941. package/python/Lib/sqlite3/__init__.py +70 -0
  1942. package/python/Lib/sqlite3/__main__.py +127 -0
  1943. package/python/Lib/sqlite3/dbapi2.py +108 -0
  1944. package/python/Lib/sqlite3/dump.py +89 -0
  1945. package/python/Lib/sre_compile.py +7 -0
  1946. package/python/Lib/sre_constants.py +7 -0
  1947. package/python/Lib/sre_parse.py +7 -0
  1948. package/python/Lib/ssl.py +1489 -0
  1949. package/python/Lib/stat.py +195 -0
  1950. package/python/Lib/statistics.py +1454 -0
  1951. package/python/Lib/string.py +309 -0
  1952. package/python/Lib/stringprep.py +449 -0
  1953. package/python/Lib/struct.py +15 -0
  1954. package/python/Lib/subprocess.py +2216 -0
  1955. package/python/Lib/sunau.py +533 -0
  1956. package/python/Lib/symtable.py +362 -0
  1957. package/python/Lib/sysconfig.py +894 -0
  1958. package/python/Lib/tabnanny.py +340 -0
  1959. package/python/Lib/tarfile.py +3078 -0
  1960. package/python/Lib/telnetlib.py +680 -0
  1961. package/python/Lib/tempfile.py +1035 -0
  1962. package/python/Lib/textwrap.py +491 -0
  1963. package/python/Lib/this.py +28 -0
  1964. package/python/Lib/threading.py +1708 -0
  1965. package/python/Lib/timeit.py +381 -0
  1966. package/python/Lib/tkinter/__init__.py +4682 -0
  1967. package/python/Lib/tkinter/__main__.py +7 -0
  1968. package/python/Lib/tkinter/colorchooser.py +86 -0
  1969. package/python/Lib/tkinter/commondialog.py +53 -0
  1970. package/python/Lib/tkinter/constants.py +110 -0
  1971. package/python/Lib/tkinter/dialog.py +49 -0
  1972. package/python/Lib/tkinter/dnd.py +324 -0
  1973. package/python/Lib/tkinter/filedialog.py +492 -0
  1974. package/python/Lib/tkinter/font.py +239 -0
  1975. package/python/Lib/tkinter/messagebox.py +146 -0
  1976. package/python/Lib/tkinter/scrolledtext.py +56 -0
  1977. package/python/Lib/tkinter/simpledialog.py +441 -0
  1978. package/python/Lib/tkinter/tix.py +1948 -0
  1979. package/python/Lib/tkinter/ttk.py +1640 -0
  1980. package/python/Lib/token.py +143 -0
  1981. package/python/Lib/tokenize.py +594 -0
  1982. package/python/Lib/tomllib/__init__.py +10 -0
  1983. package/python/Lib/tomllib/__pycache__/__init__.cpython-312.pyc +0 -0
  1984. package/python/Lib/tomllib/__pycache__/_parser.cpython-312.pyc +0 -0
  1985. package/python/Lib/tomllib/__pycache__/_re.cpython-312.pyc +0 -0
  1986. package/python/Lib/tomllib/__pycache__/_types.cpython-312.pyc +0 -0
  1987. package/python/Lib/tomllib/_parser.py +703 -0
  1988. package/python/Lib/tomllib/_re.py +107 -0
  1989. package/python/Lib/tomllib/_types.py +10 -0
  1990. package/python/Lib/trace.py +748 -0
  1991. package/python/Lib/traceback.py +1187 -0
  1992. package/python/Lib/tracemalloc.py +560 -0
  1993. package/python/Lib/tty.py +73 -0
  1994. package/python/Lib/turtle.py +4207 -0
  1995. package/python/Lib/turtledemo/__init__.py +14 -0
  1996. package/python/Lib/turtledemo/__main__.py +404 -0
  1997. package/python/Lib/turtledemo/bytedesign.py +161 -0
  1998. package/python/Lib/turtledemo/chaos.py +59 -0
  1999. package/python/Lib/turtledemo/clock.py +138 -0
  2000. package/python/Lib/turtledemo/colormixer.py +58 -0
  2001. package/python/Lib/turtledemo/forest.py +108 -0
  2002. package/python/Lib/turtledemo/fractalcurves.py +138 -0
  2003. package/python/Lib/turtledemo/lindenmayer.py +119 -0
  2004. package/python/Lib/turtledemo/minimal_hanoi.py +79 -0
  2005. package/python/Lib/turtledemo/nim.py +226 -0
  2006. package/python/Lib/turtledemo/paint.py +54 -0
  2007. package/python/Lib/turtledemo/peace.py +61 -0
  2008. package/python/Lib/turtledemo/penrose.py +175 -0
  2009. package/python/Lib/turtledemo/planet_and_moon.py +111 -0
  2010. package/python/Lib/turtledemo/rosette.py +65 -0
  2011. package/python/Lib/turtledemo/round_dance.py +86 -0
  2012. package/python/Lib/turtledemo/sorting_animate.py +204 -0
  2013. package/python/Lib/turtledemo/tree.py +62 -0
  2014. package/python/Lib/turtledemo/turtle.cfg +10 -0
  2015. package/python/Lib/turtledemo/two_canvases.py +54 -0
  2016. package/python/Lib/turtledemo/yinyang.py +49 -0
  2017. package/python/Lib/types.py +333 -0
  2018. package/python/Lib/typing.py +3494 -0
  2019. package/python/Lib/unittest/__init__.py +85 -0
  2020. package/python/Lib/unittest/__main__.py +18 -0
  2021. package/python/Lib/unittest/_log.py +86 -0
  2022. package/python/Lib/unittest/async_case.py +143 -0
  2023. package/python/Lib/unittest/case.py +1456 -0
  2024. package/python/Lib/unittest/loader.py +497 -0
  2025. package/python/Lib/unittest/main.py +291 -0
  2026. package/python/Lib/unittest/mock.py +3054 -0
  2027. package/python/Lib/unittest/result.py +256 -0
  2028. package/python/Lib/unittest/runner.py +292 -0
  2029. package/python/Lib/unittest/signals.py +71 -0
  2030. package/python/Lib/unittest/suite.py +379 -0
  2031. package/python/Lib/unittest/util.py +170 -0
  2032. package/python/Lib/urllib/__init__.py +0 -0
  2033. package/python/Lib/urllib/__pycache__/__init__.cpython-312.pyc +0 -0
  2034. package/python/Lib/urllib/__pycache__/error.cpython-312.pyc +0 -0
  2035. package/python/Lib/urllib/__pycache__/parse.cpython-312.pyc +0 -0
  2036. package/python/Lib/urllib/__pycache__/request.cpython-312.pyc +0 -0
  2037. package/python/Lib/urllib/__pycache__/response.cpython-312.pyc +0 -0
  2038. package/python/Lib/urllib/error.py +74 -0
  2039. package/python/Lib/urllib/parse.py +1262 -0
  2040. package/python/Lib/urllib/request.py +2829 -0
  2041. package/python/Lib/urllib/response.py +84 -0
  2042. package/python/Lib/urllib/robotparser.py +275 -0
  2043. package/python/Lib/uu.py +216 -0
  2044. package/python/Lib/uuid.py +793 -0
  2045. package/python/Lib/venv/__init__.py +608 -0
  2046. package/python/Lib/venv/__main__.py +10 -0
  2047. package/python/Lib/venv/scripts/common/Activate.ps1 +247 -0
  2048. package/python/Lib/venv/scripts/common/activate +76 -0
  2049. package/python/Lib/venv/scripts/nt/activate.bat +34 -0
  2050. package/python/Lib/venv/scripts/nt/deactivate.bat +22 -0
  2051. package/python/Lib/venv/scripts/nt/python.exe +0 -0
  2052. package/python/Lib/venv/scripts/nt/pythonw.exe +0 -0
  2053. package/python/Lib/venv/scripts/posix/activate.csh +27 -0
  2054. package/python/Lib/venv/scripts/posix/activate.fish +69 -0
  2055. package/python/Lib/warnings.py +598 -0
  2056. package/python/Lib/wave.py +653 -0
  2057. package/python/Lib/weakref.py +674 -0
  2058. package/python/Lib/webbrowser.py +702 -0
  2059. package/python/Lib/wsgiref/__init__.py +25 -0
  2060. package/python/Lib/wsgiref/handlers.py +575 -0
  2061. package/python/Lib/wsgiref/headers.py +192 -0
  2062. package/python/Lib/wsgiref/simple_server.py +165 -0
  2063. package/python/Lib/wsgiref/types.py +54 -0
  2064. package/python/Lib/wsgiref/util.py +159 -0
  2065. package/python/Lib/wsgiref/validate.py +438 -0
  2066. package/python/Lib/xdrlib.py +242 -0
  2067. package/python/Lib/xml/__init__.py +20 -0
  2068. package/python/Lib/xml/__pycache__/__init__.cpython-312.pyc +0 -0
  2069. package/python/Lib/xml/dom/NodeFilter.py +27 -0
  2070. package/python/Lib/xml/dom/__init__.py +140 -0
  2071. package/python/Lib/xml/dom/domreg.py +99 -0
  2072. package/python/Lib/xml/dom/expatbuilder.py +962 -0
  2073. package/python/Lib/xml/dom/minicompat.py +109 -0
  2074. package/python/Lib/xml/dom/minidom.py +2008 -0
  2075. package/python/Lib/xml/dom/pulldom.py +336 -0
  2076. package/python/Lib/xml/dom/xmlbuilder.py +389 -0
  2077. package/python/Lib/xml/etree/ElementInclude.py +186 -0
  2078. package/python/Lib/xml/etree/ElementPath.py +430 -0
  2079. package/python/Lib/xml/etree/ElementTree.py +2085 -0
  2080. package/python/Lib/xml/etree/__init__.py +33 -0
  2081. package/python/Lib/xml/etree/cElementTree.py +3 -0
  2082. package/python/Lib/xml/parsers/__init__.py +8 -0
  2083. package/python/Lib/xml/parsers/__pycache__/__init__.cpython-312.pyc +0 -0
  2084. package/python/Lib/xml/parsers/__pycache__/expat.cpython-312.pyc +0 -0
  2085. package/python/Lib/xml/parsers/expat.py +8 -0
  2086. package/python/Lib/xml/sax/__init__.py +94 -0
  2087. package/python/Lib/xml/sax/_exceptions.py +127 -0
  2088. package/python/Lib/xml/sax/expatreader.py +454 -0
  2089. package/python/Lib/xml/sax/handler.py +387 -0
  2090. package/python/Lib/xml/sax/saxutils.py +369 -0
  2091. package/python/Lib/xml/sax/xmlreader.py +378 -0
  2092. package/python/Lib/xmlrpc/__init__.py +1 -0
  2093. package/python/Lib/xmlrpc/__pycache__/__init__.cpython-312.pyc +0 -0
  2094. package/python/Lib/xmlrpc/__pycache__/client.cpython-312.pyc +0 -0
  2095. package/python/Lib/xmlrpc/client.py +1529 -0
  2096. package/python/Lib/xmlrpc/server.py +1002 -0
  2097. package/python/Lib/zipapp.py +206 -0
  2098. package/python/Lib/zipfile/__init__.py +2376 -0
  2099. package/python/Lib/zipfile/__main__.py +4 -0
  2100. package/python/Lib/zipfile/__pycache__/__init__.cpython-312.pyc +0 -0
  2101. package/python/Lib/zipfile/_path/__init__.py +412 -0
  2102. package/python/Lib/zipfile/_path/__pycache__/__init__.cpython-312.pyc +0 -0
  2103. package/python/Lib/zipfile/_path/__pycache__/glob.cpython-312.pyc +0 -0
  2104. package/python/Lib/zipfile/_path/glob.py +53 -0
  2105. package/python/Lib/zipimport.py +712 -0
  2106. package/python/Lib/zoneinfo/__init__.py +31 -0
  2107. package/python/Lib/zoneinfo/_common.py +164 -0
  2108. package/python/Lib/zoneinfo/_tzpath.py +181 -0
  2109. package/python/Lib/zoneinfo/_zoneinfo.py +772 -0
  2110. package/python/Scripts/.empty +0 -0
  2111. package/python/libs/_asyncio.lib +0 -0
  2112. package/python/libs/_bz2.lib +0 -0
  2113. package/python/libs/_ctypes.lib +0 -0
  2114. package/python/libs/_ctypes_test.lib +0 -0
  2115. package/python/libs/_decimal.lib +0 -0
  2116. package/python/libs/_elementtree.lib +0 -0
  2117. package/python/libs/_hashlib.lib +0 -0
  2118. package/python/libs/_lzma.lib +0 -0
  2119. package/python/libs/_msi.lib +0 -0
  2120. package/python/libs/_multiprocessing.lib +0 -0
  2121. package/python/libs/_overlapped.lib +0 -0
  2122. package/python/libs/_queue.lib +0 -0
  2123. package/python/libs/_socket.lib +0 -0
  2124. package/python/libs/_sqlite3.lib +0 -0
  2125. package/python/libs/_ssl.lib +0 -0
  2126. package/python/libs/_testbuffer.lib +0 -0
  2127. package/python/libs/_testcapi.lib +0 -0
  2128. package/python/libs/_testclinic.lib +0 -0
  2129. package/python/libs/_testconsole.lib +0 -0
  2130. package/python/libs/_testimportmultiple.lib +0 -0
  2131. package/python/libs/_testinternalcapi.lib +0 -0
  2132. package/python/libs/_testmultiphase.lib +0 -0
  2133. package/python/libs/_testsinglephase.lib +0 -0
  2134. package/python/libs/_tkinter.lib +0 -0
  2135. package/python/libs/_uuid.lib +0 -0
  2136. package/python/libs/_wmi.lib +0 -0
  2137. package/python/libs/_zoneinfo.lib +0 -0
  2138. package/python/libs/pyexpat.lib +0 -0
  2139. package/python/libs/python3.lib +0 -0
  2140. package/python/libs/python312.lib +0 -0
  2141. package/python/libs/select.lib +0 -0
  2142. package/python/libs/sqlite3.lib +0 -0
  2143. package/python/libs/unicodedata.lib +0 -0
  2144. package/python/libs/winsound.lib +0 -0
  2145. package/python/python.exe +0 -0
  2146. package/python/python3.dll +0 -0
  2147. package/python/python312.dll +0 -0
  2148. package/python/pythonw.exe +0 -0
  2149. package/python/tcl/dde1.4/pkgIndex.tcl +12 -0
  2150. package/python/tcl/dde1.4/tcldde14.dll +0 -0
  2151. package/python/tcl/nmake/nmakehlp.c +820 -0
  2152. package/python/tcl/nmake/rules.vc +1879 -0
  2153. package/python/tcl/nmake/targets.vc +98 -0
  2154. package/python/tcl/nmake/tcl.nmake +4 -0
  2155. package/python/tcl/reg1.3/pkgIndex.tcl +9 -0
  2156. package/python/tcl/reg1.3/tclreg13.dll +0 -0
  2157. package/python/tcl/tcl8/8.4/platform/shell-1.1.4.tm +241 -0
  2158. package/python/tcl/tcl8/8.4/platform-1.0.19.tm +450 -0
  2159. package/python/tcl/tcl8/8.5/msgcat-1.6.1.tm +1210 -0
  2160. package/python/tcl/tcl8/8.5/tcltest-2.5.8.tm +3588 -0
  2161. package/python/tcl/tcl8/8.6/http-2.9.8.tm +3603 -0
  2162. package/python/tcl/tcl8.6/auto.tcl +649 -0
  2163. package/python/tcl/tcl8.6/clock.tcl +4553 -0
  2164. package/python/tcl/tcl8.6/encoding/ascii.enc +20 -0
  2165. package/python/tcl/tcl8.6/encoding/big5.enc +1516 -0
  2166. package/python/tcl/tcl8.6/encoding/cns11643.enc +1584 -0
  2167. package/python/tcl/tcl8.6/encoding/cp1250.enc +20 -0
  2168. package/python/tcl/tcl8.6/encoding/cp1251.enc +20 -0
  2169. package/python/tcl/tcl8.6/encoding/cp1252.enc +20 -0
  2170. package/python/tcl/tcl8.6/encoding/cp1253.enc +20 -0
  2171. package/python/tcl/tcl8.6/encoding/cp1254.enc +20 -0
  2172. package/python/tcl/tcl8.6/encoding/cp1255.enc +20 -0
  2173. package/python/tcl/tcl8.6/encoding/cp1256.enc +20 -0
  2174. package/python/tcl/tcl8.6/encoding/cp1257.enc +20 -0
  2175. package/python/tcl/tcl8.6/encoding/cp1258.enc +20 -0
  2176. package/python/tcl/tcl8.6/encoding/cp437.enc +20 -0
  2177. package/python/tcl/tcl8.6/encoding/cp737.enc +20 -0
  2178. package/python/tcl/tcl8.6/encoding/cp775.enc +20 -0
  2179. package/python/tcl/tcl8.6/encoding/cp850.enc +20 -0
  2180. package/python/tcl/tcl8.6/encoding/cp852.enc +20 -0
  2181. package/python/tcl/tcl8.6/encoding/cp855.enc +20 -0
  2182. package/python/tcl/tcl8.6/encoding/cp857.enc +20 -0
  2183. package/python/tcl/tcl8.6/encoding/cp860.enc +20 -0
  2184. package/python/tcl/tcl8.6/encoding/cp861.enc +20 -0
  2185. package/python/tcl/tcl8.6/encoding/cp862.enc +20 -0
  2186. package/python/tcl/tcl8.6/encoding/cp863.enc +20 -0
  2187. package/python/tcl/tcl8.6/encoding/cp864.enc +20 -0
  2188. package/python/tcl/tcl8.6/encoding/cp865.enc +20 -0
  2189. package/python/tcl/tcl8.6/encoding/cp866.enc +20 -0
  2190. package/python/tcl/tcl8.6/encoding/cp869.enc +20 -0
  2191. package/python/tcl/tcl8.6/encoding/cp874.enc +20 -0
  2192. package/python/tcl/tcl8.6/encoding/cp932.enc +801 -0
  2193. package/python/tcl/tcl8.6/encoding/cp936.enc +2162 -0
  2194. package/python/tcl/tcl8.6/encoding/cp949.enc +2128 -0
  2195. package/python/tcl/tcl8.6/encoding/cp950.enc +1499 -0
  2196. package/python/tcl/tcl8.6/encoding/dingbats.enc +20 -0
  2197. package/python/tcl/tcl8.6/encoding/ebcdic.enc +19 -0
  2198. package/python/tcl/tcl8.6/encoding/euc-cn.enc +1397 -0
  2199. package/python/tcl/tcl8.6/encoding/euc-jp.enc +1353 -0
  2200. package/python/tcl/tcl8.6/encoding/euc-kr.enc +1533 -0
  2201. package/python/tcl/tcl8.6/encoding/gb12345.enc +1414 -0
  2202. package/python/tcl/tcl8.6/encoding/gb1988.enc +20 -0
  2203. package/python/tcl/tcl8.6/encoding/gb2312-raw.enc +1380 -0
  2204. package/python/tcl/tcl8.6/encoding/gb2312.enc +1397 -0
  2205. package/python/tcl/tcl8.6/encoding/iso2022-jp.enc +12 -0
  2206. package/python/tcl/tcl8.6/encoding/iso2022-kr.enc +7 -0
  2207. package/python/tcl/tcl8.6/encoding/iso2022.enc +14 -0
  2208. package/python/tcl/tcl8.6/encoding/iso8859-1.enc +20 -0
  2209. package/python/tcl/tcl8.6/encoding/iso8859-10.enc +20 -0
  2210. package/python/tcl/tcl8.6/encoding/iso8859-11.enc +20 -0
  2211. package/python/tcl/tcl8.6/encoding/iso8859-13.enc +20 -0
  2212. package/python/tcl/tcl8.6/encoding/iso8859-14.enc +20 -0
  2213. package/python/tcl/tcl8.6/encoding/iso8859-15.enc +20 -0
  2214. package/python/tcl/tcl8.6/encoding/iso8859-16.enc +20 -0
  2215. package/python/tcl/tcl8.6/encoding/iso8859-2.enc +20 -0
  2216. package/python/tcl/tcl8.6/encoding/iso8859-3.enc +20 -0
  2217. package/python/tcl/tcl8.6/encoding/iso8859-4.enc +20 -0
  2218. package/python/tcl/tcl8.6/encoding/iso8859-5.enc +20 -0
  2219. package/python/tcl/tcl8.6/encoding/iso8859-6.enc +20 -0
  2220. package/python/tcl/tcl8.6/encoding/iso8859-7.enc +20 -0
  2221. package/python/tcl/tcl8.6/encoding/iso8859-8.enc +20 -0
  2222. package/python/tcl/tcl8.6/encoding/iso8859-9.enc +20 -0
  2223. package/python/tcl/tcl8.6/encoding/jis0201.enc +20 -0
  2224. package/python/tcl/tcl8.6/encoding/jis0208.enc +1319 -0
  2225. package/python/tcl/tcl8.6/encoding/jis0212.enc +1159 -0
  2226. package/python/tcl/tcl8.6/encoding/koi8-r.enc +20 -0
  2227. package/python/tcl/tcl8.6/encoding/koi8-ru.enc +20 -0
  2228. package/python/tcl/tcl8.6/encoding/koi8-t.enc +20 -0
  2229. package/python/tcl/tcl8.6/encoding/koi8-u.enc +20 -0
  2230. package/python/tcl/tcl8.6/encoding/ksc5601.enc +1516 -0
  2231. package/python/tcl/tcl8.6/encoding/macCentEuro.enc +20 -0
  2232. package/python/tcl/tcl8.6/encoding/macCroatian.enc +20 -0
  2233. package/python/tcl/tcl8.6/encoding/macCyrillic.enc +20 -0
  2234. package/python/tcl/tcl8.6/encoding/macDingbats.enc +20 -0
  2235. package/python/tcl/tcl8.6/encoding/macGreek.enc +20 -0
  2236. package/python/tcl/tcl8.6/encoding/macIceland.enc +20 -0
  2237. package/python/tcl/tcl8.6/encoding/macJapan.enc +785 -0
  2238. package/python/tcl/tcl8.6/encoding/macRoman.enc +20 -0
  2239. package/python/tcl/tcl8.6/encoding/macRomania.enc +20 -0
  2240. package/python/tcl/tcl8.6/encoding/macThai.enc +20 -0
  2241. package/python/tcl/tcl8.6/encoding/macTurkish.enc +20 -0
  2242. package/python/tcl/tcl8.6/encoding/macUkraine.enc +20 -0
  2243. package/python/tcl/tcl8.6/encoding/shiftjis.enc +690 -0
  2244. package/python/tcl/tcl8.6/encoding/symbol.enc +20 -0
  2245. package/python/tcl/tcl8.6/encoding/tis-620.enc +20 -0
  2246. package/python/tcl/tcl8.6/history.tcl +335 -0
  2247. package/python/tcl/tcl8.6/http1.0/http.tcl +377 -0
  2248. package/python/tcl/tcl8.6/http1.0/pkgIndex.tcl +11 -0
  2249. package/python/tcl/tcl8.6/init.tcl +828 -0
  2250. package/python/tcl/tcl8.6/msgs/af.msg +49 -0
  2251. package/python/tcl/tcl8.6/msgs/af_za.msg +6 -0
  2252. package/python/tcl/tcl8.6/msgs/ar.msg +54 -0
  2253. package/python/tcl/tcl8.6/msgs/ar_in.msg +6 -0
  2254. package/python/tcl/tcl8.6/msgs/ar_jo.msg +39 -0
  2255. package/python/tcl/tcl8.6/msgs/ar_lb.msg +39 -0
  2256. package/python/tcl/tcl8.6/msgs/ar_sy.msg +39 -0
  2257. package/python/tcl/tcl8.6/msgs/be.msg +52 -0
  2258. package/python/tcl/tcl8.6/msgs/bg.msg +52 -0
  2259. package/python/tcl/tcl8.6/msgs/bn.msg +49 -0
  2260. package/python/tcl/tcl8.6/msgs/bn_in.msg +6 -0
  2261. package/python/tcl/tcl8.6/msgs/ca.msg +50 -0
  2262. package/python/tcl/tcl8.6/msgs/cs.msg +54 -0
  2263. package/python/tcl/tcl8.6/msgs/da.msg +52 -0
  2264. package/python/tcl/tcl8.6/msgs/de.msg +54 -0
  2265. package/python/tcl/tcl8.6/msgs/de_at.msg +35 -0
  2266. package/python/tcl/tcl8.6/msgs/de_be.msg +53 -0
  2267. package/python/tcl/tcl8.6/msgs/el.msg +52 -0
  2268. package/python/tcl/tcl8.6/msgs/en_au.msg +7 -0
  2269. package/python/tcl/tcl8.6/msgs/en_be.msg +7 -0
  2270. package/python/tcl/tcl8.6/msgs/en_bw.msg +6 -0
  2271. package/python/tcl/tcl8.6/msgs/en_ca.msg +7 -0
  2272. package/python/tcl/tcl8.6/msgs/en_gb.msg +7 -0
  2273. package/python/tcl/tcl8.6/msgs/en_hk.msg +8 -0
  2274. package/python/tcl/tcl8.6/msgs/en_ie.msg +7 -0
  2275. package/python/tcl/tcl8.6/msgs/en_in.msg +8 -0
  2276. package/python/tcl/tcl8.6/msgs/en_nz.msg +7 -0
  2277. package/python/tcl/tcl8.6/msgs/en_ph.msg +8 -0
  2278. package/python/tcl/tcl8.6/msgs/en_sg.msg +6 -0
  2279. package/python/tcl/tcl8.6/msgs/en_za.msg +6 -0
  2280. package/python/tcl/tcl8.6/msgs/en_zw.msg +6 -0
  2281. package/python/tcl/tcl8.6/msgs/eo.msg +54 -0
  2282. package/python/tcl/tcl8.6/msgs/es.msg +52 -0
  2283. package/python/tcl/tcl8.6/msgs/es_ar.msg +6 -0
  2284. package/python/tcl/tcl8.6/msgs/es_bo.msg +6 -0
  2285. package/python/tcl/tcl8.6/msgs/es_cl.msg +6 -0
  2286. package/python/tcl/tcl8.6/msgs/es_co.msg +6 -0
  2287. package/python/tcl/tcl8.6/msgs/es_cr.msg +6 -0
  2288. package/python/tcl/tcl8.6/msgs/es_do.msg +6 -0
  2289. package/python/tcl/tcl8.6/msgs/es_ec.msg +6 -0
  2290. package/python/tcl/tcl8.6/msgs/es_gt.msg +6 -0
  2291. package/python/tcl/tcl8.6/msgs/es_hn.msg +6 -0
  2292. package/python/tcl/tcl8.6/msgs/es_mx.msg +6 -0
  2293. package/python/tcl/tcl8.6/msgs/es_ni.msg +6 -0
  2294. package/python/tcl/tcl8.6/msgs/es_pa.msg +6 -0
  2295. package/python/tcl/tcl8.6/msgs/es_pe.msg +6 -0
  2296. package/python/tcl/tcl8.6/msgs/es_pr.msg +6 -0
  2297. package/python/tcl/tcl8.6/msgs/es_py.msg +6 -0
  2298. package/python/tcl/tcl8.6/msgs/es_sv.msg +6 -0
  2299. package/python/tcl/tcl8.6/msgs/es_uy.msg +6 -0
  2300. package/python/tcl/tcl8.6/msgs/es_ve.msg +6 -0
  2301. package/python/tcl/tcl8.6/msgs/et.msg +52 -0
  2302. package/python/tcl/tcl8.6/msgs/eu.msg +47 -0
  2303. package/python/tcl/tcl8.6/msgs/eu_es.msg +7 -0
  2304. package/python/tcl/tcl8.6/msgs/fa.msg +47 -0
  2305. package/python/tcl/tcl8.6/msgs/fa_in.msg +52 -0
  2306. package/python/tcl/tcl8.6/msgs/fa_ir.msg +9 -0
  2307. package/python/tcl/tcl8.6/msgs/fi.msg +50 -0
  2308. package/python/tcl/tcl8.6/msgs/fo.msg +47 -0
  2309. package/python/tcl/tcl8.6/msgs/fo_fo.msg +7 -0
  2310. package/python/tcl/tcl8.6/msgs/fr.msg +52 -0
  2311. package/python/tcl/tcl8.6/msgs/fr_be.msg +7 -0
  2312. package/python/tcl/tcl8.6/msgs/fr_ca.msg +7 -0
  2313. package/python/tcl/tcl8.6/msgs/fr_ch.msg +7 -0
  2314. package/python/tcl/tcl8.6/msgs/ga.msg +47 -0
  2315. package/python/tcl/tcl8.6/msgs/ga_ie.msg +7 -0
  2316. package/python/tcl/tcl8.6/msgs/gl.msg +47 -0
  2317. package/python/tcl/tcl8.6/msgs/gl_es.msg +6 -0
  2318. package/python/tcl/tcl8.6/msgs/gv.msg +47 -0
  2319. package/python/tcl/tcl8.6/msgs/gv_gb.msg +6 -0
  2320. package/python/tcl/tcl8.6/msgs/he.msg +52 -0
  2321. package/python/tcl/tcl8.6/msgs/hi.msg +39 -0
  2322. package/python/tcl/tcl8.6/msgs/hi_in.msg +6 -0
  2323. package/python/tcl/tcl8.6/msgs/hr.msg +50 -0
  2324. package/python/tcl/tcl8.6/msgs/hu.msg +54 -0
  2325. package/python/tcl/tcl8.6/msgs/id.msg +47 -0
  2326. package/python/tcl/tcl8.6/msgs/id_id.msg +6 -0
  2327. package/python/tcl/tcl8.6/msgs/is.msg +50 -0
  2328. package/python/tcl/tcl8.6/msgs/it.msg +54 -0
  2329. package/python/tcl/tcl8.6/msgs/it_ch.msg +6 -0
  2330. package/python/tcl/tcl8.6/msgs/ja.msg +44 -0
  2331. package/python/tcl/tcl8.6/msgs/kl.msg +47 -0
  2332. package/python/tcl/tcl8.6/msgs/kl_gl.msg +7 -0
  2333. package/python/tcl/tcl8.6/msgs/ko.msg +55 -0
  2334. package/python/tcl/tcl8.6/msgs/ko_kr.msg +8 -0
  2335. package/python/tcl/tcl8.6/msgs/kok.msg +39 -0
  2336. package/python/tcl/tcl8.6/msgs/kok_in.msg +6 -0
  2337. package/python/tcl/tcl8.6/msgs/kw.msg +47 -0
  2338. package/python/tcl/tcl8.6/msgs/kw_gb.msg +6 -0
  2339. package/python/tcl/tcl8.6/msgs/lt.msg +52 -0
  2340. package/python/tcl/tcl8.6/msgs/lv.msg +52 -0
  2341. package/python/tcl/tcl8.6/msgs/mk.msg +52 -0
  2342. package/python/tcl/tcl8.6/msgs/mr.msg +39 -0
  2343. package/python/tcl/tcl8.6/msgs/mr_in.msg +6 -0
  2344. package/python/tcl/tcl8.6/msgs/ms.msg +47 -0
  2345. package/python/tcl/tcl8.6/msgs/ms_my.msg +6 -0
  2346. package/python/tcl/tcl8.6/msgs/mt.msg +27 -0
  2347. package/python/tcl/tcl8.6/msgs/nb.msg +52 -0
  2348. package/python/tcl/tcl8.6/msgs/nl.msg +50 -0
  2349. package/python/tcl/tcl8.6/msgs/nl_be.msg +7 -0
  2350. package/python/tcl/tcl8.6/msgs/nn.msg +52 -0
  2351. package/python/tcl/tcl8.6/msgs/pl.msg +52 -0
  2352. package/python/tcl/tcl8.6/msgs/pt.msg +50 -0
  2353. package/python/tcl/tcl8.6/msgs/pt_br.msg +7 -0
  2354. package/python/tcl/tcl8.6/msgs/ro.msg +52 -0
  2355. package/python/tcl/tcl8.6/msgs/ru.msg +52 -0
  2356. package/python/tcl/tcl8.6/msgs/ru_ua.msg +6 -0
  2357. package/python/tcl/tcl8.6/msgs/sh.msg +52 -0
  2358. package/python/tcl/tcl8.6/msgs/sk.msg +52 -0
  2359. package/python/tcl/tcl8.6/msgs/sl.msg +52 -0
  2360. package/python/tcl/tcl8.6/msgs/sq.msg +54 -0
  2361. package/python/tcl/tcl8.6/msgs/sr.msg +52 -0
  2362. package/python/tcl/tcl8.6/msgs/sv.msg +52 -0
  2363. package/python/tcl/tcl8.6/msgs/sw.msg +49 -0
  2364. package/python/tcl/tcl8.6/msgs/ta.msg +39 -0
  2365. package/python/tcl/tcl8.6/msgs/ta_in.msg +6 -0
  2366. package/python/tcl/tcl8.6/msgs/te.msg +47 -0
  2367. package/python/tcl/tcl8.6/msgs/te_in.msg +8 -0
  2368. package/python/tcl/tcl8.6/msgs/th.msg +54 -0
  2369. package/python/tcl/tcl8.6/msgs/tr.msg +50 -0
  2370. package/python/tcl/tcl8.6/msgs/uk.msg +52 -0
  2371. package/python/tcl/tcl8.6/msgs/vi.msg +50 -0
  2372. package/python/tcl/tcl8.6/msgs/zh.msg +55 -0
  2373. package/python/tcl/tcl8.6/msgs/zh_cn.msg +7 -0
  2374. package/python/tcl/tcl8.6/msgs/zh_hk.msg +28 -0
  2375. package/python/tcl/tcl8.6/msgs/zh_sg.msg +8 -0
  2376. package/python/tcl/tcl8.6/msgs/zh_tw.msg +8 -0
  2377. package/python/tcl/tcl8.6/opt0.4/optparse.tcl +1072 -0
  2378. package/python/tcl/tcl8.6/opt0.4/pkgIndex.tcl +12 -0
  2379. package/python/tcl/tcl8.6/package.tcl +751 -0
  2380. package/python/tcl/tcl8.6/parray.tcl +28 -0
  2381. package/python/tcl/tcl8.6/safe.tcl +1293 -0
  2382. package/python/tcl/tcl8.6/tclIndex +85 -0
  2383. package/python/tcl/tcl8.6/tm.tcl +380 -0
  2384. package/python/tcl/tcl8.6/tzdata/Africa/Abidjan +6 -0
  2385. package/python/tcl/tcl8.6/tzdata/Africa/Accra +5 -0
  2386. package/python/tcl/tcl8.6/tzdata/Africa/Addis_Ababa +5 -0
  2387. package/python/tcl/tcl8.6/tzdata/Africa/Algiers +39 -0
  2388. package/python/tcl/tcl8.6/tzdata/Africa/Asmara +5 -0
  2389. package/python/tcl/tcl8.6/tzdata/Africa/Asmera +5 -0
  2390. package/python/tcl/tcl8.6/tzdata/Africa/Bamako +5 -0
  2391. package/python/tcl/tcl8.6/tzdata/Africa/Bangui +5 -0
  2392. package/python/tcl/tcl8.6/tzdata/Africa/Banjul +5 -0
  2393. package/python/tcl/tcl8.6/tzdata/Africa/Bissau +7 -0
  2394. package/python/tcl/tcl8.6/tzdata/Africa/Blantyre +5 -0
  2395. package/python/tcl/tcl8.6/tzdata/Africa/Brazzaville +5 -0
  2396. package/python/tcl/tcl8.6/tzdata/Africa/Bujumbura +5 -0
  2397. package/python/tcl/tcl8.6/tzdata/Africa/Cairo +286 -0
  2398. package/python/tcl/tcl8.6/tzdata/Africa/Casablanca +202 -0
  2399. package/python/tcl/tcl8.6/tzdata/Africa/Ceuta +259 -0
  2400. package/python/tcl/tcl8.6/tzdata/Africa/Conakry +5 -0
  2401. package/python/tcl/tcl8.6/tzdata/Africa/Dakar +5 -0
  2402. package/python/tcl/tcl8.6/tzdata/Africa/Dar_es_Salaam +5 -0
  2403. package/python/tcl/tcl8.6/tzdata/Africa/Djibouti +5 -0
  2404. package/python/tcl/tcl8.6/tzdata/Africa/Douala +5 -0
  2405. package/python/tcl/tcl8.6/tzdata/Africa/El_Aaiun +191 -0
  2406. package/python/tcl/tcl8.6/tzdata/Africa/Freetown +5 -0
  2407. package/python/tcl/tcl8.6/tzdata/Africa/Gaborone +5 -0
  2408. package/python/tcl/tcl8.6/tzdata/Africa/Harare +5 -0
  2409. package/python/tcl/tcl8.6/tzdata/Africa/Johannesburg +11 -0
  2410. package/python/tcl/tcl8.6/tzdata/Africa/Juba +40 -0
  2411. package/python/tcl/tcl8.6/tzdata/Africa/Kampala +5 -0
  2412. package/python/tcl/tcl8.6/tzdata/Africa/Khartoum +40 -0
  2413. package/python/tcl/tcl8.6/tzdata/Africa/Kigali +5 -0
  2414. package/python/tcl/tcl8.6/tzdata/Africa/Kinshasa +5 -0
  2415. package/python/tcl/tcl8.6/tzdata/Africa/Lagos +9 -0
  2416. package/python/tcl/tcl8.6/tzdata/Africa/Libreville +5 -0
  2417. package/python/tcl/tcl8.6/tzdata/Africa/Lome +5 -0
  2418. package/python/tcl/tcl8.6/tzdata/Africa/Luanda +5 -0
  2419. package/python/tcl/tcl8.6/tzdata/Africa/Lubumbashi +5 -0
  2420. package/python/tcl/tcl8.6/tzdata/Africa/Lusaka +5 -0
  2421. package/python/tcl/tcl8.6/tzdata/Africa/Malabo +5 -0
  2422. package/python/tcl/tcl8.6/tzdata/Africa/Maputo +6 -0
  2423. package/python/tcl/tcl8.6/tzdata/Africa/Maseru +5 -0
  2424. package/python/tcl/tcl8.6/tzdata/Africa/Mbabane +5 -0
  2425. package/python/tcl/tcl8.6/tzdata/Africa/Mogadishu +5 -0
  2426. package/python/tcl/tcl8.6/tzdata/Africa/Monrovia +8 -0
  2427. package/python/tcl/tcl8.6/tzdata/Africa/Nairobi +10 -0
  2428. package/python/tcl/tcl8.6/tzdata/Africa/Ndjamena +8 -0
  2429. package/python/tcl/tcl8.6/tzdata/Africa/Niamey +5 -0
  2430. package/python/tcl/tcl8.6/tzdata/Africa/Nouakchott +5 -0
  2431. package/python/tcl/tcl8.6/tzdata/Africa/Ouagadougou +5 -0
  2432. package/python/tcl/tcl8.6/tzdata/Africa/Porto-Novo +5 -0
  2433. package/python/tcl/tcl8.6/tzdata/Africa/Sao_Tome +9 -0
  2434. package/python/tcl/tcl8.6/tzdata/Africa/Timbuktu +5 -0
  2435. package/python/tcl/tcl8.6/tzdata/Africa/Tripoli +34 -0
  2436. package/python/tcl/tcl8.6/tzdata/Africa/Tunis +39 -0
  2437. package/python/tcl/tcl8.6/tzdata/Africa/Windhoek +58 -0
  2438. package/python/tcl/tcl8.6/tzdata/America/Adak +276 -0
  2439. package/python/tcl/tcl8.6/tzdata/America/Anchorage +275 -0
  2440. package/python/tcl/tcl8.6/tzdata/America/Anguilla +5 -0
  2441. package/python/tcl/tcl8.6/tzdata/America/Antigua +5 -0
  2442. package/python/tcl/tcl8.6/tzdata/America/Araguaina +60 -0
  2443. package/python/tcl/tcl8.6/tzdata/America/Argentina/Buenos_Aires +67 -0
  2444. package/python/tcl/tcl8.6/tzdata/America/Argentina/Catamarca +68 -0
  2445. package/python/tcl/tcl8.6/tzdata/America/Argentina/ComodRivadavia +5 -0
  2446. package/python/tcl/tcl8.6/tzdata/America/Argentina/Cordoba +67 -0
  2447. package/python/tcl/tcl8.6/tzdata/America/Argentina/Jujuy +67 -0
  2448. package/python/tcl/tcl8.6/tzdata/America/Argentina/La_Rioja +69 -0
  2449. package/python/tcl/tcl8.6/tzdata/America/Argentina/Mendoza +68 -0
  2450. package/python/tcl/tcl8.6/tzdata/America/Argentina/Rio_Gallegos +68 -0
  2451. package/python/tcl/tcl8.6/tzdata/America/Argentina/Salta +66 -0
  2452. package/python/tcl/tcl8.6/tzdata/America/Argentina/San_Juan +69 -0
  2453. package/python/tcl/tcl8.6/tzdata/America/Argentina/San_Luis +68 -0
  2454. package/python/tcl/tcl8.6/tzdata/America/Argentina/Tucuman +69 -0
  2455. package/python/tcl/tcl8.6/tzdata/America/Argentina/Ushuaia +68 -0
  2456. package/python/tcl/tcl8.6/tzdata/America/Aruba +5 -0
  2457. package/python/tcl/tcl8.6/tzdata/America/Asuncion +259 -0
  2458. package/python/tcl/tcl8.6/tzdata/America/Atikokan +5 -0
  2459. package/python/tcl/tcl8.6/tzdata/America/Atka +5 -0
  2460. package/python/tcl/tcl8.6/tzdata/America/Bahia +68 -0
  2461. package/python/tcl/tcl8.6/tzdata/America/Bahia_Banderas +67 -0
  2462. package/python/tcl/tcl8.6/tzdata/America/Barbados +22 -0
  2463. package/python/tcl/tcl8.6/tzdata/America/Belem +35 -0
  2464. package/python/tcl/tcl8.6/tzdata/America/Belize +103 -0
  2465. package/python/tcl/tcl8.6/tzdata/America/Blanc-Sablon +5 -0
  2466. package/python/tcl/tcl8.6/tzdata/America/Boa_Vista +40 -0
  2467. package/python/tcl/tcl8.6/tzdata/America/Bogota +9 -0
  2468. package/python/tcl/tcl8.6/tzdata/America/Boise +281 -0
  2469. package/python/tcl/tcl8.6/tzdata/America/Buenos_Aires +5 -0
  2470. package/python/tcl/tcl8.6/tzdata/America/Cambridge_Bay +266 -0
  2471. package/python/tcl/tcl8.6/tzdata/America/Campo_Grande +96 -0
  2472. package/python/tcl/tcl8.6/tzdata/America/Cancun +48 -0
  2473. package/python/tcl/tcl8.6/tzdata/America/Caracas +10 -0
  2474. package/python/tcl/tcl8.6/tzdata/America/Catamarca +5 -0
  2475. package/python/tcl/tcl8.6/tzdata/America/Cayenne +7 -0
  2476. package/python/tcl/tcl8.6/tzdata/America/Cayman +5 -0
  2477. package/python/tcl/tcl8.6/tzdata/America/Chicago +369 -0
  2478. package/python/tcl/tcl8.6/tzdata/America/Chihuahua +67 -0
  2479. package/python/tcl/tcl8.6/tzdata/America/Ciudad_Juarez +223 -0
  2480. package/python/tcl/tcl8.6/tzdata/America/Coral_Harbour +5 -0
  2481. package/python/tcl/tcl8.6/tzdata/America/Cordoba +5 -0
  2482. package/python/tcl/tcl8.6/tzdata/America/Costa_Rica +15 -0
  2483. package/python/tcl/tcl8.6/tzdata/America/Creston +5 -0
  2484. package/python/tcl/tcl8.6/tzdata/America/Cuiaba +96 -0
  2485. package/python/tcl/tcl8.6/tzdata/America/Curacao +5 -0
  2486. package/python/tcl/tcl8.6/tzdata/America/Danmarkshavn +39 -0
  2487. package/python/tcl/tcl8.6/tzdata/America/Dawson +100 -0
  2488. package/python/tcl/tcl8.6/tzdata/America/Dawson_Creek +64 -0
  2489. package/python/tcl/tcl8.6/tzdata/America/Denver +291 -0
  2490. package/python/tcl/tcl8.6/tzdata/America/Detroit +275 -0
  2491. package/python/tcl/tcl8.6/tzdata/America/Dominica +5 -0
  2492. package/python/tcl/tcl8.6/tzdata/America/Edmonton +280 -0
  2493. package/python/tcl/tcl8.6/tzdata/America/Eirunepe +41 -0
  2494. package/python/tcl/tcl8.6/tzdata/America/El_Salvador +10 -0
  2495. package/python/tcl/tcl8.6/tzdata/America/Ensenada +5 -0
  2496. package/python/tcl/tcl8.6/tzdata/America/Fort_Nelson +151 -0
  2497. package/python/tcl/tcl8.6/tzdata/America/Fort_Wayne +5 -0
  2498. package/python/tcl/tcl8.6/tzdata/America/Fortaleza +48 -0
  2499. package/python/tcl/tcl8.6/tzdata/America/Glace_Bay +273 -0
  2500. package/python/tcl/tcl8.6/tzdata/America/Godthab +5 -0
  2501. package/python/tcl/tcl8.6/tzdata/America/Goose_Bay +338 -0
  2502. package/python/tcl/tcl8.6/tzdata/America/Grand_Turk +245 -0
  2503. package/python/tcl/tcl8.6/tzdata/America/Grenada +5 -0
  2504. package/python/tcl/tcl8.6/tzdata/America/Guadeloupe +5 -0
  2505. package/python/tcl/tcl8.6/tzdata/America/Guatemala +14 -0
  2506. package/python/tcl/tcl8.6/tzdata/America/Guayaquil +9 -0
  2507. package/python/tcl/tcl8.6/tzdata/America/Guyana +9 -0
  2508. package/python/tcl/tcl8.6/tzdata/America/Halifax +361 -0
  2509. package/python/tcl/tcl8.6/tzdata/America/Havana +285 -0
  2510. package/python/tcl/tcl8.6/tzdata/America/Hermosillo +20 -0
  2511. package/python/tcl/tcl8.6/tzdata/America/Indiana/Indianapolis +234 -0
  2512. package/python/tcl/tcl8.6/tzdata/America/Indiana/Knox +285 -0
  2513. package/python/tcl/tcl8.6/tzdata/America/Indiana/Marengo +236 -0
  2514. package/python/tcl/tcl8.6/tzdata/America/Indiana/Petersburg +247 -0
  2515. package/python/tcl/tcl8.6/tzdata/America/Indiana/Tell_City +230 -0
  2516. package/python/tcl/tcl8.6/tzdata/America/Indiana/Vevay +213 -0
  2517. package/python/tcl/tcl8.6/tzdata/America/Indiana/Vincennes +234 -0
  2518. package/python/tcl/tcl8.6/tzdata/America/Indiana/Winamac +240 -0
  2519. package/python/tcl/tcl8.6/tzdata/America/Indianapolis +5 -0
  2520. package/python/tcl/tcl8.6/tzdata/America/Inuvik +263 -0
  2521. package/python/tcl/tcl8.6/tzdata/America/Iqaluit +264 -0
  2522. package/python/tcl/tcl8.6/tzdata/America/Jamaica +29 -0
  2523. package/python/tcl/tcl8.6/tzdata/America/Jujuy +5 -0
  2524. package/python/tcl/tcl8.6/tzdata/America/Juneau +276 -0
  2525. package/python/tcl/tcl8.6/tzdata/America/Kentucky/Louisville +311 -0
  2526. package/python/tcl/tcl8.6/tzdata/America/Kentucky/Monticello +279 -0
  2527. package/python/tcl/tcl8.6/tzdata/America/Knox_IN +5 -0
  2528. package/python/tcl/tcl8.6/tzdata/America/Kralendijk +5 -0
  2529. package/python/tcl/tcl8.6/tzdata/America/La_Paz +8 -0
  2530. package/python/tcl/tcl8.6/tzdata/America/Lima +16 -0
  2531. package/python/tcl/tcl8.6/tzdata/America/Los_Angeles +317 -0
  2532. package/python/tcl/tcl8.6/tzdata/America/Louisville +5 -0
  2533. package/python/tcl/tcl8.6/tzdata/America/Lower_Princes +5 -0
  2534. package/python/tcl/tcl8.6/tzdata/America/Maceio +52 -0
  2535. package/python/tcl/tcl8.6/tzdata/America/Managua +21 -0
  2536. package/python/tcl/tcl8.6/tzdata/America/Manaus +39 -0
  2537. package/python/tcl/tcl8.6/tzdata/America/Marigot +5 -0
  2538. package/python/tcl/tcl8.6/tzdata/America/Martinique +9 -0
  2539. package/python/tcl/tcl8.6/tzdata/America/Matamoros +219 -0
  2540. package/python/tcl/tcl8.6/tzdata/America/Mazatlan +67 -0
  2541. package/python/tcl/tcl8.6/tzdata/America/Mendoza +5 -0
  2542. package/python/tcl/tcl8.6/tzdata/America/Menominee +274 -0
  2543. package/python/tcl/tcl8.6/tzdata/America/Merida +62 -0
  2544. package/python/tcl/tcl8.6/tzdata/America/Metlakatla +213 -0
  2545. package/python/tcl/tcl8.6/tzdata/America/Mexico_City +74 -0
  2546. package/python/tcl/tcl8.6/tzdata/America/Miquelon +234 -0
  2547. package/python/tcl/tcl8.6/tzdata/America/Moncton +342 -0
  2548. package/python/tcl/tcl8.6/tzdata/America/Monterrey +69 -0
  2549. package/python/tcl/tcl8.6/tzdata/America/Montevideo +96 -0
  2550. package/python/tcl/tcl8.6/tzdata/America/Montreal +5 -0
  2551. package/python/tcl/tcl8.6/tzdata/America/Montserrat +5 -0
  2552. package/python/tcl/tcl8.6/tzdata/America/Nassau +5 -0
  2553. package/python/tcl/tcl8.6/tzdata/America/New_York +369 -0
  2554. package/python/tcl/tcl8.6/tzdata/America/Nipigon +5 -0
  2555. package/python/tcl/tcl8.6/tzdata/America/Nome +276 -0
  2556. package/python/tcl/tcl8.6/tzdata/America/Noronha +48 -0
  2557. package/python/tcl/tcl8.6/tzdata/America/North_Dakota/Beulah +279 -0
  2558. package/python/tcl/tcl8.6/tzdata/America/North_Dakota/Center +279 -0
  2559. package/python/tcl/tcl8.6/tzdata/America/North_Dakota/New_Salem +279 -0
  2560. package/python/tcl/tcl8.6/tzdata/America/Nuuk +246 -0
  2561. package/python/tcl/tcl8.6/tzdata/America/Ojinaga +223 -0
  2562. package/python/tcl/tcl8.6/tzdata/America/Panama +7 -0
  2563. package/python/tcl/tcl8.6/tzdata/America/Pangnirtung +5 -0
  2564. package/python/tcl/tcl8.6/tzdata/America/Paramaribo +9 -0
  2565. package/python/tcl/tcl8.6/tzdata/America/Phoenix +17 -0
  2566. package/python/tcl/tcl8.6/tzdata/America/Port-au-Prince +215 -0
  2567. package/python/tcl/tcl8.6/tzdata/America/Port_of_Spain +5 -0
  2568. package/python/tcl/tcl8.6/tzdata/America/Porto_Acre +5 -0
  2569. package/python/tcl/tcl8.6/tzdata/America/Porto_Velho +35 -0
  2570. package/python/tcl/tcl8.6/tzdata/America/Puerto_Rico +10 -0
  2571. package/python/tcl/tcl8.6/tzdata/America/Punta_Arenas +123 -0
  2572. package/python/tcl/tcl8.6/tzdata/America/Rainy_River +5 -0
  2573. package/python/tcl/tcl8.6/tzdata/America/Rankin_Inlet +262 -0
  2574. package/python/tcl/tcl8.6/tzdata/America/Recife +48 -0
  2575. package/python/tcl/tcl8.6/tzdata/America/Regina +58 -0
  2576. package/python/tcl/tcl8.6/tzdata/America/Resolute +262 -0
  2577. package/python/tcl/tcl8.6/tzdata/America/Rio_Branco +37 -0
  2578. package/python/tcl/tcl8.6/tzdata/America/Rosario +5 -0
  2579. package/python/tcl/tcl8.6/tzdata/America/Santa_Isabel +5 -0
  2580. package/python/tcl/tcl8.6/tzdata/America/Santarem +36 -0
  2581. package/python/tcl/tcl8.6/tzdata/America/Santiago +289 -0
  2582. package/python/tcl/tcl8.6/tzdata/America/Santo_Domingo +21 -0
  2583. package/python/tcl/tcl8.6/tzdata/America/Sao_Paulo +97 -0
  2584. package/python/tcl/tcl8.6/tzdata/America/Scoresbysund +246 -0
  2585. package/python/tcl/tcl8.6/tzdata/America/Shiprock +5 -0
  2586. package/python/tcl/tcl8.6/tzdata/America/Sitka +275 -0
  2587. package/python/tcl/tcl8.6/tzdata/America/St_Barthelemy +5 -0
  2588. package/python/tcl/tcl8.6/tzdata/America/St_Johns +372 -0
  2589. package/python/tcl/tcl8.6/tzdata/America/St_Kitts +5 -0
  2590. package/python/tcl/tcl8.6/tzdata/America/St_Lucia +5 -0
  2591. package/python/tcl/tcl8.6/tzdata/America/St_Thomas +5 -0
  2592. package/python/tcl/tcl8.6/tzdata/America/St_Vincent +5 -0
  2593. package/python/tcl/tcl8.6/tzdata/America/Swift_Current +29 -0
  2594. package/python/tcl/tcl8.6/tzdata/America/Tegucigalpa +12 -0
  2595. package/python/tcl/tcl8.6/tzdata/America/Thule +224 -0
  2596. package/python/tcl/tcl8.6/tzdata/America/Thunder_Bay +5 -0
  2597. package/python/tcl/tcl8.6/tzdata/America/Tijuana +291 -0
  2598. package/python/tcl/tcl8.6/tzdata/America/Toronto +365 -0
  2599. package/python/tcl/tcl8.6/tzdata/America/Tortola +5 -0
  2600. package/python/tcl/tcl8.6/tzdata/America/Vancouver +320 -0
  2601. package/python/tcl/tcl8.6/tzdata/America/Virgin +5 -0
  2602. package/python/tcl/tcl8.6/tzdata/America/Whitehorse +100 -0
  2603. package/python/tcl/tcl8.6/tzdata/America/Winnipeg +316 -0
  2604. package/python/tcl/tcl8.6/tzdata/America/Yakutat +276 -0
  2605. package/python/tcl/tcl8.6/tzdata/America/Yellowknife +5 -0
  2606. package/python/tcl/tcl8.6/tzdata/Antarctica/Casey +22 -0
  2607. package/python/tcl/tcl8.6/tzdata/Antarctica/Davis +12 -0
  2608. package/python/tcl/tcl8.6/tzdata/Antarctica/DumontDUrville +5 -0
  2609. package/python/tcl/tcl8.6/tzdata/Antarctica/Macquarie +276 -0
  2610. package/python/tcl/tcl8.6/tzdata/Antarctica/Mawson +7 -0
  2611. package/python/tcl/tcl8.6/tzdata/Antarctica/McMurdo +5 -0
  2612. package/python/tcl/tcl8.6/tzdata/Antarctica/Palmer +87 -0
  2613. package/python/tcl/tcl8.6/tzdata/Antarctica/Rothera +6 -0
  2614. package/python/tcl/tcl8.6/tzdata/Antarctica/South_Pole +5 -0
  2615. package/python/tcl/tcl8.6/tzdata/Antarctica/Syowa +5 -0
  2616. package/python/tcl/tcl8.6/tzdata/Antarctica/Troll +196 -0
  2617. package/python/tcl/tcl8.6/tzdata/Antarctica/Vostok +9 -0
  2618. package/python/tcl/tcl8.6/tzdata/Arctic/Longyearbyen +5 -0
  2619. package/python/tcl/tcl8.6/tzdata/Asia/Aden +5 -0
  2620. package/python/tcl/tcl8.6/tzdata/Asia/Almaty +58 -0
  2621. package/python/tcl/tcl8.6/tzdata/Asia/Amman +92 -0
  2622. package/python/tcl/tcl8.6/tzdata/Asia/Anadyr +72 -0
  2623. package/python/tcl/tcl8.6/tzdata/Asia/Aqtau +58 -0
  2624. package/python/tcl/tcl8.6/tzdata/Asia/Aqtobe +58 -0
  2625. package/python/tcl/tcl8.6/tzdata/Asia/Ashgabat +31 -0
  2626. package/python/tcl/tcl8.6/tzdata/Asia/Ashkhabad +5 -0
  2627. package/python/tcl/tcl8.6/tzdata/Asia/Atyrau +58 -0
  2628. package/python/tcl/tcl8.6/tzdata/Asia/Baghdad +59 -0
  2629. package/python/tcl/tcl8.6/tzdata/Asia/Bahrain +5 -0
  2630. package/python/tcl/tcl8.6/tzdata/Asia/Baku +74 -0
  2631. package/python/tcl/tcl8.6/tzdata/Asia/Bangkok +7 -0
  2632. package/python/tcl/tcl8.6/tzdata/Asia/Barnaul +73 -0
  2633. package/python/tcl/tcl8.6/tzdata/Asia/Beirut +270 -0
  2634. package/python/tcl/tcl8.6/tzdata/Asia/Bishkek +58 -0
  2635. package/python/tcl/tcl8.6/tzdata/Asia/Brunei +5 -0
  2636. package/python/tcl/tcl8.6/tzdata/Asia/Calcutta +5 -0
  2637. package/python/tcl/tcl8.6/tzdata/Asia/Chita +72 -0
  2638. package/python/tcl/tcl8.6/tzdata/Asia/Choibalsan +5 -0
  2639. package/python/tcl/tcl8.6/tzdata/Asia/Chongqing +5 -0
  2640. package/python/tcl/tcl8.6/tzdata/Asia/Chungking +5 -0
  2641. package/python/tcl/tcl8.6/tzdata/Asia/Colombo +13 -0
  2642. package/python/tcl/tcl8.6/tzdata/Asia/Dacca +5 -0
  2643. package/python/tcl/tcl8.6/tzdata/Asia/Damascus +126 -0
  2644. package/python/tcl/tcl8.6/tzdata/Asia/Dhaka +13 -0
  2645. package/python/tcl/tcl8.6/tzdata/Asia/Dili +9 -0
  2646. package/python/tcl/tcl8.6/tzdata/Asia/Dubai +6 -0
  2647. package/python/tcl/tcl8.6/tzdata/Asia/Dushanbe +29 -0
  2648. package/python/tcl/tcl8.6/tzdata/Asia/Famagusta +256 -0
  2649. package/python/tcl/tcl8.6/tzdata/Asia/Gaza +344 -0
  2650. package/python/tcl/tcl8.6/tzdata/Asia/Harbin +5 -0
  2651. package/python/tcl/tcl8.6/tzdata/Asia/Hebron +343 -0
  2652. package/python/tcl/tcl8.6/tzdata/Asia/Ho_Chi_Minh +14 -0
  2653. package/python/tcl/tcl8.6/tzdata/Asia/Hong_Kong +75 -0
  2654. package/python/tcl/tcl8.6/tzdata/Asia/Hovd +55 -0
  2655. package/python/tcl/tcl8.6/tzdata/Asia/Irkutsk +72 -0
  2656. package/python/tcl/tcl8.6/tzdata/Asia/Istanbul +5 -0
  2657. package/python/tcl/tcl8.6/tzdata/Asia/Jakarta +13 -0
  2658. package/python/tcl/tcl8.6/tzdata/Asia/Jayapura +8 -0
  2659. package/python/tcl/tcl8.6/tzdata/Asia/Jerusalem +278 -0
  2660. package/python/tcl/tcl8.6/tzdata/Asia/Kabul +7 -0
  2661. package/python/tcl/tcl8.6/tzdata/Asia/Kamchatka +71 -0
  2662. package/python/tcl/tcl8.6/tzdata/Asia/Karachi +16 -0
  2663. package/python/tcl/tcl8.6/tzdata/Asia/Kashgar +5 -0
  2664. package/python/tcl/tcl8.6/tzdata/Asia/Kathmandu +7 -0
  2665. package/python/tcl/tcl8.6/tzdata/Asia/Katmandu +5 -0
  2666. package/python/tcl/tcl8.6/tzdata/Asia/Khandyga +73 -0
  2667. package/python/tcl/tcl8.6/tzdata/Asia/Kolkata +12 -0
  2668. package/python/tcl/tcl8.6/tzdata/Asia/Krasnoyarsk +71 -0
  2669. package/python/tcl/tcl8.6/tzdata/Asia/Kuala_Lumpur +5 -0
  2670. package/python/tcl/tcl8.6/tzdata/Asia/Kuching +23 -0
  2671. package/python/tcl/tcl8.6/tzdata/Asia/Kuwait +5 -0
  2672. package/python/tcl/tcl8.6/tzdata/Asia/Macao +5 -0
  2673. package/python/tcl/tcl8.6/tzdata/Asia/Macau +76 -0
  2674. package/python/tcl/tcl8.6/tzdata/Asia/Magadan +72 -0
  2675. package/python/tcl/tcl8.6/tzdata/Asia/Makassar +9 -0
  2676. package/python/tcl/tcl8.6/tzdata/Asia/Manila +15 -0
  2677. package/python/tcl/tcl8.6/tzdata/Asia/Muscat +5 -0
  2678. package/python/tcl/tcl8.6/tzdata/Asia/Nicosia +257 -0
  2679. package/python/tcl/tcl8.6/tzdata/Asia/Novokuznetsk +71 -0
  2680. package/python/tcl/tcl8.6/tzdata/Asia/Novosibirsk +73 -0
  2681. package/python/tcl/tcl8.6/tzdata/Asia/Omsk +71 -0
  2682. package/python/tcl/tcl8.6/tzdata/Asia/Oral +58 -0
  2683. package/python/tcl/tcl8.6/tzdata/Asia/Phnom_Penh +5 -0
  2684. package/python/tcl/tcl8.6/tzdata/Asia/Pontianak +13 -0
  2685. package/python/tcl/tcl8.6/tzdata/Asia/Pyongyang +10 -0
  2686. package/python/tcl/tcl8.6/tzdata/Asia/Qatar +7 -0
  2687. package/python/tcl/tcl8.6/tzdata/Asia/Qostanay +59 -0
  2688. package/python/tcl/tcl8.6/tzdata/Asia/Qyzylorda +58 -0
  2689. package/python/tcl/tcl8.6/tzdata/Asia/Rangoon +5 -0
  2690. package/python/tcl/tcl8.6/tzdata/Asia/Riyadh +6 -0
  2691. package/python/tcl/tcl8.6/tzdata/Asia/Saigon +5 -0
  2692. package/python/tcl/tcl8.6/tzdata/Asia/Sakhalin +73 -0
  2693. package/python/tcl/tcl8.6/tzdata/Asia/Samarkand +31 -0
  2694. package/python/tcl/tcl8.6/tzdata/Asia/Seoul +34 -0
  2695. package/python/tcl/tcl8.6/tzdata/Asia/Shanghai +34 -0
  2696. package/python/tcl/tcl8.6/tzdata/Asia/Singapore +13 -0
  2697. package/python/tcl/tcl8.6/tzdata/Asia/Srednekolymsk +71 -0
  2698. package/python/tcl/tcl8.6/tzdata/Asia/Taipei +46 -0
  2699. package/python/tcl/tcl8.6/tzdata/Asia/Tashkent +31 -0
  2700. package/python/tcl/tcl8.6/tzdata/Asia/Tbilisi +60 -0
  2701. package/python/tcl/tcl8.6/tzdata/Asia/Tehran +76 -0
  2702. package/python/tcl/tcl8.6/tzdata/Asia/Tel_Aviv +5 -0
  2703. package/python/tcl/tcl8.6/tzdata/Asia/Thimbu +5 -0
  2704. package/python/tcl/tcl8.6/tzdata/Asia/Thimphu +7 -0
  2705. package/python/tcl/tcl8.6/tzdata/Asia/Tokyo +14 -0
  2706. package/python/tcl/tcl8.6/tzdata/Asia/Tomsk +73 -0
  2707. package/python/tcl/tcl8.6/tzdata/Asia/Ujung_Pandang +5 -0
  2708. package/python/tcl/tcl8.6/tzdata/Asia/Ulaanbaatar +55 -0
  2709. package/python/tcl/tcl8.6/tzdata/Asia/Ulan_Bator +5 -0
  2710. package/python/tcl/tcl8.6/tzdata/Asia/Urumqi +6 -0
  2711. package/python/tcl/tcl8.6/tzdata/Asia/Ust-Nera +71 -0
  2712. package/python/tcl/tcl8.6/tzdata/Asia/Vientiane +5 -0
  2713. package/python/tcl/tcl8.6/tzdata/Asia/Vladivostok +71 -0
  2714. package/python/tcl/tcl8.6/tzdata/Asia/Yakutsk +71 -0
  2715. package/python/tcl/tcl8.6/tzdata/Asia/Yangon +9 -0
  2716. package/python/tcl/tcl8.6/tzdata/Asia/Yekaterinburg +72 -0
  2717. package/python/tcl/tcl8.6/tzdata/Asia/Yerevan +70 -0
  2718. package/python/tcl/tcl8.6/tzdata/Atlantic/Azores +346 -0
  2719. package/python/tcl/tcl8.6/tzdata/Atlantic/Bermuda +286 -0
  2720. package/python/tcl/tcl8.6/tzdata/Atlantic/Canary +247 -0
  2721. package/python/tcl/tcl8.6/tzdata/Atlantic/Cape_Verde +9 -0
  2722. package/python/tcl/tcl8.6/tzdata/Atlantic/Faeroe +5 -0
  2723. package/python/tcl/tcl8.6/tzdata/Atlantic/Faroe +245 -0
  2724. package/python/tcl/tcl8.6/tzdata/Atlantic/Jan_Mayen +5 -0
  2725. package/python/tcl/tcl8.6/tzdata/Atlantic/Madeira +344 -0
  2726. package/python/tcl/tcl8.6/tzdata/Atlantic/Reykjavik +5 -0
  2727. package/python/tcl/tcl8.6/tzdata/Atlantic/South_Georgia +6 -0
  2728. package/python/tcl/tcl8.6/tzdata/Atlantic/St_Helena +5 -0
  2729. package/python/tcl/tcl8.6/tzdata/Atlantic/Stanley +75 -0
  2730. package/python/tcl/tcl8.6/tzdata/Australia/ACT +5 -0
  2731. package/python/tcl/tcl8.6/tzdata/Australia/Adelaide +273 -0
  2732. package/python/tcl/tcl8.6/tzdata/Australia/Brisbane +23 -0
  2733. package/python/tcl/tcl8.6/tzdata/Australia/Broken_Hill +275 -0
  2734. package/python/tcl/tcl8.6/tzdata/Australia/Canberra +5 -0
  2735. package/python/tcl/tcl8.6/tzdata/Australia/Currie +5 -0
  2736. package/python/tcl/tcl8.6/tzdata/Australia/Darwin +15 -0
  2737. package/python/tcl/tcl8.6/tzdata/Australia/Eucla +25 -0
  2738. package/python/tcl/tcl8.6/tzdata/Australia/Hobart +285 -0
  2739. package/python/tcl/tcl8.6/tzdata/Australia/LHI +5 -0
  2740. package/python/tcl/tcl8.6/tzdata/Australia/Lindeman +28 -0
  2741. package/python/tcl/tcl8.6/tzdata/Australia/Lord_Howe +245 -0
  2742. package/python/tcl/tcl8.6/tzdata/Australia/Melbourne +272 -0
  2743. package/python/tcl/tcl8.6/tzdata/Australia/NSW +5 -0
  2744. package/python/tcl/tcl8.6/tzdata/Australia/North +5 -0
  2745. package/python/tcl/tcl8.6/tzdata/Australia/Perth +25 -0
  2746. package/python/tcl/tcl8.6/tzdata/Australia/Queensland +5 -0
  2747. package/python/tcl/tcl8.6/tzdata/Australia/South +5 -0
  2748. package/python/tcl/tcl8.6/tzdata/Australia/Sydney +272 -0
  2749. package/python/tcl/tcl8.6/tzdata/Australia/Tasmania +5 -0
  2750. package/python/tcl/tcl8.6/tzdata/Australia/Victoria +5 -0
  2751. package/python/tcl/tcl8.6/tzdata/Australia/West +5 -0
  2752. package/python/tcl/tcl8.6/tzdata/Australia/Yancowinna +5 -0
  2753. package/python/tcl/tcl8.6/tzdata/Brazil/Acre +5 -0
  2754. package/python/tcl/tcl8.6/tzdata/Brazil/DeNoronha +5 -0
  2755. package/python/tcl/tcl8.6/tzdata/Brazil/East +5 -0
  2756. package/python/tcl/tcl8.6/tzdata/Brazil/West +5 -0
  2757. package/python/tcl/tcl8.6/tzdata/CET +5 -0
  2758. package/python/tcl/tcl8.6/tzdata/CST6CDT +5 -0
  2759. package/python/tcl/tcl8.6/tzdata/Canada/Atlantic +5 -0
  2760. package/python/tcl/tcl8.6/tzdata/Canada/Central +5 -0
  2761. package/python/tcl/tcl8.6/tzdata/Canada/Eastern +5 -0
  2762. package/python/tcl/tcl8.6/tzdata/Canada/Mountain +5 -0
  2763. package/python/tcl/tcl8.6/tzdata/Canada/Newfoundland +5 -0
  2764. package/python/tcl/tcl8.6/tzdata/Canada/Pacific +5 -0
  2765. package/python/tcl/tcl8.6/tzdata/Canada/Saskatchewan +5 -0
  2766. package/python/tcl/tcl8.6/tzdata/Canada/Yukon +5 -0
  2767. package/python/tcl/tcl8.6/tzdata/Chile/Continental +5 -0
  2768. package/python/tcl/tcl8.6/tzdata/Chile/EasterIsland +5 -0
  2769. package/python/tcl/tcl8.6/tzdata/Cuba +5 -0
  2770. package/python/tcl/tcl8.6/tzdata/EET +5 -0
  2771. package/python/tcl/tcl8.6/tzdata/EST +5 -0
  2772. package/python/tcl/tcl8.6/tzdata/EST5EDT +5 -0
  2773. package/python/tcl/tcl8.6/tzdata/Egypt +5 -0
  2774. package/python/tcl/tcl8.6/tzdata/Eire +5 -0
  2775. package/python/tcl/tcl8.6/tzdata/Etc/GMT +5 -0
  2776. package/python/tcl/tcl8.6/tzdata/Etc/GMT+0 +5 -0
  2777. package/python/tcl/tcl8.6/tzdata/Etc/GMT+1 +5 -0
  2778. package/python/tcl/tcl8.6/tzdata/Etc/GMT+10 +5 -0
  2779. package/python/tcl/tcl8.6/tzdata/Etc/GMT+11 +5 -0
  2780. package/python/tcl/tcl8.6/tzdata/Etc/GMT+12 +5 -0
  2781. package/python/tcl/tcl8.6/tzdata/Etc/GMT+2 +5 -0
  2782. package/python/tcl/tcl8.6/tzdata/Etc/GMT+3 +5 -0
  2783. package/python/tcl/tcl8.6/tzdata/Etc/GMT+4 +5 -0
  2784. package/python/tcl/tcl8.6/tzdata/Etc/GMT+5 +5 -0
  2785. package/python/tcl/tcl8.6/tzdata/Etc/GMT+6 +5 -0
  2786. package/python/tcl/tcl8.6/tzdata/Etc/GMT+7 +5 -0
  2787. package/python/tcl/tcl8.6/tzdata/Etc/GMT+8 +5 -0
  2788. package/python/tcl/tcl8.6/tzdata/Etc/GMT+9 +5 -0
  2789. package/python/tcl/tcl8.6/tzdata/Etc/GMT-0 +5 -0
  2790. package/python/tcl/tcl8.6/tzdata/Etc/GMT-1 +5 -0
  2791. package/python/tcl/tcl8.6/tzdata/Etc/GMT-10 +5 -0
  2792. package/python/tcl/tcl8.6/tzdata/Etc/GMT-11 +5 -0
  2793. package/python/tcl/tcl8.6/tzdata/Etc/GMT-12 +5 -0
  2794. package/python/tcl/tcl8.6/tzdata/Etc/GMT-13 +5 -0
  2795. package/python/tcl/tcl8.6/tzdata/Etc/GMT-14 +5 -0
  2796. package/python/tcl/tcl8.6/tzdata/Etc/GMT-2 +5 -0
  2797. package/python/tcl/tcl8.6/tzdata/Etc/GMT-3 +5 -0
  2798. package/python/tcl/tcl8.6/tzdata/Etc/GMT-4 +5 -0
  2799. package/python/tcl/tcl8.6/tzdata/Etc/GMT-5 +5 -0
  2800. package/python/tcl/tcl8.6/tzdata/Etc/GMT-6 +5 -0
  2801. package/python/tcl/tcl8.6/tzdata/Etc/GMT-7 +5 -0
  2802. package/python/tcl/tcl8.6/tzdata/Etc/GMT-8 +5 -0
  2803. package/python/tcl/tcl8.6/tzdata/Etc/GMT-9 +5 -0
  2804. package/python/tcl/tcl8.6/tzdata/Etc/GMT0 +5 -0
  2805. package/python/tcl/tcl8.6/tzdata/Etc/Greenwich +5 -0
  2806. package/python/tcl/tcl8.6/tzdata/Etc/UCT +5 -0
  2807. package/python/tcl/tcl8.6/tzdata/Etc/UTC +5 -0
  2808. package/python/tcl/tcl8.6/tzdata/Etc/Universal +5 -0
  2809. package/python/tcl/tcl8.6/tzdata/Etc/Zulu +5 -0
  2810. package/python/tcl/tcl8.6/tzdata/Europe/Amsterdam +5 -0
  2811. package/python/tcl/tcl8.6/tzdata/Europe/Andorra +237 -0
  2812. package/python/tcl/tcl8.6/tzdata/Europe/Astrakhan +71 -0
  2813. package/python/tcl/tcl8.6/tzdata/Europe/Athens +268 -0
  2814. package/python/tcl/tcl8.6/tzdata/Europe/Belfast +5 -0
  2815. package/python/tcl/tcl8.6/tzdata/Europe/Belgrade +250 -0
  2816. package/python/tcl/tcl8.6/tzdata/Europe/Berlin +274 -0
  2817. package/python/tcl/tcl8.6/tzdata/Europe/Bratislava +5 -0
  2818. package/python/tcl/tcl8.6/tzdata/Europe/Brussels +316 -0
  2819. package/python/tcl/tcl8.6/tzdata/Europe/Bucharest +268 -0
  2820. package/python/tcl/tcl8.6/tzdata/Europe/Budapest +283 -0
  2821. package/python/tcl/tcl8.6/tzdata/Europe/Busingen +5 -0
  2822. package/python/tcl/tcl8.6/tzdata/Europe/Chisinau +272 -0
  2823. package/python/tcl/tcl8.6/tzdata/Europe/Copenhagen +5 -0
  2824. package/python/tcl/tcl8.6/tzdata/Europe/Dublin +358 -0
  2825. package/python/tcl/tcl8.6/tzdata/Europe/Gibraltar +328 -0
  2826. package/python/tcl/tcl8.6/tzdata/Europe/Guernsey +5 -0
  2827. package/python/tcl/tcl8.6/tzdata/Europe/Helsinki +248 -0
  2828. package/python/tcl/tcl8.6/tzdata/Europe/Isle_of_Man +5 -0
  2829. package/python/tcl/tcl8.6/tzdata/Europe/Istanbul +125 -0
  2830. package/python/tcl/tcl8.6/tzdata/Europe/Jersey +5 -0
  2831. package/python/tcl/tcl8.6/tzdata/Europe/Kaliningrad +86 -0
  2832. package/python/tcl/tcl8.6/tzdata/Europe/Kiev +5 -0
  2833. package/python/tcl/tcl8.6/tzdata/Europe/Kirov +70 -0
  2834. package/python/tcl/tcl8.6/tzdata/Europe/Kyiv +251 -0
  2835. package/python/tcl/tcl8.6/tzdata/Europe/Lisbon +356 -0
  2836. package/python/tcl/tcl8.6/tzdata/Europe/Ljubljana +5 -0
  2837. package/python/tcl/tcl8.6/tzdata/Europe/London +372 -0
  2838. package/python/tcl/tcl8.6/tzdata/Europe/Luxembourg +5 -0
  2839. package/python/tcl/tcl8.6/tzdata/Europe/Madrid +292 -0
  2840. package/python/tcl/tcl8.6/tzdata/Europe/Malta +299 -0
  2841. package/python/tcl/tcl8.6/tzdata/Europe/Mariehamn +5 -0
  2842. package/python/tcl/tcl8.6/tzdata/Europe/Minsk +75 -0
  2843. package/python/tcl/tcl8.6/tzdata/Europe/Monaco +5 -0
  2844. package/python/tcl/tcl8.6/tzdata/Europe/Moscow +83 -0
  2845. package/python/tcl/tcl8.6/tzdata/Europe/Nicosia +5 -0
  2846. package/python/tcl/tcl8.6/tzdata/Europe/Oslo +5 -0
  2847. package/python/tcl/tcl8.6/tzdata/Europe/Paris +314 -0
  2848. package/python/tcl/tcl8.6/tzdata/Europe/Podgorica +5 -0
  2849. package/python/tcl/tcl8.6/tzdata/Europe/Prague +275 -0
  2850. package/python/tcl/tcl8.6/tzdata/Europe/Riga +258 -0
  2851. package/python/tcl/tcl8.6/tzdata/Europe/Rome +302 -0
  2852. package/python/tcl/tcl8.6/tzdata/Europe/Samara +73 -0
  2853. package/python/tcl/tcl8.6/tzdata/Europe/San_Marino +5 -0
  2854. package/python/tcl/tcl8.6/tzdata/Europe/Sarajevo +5 -0
  2855. package/python/tcl/tcl8.6/tzdata/Europe/Saratov +71 -0
  2856. package/python/tcl/tcl8.6/tzdata/Europe/Simferopol +82 -0
  2857. package/python/tcl/tcl8.6/tzdata/Europe/Skopje +5 -0
  2858. package/python/tcl/tcl8.6/tzdata/Europe/Sofia +258 -0
  2859. package/python/tcl/tcl8.6/tzdata/Europe/Stockholm +5 -0
  2860. package/python/tcl/tcl8.6/tzdata/Europe/Tallinn +254 -0
  2861. package/python/tcl/tcl8.6/tzdata/Europe/Tirane +263 -0
  2862. package/python/tcl/tcl8.6/tzdata/Europe/Tiraspol +5 -0
  2863. package/python/tcl/tcl8.6/tzdata/Europe/Ulyanovsk +73 -0
  2864. package/python/tcl/tcl8.6/tzdata/Europe/Uzhgorod +5 -0
  2865. package/python/tcl/tcl8.6/tzdata/Europe/Vaduz +5 -0
  2866. package/python/tcl/tcl8.6/tzdata/Europe/Vatican +5 -0
  2867. package/python/tcl/tcl8.6/tzdata/Europe/Vienna +271 -0
  2868. package/python/tcl/tcl8.6/tzdata/Europe/Vilnius +252 -0
  2869. package/python/tcl/tcl8.6/tzdata/Europe/Volgograd +73 -0
  2870. package/python/tcl/tcl8.6/tzdata/Europe/Warsaw +296 -0
  2871. package/python/tcl/tcl8.6/tzdata/Europe/Zagreb +5 -0
  2872. package/python/tcl/tcl8.6/tzdata/Europe/Zaporozhye +5 -0
  2873. package/python/tcl/tcl8.6/tzdata/Europe/Zurich +250 -0
  2874. package/python/tcl/tcl8.6/tzdata/GB +5 -0
  2875. package/python/tcl/tcl8.6/tzdata/GB-Eire +5 -0
  2876. package/python/tcl/tcl8.6/tzdata/GMT +5 -0
  2877. package/python/tcl/tcl8.6/tzdata/GMT+0 +5 -0
  2878. package/python/tcl/tcl8.6/tzdata/GMT-0 +5 -0
  2879. package/python/tcl/tcl8.6/tzdata/GMT0 +5 -0
  2880. package/python/tcl/tcl8.6/tzdata/Greenwich +5 -0
  2881. package/python/tcl/tcl8.6/tzdata/HST +5 -0
  2882. package/python/tcl/tcl8.6/tzdata/Hongkong +5 -0
  2883. package/python/tcl/tcl8.6/tzdata/Iceland +5 -0
  2884. package/python/tcl/tcl8.6/tzdata/Indian/Antananarivo +5 -0
  2885. package/python/tcl/tcl8.6/tzdata/Indian/Chagos +7 -0
  2886. package/python/tcl/tcl8.6/tzdata/Indian/Christmas +5 -0
  2887. package/python/tcl/tcl8.6/tzdata/Indian/Cocos +5 -0
  2888. package/python/tcl/tcl8.6/tzdata/Indian/Comoro +5 -0
  2889. package/python/tcl/tcl8.6/tzdata/Indian/Kerguelen +5 -0
  2890. package/python/tcl/tcl8.6/tzdata/Indian/Mahe +5 -0
  2891. package/python/tcl/tcl8.6/tzdata/Indian/Maldives +7 -0
  2892. package/python/tcl/tcl8.6/tzdata/Indian/Mauritius +10 -0
  2893. package/python/tcl/tcl8.6/tzdata/Indian/Mayotte +5 -0
  2894. package/python/tcl/tcl8.6/tzdata/Indian/Reunion +5 -0
  2895. package/python/tcl/tcl8.6/tzdata/Iran +5 -0
  2896. package/python/tcl/tcl8.6/tzdata/Israel +5 -0
  2897. package/python/tcl/tcl8.6/tzdata/Jamaica +5 -0
  2898. package/python/tcl/tcl8.6/tzdata/Japan +5 -0
  2899. package/python/tcl/tcl8.6/tzdata/Kwajalein +5 -0
  2900. package/python/tcl/tcl8.6/tzdata/Libya +5 -0
  2901. package/python/tcl/tcl8.6/tzdata/MET +5 -0
  2902. package/python/tcl/tcl8.6/tzdata/MST +5 -0
  2903. package/python/tcl/tcl8.6/tzdata/MST7MDT +5 -0
  2904. package/python/tcl/tcl8.6/tzdata/Mexico/BajaNorte +5 -0
  2905. package/python/tcl/tcl8.6/tzdata/Mexico/BajaSur +5 -0
  2906. package/python/tcl/tcl8.6/tzdata/Mexico/General +5 -0
  2907. package/python/tcl/tcl8.6/tzdata/NZ +5 -0
  2908. package/python/tcl/tcl8.6/tzdata/NZ-CHAT +5 -0
  2909. package/python/tcl/tcl8.6/tzdata/Navajo +5 -0
  2910. package/python/tcl/tcl8.6/tzdata/PRC +5 -0
  2911. package/python/tcl/tcl8.6/tzdata/PST8PDT +5 -0
  2912. package/python/tcl/tcl8.6/tzdata/Pacific/Apia +31 -0
  2913. package/python/tcl/tcl8.6/tzdata/Pacific/Auckland +285 -0
  2914. package/python/tcl/tcl8.6/tzdata/Pacific/Bougainville +10 -0
  2915. package/python/tcl/tcl8.6/tzdata/Pacific/Chatham +258 -0
  2916. package/python/tcl/tcl8.6/tzdata/Pacific/Chuuk +5 -0
  2917. package/python/tcl/tcl8.6/tzdata/Pacific/Easter +268 -0
  2918. package/python/tcl/tcl8.6/tzdata/Pacific/Efate +28 -0
  2919. package/python/tcl/tcl8.6/tzdata/Pacific/Enderbury +5 -0
  2920. package/python/tcl/tcl8.6/tzdata/Pacific/Fakaofo +7 -0
  2921. package/python/tcl/tcl8.6/tzdata/Pacific/Fiji +34 -0
  2922. package/python/tcl/tcl8.6/tzdata/Pacific/Funafuti +5 -0
  2923. package/python/tcl/tcl8.6/tzdata/Pacific/Galapagos +9 -0
  2924. package/python/tcl/tcl8.6/tzdata/Pacific/Gambier +6 -0
  2925. package/python/tcl/tcl8.6/tzdata/Pacific/Guadalcanal +6 -0
  2926. package/python/tcl/tcl8.6/tzdata/Pacific/Guam +26 -0
  2927. package/python/tcl/tcl8.6/tzdata/Pacific/Honolulu +12 -0
  2928. package/python/tcl/tcl8.6/tzdata/Pacific/Johnston +5 -0
  2929. package/python/tcl/tcl8.6/tzdata/Pacific/Kanton +8 -0
  2930. package/python/tcl/tcl8.6/tzdata/Pacific/Kiritimati +8 -0
  2931. package/python/tcl/tcl8.6/tzdata/Pacific/Kosrae +14 -0
  2932. package/python/tcl/tcl8.6/tzdata/Pacific/Kwajalein +11 -0
  2933. package/python/tcl/tcl8.6/tzdata/Pacific/Majuro +5 -0
  2934. package/python/tcl/tcl8.6/tzdata/Pacific/Marquesas +6 -0
  2935. package/python/tcl/tcl8.6/tzdata/Pacific/Midway +5 -0
  2936. package/python/tcl/tcl8.6/tzdata/Pacific/Nauru +9 -0
  2937. package/python/tcl/tcl8.6/tzdata/Pacific/Niue +7 -0
  2938. package/python/tcl/tcl8.6/tzdata/Pacific/Norfolk +172 -0
  2939. package/python/tcl/tcl8.6/tzdata/Pacific/Noumea +12 -0
  2940. package/python/tcl/tcl8.6/tzdata/Pacific/Pago_Pago +7 -0
  2941. package/python/tcl/tcl8.6/tzdata/Pacific/Palau +7 -0
  2942. package/python/tcl/tcl8.6/tzdata/Pacific/Pitcairn +7 -0
  2943. package/python/tcl/tcl8.6/tzdata/Pacific/Pohnpei +5 -0
  2944. package/python/tcl/tcl8.6/tzdata/Pacific/Ponape +5 -0
  2945. package/python/tcl/tcl8.6/tzdata/Pacific/Port_Moresby +7 -0
  2946. package/python/tcl/tcl8.6/tzdata/Pacific/Rarotonga +33 -0
  2947. package/python/tcl/tcl8.6/tzdata/Pacific/Saipan +5 -0
  2948. package/python/tcl/tcl8.6/tzdata/Pacific/Samoa +5 -0
  2949. package/python/tcl/tcl8.6/tzdata/Pacific/Tahiti +6 -0
  2950. package/python/tcl/tcl8.6/tzdata/Pacific/Tarawa +6 -0
  2951. package/python/tcl/tcl8.6/tzdata/Pacific/Tongatapu +16 -0
  2952. package/python/tcl/tcl8.6/tzdata/Pacific/Truk +5 -0
  2953. package/python/tcl/tcl8.6/tzdata/Pacific/Wake +5 -0
  2954. package/python/tcl/tcl8.6/tzdata/Pacific/Wallis +5 -0
  2955. package/python/tcl/tcl8.6/tzdata/Pacific/Yap +5 -0
  2956. package/python/tcl/tcl8.6/tzdata/Poland +5 -0
  2957. package/python/tcl/tcl8.6/tzdata/Portugal +5 -0
  2958. package/python/tcl/tcl8.6/tzdata/ROC +5 -0
  2959. package/python/tcl/tcl8.6/tzdata/ROK +5 -0
  2960. package/python/tcl/tcl8.6/tzdata/Singapore +5 -0
  2961. package/python/tcl/tcl8.6/tzdata/SystemV/AST4 +5 -0
  2962. package/python/tcl/tcl8.6/tzdata/SystemV/AST4ADT +5 -0
  2963. package/python/tcl/tcl8.6/tzdata/SystemV/CST6 +5 -0
  2964. package/python/tcl/tcl8.6/tzdata/SystemV/CST6CDT +5 -0
  2965. package/python/tcl/tcl8.6/tzdata/SystemV/EST5 +5 -0
  2966. package/python/tcl/tcl8.6/tzdata/SystemV/EST5EDT +5 -0
  2967. package/python/tcl/tcl8.6/tzdata/SystemV/HST10 +5 -0
  2968. package/python/tcl/tcl8.6/tzdata/SystemV/MST7 +5 -0
  2969. package/python/tcl/tcl8.6/tzdata/SystemV/MST7MDT +5 -0
  2970. package/python/tcl/tcl8.6/tzdata/SystemV/PST8 +5 -0
  2971. package/python/tcl/tcl8.6/tzdata/SystemV/PST8PDT +5 -0
  2972. package/python/tcl/tcl8.6/tzdata/SystemV/YST9 +5 -0
  2973. package/python/tcl/tcl8.6/tzdata/SystemV/YST9YDT +5 -0
  2974. package/python/tcl/tcl8.6/tzdata/Turkey +5 -0
  2975. package/python/tcl/tcl8.6/tzdata/UCT +5 -0
  2976. package/python/tcl/tcl8.6/tzdata/US/Alaska +5 -0
  2977. package/python/tcl/tcl8.6/tzdata/US/Aleutian +5 -0
  2978. package/python/tcl/tcl8.6/tzdata/US/Arizona +5 -0
  2979. package/python/tcl/tcl8.6/tzdata/US/Central +5 -0
  2980. package/python/tcl/tcl8.6/tzdata/US/East-Indiana +5 -0
  2981. package/python/tcl/tcl8.6/tzdata/US/Eastern +5 -0
  2982. package/python/tcl/tcl8.6/tzdata/US/Hawaii +5 -0
  2983. package/python/tcl/tcl8.6/tzdata/US/Indiana-Starke +5 -0
  2984. package/python/tcl/tcl8.6/tzdata/US/Michigan +5 -0
  2985. package/python/tcl/tcl8.6/tzdata/US/Mountain +5 -0
  2986. package/python/tcl/tcl8.6/tzdata/US/Pacific +5 -0
  2987. package/python/tcl/tcl8.6/tzdata/US/Samoa +5 -0
  2988. package/python/tcl/tcl8.6/tzdata/UTC +5 -0
  2989. package/python/tcl/tcl8.6/tzdata/Universal +5 -0
  2990. package/python/tcl/tcl8.6/tzdata/W-SU +5 -0
  2991. package/python/tcl/tcl8.6/tzdata/WET +5 -0
  2992. package/python/tcl/tcl8.6/tzdata/Zulu +5 -0
  2993. package/python/tcl/tcl8.6/word.tcl +154 -0
  2994. package/python/tcl/tcl86t.lib +0 -0
  2995. package/python/tcl/tclConfig.sh +180 -0
  2996. package/python/tcl/tclooConfig.sh +19 -0
  2997. package/python/tcl/tclstub86.lib +0 -0
  2998. package/python/tcl/tix8.4.3/Balloon.tcl +585 -0
  2999. package/python/tcl/tix8.4.3/BtnBox.tcl +120 -0
  3000. package/python/tcl/tix8.4.3/CObjView.tcl +360 -0
  3001. package/python/tcl/tix8.4.3/ChkList.tcl +239 -0
  3002. package/python/tcl/tix8.4.3/ComboBox.tcl +1558 -0
  3003. package/python/tcl/tix8.4.3/Compat.tcl +33 -0
  3004. package/python/tcl/tix8.4.3/Console.tcl +612 -0
  3005. package/python/tcl/tix8.4.3/Control.tcl +482 -0
  3006. package/python/tcl/tix8.4.3/DefSchm.tcl +103 -0
  3007. package/python/tcl/tix8.4.3/DialogS.tcl +175 -0
  3008. package/python/tcl/tix8.4.3/DirBox.tcl +207 -0
  3009. package/python/tcl/tix8.4.3/DirDlg.tcl +95 -0
  3010. package/python/tcl/tix8.4.3/DirList.tcl +272 -0
  3011. package/python/tcl/tix8.4.3/DirTree.tcl +350 -0
  3012. package/python/tcl/tix8.4.3/DragDrop.tcl +166 -0
  3013. package/python/tcl/tix8.4.3/DtlList.tcl +49 -0
  3014. package/python/tcl/tix8.4.3/EFileBox.tcl +436 -0
  3015. package/python/tcl/tix8.4.3/EFileDlg.tcl +65 -0
  3016. package/python/tcl/tix8.4.3/Event.tcl +217 -0
  3017. package/python/tcl/tix8.4.3/FileBox.tcl +568 -0
  3018. package/python/tcl/tix8.4.3/FileCbx.tcl +108 -0
  3019. package/python/tcl/tix8.4.3/FileDlg.tcl +75 -0
  3020. package/python/tcl/tix8.4.3/FileEnt.tcl +270 -0
  3021. package/python/tcl/tix8.4.3/FloatEnt.tcl +132 -0
  3022. package/python/tcl/tix8.4.3/Grid.tcl +1122 -0
  3023. package/python/tcl/tix8.4.3/HList.tcl +917 -0
  3024. package/python/tcl/tix8.4.3/HListDD.tcl +204 -0
  3025. package/python/tcl/tix8.4.3/IconView.tcl +272 -0
  3026. package/python/tcl/tix8.4.3/Init.tcl +232 -0
  3027. package/python/tcl/tix8.4.3/LabEntry.tcl +86 -0
  3028. package/python/tcl/tix8.4.3/LabFrame.tcl +49 -0
  3029. package/python/tcl/tix8.4.3/LabWidg.tcl +157 -0
  3030. package/python/tcl/tix8.4.3/ListNBk.tcl +153 -0
  3031. package/python/tcl/tix8.4.3/Makefile +5 -0
  3032. package/python/tcl/tix8.4.3/Meter.tcl +137 -0
  3033. package/python/tcl/tix8.4.3/MultView.tcl +157 -0
  3034. package/python/tcl/tix8.4.3/NoteBook.tcl +247 -0
  3035. package/python/tcl/tix8.4.3/OldUtil.tcl +108 -0
  3036. package/python/tcl/tix8.4.3/OptMenu.tcl +394 -0
  3037. package/python/tcl/tix8.4.3/PanedWin.tcl +1215 -0
  3038. package/python/tcl/tix8.4.3/PopMenu.tcl +239 -0
  3039. package/python/tcl/tix8.4.3/Primitiv.tcl +428 -0
  3040. package/python/tcl/tix8.4.3/ResizeH.tcl +505 -0
  3041. package/python/tcl/tix8.4.3/SGrid.tcl +243 -0
  3042. package/python/tcl/tix8.4.3/SHList.tcl +140 -0
  3043. package/python/tcl/tix8.4.3/SListBox.tcl +295 -0
  3044. package/python/tcl/tix8.4.3/STList.tcl +93 -0
  3045. package/python/tcl/tix8.4.3/SText.tcl +134 -0
  3046. package/python/tcl/tix8.4.3/SWidget.tcl +465 -0
  3047. package/python/tcl/tix8.4.3/SWindow.tcl +274 -0
  3048. package/python/tcl/tix8.4.3/Select.tcl +300 -0
  3049. package/python/tcl/tix8.4.3/Shell.tcl +47 -0
  3050. package/python/tcl/tix8.4.3/SimpDlg.tcl +47 -0
  3051. package/python/tcl/tix8.4.3/StackWin.tcl +84 -0
  3052. package/python/tcl/tix8.4.3/StatBar.tcl +56 -0
  3053. package/python/tcl/tix8.4.3/StdBBox.tcl +71 -0
  3054. package/python/tcl/tix8.4.3/StdShell.tcl +49 -0
  3055. package/python/tcl/tix8.4.3/TList.tcl +953 -0
  3056. package/python/tcl/tix8.4.3/Tix.tcl +398 -0
  3057. package/python/tcl/tix8.4.3/Tree.tcl +211 -0
  3058. package/python/tcl/tix8.4.3/Utils.tcl +442 -0
  3059. package/python/tcl/tix8.4.3/VResize.tcl +211 -0
  3060. package/python/tcl/tix8.4.3/VStack.tcl +430 -0
  3061. package/python/tcl/tix8.4.3/VTree.tcl +195 -0
  3062. package/python/tcl/tix8.4.3/Variable.tcl +101 -0
  3063. package/python/tcl/tix8.4.3/WInfo.tcl +40 -0
  3064. package/python/tcl/tix8.4.3/bitmaps/act_fold.gif +0 -0
  3065. package/python/tcl/tix8.4.3/bitmaps/act_fold.xbm +5 -0
  3066. package/python/tcl/tix8.4.3/bitmaps/act_fold.xpm +22 -0
  3067. package/python/tcl/tix8.4.3/bitmaps/balarrow.xbm +4 -0
  3068. package/python/tcl/tix8.4.3/bitmaps/cbxarrow.xbm +6 -0
  3069. package/python/tcl/tix8.4.3/bitmaps/ck_def.xbm +6 -0
  3070. package/python/tcl/tix8.4.3/bitmaps/ck_off.xbm +6 -0
  3071. package/python/tcl/tix8.4.3/bitmaps/ck_on.xbm +6 -0
  3072. package/python/tcl/tix8.4.3/bitmaps/cross.xbm +6 -0
  3073. package/python/tcl/tix8.4.3/bitmaps/decr.xbm +4 -0
  3074. package/python/tcl/tix8.4.3/bitmaps/drop.xbm +8 -0
  3075. package/python/tcl/tix8.4.3/bitmaps/file.gif +0 -0
  3076. package/python/tcl/tix8.4.3/bitmaps/file.xbm +5 -0
  3077. package/python/tcl/tix8.4.3/bitmaps/file.xpm +18 -0
  3078. package/python/tcl/tix8.4.3/bitmaps/folder.gif +0 -0
  3079. package/python/tcl/tix8.4.3/bitmaps/folder.xbm +5 -0
  3080. package/python/tcl/tix8.4.3/bitmaps/folder.xpm +21 -0
  3081. package/python/tcl/tix8.4.3/bitmaps/harddisk.xbm +14 -0
  3082. package/python/tcl/tix8.4.3/bitmaps/hourglas.mask +16 -0
  3083. package/python/tcl/tix8.4.3/bitmaps/hourglas.xbm +16 -0
  3084. package/python/tcl/tix8.4.3/bitmaps/incr.xbm +4 -0
  3085. package/python/tcl/tix8.4.3/bitmaps/info.gif +0 -0
  3086. package/python/tcl/tix8.4.3/bitmaps/info.xpm +38 -0
  3087. package/python/tcl/tix8.4.3/bitmaps/maximize.xbm +6 -0
  3088. package/python/tcl/tix8.4.3/bitmaps/minimize.xbm +6 -0
  3089. package/python/tcl/tix8.4.3/bitmaps/minus.gif +0 -0
  3090. package/python/tcl/tix8.4.3/bitmaps/minus.xbm +5 -0
  3091. package/python/tcl/tix8.4.3/bitmaps/minus.xpm +14 -0
  3092. package/python/tcl/tix8.4.3/bitmaps/minusarm.gif +0 -0
  3093. package/python/tcl/tix8.4.3/bitmaps/minusarm.xbm +5 -0
  3094. package/python/tcl/tix8.4.3/bitmaps/minusarm.xpm +15 -0
  3095. package/python/tcl/tix8.4.3/bitmaps/mktransgif.tcl +14 -0
  3096. package/python/tcl/tix8.4.3/bitmaps/network.xbm +14 -0
  3097. package/python/tcl/tix8.4.3/bitmaps/no_entry.gif +0 -0
  3098. package/python/tcl/tix8.4.3/bitmaps/no_entry.xpm +39 -0
  3099. package/python/tcl/tix8.4.3/bitmaps/openfile.xbm +5 -0
  3100. package/python/tcl/tix8.4.3/bitmaps/openfold.gif +0 -0
  3101. package/python/tcl/tix8.4.3/bitmaps/openfold.xbm +5 -0
  3102. package/python/tcl/tix8.4.3/bitmaps/openfold.xpm +21 -0
  3103. package/python/tcl/tix8.4.3/bitmaps/plus.gif +0 -0
  3104. package/python/tcl/tix8.4.3/bitmaps/plus.xbm +5 -0
  3105. package/python/tcl/tix8.4.3/bitmaps/plus.xpm +14 -0
  3106. package/python/tcl/tix8.4.3/bitmaps/plusarm.gif +0 -0
  3107. package/python/tcl/tix8.4.3/bitmaps/plusarm.xbm +5 -0
  3108. package/python/tcl/tix8.4.3/bitmaps/plusarm.xpm +15 -0
  3109. package/python/tcl/tix8.4.3/bitmaps/resize1.xbm +8 -0
  3110. package/python/tcl/tix8.4.3/bitmaps/resize2.xbm +8 -0
  3111. package/python/tcl/tix8.4.3/bitmaps/restore.xbm +6 -0
  3112. package/python/tcl/tix8.4.3/bitmaps/srcfile.gif +0 -0
  3113. package/python/tcl/tix8.4.3/bitmaps/srcfile.xbm +5 -0
  3114. package/python/tcl/tix8.4.3/bitmaps/srcfile.xpm +18 -0
  3115. package/python/tcl/tix8.4.3/bitmaps/system.xbm +6 -0
  3116. package/python/tcl/tix8.4.3/bitmaps/textfile.gif +0 -0
  3117. package/python/tcl/tix8.4.3/bitmaps/textfile.xbm +5 -0
  3118. package/python/tcl/tix8.4.3/bitmaps/textfile.xpm +18 -0
  3119. package/python/tcl/tix8.4.3/bitmaps/tick.xbm +6 -0
  3120. package/python/tcl/tix8.4.3/bitmaps/warning.gif +0 -0
  3121. package/python/tcl/tix8.4.3/bitmaps/warning.xpm +38 -0
  3122. package/python/tcl/tix8.4.3/demos/MkChoose.tcl +280 -0
  3123. package/python/tcl/tix8.4.3/demos/MkDirLis.tcl +69 -0
  3124. package/python/tcl/tix8.4.3/demos/MkSample.tcl +270 -0
  3125. package/python/tcl/tix8.4.3/demos/MkScroll.tcl +160 -0
  3126. package/python/tcl/tix8.4.3/demos/bitmaps/about.xpm +50 -0
  3127. package/python/tcl/tix8.4.3/demos/bitmaps/bold.xbm +6 -0
  3128. package/python/tcl/tix8.4.3/demos/bitmaps/capital.xbm +6 -0
  3129. package/python/tcl/tix8.4.3/demos/bitmaps/centerj.xbm +6 -0
  3130. package/python/tcl/tix8.4.3/demos/bitmaps/code.xpm +22 -0
  3131. package/python/tcl/tix8.4.3/demos/bitmaps/combobox.xbm +14 -0
  3132. package/python/tcl/tix8.4.3/demos/bitmaps/combobox.xpm +49 -0
  3133. package/python/tcl/tix8.4.3/demos/bitmaps/drivea.xbm +14 -0
  3134. package/python/tcl/tix8.4.3/demos/bitmaps/drivea.xpm +43 -0
  3135. package/python/tcl/tix8.4.3/demos/bitmaps/exit.xpm +48 -0
  3136. package/python/tcl/tix8.4.3/demos/bitmaps/filebox.xbm +14 -0
  3137. package/python/tcl/tix8.4.3/demos/bitmaps/filebox.xpm +49 -0
  3138. package/python/tcl/tix8.4.3/demos/bitmaps/harddisk.xbm +14 -0
  3139. package/python/tcl/tix8.4.3/demos/bitmaps/harddisk.xpm +43 -0
  3140. package/python/tcl/tix8.4.3/demos/bitmaps/italic.xbm +6 -0
  3141. package/python/tcl/tix8.4.3/demos/bitmaps/justify.xbm +6 -0
  3142. package/python/tcl/tix8.4.3/demos/bitmaps/leftj.xbm +6 -0
  3143. package/python/tcl/tix8.4.3/demos/bitmaps/netw.xbm +14 -0
  3144. package/python/tcl/tix8.4.3/demos/bitmaps/netw.xpm +45 -0
  3145. package/python/tcl/tix8.4.3/demos/bitmaps/network.xbm +14 -0
  3146. package/python/tcl/tix8.4.3/demos/bitmaps/network.xpm +45 -0
  3147. package/python/tcl/tix8.4.3/demos/bitmaps/optmenu.xpm +48 -0
  3148. package/python/tcl/tix8.4.3/demos/bitmaps/rightj.xbm +6 -0
  3149. package/python/tcl/tix8.4.3/demos/bitmaps/select.xpm +52 -0
  3150. package/python/tcl/tix8.4.3/demos/bitmaps/tix.gif +0 -0
  3151. package/python/tcl/tix8.4.3/demos/bitmaps/underlin.xbm +6 -0
  3152. package/python/tcl/tix8.4.3/demos/samples/AllSampl.tcl +201 -0
  3153. package/python/tcl/tix8.4.3/demos/samples/ArrowBtn.tcl +187 -0
  3154. package/python/tcl/tix8.4.3/demos/samples/Balloon.tcl +48 -0
  3155. package/python/tcl/tix8.4.3/demos/samples/BtnBox.tcl +57 -0
  3156. package/python/tcl/tix8.4.3/demos/samples/CObjView.tcl +80 -0
  3157. package/python/tcl/tix8.4.3/demos/samples/ChkList.tcl +179 -0
  3158. package/python/tcl/tix8.4.3/demos/samples/CmpImg.tcl +64 -0
  3159. package/python/tcl/tix8.4.3/demos/samples/CmpImg1.tcl +182 -0
  3160. package/python/tcl/tix8.4.3/demos/samples/CmpImg2.tcl +136 -0
  3161. package/python/tcl/tix8.4.3/demos/samples/CmpImg3.tcl +90 -0
  3162. package/python/tcl/tix8.4.3/demos/samples/CmpImg4.tcl +125 -0
  3163. package/python/tcl/tix8.4.3/demos/samples/ComboBox.tcl +119 -0
  3164. package/python/tcl/tix8.4.3/demos/samples/Control.tcl +133 -0
  3165. package/python/tcl/tix8.4.3/demos/samples/DirDlg.tcl +90 -0
  3166. package/python/tcl/tix8.4.3/demos/samples/DirList.tcl +91 -0
  3167. package/python/tcl/tix8.4.3/demos/samples/DirTree.tcl +92 -0
  3168. package/python/tcl/tix8.4.3/demos/samples/DragDrop.tcl +50 -0
  3169. package/python/tcl/tix8.4.3/demos/samples/DynTree.tcl +149 -0
  3170. package/python/tcl/tix8.4.3/demos/samples/EFileDlg.tcl +104 -0
  3171. package/python/tcl/tix8.4.3/demos/samples/EditGrid.tcl +281 -0
  3172. package/python/tcl/tix8.4.3/demos/samples/FileDlg.tcl +98 -0
  3173. package/python/tcl/tix8.4.3/demos/samples/FileEnt.tcl +81 -0
  3174. package/python/tcl/tix8.4.3/demos/samples/HList1.tcl +159 -0
  3175. package/python/tcl/tix8.4.3/demos/samples/LabEntry.tcl +94 -0
  3176. package/python/tcl/tix8.4.3/demos/samples/LabFrame.tcl +85 -0
  3177. package/python/tcl/tix8.4.3/demos/samples/ListNBK.tcl +86 -0
  3178. package/python/tcl/tix8.4.3/demos/samples/Meter.tcl +77 -0
  3179. package/python/tcl/tix8.4.3/demos/samples/NoteBook.tcl +102 -0
  3180. package/python/tcl/tix8.4.3/demos/samples/OptMenu.tcl +103 -0
  3181. package/python/tcl/tix8.4.3/demos/samples/PanedWin.tcl +112 -0
  3182. package/python/tcl/tix8.4.3/demos/samples/PopMenu.tcl +73 -0
  3183. package/python/tcl/tix8.4.3/demos/samples/SGrid0.tcl +135 -0
  3184. package/python/tcl/tix8.4.3/demos/samples/SGrid1.tcl +215 -0
  3185. package/python/tcl/tix8.4.3/demos/samples/SHList.tcl +111 -0
  3186. package/python/tcl/tix8.4.3/demos/samples/SHList2.tcl +159 -0
  3187. package/python/tcl/tix8.4.3/demos/samples/SListBox.tcl +84 -0
  3188. package/python/tcl/tix8.4.3/demos/samples/STList1.tcl +57 -0
  3189. package/python/tcl/tix8.4.3/demos/samples/STList2.tcl +85 -0
  3190. package/python/tcl/tix8.4.3/demos/samples/STList3.tcl +112 -0
  3191. package/python/tcl/tix8.4.3/demos/samples/SText.tcl +75 -0
  3192. package/python/tcl/tix8.4.3/demos/samples/SWindow.tcl +89 -0
  3193. package/python/tcl/tix8.4.3/demos/samples/Sample.tcl +36 -0
  3194. package/python/tcl/tix8.4.3/demos/samples/Select.tcl +114 -0
  3195. package/python/tcl/tix8.4.3/demos/samples/StdBBox.tcl +65 -0
  3196. package/python/tcl/tix8.4.3/demos/samples/Tree.tcl +91 -0
  3197. package/python/tcl/tix8.4.3/demos/samples/Xpm.tcl +89 -0
  3198. package/python/tcl/tix8.4.3/demos/samples/Xpm1.tcl +108 -0
  3199. package/python/tcl/tix8.4.3/demos/tclIndex +55 -0
  3200. package/python/tcl/tix8.4.3/demos/tixwidgets.tcl +344 -0
  3201. package/python/tcl/tix8.4.3/demos/widget +450 -0
  3202. package/python/tcl/tix8.4.3/fs.tcl +170 -0
  3203. package/python/tcl/tix8.4.3/pkgIndex.tcl +2 -0
  3204. package/python/tcl/tix8.4.3/pref/10Point.fs +23 -0
  3205. package/python/tcl/tix8.4.3/pref/10Point.fsc +44 -0
  3206. package/python/tcl/tix8.4.3/pref/12Point.fs +23 -0
  3207. package/python/tcl/tix8.4.3/pref/12Point.fsc +44 -0
  3208. package/python/tcl/tix8.4.3/pref/14Point.fs +22 -0
  3209. package/python/tcl/tix8.4.3/pref/14Point.fsc +50 -0
  3210. package/python/tcl/tix8.4.3/pref/Bisque.cs +35 -0
  3211. package/python/tcl/tix8.4.3/pref/Bisque.csc +338 -0
  3212. package/python/tcl/tix8.4.3/pref/Blue.cs +35 -0
  3213. package/python/tcl/tix8.4.3/pref/Blue.csc +338 -0
  3214. package/python/tcl/tix8.4.3/pref/Gray.cs +36 -0
  3215. package/python/tcl/tix8.4.3/pref/Gray.csc +339 -0
  3216. package/python/tcl/tix8.4.3/pref/Makefile +48 -0
  3217. package/python/tcl/tix8.4.3/pref/Old12Pt.fs +14 -0
  3218. package/python/tcl/tix8.4.3/pref/Old14Pt.fs +13 -0
  3219. package/python/tcl/tix8.4.3/pref/SGIGray.cs +38 -0
  3220. package/python/tcl/tix8.4.3/pref/SGIGray.csc +339 -0
  3221. package/python/tcl/tix8.4.3/pref/TK.cs +35 -0
  3222. package/python/tcl/tix8.4.3/pref/TK.csc +72 -0
  3223. package/python/tcl/tix8.4.3/pref/TK.fs +16 -0
  3224. package/python/tcl/tix8.4.3/pref/TK.fsc +19 -0
  3225. package/python/tcl/tix8.4.3/pref/TixGray.cs +36 -0
  3226. package/python/tcl/tix8.4.3/pref/TixGray.csc +339 -0
  3227. package/python/tcl/tix8.4.3/pref/TkWin.cs +68 -0
  3228. package/python/tcl/tix8.4.3/pref/TkWin.csc +333 -0
  3229. package/python/tcl/tix8.4.3/pref/TkWin.fs +16 -0
  3230. package/python/tcl/tix8.4.3/pref/TkWin.fsc +34 -0
  3231. package/python/tcl/tix8.4.3/pref/WmDefault.cs +45 -0
  3232. package/python/tcl/tix8.4.3/pref/WmDefault.csc +316 -0
  3233. package/python/tcl/tix8.4.3/pref/WmDefault.fs +23 -0
  3234. package/python/tcl/tix8.4.3/pref/WmDefault.fsc +57 -0
  3235. package/python/tcl/tix8.4.3/pref/WmDefault.py +96 -0
  3236. package/python/tcl/tix8.4.3/pref/WmDefault.tcl +1053 -0
  3237. package/python/tcl/tix8.4.3/pref/WmDefault.txt +142 -0
  3238. package/python/tcl/tix8.4.3/pref/pkgIndex.tcl +9 -0
  3239. package/python/tcl/tix8.4.3/pref/tixmkpref +381 -0
  3240. package/python/tcl/tix8.4.3/tix84.dll +0 -0
  3241. package/python/tcl/tix8.4.3/tix84.lib +0 -0
  3242. package/python/tcl/tk8.6/bgerror.tcl +272 -0
  3243. package/python/tcl/tk8.6/button.tcl +782 -0
  3244. package/python/tcl/tk8.6/choosedir.tcl +310 -0
  3245. package/python/tcl/tk8.6/clrpick.tcl +694 -0
  3246. package/python/tcl/tk8.6/comdlg.tcl +322 -0
  3247. package/python/tcl/tk8.6/console.tcl +1154 -0
  3248. package/python/tcl/tk8.6/demos/README +44 -0
  3249. package/python/tcl/tk8.6/demos/anilabel.tcl +160 -0
  3250. package/python/tcl/tk8.6/demos/aniwave.tcl +104 -0
  3251. package/python/tcl/tk8.6/demos/arrow.tcl +241 -0
  3252. package/python/tcl/tk8.6/demos/bind.tcl +78 -0
  3253. package/python/tcl/tk8.6/demos/bitmap.tcl +52 -0
  3254. package/python/tcl/tk8.6/demos/browse +66 -0
  3255. package/python/tcl/tk8.6/demos/button.tcl +47 -0
  3256. package/python/tcl/tk8.6/demos/check.tcl +71 -0
  3257. package/python/tcl/tk8.6/demos/clrpick.tcl +54 -0
  3258. package/python/tcl/tk8.6/demos/colors.tcl +99 -0
  3259. package/python/tcl/tk8.6/demos/combo.tcl +61 -0
  3260. package/python/tcl/tk8.6/demos/cscroll.tcl +171 -0
  3261. package/python/tcl/tk8.6/demos/ctext.tcl +176 -0
  3262. package/python/tcl/tk8.6/demos/dialog1.tcl +25 -0
  3263. package/python/tcl/tk8.6/demos/dialog2.tcl +18 -0
  3264. package/python/tcl/tk8.6/demos/en.msg +97 -0
  3265. package/python/tcl/tk8.6/demos/entry1.tcl +34 -0
  3266. package/python/tcl/tk8.6/demos/entry2.tcl +46 -0
  3267. package/python/tcl/tk8.6/demos/entry3.tcl +185 -0
  3268. package/python/tcl/tk8.6/demos/filebox.tcl +81 -0
  3269. package/python/tcl/tk8.6/demos/floor.tcl +1372 -0
  3270. package/python/tcl/tk8.6/demos/fontchoose.tcl +67 -0
  3271. package/python/tcl/tk8.6/demos/form.tcl +38 -0
  3272. package/python/tcl/tk8.6/demos/goldberg.tcl +1834 -0
  3273. package/python/tcl/tk8.6/demos/hello +22 -0
  3274. package/python/tcl/tk8.6/demos/hscale.tcl +45 -0
  3275. package/python/tcl/tk8.6/demos/icon.tcl +51 -0
  3276. package/python/tcl/tk8.6/demos/image1.tcl +35 -0
  3277. package/python/tcl/tk8.6/demos/image2.tcl +108 -0
  3278. package/python/tcl/tk8.6/demos/images/earth.gif +0 -0
  3279. package/python/tcl/tk8.6/demos/images/earthmenu.png +0 -0
  3280. package/python/tcl/tk8.6/demos/images/earthris.gif +0 -0
  3281. package/python/tcl/tk8.6/demos/images/flagdown.xbm +27 -0
  3282. package/python/tcl/tk8.6/demos/images/flagup.xbm +27 -0
  3283. package/python/tcl/tk8.6/demos/images/gray25.xbm +6 -0
  3284. package/python/tcl/tk8.6/demos/images/letters.xbm +27 -0
  3285. package/python/tcl/tk8.6/demos/images/noletter.xbm +27 -0
  3286. package/python/tcl/tk8.6/demos/images/ouster.png +0 -0
  3287. package/python/tcl/tk8.6/demos/images/pattern.xbm +6 -0
  3288. package/python/tcl/tk8.6/demos/images/tcllogo.gif +0 -0
  3289. package/python/tcl/tk8.6/demos/images/teapot.ppm +56 -0
  3290. package/python/tcl/tk8.6/demos/items.tcl +302 -0
  3291. package/python/tcl/tk8.6/demos/ixset +328 -0
  3292. package/python/tcl/tk8.6/demos/knightstour.tcl +268 -0
  3293. package/python/tcl/tk8.6/demos/label.tcl +40 -0
  3294. package/python/tcl/tk8.6/demos/labelframe.tcl +76 -0
  3295. package/python/tcl/tk8.6/demos/license.terms +40 -0
  3296. package/python/tcl/tk8.6/demos/mclist.tcl +119 -0
  3297. package/python/tcl/tk8.6/demos/menu.tcl +177 -0
  3298. package/python/tcl/tk8.6/demos/menubu.tcl +87 -0
  3299. package/python/tcl/tk8.6/demos/msgbox.tcl +62 -0
  3300. package/python/tcl/tk8.6/demos/nl.msg +125 -0
  3301. package/python/tcl/tk8.6/demos/paned1.tcl +32 -0
  3302. package/python/tcl/tk8.6/demos/paned2.tcl +74 -0
  3303. package/python/tcl/tk8.6/demos/pendulum.tcl +197 -0
  3304. package/python/tcl/tk8.6/demos/plot.tcl +97 -0
  3305. package/python/tcl/tk8.6/demos/puzzle.tcl +82 -0
  3306. package/python/tcl/tk8.6/demos/radio.tcl +66 -0
  3307. package/python/tcl/tk8.6/demos/rmt +210 -0
  3308. package/python/tcl/tk8.6/demos/rolodex +204 -0
  3309. package/python/tcl/tk8.6/demos/ruler.tcl +175 -0
  3310. package/python/tcl/tk8.6/demos/sayings.tcl +44 -0
  3311. package/python/tcl/tk8.6/demos/search.tcl +139 -0
  3312. package/python/tcl/tk8.6/demos/spin.tcl +45 -0
  3313. package/python/tcl/tk8.6/demos/square +60 -0
  3314. package/python/tcl/tk8.6/demos/states.tcl +54 -0
  3315. package/python/tcl/tk8.6/demos/style.tcl +155 -0
  3316. package/python/tcl/tk8.6/demos/tclIndex +67 -0
  3317. package/python/tcl/tk8.6/demos/tcolor +358 -0
  3318. package/python/tcl/tk8.6/demos/text.tcl +113 -0
  3319. package/python/tcl/tk8.6/demos/textpeer.tcl +62 -0
  3320. package/python/tcl/tk8.6/demos/timer +47 -0
  3321. package/python/tcl/tk8.6/demos/toolbar.tcl +92 -0
  3322. package/python/tcl/tk8.6/demos/tree.tcl +89 -0
  3323. package/python/tcl/tk8.6/demos/ttkbut.tcl +84 -0
  3324. package/python/tcl/tk8.6/demos/ttkmenu.tcl +53 -0
  3325. package/python/tcl/tk8.6/demos/ttknote.tcl +57 -0
  3326. package/python/tcl/tk8.6/demos/ttkpane.tcl +112 -0
  3327. package/python/tcl/tk8.6/demos/ttkprogress.tcl +46 -0
  3328. package/python/tcl/tk8.6/demos/ttkscale.tcl +39 -0
  3329. package/python/tcl/tk8.6/demos/ttkspin.tcl +49 -0
  3330. package/python/tcl/tk8.6/demos/twind.tcl +351 -0
  3331. package/python/tcl/tk8.6/demos/unicodeout.tcl +145 -0
  3332. package/python/tcl/tk8.6/demos/vscale.tcl +46 -0
  3333. package/python/tcl/tk8.6/demos/widget +735 -0
  3334. package/python/tcl/tk8.6/dialog.tcl +175 -0
  3335. package/python/tcl/tk8.6/entry.tcl +699 -0
  3336. package/python/tcl/tk8.6/focus.tcl +178 -0
  3337. package/python/tcl/tk8.6/fontchooser.tcl +515 -0
  3338. package/python/tcl/tk8.6/iconlist.tcl +715 -0
  3339. package/python/tcl/tk8.6/icons.tcl +153 -0
  3340. package/python/tcl/tk8.6/images/README +7 -0
  3341. package/python/tcl/tk8.6/images/logo.eps +2091 -0
  3342. package/python/tcl/tk8.6/images/logo100.gif +0 -0
  3343. package/python/tcl/tk8.6/images/logo64.gif +0 -0
  3344. package/python/tcl/tk8.6/images/logoLarge.gif +0 -0
  3345. package/python/tcl/tk8.6/images/logoMed.gif +0 -0
  3346. package/python/tcl/tk8.6/images/pwrdLogo.eps +1897 -0
  3347. package/python/tcl/tk8.6/images/pwrdLogo100.gif +0 -0
  3348. package/python/tcl/tk8.6/images/pwrdLogo150.gif +0 -0
  3349. package/python/tcl/tk8.6/images/pwrdLogo175.gif +0 -0
  3350. package/python/tcl/tk8.6/images/pwrdLogo200.gif +0 -0
  3351. package/python/tcl/tk8.6/images/pwrdLogo75.gif +0 -0
  3352. package/python/tcl/tk8.6/images/tai-ku.gif +0 -0
  3353. package/python/tcl/tk8.6/license.terms +40 -0
  3354. package/python/tcl/tk8.6/listbox.tcl +560 -0
  3355. package/python/tcl/tk8.6/megawidget.tcl +297 -0
  3356. package/python/tcl/tk8.6/menu.tcl +1387 -0
  3357. package/python/tcl/tk8.6/mkpsenc.tcl +1488 -0
  3358. package/python/tcl/tk8.6/msgbox.tcl +427 -0
  3359. package/python/tcl/tk8.6/msgs/cs.msg +77 -0
  3360. package/python/tcl/tk8.6/msgs/da.msg +78 -0
  3361. package/python/tcl/tk8.6/msgs/de.msg +91 -0
  3362. package/python/tcl/tk8.6/msgs/el.msg +86 -0
  3363. package/python/tcl/tk8.6/msgs/en.msg +91 -0
  3364. package/python/tcl/tk8.6/msgs/en_gb.msg +3 -0
  3365. package/python/tcl/tk8.6/msgs/eo.msg +75 -0
  3366. package/python/tcl/tk8.6/msgs/es.msg +76 -0
  3367. package/python/tcl/tk8.6/msgs/fi.msg +89 -0
  3368. package/python/tcl/tk8.6/msgs/fr.msg +72 -0
  3369. package/python/tcl/tk8.6/msgs/hu.msg +78 -0
  3370. package/python/tcl/tk8.6/msgs/it.msg +73 -0
  3371. package/python/tcl/tk8.6/msgs/nl.msg +91 -0
  3372. package/python/tcl/tk8.6/msgs/pl.msg +91 -0
  3373. package/python/tcl/tk8.6/msgs/pt.msg +74 -0
  3374. package/python/tcl/tk8.6/msgs/ru.msg +93 -0
  3375. package/python/tcl/tk8.6/msgs/sv.msg +76 -0
  3376. package/python/tcl/tk8.6/msgs/zh_cn.msg +92 -0
  3377. package/python/tcl/tk8.6/obsolete.tcl +178 -0
  3378. package/python/tcl/tk8.6/optMenu.tcl +43 -0
  3379. package/python/tcl/tk8.6/palette.tcl +244 -0
  3380. package/python/tcl/tk8.6/panedwindow.tcl +194 -0
  3381. package/python/tcl/tk8.6/pkgIndex.tcl +7 -0
  3382. package/python/tcl/tk8.6/safetk.tcl +262 -0
  3383. package/python/tcl/tk8.6/scale.tcl +307 -0
  3384. package/python/tcl/tk8.6/scrlbar.tcl +456 -0
  3385. package/python/tcl/tk8.6/spinbox.tcl +594 -0
  3386. package/python/tcl/tk8.6/tclIndex +253 -0
  3387. package/python/tcl/tk8.6/tearoff.tcl +157 -0
  3388. package/python/tcl/tk8.6/text.tcl +1242 -0
  3389. package/python/tcl/tk8.6/tk.tcl +708 -0
  3390. package/python/tcl/tk8.6/tkfbox.tcl +1241 -0
  3391. package/python/tcl/tk8.6/ttk/altTheme.tcl +141 -0
  3392. package/python/tcl/tk8.6/ttk/aquaTheme.tcl +118 -0
  3393. package/python/tcl/tk8.6/ttk/button.tcl +83 -0
  3394. package/python/tcl/tk8.6/ttk/clamTheme.tcl +175 -0
  3395. package/python/tcl/tk8.6/ttk/classicTheme.tcl +130 -0
  3396. package/python/tcl/tk8.6/ttk/combobox.tcl +447 -0
  3397. package/python/tcl/tk8.6/ttk/cursors.tcl +205 -0
  3398. package/python/tcl/tk8.6/ttk/defaults.tcl +152 -0
  3399. package/python/tcl/tk8.6/ttk/entry.tcl +641 -0
  3400. package/python/tcl/tk8.6/ttk/fonts.tcl +154 -0
  3401. package/python/tcl/tk8.6/ttk/menubutton.tcl +233 -0
  3402. package/python/tcl/tk8.6/ttk/notebook.tcl +201 -0
  3403. package/python/tcl/tk8.6/ttk/panedwindow.tcl +89 -0
  3404. package/python/tcl/tk8.6/ttk/progress.tcl +49 -0
  3405. package/python/tcl/tk8.6/ttk/scale.tcl +94 -0
  3406. package/python/tcl/tk8.6/ttk/scrollbar.tcl +126 -0
  3407. package/python/tcl/tk8.6/ttk/sizegrip.tcl +102 -0
  3408. package/python/tcl/tk8.6/ttk/spinbox.tcl +192 -0
  3409. package/python/tcl/tk8.6/ttk/treeview.tcl +383 -0
  3410. package/python/tcl/tk8.6/ttk/ttk.tcl +191 -0
  3411. package/python/tcl/tk8.6/ttk/utils.tcl +337 -0
  3412. package/python/tcl/tk8.6/ttk/vistaTheme.tcl +255 -0
  3413. package/python/tcl/tk8.6/ttk/winTheme.tcl +112 -0
  3414. package/python/tcl/tk8.6/ttk/xpTheme.tcl +93 -0
  3415. package/python/tcl/tk8.6/unsupported.tcl +269 -0
  3416. package/python/tcl/tk8.6/xmfbox.tcl +989 -0
  3417. package/python/tcl/tk86t.lib +0 -0
  3418. package/python/tcl/tkstub86.lib +0 -0
  3419. package/python/vcruntime140.dll +0 -0
  3420. package/python/vcruntime140_1.dll +0 -0
  3421. package/tool.json +1 -0
  3422. package/README.md +0 -3
@@ -0,0 +1,3078 @@
1
+ #!/usr/bin/env python3
2
+ #-------------------------------------------------------------------
3
+ # tarfile.py
4
+ #-------------------------------------------------------------------
5
+ # Copyright (C) 2002 Lars Gustaebel <lars@gustaebel.de>
6
+ # All rights reserved.
7
+ #
8
+ # Permission is hereby granted, free of charge, to any person
9
+ # obtaining a copy of this software and associated documentation
10
+ # files (the "Software"), to deal in the Software without
11
+ # restriction, including without limitation the rights to use,
12
+ # copy, modify, merge, publish, distribute, sublicense, and/or sell
13
+ # copies of the Software, and to permit persons to whom the
14
+ # Software is furnished to do so, subject to the following
15
+ # conditions:
16
+ #
17
+ # The above copyright notice and this permission notice shall be
18
+ # included in all copies or substantial portions of the Software.
19
+ #
20
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
21
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
22
+ # OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
23
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
24
+ # HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
25
+ # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
26
+ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
27
+ # OTHER DEALINGS IN THE SOFTWARE.
28
+ #
29
+ """Read from and write to tar format archives.
30
+ """
31
+
32
+ version = "0.9.0"
33
+ __author__ = "Lars Gust\u00e4bel (lars@gustaebel.de)"
34
+ __credits__ = "Gustavo Niemeyer, Niels Gust\u00e4bel, Richard Townsend."
35
+
36
+ #---------
37
+ # Imports
38
+ #---------
39
+ from builtins import open as bltn_open
40
+ import sys
41
+ import os
42
+ import io
43
+ import shutil
44
+ import stat
45
+ import time
46
+ import struct
47
+ import copy
48
+ import re
49
+ import warnings
50
+
51
+ try:
52
+ import pwd
53
+ except ImportError:
54
+ pwd = None
55
+ try:
56
+ import grp
57
+ except ImportError:
58
+ grp = None
59
+
60
+ # os.symlink on Windows prior to 6.0 raises NotImplementedError
61
+ # OSError (winerror=1314) will be raised if the caller does not hold the
62
+ # SeCreateSymbolicLinkPrivilege privilege
63
+ symlink_exception = (AttributeError, NotImplementedError, OSError)
64
+
65
+ # from tarfile import *
66
+ __all__ = ["TarFile", "TarInfo", "is_tarfile", "TarError", "ReadError",
67
+ "CompressionError", "StreamError", "ExtractError", "HeaderError",
68
+ "ENCODING", "USTAR_FORMAT", "GNU_FORMAT", "PAX_FORMAT",
69
+ "DEFAULT_FORMAT", "open","fully_trusted_filter", "data_filter",
70
+ "tar_filter", "FilterError", "AbsoluteLinkError",
71
+ "OutsideDestinationError", "SpecialFileError", "AbsolutePathError",
72
+ "LinkOutsideDestinationError"]
73
+
74
+
75
+ #---------------------------------------------------------
76
+ # tar constants
77
+ #---------------------------------------------------------
78
+ NUL = b"\0" # the null character
79
+ BLOCKSIZE = 512 # length of processing blocks
80
+ RECORDSIZE = BLOCKSIZE * 20 # length of records
81
+ GNU_MAGIC = b"ustar \0" # magic gnu tar string
82
+ POSIX_MAGIC = b"ustar\x0000" # magic posix tar string
83
+
84
+ LENGTH_NAME = 100 # maximum length of a filename
85
+ LENGTH_LINK = 100 # maximum length of a linkname
86
+ LENGTH_PREFIX = 155 # maximum length of the prefix field
87
+
88
+ REGTYPE = b"0" # regular file
89
+ AREGTYPE = b"\0" # regular file
90
+ LNKTYPE = b"1" # link (inside tarfile)
91
+ SYMTYPE = b"2" # symbolic link
92
+ CHRTYPE = b"3" # character special device
93
+ BLKTYPE = b"4" # block special device
94
+ DIRTYPE = b"5" # directory
95
+ FIFOTYPE = b"6" # fifo special device
96
+ CONTTYPE = b"7" # contiguous file
97
+
98
+ GNUTYPE_LONGNAME = b"L" # GNU tar longname
99
+ GNUTYPE_LONGLINK = b"K" # GNU tar longlink
100
+ GNUTYPE_SPARSE = b"S" # GNU tar sparse file
101
+
102
+ XHDTYPE = b"x" # POSIX.1-2001 extended header
103
+ XGLTYPE = b"g" # POSIX.1-2001 global header
104
+ SOLARIS_XHDTYPE = b"X" # Solaris extended header
105
+
106
+ USTAR_FORMAT = 0 # POSIX.1-1988 (ustar) format
107
+ GNU_FORMAT = 1 # GNU tar format
108
+ PAX_FORMAT = 2 # POSIX.1-2001 (pax) format
109
+ DEFAULT_FORMAT = PAX_FORMAT
110
+
111
+ #---------------------------------------------------------
112
+ # tarfile constants
113
+ #---------------------------------------------------------
114
+ # File types that tarfile supports:
115
+ SUPPORTED_TYPES = (REGTYPE, AREGTYPE, LNKTYPE,
116
+ SYMTYPE, DIRTYPE, FIFOTYPE,
117
+ CONTTYPE, CHRTYPE, BLKTYPE,
118
+ GNUTYPE_LONGNAME, GNUTYPE_LONGLINK,
119
+ GNUTYPE_SPARSE)
120
+
121
+ # File types that will be treated as a regular file.
122
+ REGULAR_TYPES = (REGTYPE, AREGTYPE,
123
+ CONTTYPE, GNUTYPE_SPARSE)
124
+
125
+ # File types that are part of the GNU tar format.
126
+ GNU_TYPES = (GNUTYPE_LONGNAME, GNUTYPE_LONGLINK,
127
+ GNUTYPE_SPARSE)
128
+
129
+ # Fields from a pax header that override a TarInfo attribute.
130
+ PAX_FIELDS = ("path", "linkpath", "size", "mtime",
131
+ "uid", "gid", "uname", "gname")
132
+
133
+ # Fields from a pax header that are affected by hdrcharset.
134
+ PAX_NAME_FIELDS = {"path", "linkpath", "uname", "gname"}
135
+
136
+ # Fields in a pax header that are numbers, all other fields
137
+ # are treated as strings.
138
+ PAX_NUMBER_FIELDS = {
139
+ "atime": float,
140
+ "ctime": float,
141
+ "mtime": float,
142
+ "uid": int,
143
+ "gid": int,
144
+ "size": int
145
+ }
146
+
147
+ #---------------------------------------------------------
148
+ # initialization
149
+ #---------------------------------------------------------
150
+ if os.name == "nt":
151
+ ENCODING = "utf-8"
152
+ else:
153
+ ENCODING = sys.getfilesystemencoding()
154
+
155
+ #---------------------------------------------------------
156
+ # Some useful functions
157
+ #---------------------------------------------------------
158
+
159
+ def stn(s, length, encoding, errors):
160
+ """Convert a string to a null-terminated bytes object.
161
+ """
162
+ if s is None:
163
+ raise ValueError("metadata cannot contain None")
164
+ s = s.encode(encoding, errors)
165
+ return s[:length] + (length - len(s)) * NUL
166
+
167
+ def nts(s, encoding, errors):
168
+ """Convert a null-terminated bytes object to a string.
169
+ """
170
+ p = s.find(b"\0")
171
+ if p != -1:
172
+ s = s[:p]
173
+ return s.decode(encoding, errors)
174
+
175
+ def nti(s):
176
+ """Convert a number field to a python number.
177
+ """
178
+ # There are two possible encodings for a number field, see
179
+ # itn() below.
180
+ if s[0] in (0o200, 0o377):
181
+ n = 0
182
+ for i in range(len(s) - 1):
183
+ n <<= 8
184
+ n += s[i + 1]
185
+ if s[0] == 0o377:
186
+ n = -(256 ** (len(s) - 1) - n)
187
+ else:
188
+ try:
189
+ s = nts(s, "ascii", "strict")
190
+ n = int(s.strip() or "0", 8)
191
+ except ValueError:
192
+ raise InvalidHeaderError("invalid header")
193
+ return n
194
+
195
+ def itn(n, digits=8, format=DEFAULT_FORMAT):
196
+ """Convert a python number to a number field.
197
+ """
198
+ # POSIX 1003.1-1988 requires numbers to be encoded as a string of
199
+ # octal digits followed by a null-byte, this allows values up to
200
+ # (8**(digits-1))-1. GNU tar allows storing numbers greater than
201
+ # that if necessary. A leading 0o200 or 0o377 byte indicate this
202
+ # particular encoding, the following digits-1 bytes are a big-endian
203
+ # base-256 representation. This allows values up to (256**(digits-1))-1.
204
+ # A 0o200 byte indicates a positive number, a 0o377 byte a negative
205
+ # number.
206
+ original_n = n
207
+ n = int(n)
208
+ if 0 <= n < 8 ** (digits - 1):
209
+ s = bytes("%0*o" % (digits - 1, n), "ascii") + NUL
210
+ elif format == GNU_FORMAT and -256 ** (digits - 1) <= n < 256 ** (digits - 1):
211
+ if n >= 0:
212
+ s = bytearray([0o200])
213
+ else:
214
+ s = bytearray([0o377])
215
+ n = 256 ** digits + n
216
+
217
+ for i in range(digits - 1):
218
+ s.insert(1, n & 0o377)
219
+ n >>= 8
220
+ else:
221
+ raise ValueError("overflow in number field")
222
+
223
+ return s
224
+
225
+ def calc_chksums(buf):
226
+ """Calculate the checksum for a member's header by summing up all
227
+ characters except for the chksum field which is treated as if
228
+ it was filled with spaces. According to the GNU tar sources,
229
+ some tars (Sun and NeXT) calculate chksum with signed char,
230
+ which will be different if there are chars in the buffer with
231
+ the high bit set. So we calculate two checksums, unsigned and
232
+ signed.
233
+ """
234
+ unsigned_chksum = 256 + sum(struct.unpack_from("148B8x356B", buf))
235
+ signed_chksum = 256 + sum(struct.unpack_from("148b8x356b", buf))
236
+ return unsigned_chksum, signed_chksum
237
+
238
+ def copyfileobj(src, dst, length=None, exception=OSError, bufsize=None):
239
+ """Copy length bytes from fileobj src to fileobj dst.
240
+ If length is None, copy the entire content.
241
+ """
242
+ bufsize = bufsize or 16 * 1024
243
+ if length == 0:
244
+ return
245
+ if length is None:
246
+ shutil.copyfileobj(src, dst, bufsize)
247
+ return
248
+
249
+ blocks, remainder = divmod(length, bufsize)
250
+ for b in range(blocks):
251
+ buf = src.read(bufsize)
252
+ if len(buf) < bufsize:
253
+ raise exception("unexpected end of data")
254
+ dst.write(buf)
255
+
256
+ if remainder != 0:
257
+ buf = src.read(remainder)
258
+ if len(buf) < remainder:
259
+ raise exception("unexpected end of data")
260
+ dst.write(buf)
261
+ return
262
+
263
+ def _safe_print(s):
264
+ encoding = getattr(sys.stdout, 'encoding', None)
265
+ if encoding is not None:
266
+ s = s.encode(encoding, 'backslashreplace').decode(encoding)
267
+ print(s, end=' ')
268
+
269
+
270
+ class TarError(Exception):
271
+ """Base exception."""
272
+ pass
273
+ class ExtractError(TarError):
274
+ """General exception for extract errors."""
275
+ pass
276
+ class ReadError(TarError):
277
+ """Exception for unreadable tar archives."""
278
+ pass
279
+ class CompressionError(TarError):
280
+ """Exception for unavailable compression methods."""
281
+ pass
282
+ class StreamError(TarError):
283
+ """Exception for unsupported operations on stream-like TarFiles."""
284
+ pass
285
+ class HeaderError(TarError):
286
+ """Base exception for header errors."""
287
+ pass
288
+ class EmptyHeaderError(HeaderError):
289
+ """Exception for empty headers."""
290
+ pass
291
+ class TruncatedHeaderError(HeaderError):
292
+ """Exception for truncated headers."""
293
+ pass
294
+ class EOFHeaderError(HeaderError):
295
+ """Exception for end of file headers."""
296
+ pass
297
+ class InvalidHeaderError(HeaderError):
298
+ """Exception for invalid headers."""
299
+ pass
300
+ class SubsequentHeaderError(HeaderError):
301
+ """Exception for missing and invalid extended headers."""
302
+ pass
303
+
304
+ #---------------------------
305
+ # internal stream interface
306
+ #---------------------------
307
+ class _LowLevelFile:
308
+ """Low-level file object. Supports reading and writing.
309
+ It is used instead of a regular file object for streaming
310
+ access.
311
+ """
312
+
313
+ def __init__(self, name, mode):
314
+ mode = {
315
+ "r": os.O_RDONLY,
316
+ "w": os.O_WRONLY | os.O_CREAT | os.O_TRUNC,
317
+ }[mode]
318
+ if hasattr(os, "O_BINARY"):
319
+ mode |= os.O_BINARY
320
+ self.fd = os.open(name, mode, 0o666)
321
+
322
+ def close(self):
323
+ os.close(self.fd)
324
+
325
+ def read(self, size):
326
+ return os.read(self.fd, size)
327
+
328
+ def write(self, s):
329
+ os.write(self.fd, s)
330
+
331
+ class _Stream:
332
+ """Class that serves as an adapter between TarFile and
333
+ a stream-like object. The stream-like object only
334
+ needs to have a read() or write() method that works with bytes,
335
+ and the method is accessed blockwise.
336
+ Use of gzip or bzip2 compression is possible.
337
+ A stream-like object could be for example: sys.stdin.buffer,
338
+ sys.stdout.buffer, a socket, a tape device etc.
339
+
340
+ _Stream is intended to be used only internally.
341
+ """
342
+
343
+ def __init__(self, name, mode, comptype, fileobj, bufsize,
344
+ compresslevel):
345
+ """Construct a _Stream object.
346
+ """
347
+ self._extfileobj = True
348
+ if fileobj is None:
349
+ fileobj = _LowLevelFile(name, mode)
350
+ self._extfileobj = False
351
+
352
+ if comptype == '*':
353
+ # Enable transparent compression detection for the
354
+ # stream interface
355
+ fileobj = _StreamProxy(fileobj)
356
+ comptype = fileobj.getcomptype()
357
+
358
+ self.name = name or ""
359
+ self.mode = mode
360
+ self.comptype = comptype
361
+ self.fileobj = fileobj
362
+ self.bufsize = bufsize
363
+ self.buf = b""
364
+ self.pos = 0
365
+ self.closed = False
366
+
367
+ try:
368
+ if comptype == "gz":
369
+ try:
370
+ import zlib
371
+ except ImportError:
372
+ raise CompressionError("zlib module is not available") from None
373
+ self.zlib = zlib
374
+ self.crc = zlib.crc32(b"")
375
+ if mode == "r":
376
+ self.exception = zlib.error
377
+ self._init_read_gz()
378
+ else:
379
+ self._init_write_gz(compresslevel)
380
+
381
+ elif comptype == "bz2":
382
+ try:
383
+ import bz2
384
+ except ImportError:
385
+ raise CompressionError("bz2 module is not available") from None
386
+ if mode == "r":
387
+ self.dbuf = b""
388
+ self.cmp = bz2.BZ2Decompressor()
389
+ self.exception = OSError
390
+ else:
391
+ self.cmp = bz2.BZ2Compressor(compresslevel)
392
+
393
+ elif comptype == "xz":
394
+ try:
395
+ import lzma
396
+ except ImportError:
397
+ raise CompressionError("lzma module is not available") from None
398
+ if mode == "r":
399
+ self.dbuf = b""
400
+ self.cmp = lzma.LZMADecompressor()
401
+ self.exception = lzma.LZMAError
402
+ else:
403
+ self.cmp = lzma.LZMACompressor()
404
+
405
+ elif comptype != "tar":
406
+ raise CompressionError("unknown compression type %r" % comptype)
407
+
408
+ except:
409
+ if not self._extfileobj:
410
+ self.fileobj.close()
411
+ self.closed = True
412
+ raise
413
+
414
+ def __del__(self):
415
+ if hasattr(self, "closed") and not self.closed:
416
+ self.close()
417
+
418
+ def _init_write_gz(self, compresslevel):
419
+ """Initialize for writing with gzip compression.
420
+ """
421
+ self.cmp = self.zlib.compressobj(compresslevel,
422
+ self.zlib.DEFLATED,
423
+ -self.zlib.MAX_WBITS,
424
+ self.zlib.DEF_MEM_LEVEL,
425
+ 0)
426
+ timestamp = struct.pack("<L", int(time.time()))
427
+ self.__write(b"\037\213\010\010" + timestamp + b"\002\377")
428
+ if self.name.endswith(".gz"):
429
+ self.name = self.name[:-3]
430
+ # Honor "directory components removed" from RFC1952
431
+ self.name = os.path.basename(self.name)
432
+ # RFC1952 says we must use ISO-8859-1 for the FNAME field.
433
+ self.__write(self.name.encode("iso-8859-1", "replace") + NUL)
434
+
435
+ def write(self, s):
436
+ """Write string s to the stream.
437
+ """
438
+ if self.comptype == "gz":
439
+ self.crc = self.zlib.crc32(s, self.crc)
440
+ self.pos += len(s)
441
+ if self.comptype != "tar":
442
+ s = self.cmp.compress(s)
443
+ self.__write(s)
444
+
445
+ def __write(self, s):
446
+ """Write string s to the stream if a whole new block
447
+ is ready to be written.
448
+ """
449
+ self.buf += s
450
+ while len(self.buf) > self.bufsize:
451
+ self.fileobj.write(self.buf[:self.bufsize])
452
+ self.buf = self.buf[self.bufsize:]
453
+
454
+ def close(self):
455
+ """Close the _Stream object. No operation should be
456
+ done on it afterwards.
457
+ """
458
+ if self.closed:
459
+ return
460
+
461
+ self.closed = True
462
+ try:
463
+ if self.mode == "w" and self.comptype != "tar":
464
+ self.buf += self.cmp.flush()
465
+
466
+ if self.mode == "w" and self.buf:
467
+ self.fileobj.write(self.buf)
468
+ self.buf = b""
469
+ if self.comptype == "gz":
470
+ self.fileobj.write(struct.pack("<L", self.crc))
471
+ self.fileobj.write(struct.pack("<L", self.pos & 0xffffFFFF))
472
+ finally:
473
+ if not self._extfileobj:
474
+ self.fileobj.close()
475
+
476
+ def _init_read_gz(self):
477
+ """Initialize for reading a gzip compressed fileobj.
478
+ """
479
+ self.cmp = self.zlib.decompressobj(-self.zlib.MAX_WBITS)
480
+ self.dbuf = b""
481
+
482
+ # taken from gzip.GzipFile with some alterations
483
+ if self.__read(2) != b"\037\213":
484
+ raise ReadError("not a gzip file")
485
+ if self.__read(1) != b"\010":
486
+ raise CompressionError("unsupported compression method")
487
+
488
+ flag = ord(self.__read(1))
489
+ self.__read(6)
490
+
491
+ if flag & 4:
492
+ xlen = ord(self.__read(1)) + 256 * ord(self.__read(1))
493
+ self.read(xlen)
494
+ if flag & 8:
495
+ while True:
496
+ s = self.__read(1)
497
+ if not s or s == NUL:
498
+ break
499
+ if flag & 16:
500
+ while True:
501
+ s = self.__read(1)
502
+ if not s or s == NUL:
503
+ break
504
+ if flag & 2:
505
+ self.__read(2)
506
+
507
+ def tell(self):
508
+ """Return the stream's file pointer position.
509
+ """
510
+ return self.pos
511
+
512
+ def seek(self, pos=0):
513
+ """Set the stream's file pointer to pos. Negative seeking
514
+ is forbidden.
515
+ """
516
+ if pos - self.pos >= 0:
517
+ blocks, remainder = divmod(pos - self.pos, self.bufsize)
518
+ for i in range(blocks):
519
+ data = self.read(self.bufsize)
520
+ if not data:
521
+ break
522
+ self.read(remainder)
523
+ else:
524
+ raise StreamError("seeking backwards is not allowed")
525
+ return self.pos
526
+
527
+ def read(self, size):
528
+ """Return the next size number of bytes from the stream."""
529
+ assert size is not None
530
+ buf = self._read(size)
531
+ self.pos += len(buf)
532
+ return buf
533
+
534
+ def _read(self, size):
535
+ """Return size bytes from the stream.
536
+ """
537
+ if self.comptype == "tar":
538
+ return self.__read(size)
539
+
540
+ c = len(self.dbuf)
541
+ t = [self.dbuf]
542
+ while c < size:
543
+ # Skip underlying buffer to avoid unaligned double buffering.
544
+ if self.buf:
545
+ buf = self.buf
546
+ self.buf = b""
547
+ else:
548
+ buf = self.fileobj.read(self.bufsize)
549
+ if not buf:
550
+ break
551
+ try:
552
+ buf = self.cmp.decompress(buf)
553
+ except self.exception as e:
554
+ raise ReadError("invalid compressed data") from e
555
+ t.append(buf)
556
+ c += len(buf)
557
+ t = b"".join(t)
558
+ self.dbuf = t[size:]
559
+ return t[:size]
560
+
561
+ def __read(self, size):
562
+ """Return size bytes from stream. If internal buffer is empty,
563
+ read another block from the stream.
564
+ """
565
+ c = len(self.buf)
566
+ t = [self.buf]
567
+ while c < size:
568
+ buf = self.fileobj.read(self.bufsize)
569
+ if not buf:
570
+ break
571
+ t.append(buf)
572
+ c += len(buf)
573
+ t = b"".join(t)
574
+ self.buf = t[size:]
575
+ return t[:size]
576
+ # class _Stream
577
+
578
+ class _StreamProxy(object):
579
+ """Small proxy class that enables transparent compression
580
+ detection for the Stream interface (mode 'r|*').
581
+ """
582
+
583
+ def __init__(self, fileobj):
584
+ self.fileobj = fileobj
585
+ self.buf = self.fileobj.read(BLOCKSIZE)
586
+
587
+ def read(self, size):
588
+ self.read = self.fileobj.read
589
+ return self.buf
590
+
591
+ def getcomptype(self):
592
+ if self.buf.startswith(b"\x1f\x8b\x08"):
593
+ return "gz"
594
+ elif self.buf[0:3] == b"BZh" and self.buf[4:10] == b"1AY&SY":
595
+ return "bz2"
596
+ elif self.buf.startswith((b"\x5d\x00\x00\x80", b"\xfd7zXZ")):
597
+ return "xz"
598
+ else:
599
+ return "tar"
600
+
601
+ def close(self):
602
+ self.fileobj.close()
603
+ # class StreamProxy
604
+
605
+ #------------------------
606
+ # Extraction file object
607
+ #------------------------
608
+ class _FileInFile(object):
609
+ """A thin wrapper around an existing file object that
610
+ provides a part of its data as an individual file
611
+ object.
612
+ """
613
+
614
+ def __init__(self, fileobj, offset, size, name, blockinfo=None):
615
+ self.fileobj = fileobj
616
+ self.offset = offset
617
+ self.size = size
618
+ self.position = 0
619
+ self.name = name
620
+ self.closed = False
621
+
622
+ if blockinfo is None:
623
+ blockinfo = [(0, size)]
624
+
625
+ # Construct a map with data and zero blocks.
626
+ self.map_index = 0
627
+ self.map = []
628
+ lastpos = 0
629
+ realpos = self.offset
630
+ for offset, size in blockinfo:
631
+ if offset > lastpos:
632
+ self.map.append((False, lastpos, offset, None))
633
+ self.map.append((True, offset, offset + size, realpos))
634
+ realpos += size
635
+ lastpos = offset + size
636
+ if lastpos < self.size:
637
+ self.map.append((False, lastpos, self.size, None))
638
+
639
+ def flush(self):
640
+ pass
641
+
642
+ def readable(self):
643
+ return True
644
+
645
+ def writable(self):
646
+ return False
647
+
648
+ def seekable(self):
649
+ return self.fileobj.seekable()
650
+
651
+ def tell(self):
652
+ """Return the current file position.
653
+ """
654
+ return self.position
655
+
656
+ def seek(self, position, whence=io.SEEK_SET):
657
+ """Seek to a position in the file.
658
+ """
659
+ if whence == io.SEEK_SET:
660
+ self.position = min(max(position, 0), self.size)
661
+ elif whence == io.SEEK_CUR:
662
+ if position < 0:
663
+ self.position = max(self.position + position, 0)
664
+ else:
665
+ self.position = min(self.position + position, self.size)
666
+ elif whence == io.SEEK_END:
667
+ self.position = max(min(self.size + position, self.size), 0)
668
+ else:
669
+ raise ValueError("Invalid argument")
670
+ return self.position
671
+
672
+ def read(self, size=None):
673
+ """Read data from the file.
674
+ """
675
+ if size is None:
676
+ size = self.size - self.position
677
+ else:
678
+ size = min(size, self.size - self.position)
679
+
680
+ buf = b""
681
+ while size > 0:
682
+ while True:
683
+ data, start, stop, offset = self.map[self.map_index]
684
+ if start <= self.position < stop:
685
+ break
686
+ else:
687
+ self.map_index += 1
688
+ if self.map_index == len(self.map):
689
+ self.map_index = 0
690
+ length = min(size, stop - self.position)
691
+ if data:
692
+ self.fileobj.seek(offset + (self.position - start))
693
+ b = self.fileobj.read(length)
694
+ if len(b) != length:
695
+ raise ReadError("unexpected end of data")
696
+ buf += b
697
+ else:
698
+ buf += NUL * length
699
+ size -= length
700
+ self.position += length
701
+ return buf
702
+
703
+ def readinto(self, b):
704
+ buf = self.read(len(b))
705
+ b[:len(buf)] = buf
706
+ return len(buf)
707
+
708
+ def close(self):
709
+ self.closed = True
710
+ #class _FileInFile
711
+
712
+ class ExFileObject(io.BufferedReader):
713
+
714
+ def __init__(self, tarfile, tarinfo):
715
+ fileobj = _FileInFile(tarfile.fileobj, tarinfo.offset_data,
716
+ tarinfo.size, tarinfo.name, tarinfo.sparse)
717
+ super().__init__(fileobj)
718
+ #class ExFileObject
719
+
720
+
721
+ #-----------------------------
722
+ # extraction filters (PEP 706)
723
+ #-----------------------------
724
+
725
+ class FilterError(TarError):
726
+ pass
727
+
728
+ class AbsolutePathError(FilterError):
729
+ def __init__(self, tarinfo):
730
+ self.tarinfo = tarinfo
731
+ super().__init__(f'member {tarinfo.name!r} has an absolute path')
732
+
733
+ class OutsideDestinationError(FilterError):
734
+ def __init__(self, tarinfo, path):
735
+ self.tarinfo = tarinfo
736
+ self._path = path
737
+ super().__init__(f'{tarinfo.name!r} would be extracted to {path!r}, '
738
+ + 'which is outside the destination')
739
+
740
+ class SpecialFileError(FilterError):
741
+ def __init__(self, tarinfo):
742
+ self.tarinfo = tarinfo
743
+ super().__init__(f'{tarinfo.name!r} is a special file')
744
+
745
+ class AbsoluteLinkError(FilterError):
746
+ def __init__(self, tarinfo):
747
+ self.tarinfo = tarinfo
748
+ super().__init__(f'{tarinfo.name!r} is a link to an absolute path')
749
+
750
+ class LinkOutsideDestinationError(FilterError):
751
+ def __init__(self, tarinfo, path):
752
+ self.tarinfo = tarinfo
753
+ self._path = path
754
+ super().__init__(f'{tarinfo.name!r} would link to {path!r}, '
755
+ + 'which is outside the destination')
756
+
757
+ class LinkFallbackError(FilterError):
758
+ def __init__(self, tarinfo, path):
759
+ self.tarinfo = tarinfo
760
+ self._path = path
761
+ super().__init__(f'link {tarinfo.name!r} would be extracted as a '
762
+ + f'copy of {path!r}, which was rejected')
763
+
764
+ # Errors caused by filters -- both "fatal" and "non-fatal" -- that
765
+ # we consider to be issues with the argument, rather than a bug in the
766
+ # filter function
767
+ _FILTER_ERRORS = (FilterError, OSError, ExtractError)
768
+
769
+ def _get_filtered_attrs(member, dest_path, for_data=True):
770
+ new_attrs = {}
771
+ name = member.name
772
+ dest_path = os.path.realpath(dest_path, strict=os.path.ALLOW_MISSING)
773
+ # Strip leading / (tar's directory separator) from filenames.
774
+ # Include os.sep (target OS directory separator) as well.
775
+ if name.startswith(('/', os.sep)):
776
+ name = new_attrs['name'] = member.path.lstrip('/' + os.sep)
777
+ if os.path.isabs(name):
778
+ # Path is absolute even after stripping.
779
+ # For example, 'C:/foo' on Windows.
780
+ raise AbsolutePathError(member)
781
+ # Ensure we stay in the destination
782
+ if '..' in name.replace(os.sep, '/').split('/'):
783
+ # Directories are created from the name as given, so a name that
784
+ # leaves the destination part-way through would create them
785
+ # outside it even if the resolved path stays inside.
786
+ normalized = os.path.normpath(name)
787
+ if normalized != name:
788
+ name = new_attrs['name'] = normalized
789
+ target_path = os.path.realpath(os.path.join(dest_path, name),
790
+ strict=os.path.ALLOW_MISSING)
791
+ if os.path.commonpath([target_path, dest_path]) != dest_path:
792
+ raise OutsideDestinationError(member, target_path)
793
+ # A link member named after the destination directory itself
794
+ # would replace it with a (sym)link, redirecting the destination
795
+ # for all subsequent members.
796
+ if ((member.islnk() or member.issym())
797
+ and os.path.normpath(name) == os.curdir):
798
+ raise OutsideDestinationError(member, target_path)
799
+ # Limit permissions (no high bits, and go-w)
800
+ mode = member.mode
801
+ if mode is not None:
802
+ # Strip high bits & group/other write bits
803
+ mode = mode & 0o755
804
+ if for_data:
805
+ # For data, handle permissions & file types
806
+ if member.isreg() or member.islnk():
807
+ if not mode & 0o100:
808
+ # Clear executable bits if not executable by user
809
+ mode &= ~0o111
810
+ # Ensure owner can read & write
811
+ mode |= 0o600
812
+ elif member.isdir() or member.issym():
813
+ # Ignore mode for directories & symlinks
814
+ mode = None
815
+ else:
816
+ # Reject special files
817
+ raise SpecialFileError(member)
818
+ if mode != member.mode:
819
+ new_attrs['mode'] = mode
820
+ if for_data:
821
+ # Ignore ownership for 'data'
822
+ if member.uid is not None:
823
+ new_attrs['uid'] = None
824
+ if member.gid is not None:
825
+ new_attrs['gid'] = None
826
+ if member.uname is not None:
827
+ new_attrs['uname'] = None
828
+ if member.gname is not None:
829
+ new_attrs['gname'] = None
830
+ # Check link destination for 'data'
831
+ if member.islnk() or member.issym():
832
+ if os.path.isabs(member.linkname):
833
+ raise AbsoluteLinkError(member)
834
+ normalized = os.path.normpath(member.linkname)
835
+ if normalized != member.linkname:
836
+ new_attrs['linkname'] = normalized
837
+ if member.issym():
838
+ # The symlink is created at `name` with trailing separators
839
+ # stripped, so its target is relative to the directory
840
+ # containing that path.
841
+ link_dir = os.path.dirname(name.rstrip('/' + os.sep))
842
+ target_path = os.path.join(dest_path, link_dir, normalized)
843
+ else:
844
+ target_path = os.path.join(dest_path, normalized)
845
+ target_path = os.path.realpath(target_path,
846
+ strict=os.path.ALLOW_MISSING)
847
+ if os.path.commonpath([target_path, dest_path]) != dest_path:
848
+ raise LinkOutsideDestinationError(member, target_path)
849
+ return new_attrs
850
+
851
+ def fully_trusted_filter(member, dest_path):
852
+ return member
853
+
854
+ def tar_filter(member, dest_path):
855
+ new_attrs = _get_filtered_attrs(member, dest_path, False)
856
+ if new_attrs:
857
+ return member.replace(**new_attrs, deep=False)
858
+ return member
859
+
860
+ def data_filter(member, dest_path):
861
+ new_attrs = _get_filtered_attrs(member, dest_path, True)
862
+ if new_attrs:
863
+ return member.replace(**new_attrs, deep=False)
864
+ return member
865
+
866
+ _NAMED_FILTERS = {
867
+ "fully_trusted": fully_trusted_filter,
868
+ "tar": tar_filter,
869
+ "data": data_filter,
870
+ }
871
+
872
+ #------------------
873
+ # Exported Classes
874
+ #------------------
875
+
876
+ # Sentinel for replace() defaults, meaning "don't change the attribute"
877
+ _KEEP = object()
878
+
879
+ # Header length is digits followed by a space.
880
+ _header_length_prefix_re = re.compile(br"([0-9]{1,20}) ")
881
+
882
+ class TarInfo(object):
883
+ """Informational class which holds the details about an
884
+ archive member given by a tar header block.
885
+ TarInfo objects are returned by TarFile.getmember(),
886
+ TarFile.getmembers() and TarFile.gettarinfo() and are
887
+ usually created internally.
888
+ """
889
+
890
+ __slots__ = dict(
891
+ name = 'Name of the archive member.',
892
+ mode = 'Permission bits.',
893
+ uid = 'User ID of the user who originally stored this member.',
894
+ gid = 'Group ID of the user who originally stored this member.',
895
+ size = 'Size in bytes.',
896
+ mtime = 'Time of last modification.',
897
+ chksum = 'Header checksum.',
898
+ type = ('File type. type is usually one of these constants: '
899
+ 'REGTYPE, AREGTYPE, LNKTYPE, SYMTYPE, DIRTYPE, FIFOTYPE, '
900
+ 'CONTTYPE, CHRTYPE, BLKTYPE, GNUTYPE_SPARSE.'),
901
+ linkname = ('Name of the target file name, which is only present '
902
+ 'in TarInfo objects of type LNKTYPE and SYMTYPE.'),
903
+ uname = 'User name.',
904
+ gname = 'Group name.',
905
+ devmajor = 'Device major number.',
906
+ devminor = 'Device minor number.',
907
+ offset = 'The tar header starts here.',
908
+ offset_data = "The file's data starts here.",
909
+ pax_headers = ('A dictionary containing key-value pairs of an '
910
+ 'associated pax extended header.'),
911
+ sparse = 'Sparse member information.',
912
+ tarfile = None,
913
+ _sparse_structs = None,
914
+ _link_target = None,
915
+ )
916
+
917
+ def __init__(self, name=""):
918
+ """Construct a TarInfo object. name is the optional name
919
+ of the member.
920
+ """
921
+ self.name = name # member name
922
+ self.mode = 0o644 # file permissions
923
+ self.uid = 0 # user id
924
+ self.gid = 0 # group id
925
+ self.size = 0 # file size
926
+ self.mtime = 0 # modification time
927
+ self.chksum = 0 # header checksum
928
+ self.type = REGTYPE # member type
929
+ self.linkname = "" # link name
930
+ self.uname = "" # user name
931
+ self.gname = "" # group name
932
+ self.devmajor = 0 # device major number
933
+ self.devminor = 0 # device minor number
934
+
935
+ self.offset = 0 # the tar header starts here
936
+ self.offset_data = 0 # the file's data starts here
937
+
938
+ self.sparse = None # sparse member information
939
+ self.pax_headers = {} # pax header information
940
+
941
+ @property
942
+ def path(self):
943
+ 'In pax headers, "name" is called "path".'
944
+ return self.name
945
+
946
+ @path.setter
947
+ def path(self, name):
948
+ self.name = name
949
+
950
+ @property
951
+ def linkpath(self):
952
+ 'In pax headers, "linkname" is called "linkpath".'
953
+ return self.linkname
954
+
955
+ @linkpath.setter
956
+ def linkpath(self, linkname):
957
+ self.linkname = linkname
958
+
959
+ def __repr__(self):
960
+ return "<%s %r at %#x>" % (self.__class__.__name__,self.name,id(self))
961
+
962
+ def replace(self, *,
963
+ name=_KEEP, mtime=_KEEP, mode=_KEEP, linkname=_KEEP,
964
+ uid=_KEEP, gid=_KEEP, uname=_KEEP, gname=_KEEP,
965
+ deep=True, _KEEP=_KEEP):
966
+ """Return a deep copy of self with the given attributes replaced.
967
+ """
968
+ if deep:
969
+ result = copy.deepcopy(self)
970
+ else:
971
+ result = copy.copy(self)
972
+ if name is not _KEEP:
973
+ result.name = name
974
+ if mtime is not _KEEP:
975
+ result.mtime = mtime
976
+ if mode is not _KEEP:
977
+ result.mode = mode
978
+ if linkname is not _KEEP:
979
+ result.linkname = linkname
980
+ if uid is not _KEEP:
981
+ result.uid = uid
982
+ if gid is not _KEEP:
983
+ result.gid = gid
984
+ if uname is not _KEEP:
985
+ result.uname = uname
986
+ if gname is not _KEEP:
987
+ result.gname = gname
988
+ return result
989
+
990
+ def get_info(self):
991
+ """Return the TarInfo's attributes as a dictionary.
992
+ """
993
+ if self.mode is None:
994
+ mode = None
995
+ else:
996
+ mode = self.mode & 0o7777
997
+ info = {
998
+ "name": self.name,
999
+ "mode": mode,
1000
+ "uid": self.uid,
1001
+ "gid": self.gid,
1002
+ "size": self.size,
1003
+ "mtime": self.mtime,
1004
+ "chksum": self.chksum,
1005
+ "type": self.type,
1006
+ "linkname": self.linkname,
1007
+ "uname": self.uname,
1008
+ "gname": self.gname,
1009
+ "devmajor": self.devmajor,
1010
+ "devminor": self.devminor
1011
+ }
1012
+
1013
+ if info["type"] == DIRTYPE and not info["name"].endswith("/"):
1014
+ info["name"] += "/"
1015
+
1016
+ return info
1017
+
1018
+ def tobuf(self, format=DEFAULT_FORMAT, encoding=ENCODING, errors="surrogateescape"):
1019
+ """Return a tar header as a string of 512 byte blocks.
1020
+ """
1021
+ info = self.get_info()
1022
+ for name, value in info.items():
1023
+ if value is None:
1024
+ raise ValueError("%s may not be None" % name)
1025
+
1026
+ if format == USTAR_FORMAT:
1027
+ return self.create_ustar_header(info, encoding, errors)
1028
+ elif format == GNU_FORMAT:
1029
+ return self.create_gnu_header(info, encoding, errors)
1030
+ elif format == PAX_FORMAT:
1031
+ return self.create_pax_header(info, encoding)
1032
+ else:
1033
+ raise ValueError("invalid format")
1034
+
1035
+ def create_ustar_header(self, info, encoding, errors):
1036
+ """Return the object as a ustar header block.
1037
+ """
1038
+ info["magic"] = POSIX_MAGIC
1039
+
1040
+ if len(info["linkname"].encode(encoding, errors)) > LENGTH_LINK:
1041
+ raise ValueError("linkname is too long")
1042
+
1043
+ if len(info["name"].encode(encoding, errors)) > LENGTH_NAME:
1044
+ info["prefix"], info["name"] = self._posix_split_name(info["name"], encoding, errors)
1045
+
1046
+ return self._create_header(info, USTAR_FORMAT, encoding, errors)
1047
+
1048
+ def create_gnu_header(self, info, encoding, errors):
1049
+ """Return the object as a GNU header block sequence.
1050
+ """
1051
+ info["magic"] = GNU_MAGIC
1052
+
1053
+ buf = b""
1054
+ if len(info["linkname"].encode(encoding, errors)) > LENGTH_LINK:
1055
+ buf += self._create_gnu_long_header(info["linkname"], GNUTYPE_LONGLINK, encoding, errors)
1056
+
1057
+ if len(info["name"].encode(encoding, errors)) > LENGTH_NAME:
1058
+ buf += self._create_gnu_long_header(info["name"], GNUTYPE_LONGNAME, encoding, errors)
1059
+
1060
+ return buf + self._create_header(info, GNU_FORMAT, encoding, errors)
1061
+
1062
+ def create_pax_header(self, info, encoding):
1063
+ """Return the object as a ustar header block. If it cannot be
1064
+ represented this way, prepend a pax extended header sequence
1065
+ with supplement information.
1066
+ """
1067
+ info["magic"] = POSIX_MAGIC
1068
+ pax_headers = self.pax_headers.copy()
1069
+
1070
+ # Test string fields for values that exceed the field length or cannot
1071
+ # be represented in ASCII encoding.
1072
+ for name, hname, length in (
1073
+ ("name", "path", LENGTH_NAME), ("linkname", "linkpath", LENGTH_LINK),
1074
+ ("uname", "uname", 32), ("gname", "gname", 32)):
1075
+
1076
+ if hname in pax_headers:
1077
+ # The pax header has priority.
1078
+ continue
1079
+
1080
+ # Try to encode the string as ASCII.
1081
+ try:
1082
+ info[name].encode("ascii", "strict")
1083
+ except UnicodeEncodeError:
1084
+ pax_headers[hname] = info[name]
1085
+ continue
1086
+
1087
+ if len(info[name]) > length:
1088
+ pax_headers[hname] = info[name]
1089
+
1090
+ # Test number fields for values that exceed the field limit or values
1091
+ # that like to be stored as float.
1092
+ for name, digits in (("uid", 8), ("gid", 8), ("size", 12), ("mtime", 12)):
1093
+ needs_pax = False
1094
+
1095
+ val = info[name]
1096
+ val_is_float = isinstance(val, float)
1097
+ val_int = round(val) if val_is_float else val
1098
+ if not 0 <= val_int < 8 ** (digits - 1):
1099
+ # Avoid overflow.
1100
+ info[name] = 0
1101
+ needs_pax = True
1102
+ elif val_is_float:
1103
+ # Put rounded value in ustar header, and full
1104
+ # precision value in pax header.
1105
+ info[name] = val_int
1106
+ needs_pax = True
1107
+
1108
+ # The existing pax header has priority.
1109
+ if needs_pax and name not in pax_headers:
1110
+ pax_headers[name] = str(val)
1111
+
1112
+ # Create a pax extended header if necessary.
1113
+ if pax_headers:
1114
+ buf = self._create_pax_generic_header(pax_headers, XHDTYPE, encoding)
1115
+ else:
1116
+ buf = b""
1117
+
1118
+ return buf + self._create_header(info, USTAR_FORMAT, "ascii", "replace")
1119
+
1120
+ @classmethod
1121
+ def create_pax_global_header(cls, pax_headers):
1122
+ """Return the object as a pax global header block sequence.
1123
+ """
1124
+ return cls._create_pax_generic_header(pax_headers, XGLTYPE, "utf-8")
1125
+
1126
+ def _posix_split_name(self, name, encoding, errors):
1127
+ """Split a name longer than 100 chars into a prefix
1128
+ and a name part.
1129
+ """
1130
+ components = name.split("/")
1131
+ for i in range(1, len(components)):
1132
+ prefix = "/".join(components[:i])
1133
+ name = "/".join(components[i:])
1134
+ if len(prefix.encode(encoding, errors)) <= LENGTH_PREFIX and \
1135
+ len(name.encode(encoding, errors)) <= LENGTH_NAME:
1136
+ break
1137
+ else:
1138
+ raise ValueError("name is too long")
1139
+
1140
+ return prefix, name
1141
+
1142
+ @staticmethod
1143
+ def _create_header(info, format, encoding, errors):
1144
+ """Return a header block. info is a dictionary with file
1145
+ information, format must be one of the *_FORMAT constants.
1146
+ """
1147
+ has_device_fields = info.get("type") in (CHRTYPE, BLKTYPE)
1148
+ if has_device_fields:
1149
+ devmajor = itn(info.get("devmajor", 0), 8, format)
1150
+ devminor = itn(info.get("devminor", 0), 8, format)
1151
+ else:
1152
+ devmajor = stn("", 8, encoding, errors)
1153
+ devminor = stn("", 8, encoding, errors)
1154
+
1155
+ # None values in metadata should cause ValueError.
1156
+ # itn()/stn() do this for all fields except type.
1157
+ filetype = info.get("type", REGTYPE)
1158
+ if filetype is None:
1159
+ raise ValueError("TarInfo.type must not be None")
1160
+
1161
+ parts = [
1162
+ stn(info.get("name", ""), 100, encoding, errors),
1163
+ itn(info.get("mode", 0) & 0o7777, 8, format),
1164
+ itn(info.get("uid", 0), 8, format),
1165
+ itn(info.get("gid", 0), 8, format),
1166
+ itn(info.get("size", 0), 12, format),
1167
+ itn(info.get("mtime", 0), 12, format),
1168
+ b" ", # checksum field
1169
+ filetype,
1170
+ stn(info.get("linkname", ""), 100, encoding, errors),
1171
+ info.get("magic", POSIX_MAGIC),
1172
+ stn(info.get("uname", ""), 32, encoding, errors),
1173
+ stn(info.get("gname", ""), 32, encoding, errors),
1174
+ devmajor,
1175
+ devminor,
1176
+ stn(info.get("prefix", ""), 155, encoding, errors)
1177
+ ]
1178
+
1179
+ buf = struct.pack("%ds" % BLOCKSIZE, b"".join(parts))
1180
+ chksum = calc_chksums(buf[-BLOCKSIZE:])[0]
1181
+ buf = buf[:-364] + bytes("%06o\0" % chksum, "ascii") + buf[-357:]
1182
+ return buf
1183
+
1184
+ @staticmethod
1185
+ def _create_payload(payload):
1186
+ """Return the string payload filled with zero bytes
1187
+ up to the next 512 byte border.
1188
+ """
1189
+ blocks, remainder = divmod(len(payload), BLOCKSIZE)
1190
+ if remainder > 0:
1191
+ payload += (BLOCKSIZE - remainder) * NUL
1192
+ return payload
1193
+
1194
+ @classmethod
1195
+ def _create_gnu_long_header(cls, name, type, encoding, errors):
1196
+ """Return a GNUTYPE_LONGNAME or GNUTYPE_LONGLINK sequence
1197
+ for name.
1198
+ """
1199
+ name = name.encode(encoding, errors) + NUL
1200
+
1201
+ info = {}
1202
+ info["name"] = "././@LongLink"
1203
+ info["type"] = type
1204
+ info["size"] = len(name)
1205
+ info["magic"] = GNU_MAGIC
1206
+
1207
+ # create extended header + name blocks.
1208
+ return cls._create_header(info, USTAR_FORMAT, encoding, errors) + \
1209
+ cls._create_payload(name)
1210
+
1211
+ @classmethod
1212
+ def _create_pax_generic_header(cls, pax_headers, type, encoding):
1213
+ """Return a POSIX.1-2008 extended or global header sequence
1214
+ that contains a list of keyword, value pairs. The values
1215
+ must be strings.
1216
+ """
1217
+ # Check if one of the fields contains surrogate characters and thereby
1218
+ # forces hdrcharset=BINARY, see _proc_pax() for more information.
1219
+ binary = False
1220
+ for keyword, value in pax_headers.items():
1221
+ try:
1222
+ value.encode("utf-8", "strict")
1223
+ except UnicodeEncodeError:
1224
+ binary = True
1225
+ break
1226
+
1227
+ records = b""
1228
+ if binary:
1229
+ # Put the hdrcharset field at the beginning of the header.
1230
+ records += b"21 hdrcharset=BINARY\n"
1231
+
1232
+ for keyword, value in pax_headers.items():
1233
+ keyword = keyword.encode("utf-8")
1234
+ if binary:
1235
+ # Try to restore the original byte representation of `value'.
1236
+ # Needless to say, that the encoding must match the string.
1237
+ value = value.encode(encoding, "surrogateescape")
1238
+ else:
1239
+ value = value.encode("utf-8")
1240
+
1241
+ l = len(keyword) + len(value) + 3 # ' ' + '=' + '\n'
1242
+ n = p = 0
1243
+ while True:
1244
+ n = l + len(str(p))
1245
+ if n == p:
1246
+ break
1247
+ p = n
1248
+ records += bytes(str(p), "ascii") + b" " + keyword + b"=" + value + b"\n"
1249
+
1250
+ # We use a hardcoded "././@PaxHeader" name like star does
1251
+ # instead of the one that POSIX recommends.
1252
+ info = {}
1253
+ info["name"] = "././@PaxHeader"
1254
+ info["type"] = type
1255
+ info["size"] = len(records)
1256
+ info["magic"] = POSIX_MAGIC
1257
+
1258
+ # Create pax header + record blocks.
1259
+ return cls._create_header(info, USTAR_FORMAT, "ascii", "replace") + \
1260
+ cls._create_payload(records)
1261
+
1262
+ @classmethod
1263
+ def frombuf(cls, buf, encoding, errors):
1264
+ """Construct a TarInfo object from a 512 byte bytes object.
1265
+
1266
+ To support the old v7 tar format AREGTYPE headers are
1267
+ transformed to DIRTYPE headers if their name ends in '/'.
1268
+ """
1269
+ return cls._frombuf(buf, encoding, errors)
1270
+
1271
+ @classmethod
1272
+ def _frombuf(cls, buf, encoding, errors, *, dircheck=True):
1273
+ """Construct a TarInfo object from a 512 byte bytes object.
1274
+
1275
+ If ``dircheck`` is set to ``True`` then ``AREGTYPE`` headers will
1276
+ be normalized to ``DIRTYPE`` if the name ends in a trailing slash.
1277
+ ``dircheck`` must be set to ``False`` if this function is called
1278
+ on a follow-up header such as ``GNUTYPE_LONGNAME``.
1279
+ """
1280
+ if len(buf) == 0:
1281
+ raise EmptyHeaderError("empty header")
1282
+ if len(buf) != BLOCKSIZE:
1283
+ raise TruncatedHeaderError("truncated header")
1284
+ if buf.count(NUL) == BLOCKSIZE:
1285
+ raise EOFHeaderError("end of file header")
1286
+
1287
+ chksum = nti(buf[148:156])
1288
+ if chksum not in calc_chksums(buf):
1289
+ raise InvalidHeaderError("bad checksum")
1290
+
1291
+ obj = cls()
1292
+ obj.name = nts(buf[0:100], encoding, errors)
1293
+ obj.mode = nti(buf[100:108])
1294
+ obj.uid = nti(buf[108:116])
1295
+ obj.gid = nti(buf[116:124])
1296
+ obj.size = nti(buf[124:136])
1297
+ obj.mtime = nti(buf[136:148])
1298
+ obj.chksum = chksum
1299
+ obj.type = buf[156:157]
1300
+ obj.linkname = nts(buf[157:257], encoding, errors)
1301
+ obj.uname = nts(buf[265:297], encoding, errors)
1302
+ obj.gname = nts(buf[297:329], encoding, errors)
1303
+ obj.devmajor = nti(buf[329:337])
1304
+ obj.devminor = nti(buf[337:345])
1305
+ prefix = nts(buf[345:500], encoding, errors)
1306
+
1307
+ # Old V7 tar format represents a directory as a regular
1308
+ # file with a trailing slash.
1309
+ if dircheck and obj.type == AREGTYPE and obj.name.endswith("/"):
1310
+ obj.type = DIRTYPE
1311
+
1312
+ # The old GNU sparse format occupies some of the unused
1313
+ # space in the buffer for up to 4 sparse structures.
1314
+ # Save them for later processing in _proc_sparse().
1315
+ if obj.type == GNUTYPE_SPARSE:
1316
+ pos = 386
1317
+ structs = []
1318
+ for i in range(4):
1319
+ try:
1320
+ offset = nti(buf[pos:pos + 12])
1321
+ numbytes = nti(buf[pos + 12:pos + 24])
1322
+ except ValueError:
1323
+ break
1324
+ structs.append((offset, numbytes))
1325
+ pos += 24
1326
+ isextended = bool(buf[482])
1327
+ origsize = nti(buf[483:495])
1328
+ obj._sparse_structs = (structs, isextended, origsize)
1329
+
1330
+ # Remove redundant slashes from directories.
1331
+ if obj.isdir():
1332
+ obj.name = obj.name.rstrip("/")
1333
+
1334
+ # Reconstruct a ustar longname.
1335
+ if prefix and obj.type not in GNU_TYPES:
1336
+ obj.name = prefix + "/" + obj.name
1337
+ return obj
1338
+
1339
+ @classmethod
1340
+ def fromtarfile(cls, tarfile):
1341
+ """Return the next TarInfo object from TarFile object
1342
+ tarfile.
1343
+ """
1344
+ return cls._fromtarfile(tarfile)
1345
+
1346
+ @classmethod
1347
+ def _fromtarfile(cls, tarfile, *, dircheck=True):
1348
+ """
1349
+ See dircheck documentation in _frombuf().
1350
+ """
1351
+ buf = tarfile.fileobj.read(BLOCKSIZE)
1352
+ obj = cls._frombuf(buf, tarfile.encoding, tarfile.errors, dircheck=dircheck)
1353
+ obj.offset = tarfile.fileobj.tell() - BLOCKSIZE
1354
+ return obj._proc_member(tarfile)
1355
+
1356
+ #--------------------------------------------------------------------------
1357
+ # The following are methods that are called depending on the type of a
1358
+ # member. The entry point is _proc_member() which can be overridden in a
1359
+ # subclass to add custom _proc_*() methods. A _proc_*() method MUST
1360
+ # implement the following
1361
+ # operations:
1362
+ # 1. Set self.offset_data to the position where the data blocks begin,
1363
+ # if there is data that follows.
1364
+ # 2. Set tarfile.offset to the position where the next member's header will
1365
+ # begin.
1366
+ # 3. Return self or another valid TarInfo object.
1367
+ def _proc_member(self, tarfile):
1368
+ """Choose the right processing method depending on
1369
+ the type and call it.
1370
+ """
1371
+ if self.type in (GNUTYPE_LONGNAME, GNUTYPE_LONGLINK):
1372
+ return self._proc_gnulong(tarfile)
1373
+ elif self.type == GNUTYPE_SPARSE:
1374
+ return self._proc_sparse(tarfile)
1375
+ elif self.type in (XHDTYPE, XGLTYPE, SOLARIS_XHDTYPE):
1376
+ return self._proc_pax(tarfile)
1377
+ else:
1378
+ return self._proc_builtin(tarfile)
1379
+
1380
+ def _proc_builtin(self, tarfile):
1381
+ """Process a builtin type or an unknown type which
1382
+ will be treated as a regular file.
1383
+ """
1384
+ self.offset_data = tarfile.fileobj.tell()
1385
+ offset = self.offset_data
1386
+ if self.isreg() or self.type not in SUPPORTED_TYPES:
1387
+ # Skip the following data blocks.
1388
+ offset += self._block(self.size)
1389
+ tarfile.offset = offset
1390
+
1391
+ # Patch the TarInfo object with saved global
1392
+ # header information.
1393
+ self._apply_pax_info(tarfile.pax_headers, tarfile.encoding, tarfile.errors)
1394
+
1395
+ # Remove redundant slashes from directories. This is to be consistent
1396
+ # with frombuf().
1397
+ if self.isdir():
1398
+ self.name = self.name.rstrip("/")
1399
+
1400
+ return self
1401
+
1402
+ def _proc_gnulong(self, tarfile):
1403
+ """Process the blocks that hold a GNU longname
1404
+ or longlink member.
1405
+ """
1406
+ buf = tarfile.fileobj.read(self._block(self.size))
1407
+
1408
+ # Fetch the next header and process it.
1409
+ try:
1410
+ next = self._fromtarfile(tarfile, dircheck=False)
1411
+ except HeaderError as e:
1412
+ raise SubsequentHeaderError(str(e)) from None
1413
+
1414
+ # Patch the TarInfo object from the next header with
1415
+ # the longname information.
1416
+ next.offset = self.offset
1417
+ if self.type == GNUTYPE_LONGNAME:
1418
+ next.name = nts(buf, tarfile.encoding, tarfile.errors)
1419
+ elif self.type == GNUTYPE_LONGLINK:
1420
+ next.linkname = nts(buf, tarfile.encoding, tarfile.errors)
1421
+
1422
+ # Remove redundant slashes from directories. This is to be consistent
1423
+ # with frombuf().
1424
+ if next.isdir():
1425
+ next.name = next.name.removesuffix("/")
1426
+
1427
+ return next
1428
+
1429
+ def _proc_sparse(self, tarfile):
1430
+ """Process a GNU sparse header plus extra headers.
1431
+ """
1432
+ # We already collected some sparse structures in frombuf().
1433
+ structs, isextended, origsize = self._sparse_structs
1434
+ del self._sparse_structs
1435
+
1436
+ # Collect sparse structures from extended header blocks.
1437
+ while isextended:
1438
+ buf = tarfile.fileobj.read(BLOCKSIZE)
1439
+ pos = 0
1440
+ for i in range(21):
1441
+ try:
1442
+ offset = nti(buf[pos:pos + 12])
1443
+ numbytes = nti(buf[pos + 12:pos + 24])
1444
+ except ValueError:
1445
+ break
1446
+ if offset and numbytes:
1447
+ structs.append((offset, numbytes))
1448
+ pos += 24
1449
+ isextended = bool(buf[504])
1450
+ self.sparse = structs
1451
+
1452
+ self.offset_data = tarfile.fileobj.tell()
1453
+ tarfile.offset = self.offset_data + self._block(self.size)
1454
+ self.size = origsize
1455
+ return self
1456
+
1457
+ def _proc_pax(self, tarfile):
1458
+ """Process an extended or global header as described in
1459
+ POSIX.1-2008.
1460
+ """
1461
+ # Read the header information.
1462
+ buf = tarfile.fileobj.read(self._block(self.size))
1463
+
1464
+ # A pax header stores supplemental information for either
1465
+ # the following file (extended) or all following files
1466
+ # (global).
1467
+ if self.type == XGLTYPE:
1468
+ pax_headers = tarfile.pax_headers
1469
+ else:
1470
+ pax_headers = tarfile.pax_headers.copy()
1471
+
1472
+ # Parse pax header information. A record looks like that:
1473
+ # "%d %s=%s\n" % (length, keyword, value). length is the size
1474
+ # of the complete record including the length field itself and
1475
+ # the newline.
1476
+ pos = 0
1477
+ encoding = None
1478
+ raw_headers = []
1479
+ while len(buf) > pos and buf[pos] != 0x00:
1480
+ if not (match := _header_length_prefix_re.match(buf, pos)):
1481
+ raise InvalidHeaderError("invalid header")
1482
+ try:
1483
+ length = int(match.group(1))
1484
+ except ValueError:
1485
+ raise InvalidHeaderError("invalid header")
1486
+ # Headers must be at least 5 bytes, shortest being '5 x=\n'.
1487
+ # Value is allowed to be empty.
1488
+ if length < 5:
1489
+ raise InvalidHeaderError("invalid header")
1490
+ if pos + length > len(buf):
1491
+ raise InvalidHeaderError("invalid header")
1492
+
1493
+ header_value_end_offset = match.start(1) + length - 1 # Last byte of the header
1494
+ keyword_and_value = buf[match.end(1) + 1:header_value_end_offset]
1495
+ raw_keyword, equals, raw_value = keyword_and_value.partition(b"=")
1496
+
1497
+ # Check the framing of the header. The last character must be '\n' (0x0A)
1498
+ if not raw_keyword or equals != b"=" or buf[header_value_end_offset] != 0x0A:
1499
+ raise InvalidHeaderError("invalid header")
1500
+ raw_headers.append((length, raw_keyword, raw_value))
1501
+
1502
+ # Check if the pax header contains a hdrcharset field. This tells us
1503
+ # the encoding of the path, linkpath, uname and gname fields. Normally,
1504
+ # these fields are UTF-8 encoded but since POSIX.1-2008 tar
1505
+ # implementations are allowed to store them as raw binary strings if
1506
+ # the translation to UTF-8 fails. For the time being, we don't care about
1507
+ # anything other than "BINARY". The only other value that is currently
1508
+ # allowed by the standard is "ISO-IR 10646 2000 UTF-8" in other words UTF-8.
1509
+ # Note that we only follow the initial 'hdrcharset' setting to preserve
1510
+ # the initial behavior of the 'tarfile' module.
1511
+ if raw_keyword == b"hdrcharset" and encoding is None:
1512
+ if raw_value == b"BINARY":
1513
+ encoding = tarfile.encoding
1514
+ else: # This branch ensures only the first 'hdrcharset' header is used.
1515
+ encoding = "utf-8"
1516
+
1517
+ pos += length
1518
+
1519
+ # If no explicit hdrcharset is set, we use UTF-8 as a default.
1520
+ if encoding is None:
1521
+ encoding = "utf-8"
1522
+
1523
+ # After parsing the raw headers we can decode them to text.
1524
+ for length, raw_keyword, raw_value in raw_headers:
1525
+ # Normally, we could just use "utf-8" as the encoding and "strict"
1526
+ # as the error handler, but we better not take the risk. For
1527
+ # example, GNU tar <= 1.23 is known to store filenames it cannot
1528
+ # translate to UTF-8 as raw strings (unfortunately without a
1529
+ # hdrcharset=BINARY header).
1530
+ # We first try the strict standard encoding, and if that fails we
1531
+ # fall back on the user's encoding and error handler.
1532
+ keyword = self._decode_pax_field(raw_keyword, "utf-8", "utf-8",
1533
+ tarfile.errors)
1534
+ if keyword in PAX_NAME_FIELDS:
1535
+ value = self._decode_pax_field(raw_value, encoding, tarfile.encoding,
1536
+ tarfile.errors)
1537
+ else:
1538
+ value = self._decode_pax_field(raw_value, "utf-8", "utf-8",
1539
+ tarfile.errors)
1540
+
1541
+ pax_headers[keyword] = value
1542
+
1543
+ # Fetch the next header.
1544
+ try:
1545
+ next = self._fromtarfile(tarfile, dircheck=False)
1546
+ except HeaderError as e:
1547
+ raise SubsequentHeaderError(str(e)) from None
1548
+
1549
+ # Process GNU sparse information.
1550
+ if "GNU.sparse.map" in pax_headers:
1551
+ # GNU extended sparse format version 0.1.
1552
+ self._proc_gnusparse_01(next, pax_headers)
1553
+
1554
+ elif "GNU.sparse.size" in pax_headers:
1555
+ # GNU extended sparse format version 0.0.
1556
+ self._proc_gnusparse_00(next, raw_headers)
1557
+
1558
+ elif pax_headers.get("GNU.sparse.major") == "1" and pax_headers.get("GNU.sparse.minor") == "0":
1559
+ # GNU extended sparse format version 1.0.
1560
+ self._proc_gnusparse_10(next, pax_headers, tarfile)
1561
+
1562
+ if self.type in (XHDTYPE, SOLARIS_XHDTYPE):
1563
+ # Patch the TarInfo object with the extended header info.
1564
+ next._apply_pax_info(pax_headers, tarfile.encoding, tarfile.errors)
1565
+ next.offset = self.offset
1566
+
1567
+ if "size" in pax_headers:
1568
+ # If the extended header replaces the size field,
1569
+ # we need to recalculate the offset where the next
1570
+ # header starts.
1571
+ offset = next.offset_data
1572
+ if next.isreg() or next.type not in SUPPORTED_TYPES:
1573
+ offset += next._block(next.size)
1574
+ tarfile.offset = offset
1575
+
1576
+ return next
1577
+
1578
+ def _proc_gnusparse_00(self, next, raw_headers):
1579
+ """Process a GNU tar extended sparse header, version 0.0.
1580
+ """
1581
+ offsets = []
1582
+ numbytes = []
1583
+ for _, keyword, value in raw_headers:
1584
+ if keyword == b"GNU.sparse.offset":
1585
+ try:
1586
+ offsets.append(int(value.decode()))
1587
+ except ValueError:
1588
+ raise InvalidHeaderError("invalid header")
1589
+
1590
+ elif keyword == b"GNU.sparse.numbytes":
1591
+ try:
1592
+ numbytes.append(int(value.decode()))
1593
+ except ValueError:
1594
+ raise InvalidHeaderError("invalid header")
1595
+
1596
+ next.sparse = list(zip(offsets, numbytes))
1597
+
1598
+ def _proc_gnusparse_01(self, next, pax_headers):
1599
+ """Process a GNU tar extended sparse header, version 0.1.
1600
+ """
1601
+ sparse = [int(x) for x in pax_headers["GNU.sparse.map"].split(",")]
1602
+ next.sparse = list(zip(sparse[::2], sparse[1::2]))
1603
+
1604
+ def _proc_gnusparse_10(self, next, pax_headers, tarfile):
1605
+ """Process a GNU tar extended sparse header, version 1.0.
1606
+ """
1607
+ fields = None
1608
+ sparse = []
1609
+ buf = tarfile.fileobj.read(BLOCKSIZE)
1610
+ fields, buf = buf.split(b"\n", 1)
1611
+ fields = int(fields)
1612
+ while len(sparse) < fields * 2:
1613
+ if b"\n" not in buf:
1614
+ buf += tarfile.fileobj.read(BLOCKSIZE)
1615
+ number, buf = buf.split(b"\n", 1)
1616
+ sparse.append(int(number))
1617
+ next.offset_data = tarfile.fileobj.tell()
1618
+ next.sparse = list(zip(sparse[::2], sparse[1::2]))
1619
+
1620
+ def _apply_pax_info(self, pax_headers, encoding, errors):
1621
+ """Replace fields with supplemental information from a previous
1622
+ pax extended or global header.
1623
+ """
1624
+ for keyword, value in pax_headers.items():
1625
+ if keyword == "GNU.sparse.name":
1626
+ setattr(self, "path", value)
1627
+ elif keyword == "GNU.sparse.size":
1628
+ setattr(self, "size", int(value))
1629
+ elif keyword == "GNU.sparse.realsize":
1630
+ setattr(self, "size", int(value))
1631
+ elif keyword in PAX_FIELDS:
1632
+ if keyword in PAX_NUMBER_FIELDS:
1633
+ try:
1634
+ value = PAX_NUMBER_FIELDS[keyword](value)
1635
+ except ValueError:
1636
+ value = 0
1637
+ if keyword == "path":
1638
+ value = value.rstrip("/")
1639
+ setattr(self, keyword, value)
1640
+
1641
+ self.pax_headers = pax_headers.copy()
1642
+
1643
+ def _decode_pax_field(self, value, encoding, fallback_encoding, fallback_errors):
1644
+ """Decode a single field from a pax record.
1645
+ """
1646
+ try:
1647
+ return value.decode(encoding, "strict")
1648
+ except UnicodeDecodeError:
1649
+ return value.decode(fallback_encoding, fallback_errors)
1650
+
1651
+ def _block(self, count):
1652
+ """Round up a byte count by BLOCKSIZE and return it,
1653
+ e.g. _block(834) => 1024.
1654
+ """
1655
+ # Only non-negative offsets are allowed
1656
+ if count < 0:
1657
+ raise InvalidHeaderError("invalid offset")
1658
+ blocks, remainder = divmod(count, BLOCKSIZE)
1659
+ if remainder:
1660
+ blocks += 1
1661
+ return blocks * BLOCKSIZE
1662
+
1663
+ def isreg(self):
1664
+ 'Return True if the Tarinfo object is a regular file.'
1665
+ return self.type in REGULAR_TYPES
1666
+
1667
+ def isfile(self):
1668
+ 'Return True if the Tarinfo object is a regular file.'
1669
+ return self.isreg()
1670
+
1671
+ def isdir(self):
1672
+ 'Return True if it is a directory.'
1673
+ return self.type == DIRTYPE
1674
+
1675
+ def issym(self):
1676
+ 'Return True if it is a symbolic link.'
1677
+ return self.type == SYMTYPE
1678
+
1679
+ def islnk(self):
1680
+ 'Return True if it is a hard link.'
1681
+ return self.type == LNKTYPE
1682
+
1683
+ def ischr(self):
1684
+ 'Return True if it is a character device.'
1685
+ return self.type == CHRTYPE
1686
+
1687
+ def isblk(self):
1688
+ 'Return True if it is a block device.'
1689
+ return self.type == BLKTYPE
1690
+
1691
+ def isfifo(self):
1692
+ 'Return True if it is a FIFO.'
1693
+ return self.type == FIFOTYPE
1694
+
1695
+ def issparse(self):
1696
+ return self.sparse is not None
1697
+
1698
+ def isdev(self):
1699
+ 'Return True if it is one of character device, block device or FIFO.'
1700
+ return self.type in (CHRTYPE, BLKTYPE, FIFOTYPE)
1701
+ # class TarInfo
1702
+
1703
+ class TarFile(object):
1704
+ """The TarFile Class provides an interface to tar archives.
1705
+ """
1706
+
1707
+ debug = 0 # May be set from 0 (no msgs) to 3 (all msgs)
1708
+
1709
+ dereference = False # If true, add content of linked file to the
1710
+ # tar file, else the link.
1711
+
1712
+ ignore_zeros = False # If true, skips empty or invalid blocks and
1713
+ # continues processing.
1714
+
1715
+ errorlevel = 1 # If 0, fatal errors only appear in debug
1716
+ # messages (if debug >= 0). If > 0, errors
1717
+ # are passed to the caller as exceptions.
1718
+
1719
+ format = DEFAULT_FORMAT # The format to use when creating an archive.
1720
+
1721
+ encoding = ENCODING # Encoding for 8-bit character strings.
1722
+
1723
+ errors = None # Error handler for unicode conversion.
1724
+
1725
+ tarinfo = TarInfo # The default TarInfo class to use.
1726
+
1727
+ fileobject = ExFileObject # The file-object for extractfile().
1728
+
1729
+ extraction_filter = None # The default filter for extraction.
1730
+
1731
+ def __init__(self, name=None, mode="r", fileobj=None, format=None,
1732
+ tarinfo=None, dereference=None, ignore_zeros=None, encoding=None,
1733
+ errors="surrogateescape", pax_headers=None, debug=None,
1734
+ errorlevel=None, copybufsize=None):
1735
+ """Open an (uncompressed) tar archive `name'. `mode' is either 'r' to
1736
+ read from an existing archive, 'a' to append data to an existing
1737
+ file or 'w' to create a new file overwriting an existing one. `mode'
1738
+ defaults to 'r'.
1739
+ If `fileobj' is given, it is used for reading or writing data. If it
1740
+ can be determined, `mode' is overridden by `fileobj's mode.
1741
+ `fileobj' is not closed, when TarFile is closed.
1742
+ """
1743
+ modes = {"r": "rb", "a": "r+b", "w": "wb", "x": "xb"}
1744
+ if mode not in modes:
1745
+ raise ValueError("mode must be 'r', 'a', 'w' or 'x'")
1746
+ self.mode = mode
1747
+ self._mode = modes[mode]
1748
+
1749
+ if not fileobj:
1750
+ if self.mode == "a" and not os.path.exists(name):
1751
+ # Create nonexistent files in append mode.
1752
+ self.mode = "w"
1753
+ self._mode = "wb"
1754
+ fileobj = bltn_open(name, self._mode)
1755
+ self._extfileobj = False
1756
+ else:
1757
+ if (name is None and hasattr(fileobj, "name") and
1758
+ isinstance(fileobj.name, (str, bytes))):
1759
+ name = fileobj.name
1760
+ if hasattr(fileobj, "mode"):
1761
+ self._mode = fileobj.mode
1762
+ self._extfileobj = True
1763
+ self.name = os.path.abspath(name) if name else None
1764
+ self.fileobj = fileobj
1765
+
1766
+ # Init attributes.
1767
+ if format is not None:
1768
+ self.format = format
1769
+ if tarinfo is not None:
1770
+ self.tarinfo = tarinfo
1771
+ if dereference is not None:
1772
+ self.dereference = dereference
1773
+ if ignore_zeros is not None:
1774
+ self.ignore_zeros = ignore_zeros
1775
+ if encoding is not None:
1776
+ self.encoding = encoding
1777
+ self.errors = errors
1778
+
1779
+ if pax_headers is not None and self.format == PAX_FORMAT:
1780
+ self.pax_headers = pax_headers
1781
+ else:
1782
+ self.pax_headers = {}
1783
+
1784
+ if debug is not None:
1785
+ self.debug = debug
1786
+ if errorlevel is not None:
1787
+ self.errorlevel = errorlevel
1788
+
1789
+ # Init datastructures.
1790
+ self.copybufsize = copybufsize
1791
+ self.closed = False
1792
+ self.members = [] # list of members as TarInfo objects
1793
+ self._loaded = False # flag if all members have been read
1794
+ self.offset = self.fileobj.tell()
1795
+ # current position in the archive file
1796
+ self.inodes = {} # dictionary caching the inodes of
1797
+ # archive members already added
1798
+
1799
+ try:
1800
+ if self.mode == "r":
1801
+ self.firstmember = None
1802
+ self.firstmember = self.next()
1803
+
1804
+ if self.mode == "a":
1805
+ # Move to the end of the archive,
1806
+ # before the first empty block.
1807
+ while True:
1808
+ self.fileobj.seek(self.offset)
1809
+ try:
1810
+ tarinfo = self.tarinfo.fromtarfile(self)
1811
+ self.members.append(tarinfo)
1812
+ except EOFHeaderError:
1813
+ self.fileobj.seek(self.offset)
1814
+ break
1815
+ except HeaderError as e:
1816
+ raise ReadError(str(e)) from None
1817
+
1818
+ if self.mode in ("a", "w", "x"):
1819
+ self._loaded = True
1820
+
1821
+ if self.pax_headers:
1822
+ buf = self.tarinfo.create_pax_global_header(self.pax_headers.copy())
1823
+ self.fileobj.write(buf)
1824
+ self.offset += len(buf)
1825
+ except:
1826
+ if not self._extfileobj:
1827
+ self.fileobj.close()
1828
+ self.closed = True
1829
+ raise
1830
+
1831
+ #--------------------------------------------------------------------------
1832
+ # Below are the classmethods which act as alternate constructors to the
1833
+ # TarFile class. The open() method is the only one that is needed for
1834
+ # public use; it is the "super"-constructor and is able to select an
1835
+ # adequate "sub"-constructor for a particular compression using the mapping
1836
+ # from OPEN_METH.
1837
+ #
1838
+ # This concept allows one to subclass TarFile without losing the comfort of
1839
+ # the super-constructor. A sub-constructor is registered and made available
1840
+ # by adding it to the mapping in OPEN_METH.
1841
+
1842
+ @classmethod
1843
+ def open(cls, name=None, mode="r", fileobj=None, bufsize=RECORDSIZE, **kwargs):
1844
+ """Open a tar archive for reading, writing or appending. Return
1845
+ an appropriate TarFile class.
1846
+
1847
+ mode:
1848
+ 'r' or 'r:*' open for reading with transparent compression
1849
+ 'r:' open for reading exclusively uncompressed
1850
+ 'r:gz' open for reading with gzip compression
1851
+ 'r:bz2' open for reading with bzip2 compression
1852
+ 'r:xz' open for reading with lzma compression
1853
+ 'a' or 'a:' open for appending, creating the file if necessary
1854
+ 'w' or 'w:' open for writing without compression
1855
+ 'w:gz' open for writing with gzip compression
1856
+ 'w:bz2' open for writing with bzip2 compression
1857
+ 'w:xz' open for writing with lzma compression
1858
+
1859
+ 'x' or 'x:' create a tarfile exclusively without compression, raise
1860
+ an exception if the file is already created
1861
+ 'x:gz' create a gzip compressed tarfile, raise an exception
1862
+ if the file is already created
1863
+ 'x:bz2' create a bzip2 compressed tarfile, raise an exception
1864
+ if the file is already created
1865
+ 'x:xz' create an lzma compressed tarfile, raise an exception
1866
+ if the file is already created
1867
+
1868
+ 'r|*' open a stream of tar blocks with transparent compression
1869
+ 'r|' open an uncompressed stream of tar blocks for reading
1870
+ 'r|gz' open a gzip compressed stream of tar blocks
1871
+ 'r|bz2' open a bzip2 compressed stream of tar blocks
1872
+ 'r|xz' open an lzma compressed stream of tar blocks
1873
+ 'w|' open an uncompressed stream for writing
1874
+ 'w|gz' open a gzip compressed stream for writing
1875
+ 'w|bz2' open a bzip2 compressed stream for writing
1876
+ 'w|xz' open an lzma compressed stream for writing
1877
+ """
1878
+
1879
+ if not name and not fileobj:
1880
+ raise ValueError("nothing to open")
1881
+
1882
+ if mode in ("r", "r:*"):
1883
+ # Find out which *open() is appropriate for opening the file.
1884
+ def not_compressed(comptype):
1885
+ return cls.OPEN_METH[comptype] == 'taropen'
1886
+ error_msgs = []
1887
+ for comptype in sorted(cls.OPEN_METH, key=not_compressed):
1888
+ func = getattr(cls, cls.OPEN_METH[comptype])
1889
+ if fileobj is not None:
1890
+ saved_pos = fileobj.tell()
1891
+ try:
1892
+ return func(name, "r", fileobj, **kwargs)
1893
+ except (ReadError, CompressionError) as e:
1894
+ error_msgs.append(f'- method {comptype}: {e!r}')
1895
+ if fileobj is not None:
1896
+ fileobj.seek(saved_pos)
1897
+ continue
1898
+ error_msgs_summary = '\n'.join(error_msgs)
1899
+ raise ReadError(f"file could not be opened successfully:\n{error_msgs_summary}")
1900
+
1901
+ elif ":" in mode:
1902
+ filemode, comptype = mode.split(":", 1)
1903
+ filemode = filemode or "r"
1904
+ comptype = comptype or "tar"
1905
+
1906
+ # Select the *open() function according to
1907
+ # given compression.
1908
+ if comptype in cls.OPEN_METH:
1909
+ func = getattr(cls, cls.OPEN_METH[comptype])
1910
+ else:
1911
+ raise CompressionError("unknown compression type %r" % comptype)
1912
+ return func(name, filemode, fileobj, **kwargs)
1913
+
1914
+ elif "|" in mode:
1915
+ filemode, comptype = mode.split("|", 1)
1916
+ filemode = filemode or "r"
1917
+ comptype = comptype or "tar"
1918
+
1919
+ if filemode not in ("r", "w"):
1920
+ raise ValueError("mode must be 'r' or 'w'")
1921
+
1922
+ compresslevel = kwargs.pop("compresslevel", 9)
1923
+ stream = _Stream(name, filemode, comptype, fileobj, bufsize,
1924
+ compresslevel)
1925
+ try:
1926
+ t = cls(name, filemode, stream, **kwargs)
1927
+ except:
1928
+ stream.close()
1929
+ raise
1930
+ t._extfileobj = False
1931
+ return t
1932
+
1933
+ elif mode in ("a", "w", "x"):
1934
+ return cls.taropen(name, mode, fileobj, **kwargs)
1935
+
1936
+ raise ValueError("undiscernible mode")
1937
+
1938
+ @classmethod
1939
+ def taropen(cls, name, mode="r", fileobj=None, **kwargs):
1940
+ """Open uncompressed tar archive name for reading or writing.
1941
+ """
1942
+ if mode not in ("r", "a", "w", "x"):
1943
+ raise ValueError("mode must be 'r', 'a', 'w' or 'x'")
1944
+ return cls(name, mode, fileobj, **kwargs)
1945
+
1946
+ @classmethod
1947
+ def gzopen(cls, name, mode="r", fileobj=None, compresslevel=9, **kwargs):
1948
+ """Open gzip compressed tar archive name for reading or writing.
1949
+ Appending is not allowed.
1950
+ """
1951
+ if mode not in ("r", "w", "x"):
1952
+ raise ValueError("mode must be 'r', 'w' or 'x'")
1953
+
1954
+ try:
1955
+ from gzip import GzipFile
1956
+ except ImportError:
1957
+ raise CompressionError("gzip module is not available") from None
1958
+
1959
+ try:
1960
+ fileobj = GzipFile(name, mode + "b", compresslevel, fileobj)
1961
+ except OSError as e:
1962
+ if fileobj is not None and mode == 'r':
1963
+ raise ReadError("not a gzip file") from e
1964
+ raise
1965
+
1966
+ try:
1967
+ t = cls.taropen(name, mode, fileobj, **kwargs)
1968
+ except OSError as e:
1969
+ fileobj.close()
1970
+ if mode == 'r':
1971
+ raise ReadError("not a gzip file") from e
1972
+ raise
1973
+ except:
1974
+ fileobj.close()
1975
+ raise
1976
+ t._extfileobj = False
1977
+ return t
1978
+
1979
+ @classmethod
1980
+ def bz2open(cls, name, mode="r", fileobj=None, compresslevel=9, **kwargs):
1981
+ """Open bzip2 compressed tar archive name for reading or writing.
1982
+ Appending is not allowed.
1983
+ """
1984
+ if mode not in ("r", "w", "x"):
1985
+ raise ValueError("mode must be 'r', 'w' or 'x'")
1986
+
1987
+ try:
1988
+ from bz2 import BZ2File
1989
+ except ImportError:
1990
+ raise CompressionError("bz2 module is not available") from None
1991
+
1992
+ fileobj = BZ2File(fileobj or name, mode, compresslevel=compresslevel)
1993
+
1994
+ try:
1995
+ t = cls.taropen(name, mode, fileobj, **kwargs)
1996
+ except (OSError, EOFError) as e:
1997
+ fileobj.close()
1998
+ if mode == 'r':
1999
+ raise ReadError("not a bzip2 file") from e
2000
+ raise
2001
+ except:
2002
+ fileobj.close()
2003
+ raise
2004
+ t._extfileobj = False
2005
+ return t
2006
+
2007
+ @classmethod
2008
+ def xzopen(cls, name, mode="r", fileobj=None, preset=None, **kwargs):
2009
+ """Open lzma compressed tar archive name for reading or writing.
2010
+ Appending is not allowed.
2011
+ """
2012
+ if mode not in ("r", "w", "x"):
2013
+ raise ValueError("mode must be 'r', 'w' or 'x'")
2014
+
2015
+ try:
2016
+ from lzma import LZMAFile, LZMAError
2017
+ except ImportError:
2018
+ raise CompressionError("lzma module is not available") from None
2019
+
2020
+ fileobj = LZMAFile(fileobj or name, mode, preset=preset)
2021
+
2022
+ try:
2023
+ t = cls.taropen(name, mode, fileobj, **kwargs)
2024
+ except (LZMAError, EOFError) as e:
2025
+ fileobj.close()
2026
+ if mode == 'r':
2027
+ raise ReadError("not an lzma file") from e
2028
+ raise
2029
+ except:
2030
+ fileobj.close()
2031
+ raise
2032
+ t._extfileobj = False
2033
+ return t
2034
+
2035
+ # All *open() methods are registered here.
2036
+ OPEN_METH = {
2037
+ "tar": "taropen", # uncompressed tar
2038
+ "gz": "gzopen", # gzip compressed tar
2039
+ "bz2": "bz2open", # bzip2 compressed tar
2040
+ "xz": "xzopen" # lzma compressed tar
2041
+ }
2042
+
2043
+ #--------------------------------------------------------------------------
2044
+ # The public methods which TarFile provides:
2045
+
2046
+ def close(self):
2047
+ """Close the TarFile. In write-mode, two finishing zero blocks are
2048
+ appended to the archive.
2049
+ """
2050
+ if self.closed:
2051
+ return
2052
+
2053
+ self.closed = True
2054
+ try:
2055
+ if self.mode in ("a", "w", "x"):
2056
+ self.fileobj.write(NUL * (BLOCKSIZE * 2))
2057
+ self.offset += (BLOCKSIZE * 2)
2058
+ # fill up the end with zero-blocks
2059
+ # (like option -b20 for tar does)
2060
+ blocks, remainder = divmod(self.offset, RECORDSIZE)
2061
+ if remainder > 0:
2062
+ self.fileobj.write(NUL * (RECORDSIZE - remainder))
2063
+ finally:
2064
+ if not self._extfileobj:
2065
+ self.fileobj.close()
2066
+
2067
+ def getmember(self, name):
2068
+ """Return a TarInfo object for member `name'. If `name' can not be
2069
+ found in the archive, KeyError is raised. If a member occurs more
2070
+ than once in the archive, its last occurrence is assumed to be the
2071
+ most up-to-date version.
2072
+ """
2073
+ tarinfo = self._getmember(name.rstrip('/'))
2074
+ if tarinfo is None:
2075
+ raise KeyError("filename %r not found" % name)
2076
+ return tarinfo
2077
+
2078
+ def getmembers(self):
2079
+ """Return the members of the archive as a list of TarInfo objects. The
2080
+ list has the same order as the members in the archive.
2081
+ """
2082
+ self._check()
2083
+ if not self._loaded: # if we want to obtain a list of
2084
+ self._load() # all members, we first have to
2085
+ # scan the whole archive.
2086
+ return self.members
2087
+
2088
+ def getnames(self):
2089
+ """Return the members of the archive as a list of their names. It has
2090
+ the same order as the list returned by getmembers().
2091
+ """
2092
+ return [tarinfo.name for tarinfo in self.getmembers()]
2093
+
2094
+ def gettarinfo(self, name=None, arcname=None, fileobj=None):
2095
+ """Create a TarInfo object from the result of os.stat or equivalent
2096
+ on an existing file. The file is either named by `name', or
2097
+ specified as a file object `fileobj' with a file descriptor. If
2098
+ given, `arcname' specifies an alternative name for the file in the
2099
+ archive, otherwise, the name is taken from the 'name' attribute of
2100
+ 'fileobj', or the 'name' argument. The name should be a text
2101
+ string.
2102
+ """
2103
+ self._check("awx")
2104
+
2105
+ # When fileobj is given, replace name by
2106
+ # fileobj's real name.
2107
+ if fileobj is not None:
2108
+ name = fileobj.name
2109
+
2110
+ # Building the name of the member in the archive.
2111
+ # Backward slashes are converted to forward slashes,
2112
+ # Absolute paths are turned to relative paths.
2113
+ if arcname is None:
2114
+ arcname = name
2115
+ drv, arcname = os.path.splitdrive(arcname)
2116
+ arcname = arcname.replace(os.sep, "/")
2117
+ arcname = arcname.lstrip("/")
2118
+
2119
+ # Now, fill the TarInfo object with
2120
+ # information specific for the file.
2121
+ tarinfo = self.tarinfo()
2122
+ tarinfo.tarfile = self # Not needed
2123
+
2124
+ # Use os.stat or os.lstat, depending on if symlinks shall be resolved.
2125
+ if fileobj is None:
2126
+ if not self.dereference:
2127
+ statres = os.lstat(name)
2128
+ else:
2129
+ statres = os.stat(name)
2130
+ else:
2131
+ statres = os.fstat(fileobj.fileno())
2132
+ linkname = ""
2133
+
2134
+ stmd = statres.st_mode
2135
+ if stat.S_ISREG(stmd):
2136
+ inode = (statres.st_ino, statres.st_dev)
2137
+ if not self.dereference and statres.st_nlink > 1 and \
2138
+ inode in self.inodes and arcname != self.inodes[inode]:
2139
+ # Is it a hardlink to an already
2140
+ # archived file?
2141
+ type = LNKTYPE
2142
+ linkname = self.inodes[inode]
2143
+ else:
2144
+ # The inode is added only if its valid.
2145
+ # For win32 it is always 0.
2146
+ type = REGTYPE
2147
+ if inode[0]:
2148
+ self.inodes[inode] = arcname
2149
+ elif stat.S_ISDIR(stmd):
2150
+ type = DIRTYPE
2151
+ elif stat.S_ISFIFO(stmd):
2152
+ type = FIFOTYPE
2153
+ elif stat.S_ISLNK(stmd):
2154
+ type = SYMTYPE
2155
+ linkname = os.readlink(name)
2156
+ elif stat.S_ISCHR(stmd):
2157
+ type = CHRTYPE
2158
+ elif stat.S_ISBLK(stmd):
2159
+ type = BLKTYPE
2160
+ else:
2161
+ return None
2162
+
2163
+ # Fill the TarInfo object with all
2164
+ # information we can get.
2165
+ tarinfo.name = arcname
2166
+ tarinfo.mode = stmd
2167
+ tarinfo.uid = statres.st_uid
2168
+ tarinfo.gid = statres.st_gid
2169
+ if type == REGTYPE:
2170
+ tarinfo.size = statres.st_size
2171
+ else:
2172
+ tarinfo.size = 0
2173
+ tarinfo.mtime = statres.st_mtime
2174
+ tarinfo.type = type
2175
+ tarinfo.linkname = linkname
2176
+ if pwd:
2177
+ try:
2178
+ tarinfo.uname = pwd.getpwuid(tarinfo.uid)[0]
2179
+ except KeyError:
2180
+ pass
2181
+ if grp:
2182
+ try:
2183
+ tarinfo.gname = grp.getgrgid(tarinfo.gid)[0]
2184
+ except KeyError:
2185
+ pass
2186
+
2187
+ if type in (CHRTYPE, BLKTYPE):
2188
+ if hasattr(os, "major") and hasattr(os, "minor"):
2189
+ tarinfo.devmajor = os.major(statres.st_rdev)
2190
+ tarinfo.devminor = os.minor(statres.st_rdev)
2191
+ return tarinfo
2192
+
2193
+ def list(self, verbose=True, *, members=None):
2194
+ """Print a table of contents to sys.stdout. If `verbose' is False, only
2195
+ the names of the members are printed. If it is True, an `ls -l'-like
2196
+ output is produced. `members' is optional and must be a subset of the
2197
+ list returned by getmembers().
2198
+ """
2199
+ self._check()
2200
+
2201
+ if members is None:
2202
+ members = self
2203
+ for tarinfo in members:
2204
+ if verbose:
2205
+ if tarinfo.mode is None:
2206
+ _safe_print("??????????")
2207
+ else:
2208
+ _safe_print(stat.filemode(tarinfo.mode))
2209
+ _safe_print("%s/%s" % (tarinfo.uname or tarinfo.uid,
2210
+ tarinfo.gname or tarinfo.gid))
2211
+ if tarinfo.ischr() or tarinfo.isblk():
2212
+ _safe_print("%10s" %
2213
+ ("%d,%d" % (tarinfo.devmajor, tarinfo.devminor)))
2214
+ else:
2215
+ _safe_print("%10d" % tarinfo.size)
2216
+ if tarinfo.mtime is None:
2217
+ _safe_print("????-??-?? ??:??:??")
2218
+ else:
2219
+ _safe_print("%d-%02d-%02d %02d:%02d:%02d" \
2220
+ % time.localtime(tarinfo.mtime)[:6])
2221
+
2222
+ _safe_print(tarinfo.name + ("/" if tarinfo.isdir() else ""))
2223
+
2224
+ if verbose:
2225
+ if tarinfo.issym():
2226
+ _safe_print("-> " + tarinfo.linkname)
2227
+ if tarinfo.islnk():
2228
+ _safe_print("link to " + tarinfo.linkname)
2229
+ print()
2230
+
2231
+ def add(self, name, arcname=None, recursive=True, *, filter=None):
2232
+ """Add the file `name' to the archive. `name' may be any type of file
2233
+ (directory, fifo, symbolic link, etc.). If given, `arcname'
2234
+ specifies an alternative name for the file in the archive.
2235
+ Directories are added recursively by default. This can be avoided by
2236
+ setting `recursive' to False. `filter' is a function
2237
+ that expects a TarInfo object argument and returns the changed
2238
+ TarInfo object, if it returns None the TarInfo object will be
2239
+ excluded from the archive.
2240
+ """
2241
+ self._check("awx")
2242
+
2243
+ if arcname is None:
2244
+ arcname = name
2245
+
2246
+ # Skip if somebody tries to archive the archive...
2247
+ if self.name is not None and os.path.abspath(name) == self.name:
2248
+ self._dbg(2, "tarfile: Skipped %r" % name)
2249
+ return
2250
+
2251
+ self._dbg(1, name)
2252
+
2253
+ # Create a TarInfo object from the file.
2254
+ tarinfo = self.gettarinfo(name, arcname)
2255
+
2256
+ if tarinfo is None:
2257
+ self._dbg(1, "tarfile: Unsupported type %r" % name)
2258
+ return
2259
+
2260
+ # Change or exclude the TarInfo object.
2261
+ if filter is not None:
2262
+ tarinfo = filter(tarinfo)
2263
+ if tarinfo is None:
2264
+ self._dbg(2, "tarfile: Excluded %r" % name)
2265
+ return
2266
+
2267
+ # Append the tar header and data to the archive.
2268
+ if tarinfo.isreg():
2269
+ with bltn_open(name, "rb") as f:
2270
+ self.addfile(tarinfo, f)
2271
+
2272
+ elif tarinfo.isdir():
2273
+ self.addfile(tarinfo)
2274
+ if recursive:
2275
+ for f in sorted(os.listdir(name)):
2276
+ self.add(os.path.join(name, f), os.path.join(arcname, f),
2277
+ recursive, filter=filter)
2278
+
2279
+ else:
2280
+ self.addfile(tarinfo)
2281
+
2282
+ def addfile(self, tarinfo, fileobj=None):
2283
+ """Add the TarInfo object `tarinfo' to the archive. If `fileobj' is
2284
+ given, it should be a binary file, and tarinfo.size bytes are read
2285
+ from it and added to the archive. You can create TarInfo objects
2286
+ directly, or by using gettarinfo().
2287
+ """
2288
+ self._check("awx")
2289
+
2290
+ tarinfo = copy.copy(tarinfo)
2291
+
2292
+ buf = tarinfo.tobuf(self.format, self.encoding, self.errors)
2293
+ self.fileobj.write(buf)
2294
+ self.offset += len(buf)
2295
+ bufsize=self.copybufsize
2296
+ # If there's data to follow, append it.
2297
+ if fileobj is not None:
2298
+ copyfileobj(fileobj, self.fileobj, tarinfo.size, bufsize=bufsize)
2299
+ blocks, remainder = divmod(tarinfo.size, BLOCKSIZE)
2300
+ if remainder > 0:
2301
+ self.fileobj.write(NUL * (BLOCKSIZE - remainder))
2302
+ blocks += 1
2303
+ self.offset += blocks * BLOCKSIZE
2304
+
2305
+ self.members.append(tarinfo)
2306
+
2307
+ def _get_filter_function(self, filter):
2308
+ if filter is None:
2309
+ filter = self.extraction_filter
2310
+ if filter is None:
2311
+ warnings.warn(
2312
+ 'Python 3.14 will, by default, filter extracted tar '
2313
+ + 'archives and reject files or modify their metadata. '
2314
+ + 'Use the filter argument to control this behavior.',
2315
+ DeprecationWarning, stacklevel=3)
2316
+ return fully_trusted_filter
2317
+ if isinstance(filter, str):
2318
+ raise TypeError(
2319
+ 'String names are not supported for '
2320
+ + 'TarFile.extraction_filter. Use a function such as '
2321
+ + 'tarfile.data_filter directly.')
2322
+ return filter
2323
+ if callable(filter):
2324
+ return filter
2325
+ try:
2326
+ return _NAMED_FILTERS[filter]
2327
+ except KeyError:
2328
+ raise ValueError(f"filter {filter!r} not found") from None
2329
+
2330
+ def extractall(self, path=".", members=None, *, numeric_owner=False,
2331
+ filter=None):
2332
+ """Extract all members from the archive to the current working
2333
+ directory and set owner, modification time and permissions on
2334
+ directories afterwards. `path' specifies a different directory
2335
+ to extract to. `members' is optional and must be a subset of the
2336
+ list returned by getmembers(). If `numeric_owner` is True, only
2337
+ the numbers for user/group names are used and not the names.
2338
+
2339
+ The `filter` function will be called on each member just
2340
+ before extraction.
2341
+ It can return a changed TarInfo or None to skip the member.
2342
+ String names of common filters are accepted.
2343
+ """
2344
+ directories = []
2345
+
2346
+ filter_function = self._get_filter_function(filter)
2347
+ if members is None:
2348
+ members = self
2349
+
2350
+ for member in members:
2351
+ tarinfo, unfiltered = self._get_extract_tarinfo(
2352
+ member, filter_function, path)
2353
+ if tarinfo is None:
2354
+ continue
2355
+ if tarinfo.isdir():
2356
+ # For directories, delay setting attributes until later,
2357
+ # since permissions can interfere with extraction and
2358
+ # extracting contents can reset mtime.
2359
+ directories.append(unfiltered)
2360
+ self._extract_one(tarinfo, path, set_attrs=not tarinfo.isdir(),
2361
+ numeric_owner=numeric_owner,
2362
+ filter_function=filter_function)
2363
+
2364
+ # Reverse sort directories.
2365
+ directories.sort(key=lambda a: a.name, reverse=True)
2366
+
2367
+
2368
+ # Set correct owner, mtime and filemode on directories.
2369
+ for unfiltered in directories:
2370
+ try:
2371
+ # Need to re-apply any filter, to take the *current* filesystem
2372
+ # state into account.
2373
+ try:
2374
+ tarinfo = filter_function(unfiltered, path)
2375
+ except _FILTER_ERRORS as exc:
2376
+ self._log_no_directory_fixup(unfiltered, repr(exc))
2377
+ continue
2378
+ if tarinfo is None:
2379
+ self._log_no_directory_fixup(unfiltered,
2380
+ 'excluded by filter')
2381
+ continue
2382
+ dirpath = os.path.join(path, tarinfo.name)
2383
+ try:
2384
+ lstat = os.lstat(dirpath)
2385
+ except FileNotFoundError:
2386
+ self._log_no_directory_fixup(tarinfo, 'missing')
2387
+ continue
2388
+ if not stat.S_ISDIR(lstat.st_mode):
2389
+ # This is no longer a directory; presumably a later
2390
+ # member overwrote the entry.
2391
+ self._log_no_directory_fixup(tarinfo, 'not a directory')
2392
+ continue
2393
+ self.chown(tarinfo, dirpath, numeric_owner=numeric_owner)
2394
+ self.utime(tarinfo, dirpath)
2395
+ self.chmod(tarinfo, dirpath)
2396
+ except ExtractError as e:
2397
+ self._handle_nonfatal_error(e)
2398
+
2399
+ def _log_no_directory_fixup(self, member, reason):
2400
+ self._dbg(2, "tarfile: Not fixing up directory %r (%s)" %
2401
+ (member.name, reason))
2402
+
2403
+ def extract(self, member, path="", set_attrs=True, *, numeric_owner=False,
2404
+ filter=None):
2405
+ """Extract a member from the archive to the current working directory,
2406
+ using its full name. Its file information is extracted as accurately
2407
+ as possible. `member' may be a filename or a TarInfo object. You can
2408
+ specify a different directory using `path'. File attributes (owner,
2409
+ mtime, mode) are set unless `set_attrs' is False. If `numeric_owner`
2410
+ is True, only the numbers for user/group names are used and not
2411
+ the names.
2412
+
2413
+ The `filter` function will be called before extraction.
2414
+ It can return a changed TarInfo or None to skip the member.
2415
+ String names of common filters are accepted.
2416
+ """
2417
+ filter_function = self._get_filter_function(filter)
2418
+ tarinfo, unfiltered = self._get_extract_tarinfo(
2419
+ member, filter_function, path)
2420
+ if tarinfo is not None:
2421
+ self._extract_one(tarinfo, path, set_attrs, numeric_owner,
2422
+ filter_function=filter_function)
2423
+
2424
+ def _get_extract_tarinfo(self, member, filter_function, path):
2425
+ """Get (filtered, unfiltered) TarInfos from *member*
2426
+
2427
+ *member* might be a string.
2428
+
2429
+ Return (None, None) if not found.
2430
+ """
2431
+
2432
+ if isinstance(member, str):
2433
+ unfiltered = self.getmember(member)
2434
+ else:
2435
+ unfiltered = member
2436
+
2437
+ filtered = None
2438
+ try:
2439
+ filtered = filter_function(unfiltered, path)
2440
+ except (OSError, FilterError) as e:
2441
+ self._handle_fatal_error(e)
2442
+ except ExtractError as e:
2443
+ self._handle_nonfatal_error(e)
2444
+ if filtered is None:
2445
+ self._dbg(2, "tarfile: Excluded %r" % unfiltered.name)
2446
+ return None, None
2447
+
2448
+ # Prepare the link target for makelink().
2449
+ if filtered.islnk():
2450
+ filtered = copy.copy(filtered)
2451
+ filtered._link_target = os.path.join(path, filtered.linkname)
2452
+ return filtered, unfiltered
2453
+
2454
+ def _extract_one(self, tarinfo, path, set_attrs, numeric_owner,
2455
+ filter_function=None):
2456
+ """Extract from filtered tarinfo to disk.
2457
+
2458
+ filter_function is only used when extracting a *different*
2459
+ member (e.g. as fallback to creating a symlink)
2460
+ """
2461
+ self._check("r")
2462
+
2463
+ try:
2464
+ self._extract_member(tarinfo, os.path.join(path, tarinfo.name),
2465
+ set_attrs=set_attrs,
2466
+ numeric_owner=numeric_owner,
2467
+ filter_function=filter_function,
2468
+ extraction_root=path)
2469
+ except OSError as e:
2470
+ self._handle_fatal_error(e)
2471
+ except ExtractError as e:
2472
+ self._handle_nonfatal_error(e)
2473
+
2474
+ def _handle_nonfatal_error(self, e):
2475
+ """Handle non-fatal error (ExtractError) according to errorlevel"""
2476
+ if self.errorlevel > 1:
2477
+ raise
2478
+ else:
2479
+ self._dbg(1, "tarfile: %s" % e)
2480
+
2481
+ def _handle_fatal_error(self, e):
2482
+ """Handle "fatal" error according to self.errorlevel"""
2483
+ if self.errorlevel > 0:
2484
+ raise
2485
+ elif isinstance(e, OSError):
2486
+ if e.filename is None:
2487
+ self._dbg(1, "tarfile: %s" % e.strerror)
2488
+ else:
2489
+ self._dbg(1, "tarfile: %s %r" % (e.strerror, e.filename))
2490
+ else:
2491
+ self._dbg(1, "tarfile: %s %s" % (type(e).__name__, e))
2492
+
2493
+ def extractfile(self, member):
2494
+ """Extract a member from the archive as a file object. `member' may be
2495
+ a filename or a TarInfo object. If `member' is a regular file or
2496
+ a link, an io.BufferedReader object is returned. For all other
2497
+ existing members, None is returned. If `member' does not appear
2498
+ in the archive, KeyError is raised.
2499
+ """
2500
+ self._check("r")
2501
+
2502
+ if isinstance(member, str):
2503
+ tarinfo = self.getmember(member)
2504
+ else:
2505
+ tarinfo = member
2506
+
2507
+ if tarinfo.isreg() or tarinfo.type not in SUPPORTED_TYPES:
2508
+ # Members with unknown types are treated as regular files.
2509
+ return self.fileobject(self, tarinfo)
2510
+
2511
+ elif tarinfo.islnk() or tarinfo.issym():
2512
+ if isinstance(self.fileobj, _Stream):
2513
+ # A small but ugly workaround for the case that someone tries
2514
+ # to extract a (sym)link as a file-object from a non-seekable
2515
+ # stream of tar blocks.
2516
+ raise StreamError("cannot extract (sym)link as file object")
2517
+ else:
2518
+ # A (sym)link's file object is its target's file object.
2519
+ return self.extractfile(self._find_link_target(tarinfo))
2520
+ else:
2521
+ # If there's no data associated with the member (directory, chrdev,
2522
+ # blkdev, etc.), return None instead of a file object.
2523
+ return None
2524
+
2525
+ def _extract_member(self, tarinfo, targetpath, set_attrs=True,
2526
+ numeric_owner=False, *, filter_function=None,
2527
+ extraction_root=None):
2528
+ """Extract the filtered TarInfo object tarinfo to a physical
2529
+ file called targetpath.
2530
+
2531
+ filter_function is only used when extracting a *different*
2532
+ member (e.g. as fallback to creating a symlink)
2533
+ """
2534
+ # Fetch the TarInfo object for the given name
2535
+ # and build the destination pathname, replacing
2536
+ # forward slashes to platform specific separators.
2537
+ targetpath = targetpath.rstrip("/")
2538
+ targetpath = targetpath.replace("/", os.sep)
2539
+
2540
+ # Create all upper directories.
2541
+ upperdirs = os.path.dirname(targetpath)
2542
+ if upperdirs and not os.path.exists(upperdirs):
2543
+ # Create directories that are not part of the archive with
2544
+ # default permissions.
2545
+ os.makedirs(upperdirs)
2546
+
2547
+ if tarinfo.islnk() or tarinfo.issym():
2548
+ self._dbg(1, "%s -> %s" % (tarinfo.name, tarinfo.linkname))
2549
+ else:
2550
+ self._dbg(1, tarinfo.name)
2551
+
2552
+ if tarinfo.isreg():
2553
+ self.makefile(tarinfo, targetpath)
2554
+ elif tarinfo.isdir():
2555
+ self.makedir(tarinfo, targetpath)
2556
+ elif tarinfo.isfifo():
2557
+ self.makefifo(tarinfo, targetpath)
2558
+ elif tarinfo.ischr() or tarinfo.isblk():
2559
+ self.makedev(tarinfo, targetpath)
2560
+ elif tarinfo.islnk() or tarinfo.issym():
2561
+ self.makelink_with_filter(
2562
+ tarinfo, targetpath,
2563
+ filter_function=filter_function,
2564
+ extraction_root=extraction_root)
2565
+ elif tarinfo.type not in SUPPORTED_TYPES:
2566
+ self.makeunknown(tarinfo, targetpath)
2567
+ else:
2568
+ self.makefile(tarinfo, targetpath)
2569
+
2570
+ if set_attrs:
2571
+ self.chown(tarinfo, targetpath, numeric_owner)
2572
+ if not tarinfo.issym():
2573
+ self.chmod(tarinfo, targetpath)
2574
+ self.utime(tarinfo, targetpath)
2575
+
2576
+ #--------------------------------------------------------------------------
2577
+ # Below are the different file methods. They are called via
2578
+ # _extract_member() when extract() is called. They can be replaced in a
2579
+ # subclass to implement other functionality.
2580
+
2581
+ def makedir(self, tarinfo, targetpath):
2582
+ """Make a directory called targetpath.
2583
+ """
2584
+ try:
2585
+ if tarinfo.mode is None:
2586
+ # Use the system's default mode
2587
+ os.mkdir(targetpath)
2588
+ else:
2589
+ # Use a safe mode for the directory, the real mode is set
2590
+ # later in _extract_member().
2591
+ os.mkdir(targetpath, 0o700)
2592
+ except FileExistsError:
2593
+ if not os.path.isdir(targetpath):
2594
+ raise
2595
+
2596
+ def makefile(self, tarinfo, targetpath):
2597
+ """Make a file called targetpath.
2598
+ """
2599
+ source = self.fileobj
2600
+ source.seek(tarinfo.offset_data)
2601
+ bufsize = self.copybufsize
2602
+ with bltn_open(targetpath, "wb") as target:
2603
+ if tarinfo.sparse is not None:
2604
+ for offset, size in tarinfo.sparse:
2605
+ target.seek(offset)
2606
+ copyfileobj(source, target, size, ReadError, bufsize)
2607
+ target.seek(tarinfo.size)
2608
+ target.truncate()
2609
+ else:
2610
+ copyfileobj(source, target, tarinfo.size, ReadError, bufsize)
2611
+
2612
+ def makeunknown(self, tarinfo, targetpath):
2613
+ """Make a file from a TarInfo object with an unknown type
2614
+ at targetpath.
2615
+ """
2616
+ self.makefile(tarinfo, targetpath)
2617
+ self._dbg(1, "tarfile: Unknown file type %r, " \
2618
+ "extracted as regular file." % tarinfo.type)
2619
+
2620
+ def makefifo(self, tarinfo, targetpath):
2621
+ """Make a fifo called targetpath.
2622
+ """
2623
+ if hasattr(os, "mkfifo"):
2624
+ os.mkfifo(targetpath)
2625
+ else:
2626
+ raise ExtractError("fifo not supported by system")
2627
+
2628
+ def makedev(self, tarinfo, targetpath):
2629
+ """Make a character or block device called targetpath.
2630
+ """
2631
+ if not hasattr(os, "mknod") or not hasattr(os, "makedev"):
2632
+ raise ExtractError("special devices not supported by system")
2633
+
2634
+ mode = tarinfo.mode
2635
+ if mode is None:
2636
+ # Use mknod's default
2637
+ mode = 0o600
2638
+ if tarinfo.isblk():
2639
+ mode |= stat.S_IFBLK
2640
+ else:
2641
+ mode |= stat.S_IFCHR
2642
+
2643
+ os.mknod(targetpath, mode,
2644
+ os.makedev(tarinfo.devmajor, tarinfo.devminor))
2645
+
2646
+ def makelink(self, tarinfo, targetpath):
2647
+ return self.makelink_with_filter(tarinfo, targetpath, None, None)
2648
+
2649
+ def makelink_with_filter(self, tarinfo, targetpath,
2650
+ filter_function, extraction_root):
2651
+ """Make a (symbolic) link called targetpath. If it cannot be created
2652
+ (platform limitation), we try to make a copy of the referenced file
2653
+ instead of a link.
2654
+
2655
+ filter_function is only used when extracting a *different*
2656
+ member (e.g. as fallback to creating a link).
2657
+ """
2658
+ keyerror_to_extracterror = False
2659
+ try:
2660
+ # For systems that support symbolic and hard links.
2661
+ if tarinfo.issym():
2662
+ if os.path.lexists(targetpath):
2663
+ # Avoid FileExistsError on following os.symlink.
2664
+ os.unlink(targetpath)
2665
+ os.symlink(tarinfo.linkname, targetpath)
2666
+ return
2667
+ else:
2668
+ if os.path.exists(tarinfo._link_target):
2669
+ # Resolve the target so the hard link points to the file
2670
+ # itself. Otherwise os.link() may duplicate a symlink to a
2671
+ # shallower location, where it's relative target escapes the
2672
+ # destination directory. (CVE-2026-82049)
2673
+ os.link(os.path.realpath(tarinfo._link_target), targetpath)
2674
+ return
2675
+ except symlink_exception:
2676
+ keyerror_to_extracterror = True
2677
+
2678
+ try:
2679
+ unfiltered = self._find_link_target(tarinfo)
2680
+ except KeyError:
2681
+ if keyerror_to_extracterror:
2682
+ raise ExtractError(
2683
+ "unable to resolve link inside archive") from None
2684
+ else:
2685
+ raise
2686
+
2687
+ if filter_function is None:
2688
+ filtered = unfiltered
2689
+ else:
2690
+ if extraction_root is None:
2691
+ raise ExtractError(
2692
+ "makelink_with_filter: if filter_function is not None, "
2693
+ + "extraction_root must also not be None")
2694
+ try:
2695
+ filtered = filter_function(
2696
+ unfiltered.replace(name=tarinfo.name, deep=False),
2697
+ extraction_root)
2698
+ if filtered is None:
2699
+ return
2700
+ filtered = filter_function(unfiltered, extraction_root)
2701
+ except _FILTER_ERRORS as cause:
2702
+ raise LinkFallbackError(tarinfo, unfiltered.name) from cause
2703
+ if filtered is not None:
2704
+ self._extract_member(filtered, targetpath,
2705
+ filter_function=filter_function,
2706
+ extraction_root=extraction_root)
2707
+
2708
+ def chown(self, tarinfo, targetpath, numeric_owner):
2709
+ """Set owner of targetpath according to tarinfo. If numeric_owner
2710
+ is True, use .gid/.uid instead of .gname/.uname. If numeric_owner
2711
+ is False, fall back to .gid/.uid when the search based on name
2712
+ fails.
2713
+ """
2714
+ if hasattr(os, "geteuid") and os.geteuid() == 0:
2715
+ # We have to be root to do so.
2716
+ g = tarinfo.gid
2717
+ u = tarinfo.uid
2718
+ if not numeric_owner:
2719
+ try:
2720
+ if grp and tarinfo.gname:
2721
+ g = grp.getgrnam(tarinfo.gname)[2]
2722
+ except KeyError:
2723
+ pass
2724
+ try:
2725
+ if pwd and tarinfo.uname:
2726
+ u = pwd.getpwnam(tarinfo.uname)[2]
2727
+ except KeyError:
2728
+ pass
2729
+ if g is None:
2730
+ g = -1
2731
+ if u is None:
2732
+ u = -1
2733
+ try:
2734
+ if tarinfo.issym() and hasattr(os, "lchown"):
2735
+ os.lchown(targetpath, u, g)
2736
+ else:
2737
+ os.chown(targetpath, u, g)
2738
+ except OSError as e:
2739
+ raise ExtractError("could not change owner") from e
2740
+
2741
+ def chmod(self, tarinfo, targetpath):
2742
+ """Set file permissions of targetpath according to tarinfo.
2743
+ """
2744
+ if tarinfo.mode is None:
2745
+ return
2746
+ try:
2747
+ os.chmod(targetpath, tarinfo.mode)
2748
+ except OSError as e:
2749
+ raise ExtractError("could not change mode") from e
2750
+
2751
+ def utime(self, tarinfo, targetpath):
2752
+ """Set modification time of targetpath according to tarinfo.
2753
+ """
2754
+ mtime = tarinfo.mtime
2755
+ if mtime is None:
2756
+ return
2757
+ if not hasattr(os, 'utime'):
2758
+ return
2759
+ try:
2760
+ os.utime(targetpath, (mtime, mtime))
2761
+ except OSError as e:
2762
+ raise ExtractError("could not change modification time") from e
2763
+
2764
+ #--------------------------------------------------------------------------
2765
+ def next(self):
2766
+ """Return the next member of the archive as a TarInfo object, when
2767
+ TarFile is opened for reading. Return None if there is no more
2768
+ available.
2769
+ """
2770
+ self._check("ra")
2771
+ if self.firstmember is not None:
2772
+ m = self.firstmember
2773
+ self.firstmember = None
2774
+ return m
2775
+
2776
+ # Advance the file pointer.
2777
+ if self.offset != self.fileobj.tell():
2778
+ if self.offset == 0:
2779
+ return None
2780
+ self.fileobj.seek(self.offset - 1)
2781
+ if not self.fileobj.read(1):
2782
+ raise ReadError("unexpected end of data")
2783
+
2784
+ # Read the next block.
2785
+ tarinfo = None
2786
+ while True:
2787
+ try:
2788
+ tarinfo = self.tarinfo.fromtarfile(self)
2789
+ except EOFHeaderError as e:
2790
+ if self.ignore_zeros:
2791
+ self._dbg(2, "0x%X: %s" % (self.offset, e))
2792
+ self.offset += BLOCKSIZE
2793
+ continue
2794
+ except InvalidHeaderError as e:
2795
+ if self.ignore_zeros:
2796
+ self._dbg(2, "0x%X: %s" % (self.offset, e))
2797
+ self.offset += BLOCKSIZE
2798
+ continue
2799
+ elif self.offset == 0:
2800
+ raise ReadError(str(e)) from None
2801
+ except EmptyHeaderError:
2802
+ if self.offset == 0:
2803
+ raise ReadError("empty file") from None
2804
+ except TruncatedHeaderError as e:
2805
+ if self.offset == 0:
2806
+ raise ReadError(str(e)) from None
2807
+ except SubsequentHeaderError as e:
2808
+ raise ReadError(str(e)) from None
2809
+ except Exception as e:
2810
+ try:
2811
+ import zlib
2812
+ if isinstance(e, zlib.error):
2813
+ raise ReadError(f'zlib error: {e}') from None
2814
+ else:
2815
+ raise e
2816
+ except ImportError:
2817
+ raise e
2818
+ break
2819
+
2820
+ if tarinfo is not None:
2821
+ self.members.append(tarinfo)
2822
+ else:
2823
+ self._loaded = True
2824
+
2825
+ return tarinfo
2826
+
2827
+ #--------------------------------------------------------------------------
2828
+ # Little helper methods:
2829
+
2830
+ def _getmember(self, name, tarinfo=None, normalize=False):
2831
+ """Find an archive member by name from bottom to top.
2832
+ If tarinfo is given, it is used as the starting point.
2833
+ """
2834
+ # Ensure that all members have been loaded.
2835
+ members = self.getmembers()
2836
+
2837
+ # Limit the member search list up to tarinfo.
2838
+ skipping = False
2839
+ if tarinfo is not None:
2840
+ try:
2841
+ index = members.index(tarinfo)
2842
+ except ValueError:
2843
+ # The given starting point might be a (modified) copy.
2844
+ # We'll later skip members until we find an equivalent.
2845
+ skipping = True
2846
+ else:
2847
+ # Happy fast path
2848
+ members = members[:index]
2849
+
2850
+ if normalize:
2851
+ name = os.path.normpath(name)
2852
+
2853
+ for member in reversed(members):
2854
+ if skipping:
2855
+ if tarinfo.offset == member.offset:
2856
+ skipping = False
2857
+ continue
2858
+ if normalize:
2859
+ member_name = os.path.normpath(member.name)
2860
+ else:
2861
+ member_name = member.name
2862
+
2863
+ if name == member_name:
2864
+ return member
2865
+
2866
+ if skipping:
2867
+ # Starting point was not found
2868
+ raise ValueError(tarinfo)
2869
+
2870
+ def _load(self):
2871
+ """Read through the entire archive file and look for readable
2872
+ members.
2873
+ """
2874
+ while self.next() is not None:
2875
+ pass
2876
+ self._loaded = True
2877
+
2878
+ def _check(self, mode=None):
2879
+ """Check if TarFile is still open, and if the operation's mode
2880
+ corresponds to TarFile's mode.
2881
+ """
2882
+ if self.closed:
2883
+ raise OSError("%s is closed" % self.__class__.__name__)
2884
+ if mode is not None and self.mode not in mode:
2885
+ raise OSError("bad operation for mode %r" % self.mode)
2886
+
2887
+ def _find_link_target(self, tarinfo):
2888
+ """Find the target member of a symlink or hardlink member in the
2889
+ archive.
2890
+ """
2891
+ if tarinfo.issym():
2892
+ # Always search the entire archive.
2893
+ linkname = "/".join(filter(None, (os.path.dirname(tarinfo.name), tarinfo.linkname)))
2894
+ limit = None
2895
+ else:
2896
+ # Search the archive before the link, because a hard link is
2897
+ # just a reference to an already archived file.
2898
+ linkname = tarinfo.linkname
2899
+ limit = tarinfo
2900
+
2901
+ member = self._getmember(linkname, tarinfo=limit, normalize=True)
2902
+ if member is None:
2903
+ raise KeyError("linkname %r not found" % linkname)
2904
+ return member
2905
+
2906
+ def __iter__(self):
2907
+ """Provide an iterator object.
2908
+ """
2909
+ if self._loaded:
2910
+ yield from self.members
2911
+ return
2912
+
2913
+ # Yield items using TarFile's next() method.
2914
+ # When all members have been read, set TarFile as _loaded.
2915
+ index = 0
2916
+ # Fix for SF #1100429: Under rare circumstances it can
2917
+ # happen that getmembers() is called during iteration,
2918
+ # which will have already exhausted the next() method.
2919
+ if self.firstmember is not None:
2920
+ tarinfo = self.next()
2921
+ index += 1
2922
+ yield tarinfo
2923
+
2924
+ while True:
2925
+ if index < len(self.members):
2926
+ tarinfo = self.members[index]
2927
+ elif not self._loaded:
2928
+ tarinfo = self.next()
2929
+ if not tarinfo:
2930
+ self._loaded = True
2931
+ return
2932
+ else:
2933
+ return
2934
+ index += 1
2935
+ yield tarinfo
2936
+
2937
+ def _dbg(self, level, msg):
2938
+ """Write debugging output to sys.stderr.
2939
+ """
2940
+ if level <= self.debug:
2941
+ print(msg, file=sys.stderr)
2942
+
2943
+ def __enter__(self):
2944
+ self._check()
2945
+ return self
2946
+
2947
+ def __exit__(self, type, value, traceback):
2948
+ if type is None:
2949
+ self.close()
2950
+ else:
2951
+ # An exception occurred. We must not call close() because
2952
+ # it would try to write end-of-archive blocks and padding.
2953
+ if not self._extfileobj:
2954
+ self.fileobj.close()
2955
+ self.closed = True
2956
+
2957
+ #--------------------
2958
+ # exported functions
2959
+ #--------------------
2960
+
2961
+ def is_tarfile(name):
2962
+ """Return True if name points to a tar archive that we
2963
+ are able to handle, else return False.
2964
+
2965
+ 'name' should be a string, file, or file-like object.
2966
+ """
2967
+ try:
2968
+ if hasattr(name, "read"):
2969
+ pos = name.tell()
2970
+ t = open(fileobj=name)
2971
+ name.seek(pos)
2972
+ else:
2973
+ t = open(name)
2974
+ t.close()
2975
+ return True
2976
+ except TarError:
2977
+ return False
2978
+
2979
+ open = TarFile.open
2980
+
2981
+
2982
+ def main():
2983
+ import argparse
2984
+
2985
+ description = 'A simple command-line interface for tarfile module.'
2986
+ parser = argparse.ArgumentParser(description=description)
2987
+ parser.add_argument('-v', '--verbose', action='store_true', default=False,
2988
+ help='Verbose output')
2989
+ parser.add_argument('--filter', metavar='<filtername>',
2990
+ choices=_NAMED_FILTERS,
2991
+ help='Filter for extraction')
2992
+
2993
+ group = parser.add_mutually_exclusive_group(required=True)
2994
+ group.add_argument('-l', '--list', metavar='<tarfile>',
2995
+ help='Show listing of a tarfile')
2996
+ group.add_argument('-e', '--extract', nargs='+',
2997
+ metavar=('<tarfile>', '<output_dir>'),
2998
+ help='Extract tarfile into target dir')
2999
+ group.add_argument('-c', '--create', nargs='+',
3000
+ metavar=('<name>', '<file>'),
3001
+ help='Create tarfile from sources')
3002
+ group.add_argument('-t', '--test', metavar='<tarfile>',
3003
+ help='Test if a tarfile is valid')
3004
+
3005
+ args = parser.parse_args()
3006
+
3007
+ if args.filter and args.extract is None:
3008
+ parser.exit(1, '--filter is only valid for extraction\n')
3009
+
3010
+ if args.test is not None:
3011
+ src = args.test
3012
+ if is_tarfile(src):
3013
+ with open(src, 'r') as tar:
3014
+ tar.getmembers()
3015
+ print(tar.getmembers(), file=sys.stderr)
3016
+ if args.verbose:
3017
+ print('{!r} is a tar archive.'.format(src))
3018
+ else:
3019
+ parser.exit(1, '{!r} is not a tar archive.\n'.format(src))
3020
+
3021
+ elif args.list is not None:
3022
+ src = args.list
3023
+ if is_tarfile(src):
3024
+ with TarFile.open(src, 'r:*') as tf:
3025
+ tf.list(verbose=args.verbose)
3026
+ else:
3027
+ parser.exit(1, '{!r} is not a tar archive.\n'.format(src))
3028
+
3029
+ elif args.extract is not None:
3030
+ if len(args.extract) == 1:
3031
+ src = args.extract[0]
3032
+ curdir = os.curdir
3033
+ elif len(args.extract) == 2:
3034
+ src, curdir = args.extract
3035
+ else:
3036
+ parser.exit(1, parser.format_help())
3037
+
3038
+ if is_tarfile(src):
3039
+ with TarFile.open(src, 'r:*') as tf:
3040
+ tf.extractall(path=curdir, filter=args.filter)
3041
+ if args.verbose:
3042
+ if curdir == '.':
3043
+ msg = '{!r} file is extracted.'.format(src)
3044
+ else:
3045
+ msg = ('{!r} file is extracted '
3046
+ 'into {!r} directory.').format(src, curdir)
3047
+ print(msg)
3048
+ else:
3049
+ parser.exit(1, '{!r} is not a tar archive.\n'.format(src))
3050
+
3051
+ elif args.create is not None:
3052
+ tar_name = args.create.pop(0)
3053
+ _, ext = os.path.splitext(tar_name)
3054
+ compressions = {
3055
+ # gz
3056
+ '.gz': 'gz',
3057
+ '.tgz': 'gz',
3058
+ # xz
3059
+ '.xz': 'xz',
3060
+ '.txz': 'xz',
3061
+ # bz2
3062
+ '.bz2': 'bz2',
3063
+ '.tbz': 'bz2',
3064
+ '.tbz2': 'bz2',
3065
+ '.tb2': 'bz2',
3066
+ }
3067
+ tar_mode = 'w:' + compressions[ext] if ext in compressions else 'w'
3068
+ tar_files = args.create
3069
+
3070
+ with TarFile.open(tar_name, tar_mode) as tf:
3071
+ for file_name in tar_files:
3072
+ tf.add(file_name)
3073
+
3074
+ if args.verbose:
3075
+ print('{!r} file created.'.format(tar_name))
3076
+
3077
+ if __name__ == '__main__':
3078
+ main()