@agent-webui/ai-desk-python-win32-x64 1.0.29-beta1

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 (3340) hide show
  1. package/README.md +3 -0
  2. package/package.json +20 -0
  3. package/python/DLLs/_asyncio.pdb +0 -0
  4. package/python/DLLs/_asyncio.pyd +0 -0
  5. package/python/DLLs/_bz2.pdb +0 -0
  6. package/python/DLLs/_bz2.pyd +0 -0
  7. package/python/DLLs/_ctypes.pdb +0 -0
  8. package/python/DLLs/_ctypes.pyd +0 -0
  9. package/python/DLLs/_ctypes_test.pdb +0 -0
  10. package/python/DLLs/_ctypes_test.pyd +0 -0
  11. package/python/DLLs/_decimal.pdb +0 -0
  12. package/python/DLLs/_decimal.pyd +0 -0
  13. package/python/DLLs/_elementtree.pdb +0 -0
  14. package/python/DLLs/_elementtree.pyd +0 -0
  15. package/python/DLLs/_hashlib.pdb +0 -0
  16. package/python/DLLs/_hashlib.pyd +0 -0
  17. package/python/DLLs/_lzma.pdb +0 -0
  18. package/python/DLLs/_lzma.pyd +0 -0
  19. package/python/DLLs/_multiprocessing.pdb +0 -0
  20. package/python/DLLs/_multiprocessing.pyd +0 -0
  21. package/python/DLLs/_overlapped.pdb +0 -0
  22. package/python/DLLs/_overlapped.pyd +0 -0
  23. package/python/DLLs/_queue.pdb +0 -0
  24. package/python/DLLs/_queue.pyd +0 -0
  25. package/python/DLLs/_socket.pdb +0 -0
  26. package/python/DLLs/_socket.pyd +0 -0
  27. package/python/DLLs/_sqlite3.pdb +0 -0
  28. package/python/DLLs/_sqlite3.pyd +0 -0
  29. package/python/DLLs/_ssl.pdb +0 -0
  30. package/python/DLLs/_ssl.pyd +0 -0
  31. package/python/DLLs/_testbuffer.pdb +0 -0
  32. package/python/DLLs/_testbuffer.pyd +0 -0
  33. package/python/DLLs/_testcapi.pdb +0 -0
  34. package/python/DLLs/_testcapi.pyd +0 -0
  35. package/python/DLLs/_testclinic.pdb +0 -0
  36. package/python/DLLs/_testclinic.pyd +0 -0
  37. package/python/DLLs/_testclinic_limited.pdb +0 -0
  38. package/python/DLLs/_testclinic_limited.pyd +0 -0
  39. package/python/DLLs/_testconsole.pdb +0 -0
  40. package/python/DLLs/_testconsole.pyd +0 -0
  41. package/python/DLLs/_testimportmultiple.pdb +0 -0
  42. package/python/DLLs/_testimportmultiple.pyd +0 -0
  43. package/python/DLLs/_testinternalcapi.pdb +0 -0
  44. package/python/DLLs/_testinternalcapi.pyd +0 -0
  45. package/python/DLLs/_testlimitedcapi.pdb +0 -0
  46. package/python/DLLs/_testlimitedcapi.pyd +0 -0
  47. package/python/DLLs/_testmultiphase.pdb +0 -0
  48. package/python/DLLs/_testmultiphase.pyd +0 -0
  49. package/python/DLLs/_testsinglephase.pdb +0 -0
  50. package/python/DLLs/_testsinglephase.pyd +0 -0
  51. package/python/DLLs/_tkinter.pdb +0 -0
  52. package/python/DLLs/_tkinter.pyd +0 -0
  53. package/python/DLLs/_uuid.pdb +0 -0
  54. package/python/DLLs/_uuid.pyd +0 -0
  55. package/python/DLLs/_wmi.pdb +0 -0
  56. package/python/DLLs/_wmi.pyd +0 -0
  57. package/python/DLLs/_zoneinfo.pdb +0 -0
  58. package/python/DLLs/_zoneinfo.pyd +0 -0
  59. package/python/DLLs/libcrypto-3-x64.dll +0 -0
  60. package/python/DLLs/libcrypto-3-x64.pdb +0 -0
  61. package/python/DLLs/libffi-8.dll +0 -0
  62. package/python/DLLs/libssl-3-x64.dll +0 -0
  63. package/python/DLLs/libssl-3-x64.pdb +0 -0
  64. package/python/DLLs/pyexpat.pdb +0 -0
  65. package/python/DLLs/pyexpat.pyd +0 -0
  66. package/python/DLLs/select.pdb +0 -0
  67. package/python/DLLs/select.pyd +0 -0
  68. package/python/DLLs/sqlite3.dll +0 -0
  69. package/python/DLLs/sqlite3.pdb +0 -0
  70. package/python/DLLs/tcl86t.dll +0 -0
  71. package/python/DLLs/tk86t.dll +0 -0
  72. package/python/DLLs/unicodedata.pdb +0 -0
  73. package/python/DLLs/unicodedata.pyd +0 -0
  74. package/python/DLLs/winsound.pdb +0 -0
  75. package/python/DLLs/winsound.pyd +0 -0
  76. package/python/LICENSE.txt +445 -0
  77. package/python/Lib/__future__.py +147 -0
  78. package/python/Lib/__hello__.py +16 -0
  79. package/python/Lib/__phello__/__init__.py +7 -0
  80. package/python/Lib/__phello__/ham/__init__.py +0 -0
  81. package/python/Lib/__phello__/ham/eggs.py +0 -0
  82. package/python/Lib/__phello__/spam.py +7 -0
  83. package/python/Lib/__pycache__/__future__.cpython-313.pyc +0 -0
  84. package/python/Lib/__pycache__/_colorize.cpython-313.pyc +0 -0
  85. package/python/Lib/__pycache__/_compat_pickle.cpython-313.pyc +0 -0
  86. package/python/Lib/__pycache__/_compression.cpython-313.pyc +0 -0
  87. package/python/Lib/__pycache__/_markupbase.cpython-313.pyc +0 -0
  88. package/python/Lib/__pycache__/_opcode_metadata.cpython-313.pyc +0 -0
  89. package/python/Lib/__pycache__/_weakrefset.cpython-313.pyc +0 -0
  90. package/python/Lib/__pycache__/ast.cpython-313.pyc +0 -0
  91. package/python/Lib/__pycache__/base64.cpython-313.pyc +0 -0
  92. package/python/Lib/__pycache__/bisect.cpython-313.pyc +0 -0
  93. package/python/Lib/__pycache__/bz2.cpython-313.pyc +0 -0
  94. package/python/Lib/__pycache__/calendar.cpython-313.pyc +0 -0
  95. package/python/Lib/__pycache__/colorsys.cpython-313.pyc +0 -0
  96. package/python/Lib/__pycache__/compileall.cpython-313.pyc +0 -0
  97. package/python/Lib/__pycache__/configparser.cpython-313.pyc +0 -0
  98. package/python/Lib/__pycache__/contextlib.cpython-313.pyc +0 -0
  99. package/python/Lib/__pycache__/copy.cpython-313.pyc +0 -0
  100. package/python/Lib/__pycache__/copyreg.cpython-313.pyc +0 -0
  101. package/python/Lib/__pycache__/csv.cpython-313.pyc +0 -0
  102. package/python/Lib/__pycache__/dataclasses.cpython-313.pyc +0 -0
  103. package/python/Lib/__pycache__/datetime.cpython-313.pyc +0 -0
  104. package/python/Lib/__pycache__/decimal.cpython-313.pyc +0 -0
  105. package/python/Lib/__pycache__/dis.cpython-313.pyc +0 -0
  106. package/python/Lib/__pycache__/enum.cpython-313.pyc +0 -0
  107. package/python/Lib/__pycache__/filecmp.cpython-313.pyc +0 -0
  108. package/python/Lib/__pycache__/fnmatch.cpython-313.pyc +0 -0
  109. package/python/Lib/__pycache__/fractions.cpython-313.pyc +0 -0
  110. package/python/Lib/__pycache__/functools.cpython-313.pyc +0 -0
  111. package/python/Lib/__pycache__/getpass.cpython-313.pyc +0 -0
  112. package/python/Lib/__pycache__/gettext.cpython-313.pyc +0 -0
  113. package/python/Lib/__pycache__/glob.cpython-313.pyc +0 -0
  114. package/python/Lib/__pycache__/gzip.cpython-313.pyc +0 -0
  115. package/python/Lib/__pycache__/hashlib.cpython-313.pyc +0 -0
  116. package/python/Lib/__pycache__/heapq.cpython-313.pyc +0 -0
  117. package/python/Lib/__pycache__/hmac.cpython-313.pyc +0 -0
  118. package/python/Lib/__pycache__/inspect.cpython-313.pyc +0 -0
  119. package/python/Lib/__pycache__/ipaddress.cpython-313.pyc +0 -0
  120. package/python/Lib/__pycache__/keyword.cpython-313.pyc +0 -0
  121. package/python/Lib/__pycache__/linecache.cpython-313.pyc +0 -0
  122. package/python/Lib/__pycache__/locale.cpython-313.pyc +0 -0
  123. package/python/Lib/__pycache__/lzma.cpython-313.pyc +0 -0
  124. package/python/Lib/__pycache__/mimetypes.cpython-313.pyc +0 -0
  125. package/python/Lib/__pycache__/nturl2path.cpython-313.pyc +0 -0
  126. package/python/Lib/__pycache__/numbers.cpython-313.pyc +0 -0
  127. package/python/Lib/__pycache__/opcode.cpython-313.pyc +0 -0
  128. package/python/Lib/__pycache__/operator.cpython-313.pyc +0 -0
  129. package/python/Lib/__pycache__/optparse.cpython-313.pyc +0 -0
  130. package/python/Lib/__pycache__/pickle.cpython-313.pyc +0 -0
  131. package/python/Lib/__pycache__/pkgutil.cpython-313.pyc +0 -0
  132. package/python/Lib/__pycache__/platform.cpython-313.pyc +0 -0
  133. package/python/Lib/__pycache__/py_compile.cpython-313.pyc +0 -0
  134. package/python/Lib/__pycache__/queue.cpython-313.pyc +0 -0
  135. package/python/Lib/__pycache__/quopri.cpython-313.pyc +0 -0
  136. package/python/Lib/__pycache__/random.cpython-313.pyc +0 -0
  137. package/python/Lib/__pycache__/reprlib.cpython-313.pyc +0 -0
  138. package/python/Lib/__pycache__/selectors.cpython-313.pyc +0 -0
  139. package/python/Lib/__pycache__/shlex.cpython-313.pyc +0 -0
  140. package/python/Lib/__pycache__/shutil.cpython-313.pyc +0 -0
  141. package/python/Lib/__pycache__/signal.cpython-313.pyc +0 -0
  142. package/python/Lib/__pycache__/socket.cpython-313.pyc +0 -0
  143. package/python/Lib/__pycache__/socketserver.cpython-313.pyc +0 -0
  144. package/python/Lib/__pycache__/ssl.cpython-313.pyc +0 -0
  145. package/python/Lib/__pycache__/string.cpython-313.pyc +0 -0
  146. package/python/Lib/__pycache__/stringprep.cpython-313.pyc +0 -0
  147. package/python/Lib/__pycache__/struct.cpython-313.pyc +0 -0
  148. package/python/Lib/__pycache__/subprocess.cpython-313.pyc +0 -0
  149. package/python/Lib/__pycache__/tarfile.cpython-313.pyc +0 -0
  150. package/python/Lib/__pycache__/tempfile.cpython-313.pyc +0 -0
  151. package/python/Lib/__pycache__/textwrap.cpython-313.pyc +0 -0
  152. package/python/Lib/__pycache__/threading.cpython-313.pyc +0 -0
  153. package/python/Lib/__pycache__/token.cpython-313.pyc +0 -0
  154. package/python/Lib/__pycache__/tokenize.cpython-313.pyc +0 -0
  155. package/python/Lib/__pycache__/traceback.cpython-313.pyc +0 -0
  156. package/python/Lib/__pycache__/types.cpython-313.pyc +0 -0
  157. package/python/Lib/__pycache__/typing.cpython-313.pyc +0 -0
  158. package/python/Lib/__pycache__/uuid.cpython-313.pyc +0 -0
  159. package/python/Lib/__pycache__/warnings.cpython-313.pyc +0 -0
  160. package/python/Lib/__pycache__/weakref.cpython-313.pyc +0 -0
  161. package/python/Lib/_aix_support.py +108 -0
  162. package/python/Lib/_android_support.py +192 -0
  163. package/python/Lib/_apple_support.py +66 -0
  164. package/python/Lib/_collections_abc.py +1182 -0
  165. package/python/Lib/_colorize.py +119 -0
  166. package/python/Lib/_compat_pickle.py +251 -0
  167. package/python/Lib/_compression.py +162 -0
  168. package/python/Lib/_ios_support.py +71 -0
  169. package/python/Lib/_markupbase.py +396 -0
  170. package/python/Lib/_opcode_metadata.py +343 -0
  171. package/python/Lib/_osx_support.py +579 -0
  172. package/python/Lib/_py_abc.py +147 -0
  173. package/python/Lib/_pydatetime.py +2639 -0
  174. package/python/Lib/_pydecimal.py +6351 -0
  175. package/python/Lib/_pyio.py +2704 -0
  176. package/python/Lib/_pylong.py +363 -0
  177. package/python/Lib/_pyrepl/__init__.py +19 -0
  178. package/python/Lib/_pyrepl/__main__.py +10 -0
  179. package/python/Lib/_pyrepl/_minimal_curses.py +68 -0
  180. package/python/Lib/_pyrepl/_threading_handler.py +74 -0
  181. package/python/Lib/_pyrepl/base_eventqueue.py +110 -0
  182. package/python/Lib/_pyrepl/commands.py +492 -0
  183. package/python/Lib/_pyrepl/completing_reader.py +295 -0
  184. package/python/Lib/_pyrepl/console.py +229 -0
  185. package/python/Lib/_pyrepl/curses.py +33 -0
  186. package/python/Lib/_pyrepl/fancy_termios.py +82 -0
  187. package/python/Lib/_pyrepl/historical_reader.py +419 -0
  188. package/python/Lib/_pyrepl/input.py +114 -0
  189. package/python/Lib/_pyrepl/keymap.py +213 -0
  190. package/python/Lib/_pyrepl/main.py +59 -0
  191. package/python/Lib/_pyrepl/mypy.ini +29 -0
  192. package/python/Lib/_pyrepl/pager.py +175 -0
  193. package/python/Lib/_pyrepl/reader.py +764 -0
  194. package/python/Lib/_pyrepl/readline.py +599 -0
  195. package/python/Lib/_pyrepl/simple_interact.py +180 -0
  196. package/python/Lib/_pyrepl/trace.py +21 -0
  197. package/python/Lib/_pyrepl/types.py +10 -0
  198. package/python/Lib/_pyrepl/unix_console.py +852 -0
  199. package/python/Lib/_pyrepl/unix_eventqueue.py +76 -0
  200. package/python/Lib/_pyrepl/utils.py +83 -0
  201. package/python/Lib/_pyrepl/windows_console.py +692 -0
  202. package/python/Lib/_pyrepl/windows_eventqueue.py +42 -0
  203. package/python/Lib/_sitebuiltins.py +91 -0
  204. package/python/Lib/_strptime.py +800 -0
  205. package/python/Lib/_threading_local.py +120 -0
  206. package/python/Lib/_weakrefset.py +205 -0
  207. package/python/Lib/abc.py +188 -0
  208. package/python/Lib/antigravity.py +17 -0
  209. package/python/Lib/argparse.py +2690 -0
  210. package/python/Lib/ast.py +1865 -0
  211. package/python/Lib/asyncio/__init__.py +47 -0
  212. package/python/Lib/asyncio/__main__.py +207 -0
  213. package/python/Lib/asyncio/base_events.py +2075 -0
  214. package/python/Lib/asyncio/base_futures.py +67 -0
  215. package/python/Lib/asyncio/base_subprocess.py +319 -0
  216. package/python/Lib/asyncio/base_tasks.py +94 -0
  217. package/python/Lib/asyncio/constants.py +41 -0
  218. package/python/Lib/asyncio/coroutines.py +109 -0
  219. package/python/Lib/asyncio/events.py +882 -0
  220. package/python/Lib/asyncio/exceptions.py +62 -0
  221. package/python/Lib/asyncio/format_helpers.py +84 -0
  222. package/python/Lib/asyncio/futures.py +425 -0
  223. package/python/Lib/asyncio/locks.py +617 -0
  224. package/python/Lib/asyncio/log.py +7 -0
  225. package/python/Lib/asyncio/mixins.py +21 -0
  226. package/python/Lib/asyncio/proactor_events.py +896 -0
  227. package/python/Lib/asyncio/protocols.py +216 -0
  228. package/python/Lib/asyncio/queues.py +307 -0
  229. package/python/Lib/asyncio/runners.py +216 -0
  230. package/python/Lib/asyncio/selector_events.py +1326 -0
  231. package/python/Lib/asyncio/sslproto.py +929 -0
  232. package/python/Lib/asyncio/staggered.py +174 -0
  233. package/python/Lib/asyncio/streams.py +787 -0
  234. package/python/Lib/asyncio/subprocess.py +229 -0
  235. package/python/Lib/asyncio/taskgroups.py +278 -0
  236. package/python/Lib/asyncio/tasks.py +1118 -0
  237. package/python/Lib/asyncio/threads.py +25 -0
  238. package/python/Lib/asyncio/timeouts.py +184 -0
  239. package/python/Lib/asyncio/transports.py +337 -0
  240. package/python/Lib/asyncio/trsock.py +98 -0
  241. package/python/Lib/asyncio/unix_events.py +1536 -0
  242. package/python/Lib/asyncio/windows_events.py +903 -0
  243. package/python/Lib/asyncio/windows_utils.py +173 -0
  244. package/python/Lib/base64.py +621 -0
  245. package/python/Lib/bdb.py +973 -0
  246. package/python/Lib/bisect.py +118 -0
  247. package/python/Lib/bz2.py +352 -0
  248. package/python/Lib/cProfile.py +197 -0
  249. package/python/Lib/calendar.py +813 -0
  250. package/python/Lib/cmd.py +409 -0
  251. package/python/Lib/code.py +386 -0
  252. package/python/Lib/codecs.py +1132 -0
  253. package/python/Lib/codeop.py +155 -0
  254. package/python/Lib/collections/__init__.py +1600 -0
  255. package/python/Lib/collections/__pycache__/__init__.cpython-313.pyc +0 -0
  256. package/python/Lib/colorsys.py +166 -0
  257. package/python/Lib/compileall.py +470 -0
  258. package/python/Lib/concurrent/__init__.py +1 -0
  259. package/python/Lib/concurrent/futures/__init__.py +54 -0
  260. package/python/Lib/concurrent/futures/_base.py +654 -0
  261. package/python/Lib/concurrent/futures/process.py +862 -0
  262. package/python/Lib/concurrent/futures/thread.py +240 -0
  263. package/python/Lib/configparser.py +1387 -0
  264. package/python/Lib/contextlib.py +814 -0
  265. package/python/Lib/contextvars.py +4 -0
  266. package/python/Lib/copy.py +306 -0
  267. package/python/Lib/copyreg.py +217 -0
  268. package/python/Lib/csv.py +513 -0
  269. package/python/Lib/ctypes/__init__.py +600 -0
  270. package/python/Lib/ctypes/__pycache__/__init__.cpython-313.pyc +0 -0
  271. package/python/Lib/ctypes/__pycache__/_endian.cpython-313.pyc +0 -0
  272. package/python/Lib/ctypes/__pycache__/wintypes.cpython-313.pyc +0 -0
  273. package/python/Lib/ctypes/_aix.py +327 -0
  274. package/python/Lib/ctypes/_endian.py +78 -0
  275. package/python/Lib/ctypes/macholib/README.ctypes +7 -0
  276. package/python/Lib/ctypes/macholib/__init__.py +9 -0
  277. package/python/Lib/ctypes/macholib/dyld.py +165 -0
  278. package/python/Lib/ctypes/macholib/dylib.py +42 -0
  279. package/python/Lib/ctypes/macholib/fetch_macholib +2 -0
  280. package/python/Lib/ctypes/macholib/fetch_macholib.bat +1 -0
  281. package/python/Lib/ctypes/macholib/framework.py +42 -0
  282. package/python/Lib/ctypes/util.py +388 -0
  283. package/python/Lib/ctypes/wintypes.py +202 -0
  284. package/python/Lib/curses/__init__.py +101 -0
  285. package/python/Lib/curses/ascii.py +99 -0
  286. package/python/Lib/curses/has_key.py +192 -0
  287. package/python/Lib/curses/panel.py +6 -0
  288. package/python/Lib/curses/textpad.py +204 -0
  289. package/python/Lib/dataclasses.py +1630 -0
  290. package/python/Lib/datetime.py +9 -0
  291. package/python/Lib/dbm/__init__.py +194 -0
  292. package/python/Lib/dbm/dumb.py +319 -0
  293. package/python/Lib/dbm/gnu.py +3 -0
  294. package/python/Lib/dbm/ndbm.py +3 -0
  295. package/python/Lib/dbm/sqlite3.py +144 -0
  296. package/python/Lib/decimal.py +109 -0
  297. package/python/Lib/difflib.py +2056 -0
  298. package/python/Lib/dis.py +1075 -0
  299. package/python/Lib/doctest.py +2919 -0
  300. package/python/Lib/email/__init__.py +61 -0
  301. package/python/Lib/email/__pycache__/__init__.cpython-313.pyc +0 -0
  302. package/python/Lib/email/__pycache__/_encoded_words.cpython-313.pyc +0 -0
  303. package/python/Lib/email/__pycache__/_parseaddr.cpython-313.pyc +0 -0
  304. package/python/Lib/email/__pycache__/_policybase.cpython-313.pyc +0 -0
  305. package/python/Lib/email/__pycache__/base64mime.cpython-313.pyc +0 -0
  306. package/python/Lib/email/__pycache__/charset.cpython-313.pyc +0 -0
  307. package/python/Lib/email/__pycache__/encoders.cpython-313.pyc +0 -0
  308. package/python/Lib/email/__pycache__/errors.cpython-313.pyc +0 -0
  309. package/python/Lib/email/__pycache__/feedparser.cpython-313.pyc +0 -0
  310. package/python/Lib/email/__pycache__/header.cpython-313.pyc +0 -0
  311. package/python/Lib/email/__pycache__/iterators.cpython-313.pyc +0 -0
  312. package/python/Lib/email/__pycache__/message.cpython-313.pyc +0 -0
  313. package/python/Lib/email/__pycache__/parser.cpython-313.pyc +0 -0
  314. package/python/Lib/email/__pycache__/quoprimime.cpython-313.pyc +0 -0
  315. package/python/Lib/email/__pycache__/utils.cpython-313.pyc +0 -0
  316. package/python/Lib/email/_encoded_words.py +233 -0
  317. package/python/Lib/email/_header_value_parser.py +3145 -0
  318. package/python/Lib/email/_parseaddr.py +563 -0
  319. package/python/Lib/email/_policybase.py +382 -0
  320. package/python/Lib/email/architecture.rst +216 -0
  321. package/python/Lib/email/base64mime.py +115 -0
  322. package/python/Lib/email/charset.py +398 -0
  323. package/python/Lib/email/contentmanager.py +253 -0
  324. package/python/Lib/email/encoders.py +65 -0
  325. package/python/Lib/email/errors.py +117 -0
  326. package/python/Lib/email/feedparser.py +536 -0
  327. package/python/Lib/email/generator.py +530 -0
  328. package/python/Lib/email/header.py +582 -0
  329. package/python/Lib/email/headerregistry.py +618 -0
  330. package/python/Lib/email/iterators.py +68 -0
  331. package/python/Lib/email/message.py +1217 -0
  332. package/python/Lib/email/mime/__init__.py +0 -0
  333. package/python/Lib/email/mime/application.py +37 -0
  334. package/python/Lib/email/mime/audio.py +97 -0
  335. package/python/Lib/email/mime/base.py +29 -0
  336. package/python/Lib/email/mime/image.py +152 -0
  337. package/python/Lib/email/mime/message.py +33 -0
  338. package/python/Lib/email/mime/multipart.py +47 -0
  339. package/python/Lib/email/mime/nonmultipart.py +21 -0
  340. package/python/Lib/email/mime/text.py +40 -0
  341. package/python/Lib/email/parser.py +127 -0
  342. package/python/Lib/email/policy.py +232 -0
  343. package/python/Lib/email/quoprimime.py +300 -0
  344. package/python/Lib/email/utils.py +494 -0
  345. package/python/Lib/encodings/__init__.py +174 -0
  346. package/python/Lib/encodings/__pycache__/__init__.cpython-313.pyc +0 -0
  347. package/python/Lib/encodings/__pycache__/aliases.cpython-313.pyc +0 -0
  348. package/python/Lib/encodings/__pycache__/cp1252.cpython-313.pyc +0 -0
  349. package/python/Lib/encodings/__pycache__/cp437.cpython-313.pyc +0 -0
  350. package/python/Lib/encodings/__pycache__/hex_codec.cpython-313.pyc +0 -0
  351. package/python/Lib/encodings/__pycache__/idna.cpython-313.pyc +0 -0
  352. package/python/Lib/encodings/__pycache__/utf_8.cpython-313.pyc +0 -0
  353. package/python/Lib/encodings/aliases.py +552 -0
  354. package/python/Lib/encodings/ascii.py +50 -0
  355. package/python/Lib/encodings/base64_codec.py +55 -0
  356. package/python/Lib/encodings/big5.py +39 -0
  357. package/python/Lib/encodings/big5hkscs.py +39 -0
  358. package/python/Lib/encodings/bz2_codec.py +78 -0
  359. package/python/Lib/encodings/charmap.py +69 -0
  360. package/python/Lib/encodings/cp037.py +307 -0
  361. package/python/Lib/encodings/cp1006.py +307 -0
  362. package/python/Lib/encodings/cp1026.py +307 -0
  363. package/python/Lib/encodings/cp1125.py +698 -0
  364. package/python/Lib/encodings/cp1140.py +307 -0
  365. package/python/Lib/encodings/cp1250.py +307 -0
  366. package/python/Lib/encodings/cp1251.py +307 -0
  367. package/python/Lib/encodings/cp1252.py +307 -0
  368. package/python/Lib/encodings/cp1253.py +307 -0
  369. package/python/Lib/encodings/cp1254.py +307 -0
  370. package/python/Lib/encodings/cp1255.py +307 -0
  371. package/python/Lib/encodings/cp1256.py +307 -0
  372. package/python/Lib/encodings/cp1257.py +307 -0
  373. package/python/Lib/encodings/cp1258.py +307 -0
  374. package/python/Lib/encodings/cp273.py +307 -0
  375. package/python/Lib/encodings/cp424.py +307 -0
  376. package/python/Lib/encodings/cp437.py +698 -0
  377. package/python/Lib/encodings/cp500.py +307 -0
  378. package/python/Lib/encodings/cp720.py +309 -0
  379. package/python/Lib/encodings/cp737.py +698 -0
  380. package/python/Lib/encodings/cp775.py +697 -0
  381. package/python/Lib/encodings/cp850.py +698 -0
  382. package/python/Lib/encodings/cp852.py +698 -0
  383. package/python/Lib/encodings/cp855.py +698 -0
  384. package/python/Lib/encodings/cp856.py +307 -0
  385. package/python/Lib/encodings/cp857.py +694 -0
  386. package/python/Lib/encodings/cp858.py +698 -0
  387. package/python/Lib/encodings/cp860.py +698 -0
  388. package/python/Lib/encodings/cp861.py +698 -0
  389. package/python/Lib/encodings/cp862.py +698 -0
  390. package/python/Lib/encodings/cp863.py +698 -0
  391. package/python/Lib/encodings/cp864.py +690 -0
  392. package/python/Lib/encodings/cp865.py +698 -0
  393. package/python/Lib/encodings/cp866.py +698 -0
  394. package/python/Lib/encodings/cp869.py +689 -0
  395. package/python/Lib/encodings/cp874.py +307 -0
  396. package/python/Lib/encodings/cp875.py +307 -0
  397. package/python/Lib/encodings/cp932.py +39 -0
  398. package/python/Lib/encodings/cp949.py +39 -0
  399. package/python/Lib/encodings/cp950.py +39 -0
  400. package/python/Lib/encodings/euc_jis_2004.py +39 -0
  401. package/python/Lib/encodings/euc_jisx0213.py +39 -0
  402. package/python/Lib/encodings/euc_jp.py +39 -0
  403. package/python/Lib/encodings/euc_kr.py +39 -0
  404. package/python/Lib/encodings/gb18030.py +39 -0
  405. package/python/Lib/encodings/gb2312.py +39 -0
  406. package/python/Lib/encodings/gbk.py +39 -0
  407. package/python/Lib/encodings/hex_codec.py +55 -0
  408. package/python/Lib/encodings/hp_roman8.py +314 -0
  409. package/python/Lib/encodings/hz.py +39 -0
  410. package/python/Lib/encodings/idna.py +387 -0
  411. package/python/Lib/encodings/iso2022_jp.py +39 -0
  412. package/python/Lib/encodings/iso2022_jp_1.py +39 -0
  413. package/python/Lib/encodings/iso2022_jp_2.py +39 -0
  414. package/python/Lib/encodings/iso2022_jp_2004.py +39 -0
  415. package/python/Lib/encodings/iso2022_jp_3.py +39 -0
  416. package/python/Lib/encodings/iso2022_jp_ext.py +39 -0
  417. package/python/Lib/encodings/iso2022_kr.py +39 -0
  418. package/python/Lib/encodings/iso8859_1.py +307 -0
  419. package/python/Lib/encodings/iso8859_10.py +307 -0
  420. package/python/Lib/encodings/iso8859_11.py +307 -0
  421. package/python/Lib/encodings/iso8859_13.py +307 -0
  422. package/python/Lib/encodings/iso8859_14.py +307 -0
  423. package/python/Lib/encodings/iso8859_15.py +307 -0
  424. package/python/Lib/encodings/iso8859_16.py +307 -0
  425. package/python/Lib/encodings/iso8859_2.py +307 -0
  426. package/python/Lib/encodings/iso8859_3.py +307 -0
  427. package/python/Lib/encodings/iso8859_4.py +307 -0
  428. package/python/Lib/encodings/iso8859_5.py +307 -0
  429. package/python/Lib/encodings/iso8859_6.py +307 -0
  430. package/python/Lib/encodings/iso8859_7.py +307 -0
  431. package/python/Lib/encodings/iso8859_8.py +307 -0
  432. package/python/Lib/encodings/iso8859_9.py +307 -0
  433. package/python/Lib/encodings/johab.py +39 -0
  434. package/python/Lib/encodings/koi8_r.py +307 -0
  435. package/python/Lib/encodings/koi8_t.py +308 -0
  436. package/python/Lib/encodings/koi8_u.py +307 -0
  437. package/python/Lib/encodings/kz1048.py +307 -0
  438. package/python/Lib/encodings/latin_1.py +50 -0
  439. package/python/Lib/encodings/mac_arabic.py +698 -0
  440. package/python/Lib/encodings/mac_croatian.py +307 -0
  441. package/python/Lib/encodings/mac_cyrillic.py +307 -0
  442. package/python/Lib/encodings/mac_farsi.py +307 -0
  443. package/python/Lib/encodings/mac_greek.py +307 -0
  444. package/python/Lib/encodings/mac_iceland.py +307 -0
  445. package/python/Lib/encodings/mac_latin2.py +312 -0
  446. package/python/Lib/encodings/mac_roman.py +307 -0
  447. package/python/Lib/encodings/mac_romanian.py +307 -0
  448. package/python/Lib/encodings/mac_turkish.py +307 -0
  449. package/python/Lib/encodings/mbcs.py +47 -0
  450. package/python/Lib/encodings/oem.py +41 -0
  451. package/python/Lib/encodings/palmos.py +308 -0
  452. package/python/Lib/encodings/ptcp154.py +312 -0
  453. package/python/Lib/encodings/punycode.py +253 -0
  454. package/python/Lib/encodings/quopri_codec.py +56 -0
  455. package/python/Lib/encodings/raw_unicode_escape.py +46 -0
  456. package/python/Lib/encodings/rot_13.py +113 -0
  457. package/python/Lib/encodings/shift_jis.py +39 -0
  458. package/python/Lib/encodings/shift_jis_2004.py +39 -0
  459. package/python/Lib/encodings/shift_jisx0213.py +39 -0
  460. package/python/Lib/encodings/tis_620.py +307 -0
  461. package/python/Lib/encodings/undefined.py +49 -0
  462. package/python/Lib/encodings/unicode_escape.py +46 -0
  463. package/python/Lib/encodings/utf_16.py +155 -0
  464. package/python/Lib/encodings/utf_16_be.py +42 -0
  465. package/python/Lib/encodings/utf_16_le.py +42 -0
  466. package/python/Lib/encodings/utf_32.py +150 -0
  467. package/python/Lib/encodings/utf_32_be.py +37 -0
  468. package/python/Lib/encodings/utf_32_le.py +37 -0
  469. package/python/Lib/encodings/utf_7.py +38 -0
  470. package/python/Lib/encodings/utf_8.py +42 -0
  471. package/python/Lib/encodings/utf_8_sig.py +130 -0
  472. package/python/Lib/encodings/uu_codec.py +103 -0
  473. package/python/Lib/encodings/zlib_codec.py +77 -0
  474. package/python/Lib/ensurepip/__init__.py +264 -0
  475. package/python/Lib/ensurepip/__main__.py +5 -0
  476. package/python/Lib/ensurepip/_bundled/pip-25.3-py3-none-any.whl +0 -0
  477. package/python/Lib/ensurepip/_uninstall.py +31 -0
  478. package/python/Lib/enum.py +2182 -0
  479. package/python/Lib/filecmp.py +320 -0
  480. package/python/Lib/fileinput.py +442 -0
  481. package/python/Lib/fnmatch.py +192 -0
  482. package/python/Lib/fractions.py +1043 -0
  483. package/python/Lib/ftplib.py +966 -0
  484. package/python/Lib/functools.py +1036 -0
  485. package/python/Lib/genericpath.py +200 -0
  486. package/python/Lib/getopt.py +215 -0
  487. package/python/Lib/getpass.py +192 -0
  488. package/python/Lib/gettext.py +657 -0
  489. package/python/Lib/glob.py +551 -0
  490. package/python/Lib/graphlib.py +250 -0
  491. package/python/Lib/gzip.py +691 -0
  492. package/python/Lib/hashlib.py +255 -0
  493. package/python/Lib/heapq.py +603 -0
  494. package/python/Lib/hmac.py +220 -0
  495. package/python/Lib/html/__init__.py +132 -0
  496. package/python/Lib/html/__pycache__/__init__.cpython-313.pyc +0 -0
  497. package/python/Lib/html/__pycache__/entities.cpython-313.pyc +0 -0
  498. package/python/Lib/html/__pycache__/parser.cpython-313.pyc +0 -0
  499. package/python/Lib/html/entities.py +2513 -0
  500. package/python/Lib/html/parser.py +553 -0
  501. package/python/Lib/http/__init__.py +202 -0
  502. package/python/Lib/http/__pycache__/__init__.cpython-313.pyc +0 -0
  503. package/python/Lib/http/__pycache__/client.cpython-313.pyc +0 -0
  504. package/python/Lib/http/__pycache__/cookiejar.cpython-313.pyc +0 -0
  505. package/python/Lib/http/__pycache__/cookies.cpython-313.pyc +0 -0
  506. package/python/Lib/http/client.py +1570 -0
  507. package/python/Lib/http/cookiejar.py +2122 -0
  508. package/python/Lib/http/cookies.py +615 -0
  509. package/python/Lib/http/server.py +1351 -0
  510. package/python/Lib/idlelib/CREDITS.txt +48 -0
  511. package/python/Lib/idlelib/ChangeLog +1591 -0
  512. package/python/Lib/idlelib/HISTORY.txt +296 -0
  513. package/python/Lib/idlelib/Icons/README.txt +51 -0
  514. package/python/Lib/idlelib/Icons/folder.gif +0 -0
  515. package/python/Lib/idlelib/Icons/idle.ico +0 -0
  516. package/python/Lib/idlelib/Icons/idle_16.gif +0 -0
  517. package/python/Lib/idlelib/Icons/idle_16.png +0 -0
  518. package/python/Lib/idlelib/Icons/idle_256.png +0 -0
  519. package/python/Lib/idlelib/Icons/idle_32.gif +0 -0
  520. package/python/Lib/idlelib/Icons/idle_32.png +0 -0
  521. package/python/Lib/idlelib/Icons/idle_48.gif +0 -0
  522. package/python/Lib/idlelib/Icons/idle_48.png +0 -0
  523. package/python/Lib/idlelib/Icons/minusnode.gif +0 -0
  524. package/python/Lib/idlelib/Icons/openfolder.gif +0 -0
  525. package/python/Lib/idlelib/Icons/plusnode.gif +0 -0
  526. package/python/Lib/idlelib/Icons/python.gif +0 -0
  527. package/python/Lib/idlelib/Icons/tk.gif +0 -0
  528. package/python/Lib/idlelib/NEWS2x.txt +660 -0
  529. package/python/Lib/idlelib/News3.txt +1407 -0
  530. package/python/Lib/idlelib/README.txt +290 -0
  531. package/python/Lib/idlelib/TODO.txt +210 -0
  532. package/python/Lib/idlelib/__init__.py +10 -0
  533. package/python/Lib/idlelib/__main__.py +7 -0
  534. package/python/Lib/idlelib/autocomplete.py +228 -0
  535. package/python/Lib/idlelib/autocomplete_w.py +498 -0
  536. package/python/Lib/idlelib/autoexpand.py +96 -0
  537. package/python/Lib/idlelib/browser.py +260 -0
  538. package/python/Lib/idlelib/calltip.py +205 -0
  539. package/python/Lib/idlelib/calltip_w.py +202 -0
  540. package/python/Lib/idlelib/codecontext.py +270 -0
  541. package/python/Lib/idlelib/colorizer.py +384 -0
  542. package/python/Lib/idlelib/config-extensions.def +62 -0
  543. package/python/Lib/idlelib/config-highlight.def +105 -0
  544. package/python/Lib/idlelib/config-keys.def +309 -0
  545. package/python/Lib/idlelib/config-main.def +92 -0
  546. package/python/Lib/idlelib/config.py +917 -0
  547. package/python/Lib/idlelib/config_key.py +354 -0
  548. package/python/Lib/idlelib/configdialog.py +2408 -0
  549. package/python/Lib/idlelib/debugger.py +602 -0
  550. package/python/Lib/idlelib/debugger_r.py +390 -0
  551. package/python/Lib/idlelib/debugobj.py +146 -0
  552. package/python/Lib/idlelib/debugobj_r.py +41 -0
  553. package/python/Lib/idlelib/delegator.py +34 -0
  554. package/python/Lib/idlelib/dynoption.py +57 -0
  555. package/python/Lib/idlelib/editor.py +1721 -0
  556. package/python/Lib/idlelib/extend.txt +83 -0
  557. package/python/Lib/idlelib/filelist.py +132 -0
  558. package/python/Lib/idlelib/format.py +426 -0
  559. package/python/Lib/idlelib/grep.py +223 -0
  560. package/python/Lib/idlelib/help.html +865 -0
  561. package/python/Lib/idlelib/help.py +343 -0
  562. package/python/Lib/idlelib/help_about.py +211 -0
  563. package/python/Lib/idlelib/history.py +106 -0
  564. package/python/Lib/idlelib/hyperparser.py +312 -0
  565. package/python/Lib/idlelib/idle.bat +4 -0
  566. package/python/Lib/idlelib/idle.py +14 -0
  567. package/python/Lib/idlelib/idle.pyw +17 -0
  568. package/python/Lib/idlelib/iomenu.py +441 -0
  569. package/python/Lib/idlelib/macosx.py +278 -0
  570. package/python/Lib/idlelib/mainmenu.py +126 -0
  571. package/python/Lib/idlelib/multicall.py +451 -0
  572. package/python/Lib/idlelib/outwin.py +188 -0
  573. package/python/Lib/idlelib/parenmatch.py +183 -0
  574. package/python/Lib/idlelib/pathbrowser.py +107 -0
  575. package/python/Lib/idlelib/percolator.py +120 -0
  576. package/python/Lib/idlelib/pyparse.py +589 -0
  577. package/python/Lib/idlelib/pyshell.py +1699 -0
  578. package/python/Lib/idlelib/query.py +390 -0
  579. package/python/Lib/idlelib/redirector.py +174 -0
  580. package/python/Lib/idlelib/replace.py +299 -0
  581. package/python/Lib/idlelib/rpc.py +635 -0
  582. package/python/Lib/idlelib/run.py +653 -0
  583. package/python/Lib/idlelib/runscript.py +213 -0
  584. package/python/Lib/idlelib/scrolledlist.py +151 -0
  585. package/python/Lib/idlelib/search.py +165 -0
  586. package/python/Lib/idlelib/searchbase.py +210 -0
  587. package/python/Lib/idlelib/searchengine.py +234 -0
  588. package/python/Lib/idlelib/sidebar.py +543 -0
  589. package/python/Lib/idlelib/squeezer.py +345 -0
  590. package/python/Lib/idlelib/stackviewer.py +134 -0
  591. package/python/Lib/idlelib/statusbar.py +52 -0
  592. package/python/Lib/idlelib/textview.py +193 -0
  593. package/python/Lib/idlelib/tooltip.py +190 -0
  594. package/python/Lib/idlelib/tree.py +509 -0
  595. package/python/Lib/idlelib/undo.py +367 -0
  596. package/python/Lib/idlelib/util.py +37 -0
  597. package/python/Lib/idlelib/window.py +98 -0
  598. package/python/Lib/idlelib/zoomheight.py +124 -0
  599. package/python/Lib/idlelib/zzdummy.py +73 -0
  600. package/python/Lib/imaplib.py +1651 -0
  601. package/python/Lib/importlib/__init__.py +136 -0
  602. package/python/Lib/importlib/__pycache__/__init__.cpython-313.pyc +0 -0
  603. package/python/Lib/importlib/__pycache__/_abc.cpython-313.pyc +0 -0
  604. package/python/Lib/importlib/__pycache__/abc.cpython-313.pyc +0 -0
  605. package/python/Lib/importlib/__pycache__/readers.cpython-313.pyc +0 -0
  606. package/python/Lib/importlib/_abc.py +39 -0
  607. package/python/Lib/importlib/_bootstrap.py +1551 -0
  608. package/python/Lib/importlib/_bootstrap_external.py +1826 -0
  609. package/python/Lib/importlib/abc.py +243 -0
  610. package/python/Lib/importlib/machinery.py +21 -0
  611. package/python/Lib/importlib/metadata/__init__.py +1093 -0
  612. package/python/Lib/importlib/metadata/__pycache__/__init__.cpython-313.pyc +0 -0
  613. package/python/Lib/importlib/metadata/__pycache__/_adapters.cpython-313.pyc +0 -0
  614. package/python/Lib/importlib/metadata/__pycache__/_collections.cpython-313.pyc +0 -0
  615. package/python/Lib/importlib/metadata/__pycache__/_functools.cpython-313.pyc +0 -0
  616. package/python/Lib/importlib/metadata/__pycache__/_itertools.cpython-313.pyc +0 -0
  617. package/python/Lib/importlib/metadata/__pycache__/_meta.cpython-313.pyc +0 -0
  618. package/python/Lib/importlib/metadata/__pycache__/_text.cpython-313.pyc +0 -0
  619. package/python/Lib/importlib/metadata/_adapters.py +89 -0
  620. package/python/Lib/importlib/metadata/_collections.py +30 -0
  621. package/python/Lib/importlib/metadata/_functools.py +104 -0
  622. package/python/Lib/importlib/metadata/_itertools.py +73 -0
  623. package/python/Lib/importlib/metadata/_meta.py +67 -0
  624. package/python/Lib/importlib/metadata/_text.py +99 -0
  625. package/python/Lib/importlib/metadata/diagnose.py +21 -0
  626. package/python/Lib/importlib/readers.py +12 -0
  627. package/python/Lib/importlib/resources/__init__.py +43 -0
  628. package/python/Lib/importlib/resources/__pycache__/__init__.cpython-313.pyc +0 -0
  629. package/python/Lib/importlib/resources/__pycache__/_adapters.cpython-313.pyc +0 -0
  630. package/python/Lib/importlib/resources/__pycache__/_common.cpython-313.pyc +0 -0
  631. package/python/Lib/importlib/resources/__pycache__/_functional.cpython-313.pyc +0 -0
  632. package/python/Lib/importlib/resources/__pycache__/_itertools.cpython-313.pyc +0 -0
  633. package/python/Lib/importlib/resources/__pycache__/abc.cpython-313.pyc +0 -0
  634. package/python/Lib/importlib/resources/__pycache__/readers.cpython-313.pyc +0 -0
  635. package/python/Lib/importlib/resources/_adapters.py +168 -0
  636. package/python/Lib/importlib/resources/_common.py +211 -0
  637. package/python/Lib/importlib/resources/_functional.py +81 -0
  638. package/python/Lib/importlib/resources/_itertools.py +38 -0
  639. package/python/Lib/importlib/resources/abc.py +173 -0
  640. package/python/Lib/importlib/resources/readers.py +203 -0
  641. package/python/Lib/importlib/resources/simple.py +106 -0
  642. package/python/Lib/importlib/simple.py +14 -0
  643. package/python/Lib/importlib/util.py +274 -0
  644. package/python/Lib/inspect.py +3471 -0
  645. package/python/Lib/io.py +99 -0
  646. package/python/Lib/ipaddress.py +2440 -0
  647. package/python/Lib/json/__init__.py +365 -0
  648. package/python/Lib/json/__pycache__/__init__.cpython-313.pyc +0 -0
  649. package/python/Lib/json/__pycache__/decoder.cpython-313.pyc +0 -0
  650. package/python/Lib/json/__pycache__/encoder.cpython-313.pyc +0 -0
  651. package/python/Lib/json/__pycache__/scanner.cpython-313.pyc +0 -0
  652. package/python/Lib/json/decoder.py +364 -0
  653. package/python/Lib/json/encoder.py +446 -0
  654. package/python/Lib/json/scanner.py +73 -0
  655. package/python/Lib/json/tool.py +89 -0
  656. package/python/Lib/keyword.py +64 -0
  657. package/python/Lib/linecache.py +236 -0
  658. package/python/Lib/locale.py +1778 -0
  659. package/python/Lib/logging/__init__.py +2326 -0
  660. package/python/Lib/logging/__pycache__/__init__.cpython-313.pyc +0 -0
  661. package/python/Lib/logging/__pycache__/config.cpython-313.pyc +0 -0
  662. package/python/Lib/logging/__pycache__/handlers.cpython-313.pyc +0 -0
  663. package/python/Lib/logging/config.py +1065 -0
  664. package/python/Lib/logging/handlers.py +1629 -0
  665. package/python/Lib/lzma.py +364 -0
  666. package/python/Lib/mailbox.py +2219 -0
  667. package/python/Lib/mimetypes.py +679 -0
  668. package/python/Lib/modulefinder.py +671 -0
  669. package/python/Lib/multiprocessing/__init__.py +37 -0
  670. package/python/Lib/multiprocessing/connection.py +1190 -0
  671. package/python/Lib/multiprocessing/context.py +377 -0
  672. package/python/Lib/multiprocessing/dummy/__init__.py +126 -0
  673. package/python/Lib/multiprocessing/dummy/connection.py +75 -0
  674. package/python/Lib/multiprocessing/forkserver.py +364 -0
  675. package/python/Lib/multiprocessing/heap.py +337 -0
  676. package/python/Lib/multiprocessing/managers.py +1397 -0
  677. package/python/Lib/multiprocessing/pool.py +957 -0
  678. package/python/Lib/multiprocessing/popen_fork.py +87 -0
  679. package/python/Lib/multiprocessing/popen_forkserver.py +74 -0
  680. package/python/Lib/multiprocessing/popen_spawn_posix.py +76 -0
  681. package/python/Lib/multiprocessing/popen_spawn_win32.py +147 -0
  682. package/python/Lib/multiprocessing/process.py +436 -0
  683. package/python/Lib/multiprocessing/queues.py +399 -0
  684. package/python/Lib/multiprocessing/reduction.py +281 -0
  685. package/python/Lib/multiprocessing/resource_sharer.py +154 -0
  686. package/python/Lib/multiprocessing/resource_tracker.py +420 -0
  687. package/python/Lib/multiprocessing/shared_memory.py +544 -0
  688. package/python/Lib/multiprocessing/sharedctypes.py +240 -0
  689. package/python/Lib/multiprocessing/spawn.py +307 -0
  690. package/python/Lib/multiprocessing/synchronize.py +404 -0
  691. package/python/Lib/multiprocessing/util.py +562 -0
  692. package/python/Lib/netrc.py +199 -0
  693. package/python/Lib/ntpath.py +870 -0
  694. package/python/Lib/nturl2path.py +69 -0
  695. package/python/Lib/numbers.py +427 -0
  696. package/python/Lib/opcode.py +115 -0
  697. package/python/Lib/operator.py +467 -0
  698. package/python/Lib/optparse.py +1681 -0
  699. package/python/Lib/os.py +1184 -0
  700. package/python/Lib/pathlib/__init__.py +12 -0
  701. package/python/Lib/pathlib/__pycache__/__init__.cpython-313.pyc +0 -0
  702. package/python/Lib/pathlib/__pycache__/_abc.cpython-313.pyc +0 -0
  703. package/python/Lib/pathlib/__pycache__/_local.cpython-313.pyc +0 -0
  704. package/python/Lib/pathlib/_abc.py +930 -0
  705. package/python/Lib/pathlib/_local.py +861 -0
  706. package/python/Lib/pdb.py +2550 -0
  707. package/python/Lib/pickle.py +1866 -0
  708. package/python/Lib/pickletools.py +2904 -0
  709. package/python/Lib/pkgutil.py +529 -0
  710. package/python/Lib/platform.py +1454 -0
  711. package/python/Lib/plistlib.py +948 -0
  712. package/python/Lib/poplib.py +477 -0
  713. package/python/Lib/posixpath.py +578 -0
  714. package/python/Lib/pprint.py +658 -0
  715. package/python/Lib/profile.py +616 -0
  716. package/python/Lib/pstats.py +778 -0
  717. package/python/Lib/pty.py +211 -0
  718. package/python/Lib/py_compile.py +212 -0
  719. package/python/Lib/pyclbr.py +314 -0
  720. package/python/Lib/pydoc.py +2859 -0
  721. package/python/Lib/pydoc_data/__init__.py +0 -0
  722. package/python/Lib/pydoc_data/_pydoc.css +112 -0
  723. package/python/Lib/pydoc_data/module_docs.py +314 -0
  724. package/python/Lib/pydoc_data/topics.py +13000 -0
  725. package/python/Lib/queue.py +383 -0
  726. package/python/Lib/quopri.py +237 -0
  727. package/python/Lib/random.py +1070 -0
  728. package/python/Lib/re/__init__.py +428 -0
  729. package/python/Lib/re/__pycache__/__init__.cpython-313.pyc +0 -0
  730. package/python/Lib/re/__pycache__/_casefix.cpython-313.pyc +0 -0
  731. package/python/Lib/re/__pycache__/_compiler.cpython-313.pyc +0 -0
  732. package/python/Lib/re/__pycache__/_constants.cpython-313.pyc +0 -0
  733. package/python/Lib/re/__pycache__/_parser.cpython-313.pyc +0 -0
  734. package/python/Lib/re/_casefix.py +106 -0
  735. package/python/Lib/re/_compiler.py +768 -0
  736. package/python/Lib/re/_constants.py +222 -0
  737. package/python/Lib/re/_parser.py +1081 -0
  738. package/python/Lib/reprlib.py +230 -0
  739. package/python/Lib/rlcompleter.py +221 -0
  740. package/python/Lib/runpy.py +319 -0
  741. package/python/Lib/sched.py +167 -0
  742. package/python/Lib/secrets.py +71 -0
  743. package/python/Lib/selectors.py +603 -0
  744. package/python/Lib/shelve.py +250 -0
  745. package/python/Lib/shlex.py +345 -0
  746. package/python/Lib/shutil.py +1583 -0
  747. package/python/Lib/signal.py +94 -0
  748. package/python/Lib/site-packages/README.txt +2 -0
  749. package/python/Lib/site-packages/pip/__init__.py +13 -0
  750. package/python/Lib/site-packages/pip/__main__.py +24 -0
  751. package/python/Lib/site-packages/pip/__pip-runner__.py +50 -0
  752. package/python/Lib/site-packages/pip/__pycache__/__init__.cpython-313.pyc +0 -0
  753. package/python/Lib/site-packages/pip/__pycache__/__main__.cpython-313.pyc +0 -0
  754. package/python/Lib/site-packages/pip/__pycache__/__pip-runner__.cpython-313.pyc +0 -0
  755. package/python/Lib/site-packages/pip/_internal/__init__.py +18 -0
  756. package/python/Lib/site-packages/pip/_internal/__pycache__/__init__.cpython-313.pyc +0 -0
  757. package/python/Lib/site-packages/pip/_internal/__pycache__/build_env.cpython-313.pyc +0 -0
  758. package/python/Lib/site-packages/pip/_internal/__pycache__/cache.cpython-313.pyc +0 -0
  759. package/python/Lib/site-packages/pip/_internal/__pycache__/configuration.cpython-313.pyc +0 -0
  760. package/python/Lib/site-packages/pip/_internal/__pycache__/exceptions.cpython-313.pyc +0 -0
  761. package/python/Lib/site-packages/pip/_internal/__pycache__/main.cpython-313.pyc +0 -0
  762. package/python/Lib/site-packages/pip/_internal/__pycache__/pyproject.cpython-313.pyc +0 -0
  763. package/python/Lib/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-313.pyc +0 -0
  764. package/python/Lib/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-313.pyc +0 -0
  765. package/python/Lib/site-packages/pip/_internal/build_env.py +606 -0
  766. package/python/Lib/site-packages/pip/_internal/cache.py +291 -0
  767. package/python/Lib/site-packages/pip/_internal/cli/__init__.py +3 -0
  768. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-313.pyc +0 -0
  769. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-313.pyc +0 -0
  770. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-313.pyc +0 -0
  771. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-313.pyc +0 -0
  772. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-313.pyc +0 -0
  773. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/index_command.cpython-313.pyc +0 -0
  774. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/main.cpython-313.pyc +0 -0
  775. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-313.pyc +0 -0
  776. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/parser.cpython-313.pyc +0 -0
  777. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-313.pyc +0 -0
  778. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-313.pyc +0 -0
  779. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-313.pyc +0 -0
  780. package/python/Lib/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-313.pyc +0 -0
  781. package/python/Lib/site-packages/pip/_internal/cli/autocompletion.py +184 -0
  782. package/python/Lib/site-packages/pip/_internal/cli/base_command.py +255 -0
  783. package/python/Lib/site-packages/pip/_internal/cli/cmdoptions.py +1267 -0
  784. package/python/Lib/site-packages/pip/_internal/cli/command_context.py +28 -0
  785. package/python/Lib/site-packages/pip/_internal/cli/index_command.py +195 -0
  786. package/python/Lib/site-packages/pip/_internal/cli/main.py +85 -0
  787. package/python/Lib/site-packages/pip/_internal/cli/main_parser.py +136 -0
  788. package/python/Lib/site-packages/pip/_internal/cli/parser.py +358 -0
  789. package/python/Lib/site-packages/pip/_internal/cli/progress_bars.py +153 -0
  790. package/python/Lib/site-packages/pip/_internal/cli/req_command.py +447 -0
  791. package/python/Lib/site-packages/pip/_internal/cli/spinners.py +235 -0
  792. package/python/Lib/site-packages/pip/_internal/cli/status_codes.py +6 -0
  793. package/python/Lib/site-packages/pip/_internal/commands/__init__.py +139 -0
  794. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/__init__.cpython-313.pyc +0 -0
  795. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/cache.cpython-313.pyc +0 -0
  796. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/check.cpython-313.pyc +0 -0
  797. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/completion.cpython-313.pyc +0 -0
  798. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/configuration.cpython-313.pyc +0 -0
  799. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/debug.cpython-313.pyc +0 -0
  800. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/download.cpython-313.pyc +0 -0
  801. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/freeze.cpython-313.pyc +0 -0
  802. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/hash.cpython-313.pyc +0 -0
  803. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/help.cpython-313.pyc +0 -0
  804. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/index.cpython-313.pyc +0 -0
  805. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/inspect.cpython-313.pyc +0 -0
  806. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/install.cpython-313.pyc +0 -0
  807. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/list.cpython-313.pyc +0 -0
  808. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/lock.cpython-313.pyc +0 -0
  809. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/search.cpython-313.pyc +0 -0
  810. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/show.cpython-313.pyc +0 -0
  811. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/uninstall.cpython-313.pyc +0 -0
  812. package/python/Lib/site-packages/pip/_internal/commands/__pycache__/wheel.cpython-313.pyc +0 -0
  813. package/python/Lib/site-packages/pip/_internal/commands/cache.py +255 -0
  814. package/python/Lib/site-packages/pip/_internal/commands/check.py +66 -0
  815. package/python/Lib/site-packages/pip/_internal/commands/completion.py +136 -0
  816. package/python/Lib/site-packages/pip/_internal/commands/configuration.py +288 -0
  817. package/python/Lib/site-packages/pip/_internal/commands/debug.py +203 -0
  818. package/python/Lib/site-packages/pip/_internal/commands/download.py +146 -0
  819. package/python/Lib/site-packages/pip/_internal/commands/freeze.py +107 -0
  820. package/python/Lib/site-packages/pip/_internal/commands/hash.py +58 -0
  821. package/python/Lib/site-packages/pip/_internal/commands/help.py +40 -0
  822. package/python/Lib/site-packages/pip/_internal/commands/index.py +166 -0
  823. package/python/Lib/site-packages/pip/_internal/commands/inspect.py +92 -0
  824. package/python/Lib/site-packages/pip/_internal/commands/install.py +810 -0
  825. package/python/Lib/site-packages/pip/_internal/commands/list.py +398 -0
  826. package/python/Lib/site-packages/pip/_internal/commands/lock.py +175 -0
  827. package/python/Lib/site-packages/pip/_internal/commands/search.py +178 -0
  828. package/python/Lib/site-packages/pip/_internal/commands/show.py +231 -0
  829. package/python/Lib/site-packages/pip/_internal/commands/uninstall.py +113 -0
  830. package/python/Lib/site-packages/pip/_internal/commands/wheel.py +171 -0
  831. package/python/Lib/site-packages/pip/_internal/configuration.py +396 -0
  832. package/python/Lib/site-packages/pip/_internal/distributions/__init__.py +21 -0
  833. package/python/Lib/site-packages/pip/_internal/distributions/__pycache__/__init__.cpython-313.pyc +0 -0
  834. package/python/Lib/site-packages/pip/_internal/distributions/__pycache__/base.cpython-313.pyc +0 -0
  835. package/python/Lib/site-packages/pip/_internal/distributions/__pycache__/installed.cpython-313.pyc +0 -0
  836. package/python/Lib/site-packages/pip/_internal/distributions/__pycache__/sdist.cpython-313.pyc +0 -0
  837. package/python/Lib/site-packages/pip/_internal/distributions/__pycache__/wheel.cpython-313.pyc +0 -0
  838. package/python/Lib/site-packages/pip/_internal/distributions/base.py +55 -0
  839. package/python/Lib/site-packages/pip/_internal/distributions/installed.py +33 -0
  840. package/python/Lib/site-packages/pip/_internal/distributions/sdist.py +164 -0
  841. package/python/Lib/site-packages/pip/_internal/distributions/wheel.py +44 -0
  842. package/python/Lib/site-packages/pip/_internal/exceptions.py +971 -0
  843. package/python/Lib/site-packages/pip/_internal/index/__init__.py +1 -0
  844. package/python/Lib/site-packages/pip/_internal/index/__pycache__/__init__.cpython-313.pyc +0 -0
  845. package/python/Lib/site-packages/pip/_internal/index/__pycache__/collector.cpython-313.pyc +0 -0
  846. package/python/Lib/site-packages/pip/_internal/index/__pycache__/package_finder.cpython-313.pyc +0 -0
  847. package/python/Lib/site-packages/pip/_internal/index/__pycache__/sources.cpython-313.pyc +0 -0
  848. package/python/Lib/site-packages/pip/_internal/index/collector.py +488 -0
  849. package/python/Lib/site-packages/pip/_internal/index/package_finder.py +1125 -0
  850. package/python/Lib/site-packages/pip/_internal/index/sources.py +287 -0
  851. package/python/Lib/site-packages/pip/_internal/locations/__init__.py +440 -0
  852. package/python/Lib/site-packages/pip/_internal/locations/__pycache__/__init__.cpython-313.pyc +0 -0
  853. package/python/Lib/site-packages/pip/_internal/locations/__pycache__/_distutils.cpython-313.pyc +0 -0
  854. package/python/Lib/site-packages/pip/_internal/locations/__pycache__/_sysconfig.cpython-313.pyc +0 -0
  855. package/python/Lib/site-packages/pip/_internal/locations/__pycache__/base.cpython-313.pyc +0 -0
  856. package/python/Lib/site-packages/pip/_internal/locations/_distutils.py +173 -0
  857. package/python/Lib/site-packages/pip/_internal/locations/_sysconfig.py +218 -0
  858. package/python/Lib/site-packages/pip/_internal/locations/base.py +82 -0
  859. package/python/Lib/site-packages/pip/_internal/main.py +12 -0
  860. package/python/Lib/site-packages/pip/_internal/metadata/__init__.py +169 -0
  861. package/python/Lib/site-packages/pip/_internal/metadata/__pycache__/__init__.cpython-313.pyc +0 -0
  862. package/python/Lib/site-packages/pip/_internal/metadata/__pycache__/_json.cpython-313.pyc +0 -0
  863. package/python/Lib/site-packages/pip/_internal/metadata/__pycache__/base.cpython-313.pyc +0 -0
  864. package/python/Lib/site-packages/pip/_internal/metadata/__pycache__/pkg_resources.cpython-313.pyc +0 -0
  865. package/python/Lib/site-packages/pip/_internal/metadata/_json.py +87 -0
  866. package/python/Lib/site-packages/pip/_internal/metadata/base.py +685 -0
  867. package/python/Lib/site-packages/pip/_internal/metadata/importlib/__init__.py +6 -0
  868. package/python/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/__init__.cpython-313.pyc +0 -0
  869. package/python/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_compat.cpython-313.pyc +0 -0
  870. package/python/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_dists.cpython-313.pyc +0 -0
  871. package/python/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_envs.cpython-313.pyc +0 -0
  872. package/python/Lib/site-packages/pip/_internal/metadata/importlib/_compat.py +87 -0
  873. package/python/Lib/site-packages/pip/_internal/metadata/importlib/_dists.py +229 -0
  874. package/python/Lib/site-packages/pip/_internal/metadata/importlib/_envs.py +143 -0
  875. package/python/Lib/site-packages/pip/_internal/metadata/pkg_resources.py +298 -0
  876. package/python/Lib/site-packages/pip/_internal/models/__init__.py +1 -0
  877. package/python/Lib/site-packages/pip/_internal/models/__pycache__/__init__.cpython-313.pyc +0 -0
  878. package/python/Lib/site-packages/pip/_internal/models/__pycache__/candidate.cpython-313.pyc +0 -0
  879. package/python/Lib/site-packages/pip/_internal/models/__pycache__/direct_url.cpython-313.pyc +0 -0
  880. package/python/Lib/site-packages/pip/_internal/models/__pycache__/format_control.cpython-313.pyc +0 -0
  881. package/python/Lib/site-packages/pip/_internal/models/__pycache__/index.cpython-313.pyc +0 -0
  882. package/python/Lib/site-packages/pip/_internal/models/__pycache__/installation_report.cpython-313.pyc +0 -0
  883. package/python/Lib/site-packages/pip/_internal/models/__pycache__/link.cpython-313.pyc +0 -0
  884. package/python/Lib/site-packages/pip/_internal/models/__pycache__/release_control.cpython-313.pyc +0 -0
  885. package/python/Lib/site-packages/pip/_internal/models/__pycache__/scheme.cpython-313.pyc +0 -0
  886. package/python/Lib/site-packages/pip/_internal/models/__pycache__/search_scope.cpython-313.pyc +0 -0
  887. package/python/Lib/site-packages/pip/_internal/models/__pycache__/selection_prefs.cpython-313.pyc +0 -0
  888. package/python/Lib/site-packages/pip/_internal/models/__pycache__/target_python.cpython-313.pyc +0 -0
  889. package/python/Lib/site-packages/pip/_internal/models/__pycache__/wheel.cpython-313.pyc +0 -0
  890. package/python/Lib/site-packages/pip/_internal/models/candidate.py +25 -0
  891. package/python/Lib/site-packages/pip/_internal/models/direct_url.py +227 -0
  892. package/python/Lib/site-packages/pip/_internal/models/format_control.py +78 -0
  893. package/python/Lib/site-packages/pip/_internal/models/index.py +28 -0
  894. package/python/Lib/site-packages/pip/_internal/models/installation_report.py +57 -0
  895. package/python/Lib/site-packages/pip/_internal/models/link.py +617 -0
  896. package/python/Lib/site-packages/pip/_internal/models/release_control.py +92 -0
  897. package/python/Lib/site-packages/pip/_internal/models/scheme.py +25 -0
  898. package/python/Lib/site-packages/pip/_internal/models/search_scope.py +126 -0
  899. package/python/Lib/site-packages/pip/_internal/models/selection_prefs.py +56 -0
  900. package/python/Lib/site-packages/pip/_internal/models/target_python.py +122 -0
  901. package/python/Lib/site-packages/pip/_internal/models/wheel.py +80 -0
  902. package/python/Lib/site-packages/pip/_internal/network/__init__.py +1 -0
  903. package/python/Lib/site-packages/pip/_internal/network/__pycache__/__init__.cpython-313.pyc +0 -0
  904. package/python/Lib/site-packages/pip/_internal/network/__pycache__/auth.cpython-313.pyc +0 -0
  905. package/python/Lib/site-packages/pip/_internal/network/__pycache__/cache.cpython-313.pyc +0 -0
  906. package/python/Lib/site-packages/pip/_internal/network/__pycache__/download.cpython-313.pyc +0 -0
  907. package/python/Lib/site-packages/pip/_internal/network/__pycache__/lazy_wheel.cpython-313.pyc +0 -0
  908. package/python/Lib/site-packages/pip/_internal/network/__pycache__/session.cpython-313.pyc +0 -0
  909. package/python/Lib/site-packages/pip/_internal/network/__pycache__/utils.cpython-313.pyc +0 -0
  910. package/python/Lib/site-packages/pip/_internal/network/__pycache__/xmlrpc.cpython-313.pyc +0 -0
  911. package/python/Lib/site-packages/pip/_internal/network/auth.py +568 -0
  912. package/python/Lib/site-packages/pip/_internal/network/cache.py +128 -0
  913. package/python/Lib/site-packages/pip/_internal/network/download.py +341 -0
  914. package/python/Lib/site-packages/pip/_internal/network/lazy_wheel.py +215 -0
  915. package/python/Lib/site-packages/pip/_internal/network/session.py +532 -0
  916. package/python/Lib/site-packages/pip/_internal/network/utils.py +98 -0
  917. package/python/Lib/site-packages/pip/_internal/network/xmlrpc.py +61 -0
  918. package/python/Lib/site-packages/pip/_internal/operations/__init__.py +0 -0
  919. package/python/Lib/site-packages/pip/_internal/operations/__pycache__/__init__.cpython-313.pyc +0 -0
  920. package/python/Lib/site-packages/pip/_internal/operations/__pycache__/check.cpython-313.pyc +0 -0
  921. package/python/Lib/site-packages/pip/_internal/operations/__pycache__/freeze.cpython-313.pyc +0 -0
  922. package/python/Lib/site-packages/pip/_internal/operations/__pycache__/prepare.cpython-313.pyc +0 -0
  923. package/python/Lib/site-packages/pip/_internal/operations/build/__init__.py +0 -0
  924. package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/__init__.cpython-313.pyc +0 -0
  925. package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/build_tracker.cpython-313.pyc +0 -0
  926. package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/metadata.cpython-313.pyc +0 -0
  927. package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/metadata_editable.cpython-313.pyc +0 -0
  928. package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/wheel.cpython-313.pyc +0 -0
  929. package/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/wheel_editable.cpython-313.pyc +0 -0
  930. package/python/Lib/site-packages/pip/_internal/operations/build/build_tracker.py +140 -0
  931. package/python/Lib/site-packages/pip/_internal/operations/build/metadata.py +38 -0
  932. package/python/Lib/site-packages/pip/_internal/operations/build/metadata_editable.py +41 -0
  933. package/python/Lib/site-packages/pip/_internal/operations/build/wheel.py +38 -0
  934. package/python/Lib/site-packages/pip/_internal/operations/build/wheel_editable.py +47 -0
  935. package/python/Lib/site-packages/pip/_internal/operations/check.py +175 -0
  936. package/python/Lib/site-packages/pip/_internal/operations/freeze.py +259 -0
  937. package/python/Lib/site-packages/pip/_internal/operations/install/__init__.py +1 -0
  938. package/python/Lib/site-packages/pip/_internal/operations/install/__pycache__/__init__.cpython-313.pyc +0 -0
  939. package/python/Lib/site-packages/pip/_internal/operations/install/__pycache__/wheel.cpython-313.pyc +0 -0
  940. package/python/Lib/site-packages/pip/_internal/operations/install/wheel.py +745 -0
  941. package/python/Lib/site-packages/pip/_internal/operations/prepare.py +747 -0
  942. package/python/Lib/site-packages/pip/_internal/pyproject.py +123 -0
  943. package/python/Lib/site-packages/pip/_internal/req/__init__.py +103 -0
  944. package/python/Lib/site-packages/pip/_internal/req/__pycache__/__init__.cpython-313.pyc +0 -0
  945. package/python/Lib/site-packages/pip/_internal/req/__pycache__/constructors.cpython-313.pyc +0 -0
  946. package/python/Lib/site-packages/pip/_internal/req/__pycache__/pep723.cpython-313.pyc +0 -0
  947. package/python/Lib/site-packages/pip/_internal/req/__pycache__/req_dependency_group.cpython-313.pyc +0 -0
  948. package/python/Lib/site-packages/pip/_internal/req/__pycache__/req_file.cpython-313.pyc +0 -0
  949. package/python/Lib/site-packages/pip/_internal/req/__pycache__/req_install.cpython-313.pyc +0 -0
  950. package/python/Lib/site-packages/pip/_internal/req/__pycache__/req_set.cpython-313.pyc +0 -0
  951. package/python/Lib/site-packages/pip/_internal/req/__pycache__/req_uninstall.cpython-313.pyc +0 -0
  952. package/python/Lib/site-packages/pip/_internal/req/constructors.py +568 -0
  953. package/python/Lib/site-packages/pip/_internal/req/pep723.py +41 -0
  954. package/python/Lib/site-packages/pip/_internal/req/req_dependency_group.py +75 -0
  955. package/python/Lib/site-packages/pip/_internal/req/req_file.py +631 -0
  956. package/python/Lib/site-packages/pip/_internal/req/req_install.py +828 -0
  957. package/python/Lib/site-packages/pip/_internal/req/req_set.py +81 -0
  958. package/python/Lib/site-packages/pip/_internal/req/req_uninstall.py +639 -0
  959. package/python/Lib/site-packages/pip/_internal/resolution/__init__.py +0 -0
  960. package/python/Lib/site-packages/pip/_internal/resolution/__pycache__/__init__.cpython-313.pyc +0 -0
  961. package/python/Lib/site-packages/pip/_internal/resolution/__pycache__/base.cpython-313.pyc +0 -0
  962. package/python/Lib/site-packages/pip/_internal/resolution/base.py +20 -0
  963. package/python/Lib/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
  964. package/python/Lib/site-packages/pip/_internal/resolution/legacy/__pycache__/__init__.cpython-313.pyc +0 -0
  965. package/python/Lib/site-packages/pip/_internal/resolution/legacy/__pycache__/resolver.cpython-313.pyc +0 -0
  966. package/python/Lib/site-packages/pip/_internal/resolution/legacy/resolver.py +598 -0
  967. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
  968. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-313.pyc +0 -0
  969. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/base.cpython-313.pyc +0 -0
  970. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-313.pyc +0 -0
  971. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-313.pyc +0 -0
  972. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-313.pyc +0 -0
  973. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-313.pyc +0 -0
  974. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-313.pyc +0 -0
  975. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-313.pyc +0 -0
  976. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-313.pyc +0 -0
  977. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/base.py +142 -0
  978. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/candidates.py +591 -0
  979. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/factory.py +856 -0
  980. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +166 -0
  981. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/provider.py +285 -0
  982. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/reporter.py +98 -0
  983. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/requirements.py +251 -0
  984. package/python/Lib/site-packages/pip/_internal/resolution/resolvelib/resolver.py +332 -0
  985. package/python/Lib/site-packages/pip/_internal/self_outdated_check.py +255 -0
  986. package/python/Lib/site-packages/pip/_internal/utils/__init__.py +0 -0
  987. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/__init__.cpython-313.pyc +0 -0
  988. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/_jaraco_text.cpython-313.pyc +0 -0
  989. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/_log.cpython-313.pyc +0 -0
  990. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-313.pyc +0 -0
  991. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/compat.cpython-313.pyc +0 -0
  992. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/compatibility_tags.cpython-313.pyc +0 -0
  993. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/datetime.cpython-313.pyc +0 -0
  994. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/deprecation.cpython-313.pyc +0 -0
  995. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/direct_url_helpers.cpython-313.pyc +0 -0
  996. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/egg_link.cpython-313.pyc +0 -0
  997. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/entrypoints.cpython-313.pyc +0 -0
  998. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/filesystem.cpython-313.pyc +0 -0
  999. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/filetypes.cpython-313.pyc +0 -0
  1000. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/glibc.cpython-313.pyc +0 -0
  1001. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/hashes.cpython-313.pyc +0 -0
  1002. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/logging.cpython-313.pyc +0 -0
  1003. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/misc.cpython-313.pyc +0 -0
  1004. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/packaging.cpython-313.pyc +0 -0
  1005. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/pylock.cpython-313.pyc +0 -0
  1006. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/retry.cpython-313.pyc +0 -0
  1007. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/subprocess.cpython-313.pyc +0 -0
  1008. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/temp_dir.cpython-313.pyc +0 -0
  1009. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/unpacking.cpython-313.pyc +0 -0
  1010. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/urls.cpython-313.pyc +0 -0
  1011. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/virtualenv.cpython-313.pyc +0 -0
  1012. package/python/Lib/site-packages/pip/_internal/utils/__pycache__/wheel.cpython-313.pyc +0 -0
  1013. package/python/Lib/site-packages/pip/_internal/utils/_jaraco_text.py +109 -0
  1014. package/python/Lib/site-packages/pip/_internal/utils/_log.py +38 -0
  1015. package/python/Lib/site-packages/pip/_internal/utils/appdirs.py +52 -0
  1016. package/python/Lib/site-packages/pip/_internal/utils/compat.py +85 -0
  1017. package/python/Lib/site-packages/pip/_internal/utils/compatibility_tags.py +201 -0
  1018. package/python/Lib/site-packages/pip/_internal/utils/datetime.py +28 -0
  1019. package/python/Lib/site-packages/pip/_internal/utils/deprecation.py +126 -0
  1020. package/python/Lib/site-packages/pip/_internal/utils/direct_url_helpers.py +87 -0
  1021. package/python/Lib/site-packages/pip/_internal/utils/egg_link.py +81 -0
  1022. package/python/Lib/site-packages/pip/_internal/utils/entrypoints.py +88 -0
  1023. package/python/Lib/site-packages/pip/_internal/utils/filesystem.py +203 -0
  1024. package/python/Lib/site-packages/pip/_internal/utils/filetypes.py +24 -0
  1025. package/python/Lib/site-packages/pip/_internal/utils/glibc.py +102 -0
  1026. package/python/Lib/site-packages/pip/_internal/utils/hashes.py +150 -0
  1027. package/python/Lib/site-packages/pip/_internal/utils/logging.py +396 -0
  1028. package/python/Lib/site-packages/pip/_internal/utils/misc.py +771 -0
  1029. package/python/Lib/site-packages/pip/_internal/utils/packaging.py +44 -0
  1030. package/python/Lib/site-packages/pip/_internal/utils/pylock.py +116 -0
  1031. package/python/Lib/site-packages/pip/_internal/utils/retry.py +45 -0
  1032. package/python/Lib/site-packages/pip/_internal/utils/subprocess.py +248 -0
  1033. package/python/Lib/site-packages/pip/_internal/utils/temp_dir.py +294 -0
  1034. package/python/Lib/site-packages/pip/_internal/utils/unpacking.py +362 -0
  1035. package/python/Lib/site-packages/pip/_internal/utils/urls.py +55 -0
  1036. package/python/Lib/site-packages/pip/_internal/utils/virtualenv.py +105 -0
  1037. package/python/Lib/site-packages/pip/_internal/utils/wheel.py +132 -0
  1038. package/python/Lib/site-packages/pip/_internal/vcs/__init__.py +15 -0
  1039. package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/__init__.cpython-313.pyc +0 -0
  1040. package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/bazaar.cpython-313.pyc +0 -0
  1041. package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/git.cpython-313.pyc +0 -0
  1042. package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/mercurial.cpython-313.pyc +0 -0
  1043. package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/subversion.cpython-313.pyc +0 -0
  1044. package/python/Lib/site-packages/pip/_internal/vcs/__pycache__/versioncontrol.cpython-313.pyc +0 -0
  1045. package/python/Lib/site-packages/pip/_internal/vcs/bazaar.py +130 -0
  1046. package/python/Lib/site-packages/pip/_internal/vcs/git.py +571 -0
  1047. package/python/Lib/site-packages/pip/_internal/vcs/mercurial.py +186 -0
  1048. package/python/Lib/site-packages/pip/_internal/vcs/subversion.py +335 -0
  1049. package/python/Lib/site-packages/pip/_internal/vcs/versioncontrol.py +695 -0
  1050. package/python/Lib/site-packages/pip/_internal/wheel_builder.py +261 -0
  1051. package/python/Lib/site-packages/pip/_vendor/README.rst +180 -0
  1052. package/python/Lib/site-packages/pip/_vendor/__init__.py +117 -0
  1053. package/python/Lib/site-packages/pip/_vendor/__pycache__/__init__.cpython-313.pyc +0 -0
  1054. package/python/Lib/site-packages/pip/_vendor/cachecontrol/LICENSE.txt +13 -0
  1055. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__init__.py +32 -0
  1056. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/__init__.cpython-313.pyc +0 -0
  1057. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-313.pyc +0 -0
  1058. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/adapter.cpython-313.pyc +0 -0
  1059. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/cache.cpython-313.pyc +0 -0
  1060. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/controller.cpython-313.pyc +0 -0
  1061. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-313.pyc +0 -0
  1062. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-313.pyc +0 -0
  1063. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/serialize.cpython-313.pyc +0 -0
  1064. package/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-313.pyc +0 -0
  1065. package/python/Lib/site-packages/pip/_vendor/cachecontrol/_cmd.py +70 -0
  1066. package/python/Lib/site-packages/pip/_vendor/cachecontrol/adapter.py +167 -0
  1067. package/python/Lib/site-packages/pip/_vendor/cachecontrol/cache.py +75 -0
  1068. package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +8 -0
  1069. package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-313.pyc +0 -0
  1070. package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-313.pyc +0 -0
  1071. package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-313.pyc +0 -0
  1072. package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +145 -0
  1073. package/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +48 -0
  1074. package/python/Lib/site-packages/pip/_vendor/cachecontrol/controller.py +511 -0
  1075. package/python/Lib/site-packages/pip/_vendor/cachecontrol/filewrapper.py +121 -0
  1076. package/python/Lib/site-packages/pip/_vendor/cachecontrol/heuristics.py +157 -0
  1077. package/python/Lib/site-packages/pip/_vendor/cachecontrol/py.typed +0 -0
  1078. package/python/Lib/site-packages/pip/_vendor/cachecontrol/serialize.py +146 -0
  1079. package/python/Lib/site-packages/pip/_vendor/cachecontrol/wrapper.py +43 -0
  1080. package/python/Lib/site-packages/pip/_vendor/certifi/LICENSE +20 -0
  1081. package/python/Lib/site-packages/pip/_vendor/certifi/__init__.py +4 -0
  1082. package/python/Lib/site-packages/pip/_vendor/certifi/__main__.py +12 -0
  1083. package/python/Lib/site-packages/pip/_vendor/certifi/__pycache__/__init__.cpython-313.pyc +0 -0
  1084. package/python/Lib/site-packages/pip/_vendor/certifi/__pycache__/__main__.cpython-313.pyc +0 -0
  1085. package/python/Lib/site-packages/pip/_vendor/certifi/__pycache__/core.cpython-313.pyc +0 -0
  1086. package/python/Lib/site-packages/pip/_vendor/certifi/cacert.pem +4468 -0
  1087. package/python/Lib/site-packages/pip/_vendor/certifi/core.py +83 -0
  1088. package/python/Lib/site-packages/pip/_vendor/certifi/py.typed +0 -0
  1089. package/python/Lib/site-packages/pip/_vendor/dependency_groups/LICENSE.txt +9 -0
  1090. package/python/Lib/site-packages/pip/_vendor/dependency_groups/__init__.py +13 -0
  1091. package/python/Lib/site-packages/pip/_vendor/dependency_groups/__main__.py +65 -0
  1092. package/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/__init__.cpython-313.pyc +0 -0
  1093. package/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/__main__.cpython-313.pyc +0 -0
  1094. package/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_implementation.cpython-313.pyc +0 -0
  1095. package/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_lint_dependency_groups.cpython-313.pyc +0 -0
  1096. package/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_pip_wrapper.cpython-313.pyc +0 -0
  1097. package/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_toml_compat.cpython-313.pyc +0 -0
  1098. package/python/Lib/site-packages/pip/_vendor/dependency_groups/_implementation.py +209 -0
  1099. package/python/Lib/site-packages/pip/_vendor/dependency_groups/_lint_dependency_groups.py +59 -0
  1100. package/python/Lib/site-packages/pip/_vendor/dependency_groups/_pip_wrapper.py +62 -0
  1101. package/python/Lib/site-packages/pip/_vendor/dependency_groups/_toml_compat.py +9 -0
  1102. package/python/Lib/site-packages/pip/_vendor/dependency_groups/py.typed +0 -0
  1103. package/python/Lib/site-packages/pip/_vendor/distlib/LICENSE.txt +284 -0
  1104. package/python/Lib/site-packages/pip/_vendor/distlib/__init__.py +33 -0
  1105. package/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/__init__.cpython-313.pyc +0 -0
  1106. package/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/compat.cpython-313.pyc +0 -0
  1107. package/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/resources.cpython-313.pyc +0 -0
  1108. package/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/scripts.cpython-313.pyc +0 -0
  1109. package/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/util.cpython-313.pyc +0 -0
  1110. package/python/Lib/site-packages/pip/_vendor/distlib/compat.py +1137 -0
  1111. package/python/Lib/site-packages/pip/_vendor/distlib/resources.py +358 -0
  1112. package/python/Lib/site-packages/pip/_vendor/distlib/scripts.py +447 -0
  1113. package/python/Lib/site-packages/pip/_vendor/distlib/t32.exe +0 -0
  1114. package/python/Lib/site-packages/pip/_vendor/distlib/t64-arm.exe +0 -0
  1115. package/python/Lib/site-packages/pip/_vendor/distlib/t64.exe +0 -0
  1116. package/python/Lib/site-packages/pip/_vendor/distlib/util.py +1984 -0
  1117. package/python/Lib/site-packages/pip/_vendor/distlib/w32.exe +0 -0
  1118. package/python/Lib/site-packages/pip/_vendor/distlib/w64-arm.exe +0 -0
  1119. package/python/Lib/site-packages/pip/_vendor/distlib/w64.exe +0 -0
  1120. package/python/Lib/site-packages/pip/_vendor/distro/LICENSE +202 -0
  1121. package/python/Lib/site-packages/pip/_vendor/distro/__init__.py +54 -0
  1122. package/python/Lib/site-packages/pip/_vendor/distro/__main__.py +4 -0
  1123. package/python/Lib/site-packages/pip/_vendor/distro/__pycache__/__init__.cpython-313.pyc +0 -0
  1124. package/python/Lib/site-packages/pip/_vendor/distro/__pycache__/__main__.cpython-313.pyc +0 -0
  1125. package/python/Lib/site-packages/pip/_vendor/distro/__pycache__/distro.cpython-313.pyc +0 -0
  1126. package/python/Lib/site-packages/pip/_vendor/distro/distro.py +1403 -0
  1127. package/python/Lib/site-packages/pip/_vendor/distro/py.typed +0 -0
  1128. package/python/Lib/site-packages/pip/_vendor/idna/LICENSE.md +31 -0
  1129. package/python/Lib/site-packages/pip/_vendor/idna/__init__.py +45 -0
  1130. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/__init__.cpython-313.pyc +0 -0
  1131. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/codec.cpython-313.pyc +0 -0
  1132. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/compat.cpython-313.pyc +0 -0
  1133. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/core.cpython-313.pyc +0 -0
  1134. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/idnadata.cpython-313.pyc +0 -0
  1135. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/intranges.cpython-313.pyc +0 -0
  1136. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/package_data.cpython-313.pyc +0 -0
  1137. package/python/Lib/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-313.pyc +0 -0
  1138. package/python/Lib/site-packages/pip/_vendor/idna/codec.py +122 -0
  1139. package/python/Lib/site-packages/pip/_vendor/idna/compat.py +15 -0
  1140. package/python/Lib/site-packages/pip/_vendor/idna/core.py +437 -0
  1141. package/python/Lib/site-packages/pip/_vendor/idna/idnadata.py +4309 -0
  1142. package/python/Lib/site-packages/pip/_vendor/idna/intranges.py +57 -0
  1143. package/python/Lib/site-packages/pip/_vendor/idna/package_data.py +1 -0
  1144. package/python/Lib/site-packages/pip/_vendor/idna/py.typed +0 -0
  1145. package/python/Lib/site-packages/pip/_vendor/idna/uts46data.py +8841 -0
  1146. package/python/Lib/site-packages/pip/_vendor/msgpack/COPYING +14 -0
  1147. package/python/Lib/site-packages/pip/_vendor/msgpack/__init__.py +55 -0
  1148. package/python/Lib/site-packages/pip/_vendor/msgpack/__pycache__/__init__.cpython-313.pyc +0 -0
  1149. package/python/Lib/site-packages/pip/_vendor/msgpack/__pycache__/exceptions.cpython-313.pyc +0 -0
  1150. package/python/Lib/site-packages/pip/_vendor/msgpack/__pycache__/ext.cpython-313.pyc +0 -0
  1151. package/python/Lib/site-packages/pip/_vendor/msgpack/__pycache__/fallback.cpython-313.pyc +0 -0
  1152. package/python/Lib/site-packages/pip/_vendor/msgpack/exceptions.py +48 -0
  1153. package/python/Lib/site-packages/pip/_vendor/msgpack/ext.py +170 -0
  1154. package/python/Lib/site-packages/pip/_vendor/msgpack/fallback.py +929 -0
  1155. package/python/Lib/site-packages/pip/_vendor/packaging/LICENSE +3 -0
  1156. package/python/Lib/site-packages/pip/_vendor/packaging/LICENSE.APACHE +177 -0
  1157. package/python/Lib/site-packages/pip/_vendor/packaging/LICENSE.BSD +23 -0
  1158. package/python/Lib/site-packages/pip/_vendor/packaging/__init__.py +15 -0
  1159. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/__init__.cpython-313.pyc +0 -0
  1160. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_elffile.cpython-313.pyc +0 -0
  1161. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_manylinux.cpython-313.pyc +0 -0
  1162. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_musllinux.cpython-313.pyc +0 -0
  1163. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_parser.cpython-313.pyc +0 -0
  1164. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_structures.cpython-313.pyc +0 -0
  1165. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_tokenizer.cpython-313.pyc +0 -0
  1166. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/markers.cpython-313.pyc +0 -0
  1167. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/metadata.cpython-313.pyc +0 -0
  1168. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/pylock.cpython-313.pyc +0 -0
  1169. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/requirements.cpython-313.pyc +0 -0
  1170. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/specifiers.cpython-313.pyc +0 -0
  1171. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/tags.cpython-313.pyc +0 -0
  1172. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/utils.cpython-313.pyc +0 -0
  1173. package/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/version.cpython-313.pyc +0 -0
  1174. package/python/Lib/site-packages/pip/_vendor/packaging/_elffile.py +108 -0
  1175. package/python/Lib/site-packages/pip/_vendor/packaging/_manylinux.py +262 -0
  1176. package/python/Lib/site-packages/pip/_vendor/packaging/_musllinux.py +85 -0
  1177. package/python/Lib/site-packages/pip/_vendor/packaging/_parser.py +365 -0
  1178. package/python/Lib/site-packages/pip/_vendor/packaging/_structures.py +69 -0
  1179. package/python/Lib/site-packages/pip/_vendor/packaging/_tokenizer.py +193 -0
  1180. package/python/Lib/site-packages/pip/_vendor/packaging/licenses/__init__.py +147 -0
  1181. package/python/Lib/site-packages/pip/_vendor/packaging/licenses/__pycache__/__init__.cpython-313.pyc +0 -0
  1182. package/python/Lib/site-packages/pip/_vendor/packaging/licenses/__pycache__/_spdx.cpython-313.pyc +0 -0
  1183. package/python/Lib/site-packages/pip/_vendor/packaging/licenses/_spdx.py +799 -0
  1184. package/python/Lib/site-packages/pip/_vendor/packaging/markers.py +388 -0
  1185. package/python/Lib/site-packages/pip/_vendor/packaging/metadata.py +978 -0
  1186. package/python/Lib/site-packages/pip/_vendor/packaging/py.typed +0 -0
  1187. package/python/Lib/site-packages/pip/_vendor/packaging/pylock.py +635 -0
  1188. package/python/Lib/site-packages/pip/_vendor/packaging/requirements.py +86 -0
  1189. package/python/Lib/site-packages/pip/_vendor/packaging/specifiers.py +1068 -0
  1190. package/python/Lib/site-packages/pip/_vendor/packaging/tags.py +651 -0
  1191. package/python/Lib/site-packages/pip/_vendor/packaging/utils.py +158 -0
  1192. package/python/Lib/site-packages/pip/_vendor/packaging/version.py +792 -0
  1193. package/python/Lib/site-packages/pip/_vendor/pkg_resources/LICENSE +17 -0
  1194. package/python/Lib/site-packages/pip/_vendor/pkg_resources/__init__.py +3676 -0
  1195. package/python/Lib/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-313.pyc +0 -0
  1196. package/python/Lib/site-packages/pip/_vendor/platformdirs/LICENSE +21 -0
  1197. package/python/Lib/site-packages/pip/_vendor/platformdirs/__init__.py +631 -0
  1198. package/python/Lib/site-packages/pip/_vendor/platformdirs/__main__.py +55 -0
  1199. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/__init__.cpython-313.pyc +0 -0
  1200. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/__main__.cpython-313.pyc +0 -0
  1201. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/android.cpython-313.pyc +0 -0
  1202. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/api.cpython-313.pyc +0 -0
  1203. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/macos.cpython-313.pyc +0 -0
  1204. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/unix.cpython-313.pyc +0 -0
  1205. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/version.cpython-313.pyc +0 -0
  1206. package/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/windows.cpython-313.pyc +0 -0
  1207. package/python/Lib/site-packages/pip/_vendor/platformdirs/android.py +249 -0
  1208. package/python/Lib/site-packages/pip/_vendor/platformdirs/api.py +299 -0
  1209. package/python/Lib/site-packages/pip/_vendor/platformdirs/macos.py +146 -0
  1210. package/python/Lib/site-packages/pip/_vendor/platformdirs/py.typed +0 -0
  1211. package/python/Lib/site-packages/pip/_vendor/platformdirs/unix.py +272 -0
  1212. package/python/Lib/site-packages/pip/_vendor/platformdirs/version.py +34 -0
  1213. package/python/Lib/site-packages/pip/_vendor/platformdirs/windows.py +278 -0
  1214. package/python/Lib/site-packages/pip/_vendor/pygments/LICENSE +25 -0
  1215. package/python/Lib/site-packages/pip/_vendor/pygments/__init__.py +82 -0
  1216. package/python/Lib/site-packages/pip/_vendor/pygments/__main__.py +17 -0
  1217. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/__init__.cpython-313.pyc +0 -0
  1218. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/__main__.cpython-313.pyc +0 -0
  1219. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/console.cpython-313.pyc +0 -0
  1220. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/filter.cpython-313.pyc +0 -0
  1221. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/formatter.cpython-313.pyc +0 -0
  1222. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/lexer.cpython-313.pyc +0 -0
  1223. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/modeline.cpython-313.pyc +0 -0
  1224. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/plugin.cpython-313.pyc +0 -0
  1225. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/regexopt.cpython-313.pyc +0 -0
  1226. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/scanner.cpython-313.pyc +0 -0
  1227. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/sphinxext.cpython-313.pyc +0 -0
  1228. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/style.cpython-313.pyc +0 -0
  1229. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/token.cpython-313.pyc +0 -0
  1230. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/unistring.cpython-313.pyc +0 -0
  1231. package/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/util.cpython-313.pyc +0 -0
  1232. package/python/Lib/site-packages/pip/_vendor/pygments/console.py +70 -0
  1233. package/python/Lib/site-packages/pip/_vendor/pygments/filter.py +70 -0
  1234. package/python/Lib/site-packages/pip/_vendor/pygments/filters/__init__.py +940 -0
  1235. package/python/Lib/site-packages/pip/_vendor/pygments/filters/__pycache__/__init__.cpython-313.pyc +0 -0
  1236. package/python/Lib/site-packages/pip/_vendor/pygments/formatter.py +129 -0
  1237. package/python/Lib/site-packages/pip/_vendor/pygments/formatters/__init__.py +157 -0
  1238. package/python/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-313.pyc +0 -0
  1239. package/python/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-313.pyc +0 -0
  1240. package/python/Lib/site-packages/pip/_vendor/pygments/formatters/_mapping.py +23 -0
  1241. package/python/Lib/site-packages/pip/_vendor/pygments/lexer.py +963 -0
  1242. package/python/Lib/site-packages/pip/_vendor/pygments/lexers/__init__.py +362 -0
  1243. package/python/Lib/site-packages/pip/_vendor/pygments/lexers/__pycache__/__init__.cpython-313.pyc +0 -0
  1244. package/python/Lib/site-packages/pip/_vendor/pygments/lexers/__pycache__/_mapping.cpython-313.pyc +0 -0
  1245. package/python/Lib/site-packages/pip/_vendor/pygments/lexers/__pycache__/python.cpython-313.pyc +0 -0
  1246. package/python/Lib/site-packages/pip/_vendor/pygments/lexers/_mapping.py +602 -0
  1247. package/python/Lib/site-packages/pip/_vendor/pygments/lexers/python.py +1201 -0
  1248. package/python/Lib/site-packages/pip/_vendor/pygments/modeline.py +43 -0
  1249. package/python/Lib/site-packages/pip/_vendor/pygments/plugin.py +72 -0
  1250. package/python/Lib/site-packages/pip/_vendor/pygments/regexopt.py +91 -0
  1251. package/python/Lib/site-packages/pip/_vendor/pygments/scanner.py +104 -0
  1252. package/python/Lib/site-packages/pip/_vendor/pygments/sphinxext.py +247 -0
  1253. package/python/Lib/site-packages/pip/_vendor/pygments/style.py +203 -0
  1254. package/python/Lib/site-packages/pip/_vendor/pygments/styles/__init__.py +61 -0
  1255. package/python/Lib/site-packages/pip/_vendor/pygments/styles/__pycache__/__init__.cpython-313.pyc +0 -0
  1256. package/python/Lib/site-packages/pip/_vendor/pygments/styles/__pycache__/_mapping.cpython-313.pyc +0 -0
  1257. package/python/Lib/site-packages/pip/_vendor/pygments/styles/_mapping.py +54 -0
  1258. package/python/Lib/site-packages/pip/_vendor/pygments/token.py +214 -0
  1259. package/python/Lib/site-packages/pip/_vendor/pygments/unistring.py +153 -0
  1260. package/python/Lib/site-packages/pip/_vendor/pygments/util.py +324 -0
  1261. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/LICENSE +21 -0
  1262. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/__init__.py +31 -0
  1263. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-313.pyc +0 -0
  1264. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-313.pyc +0 -0
  1265. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/_impl.py +410 -0
  1266. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py +21 -0
  1267. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-313.pyc +0 -0
  1268. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-313.pyc +0 -0
  1269. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py +389 -0
  1270. package/python/Lib/site-packages/pip/_vendor/pyproject_hooks/py.typed +0 -0
  1271. package/python/Lib/site-packages/pip/_vendor/requests/LICENSE +175 -0
  1272. package/python/Lib/site-packages/pip/_vendor/requests/__init__.py +179 -0
  1273. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/__init__.cpython-313.pyc +0 -0
  1274. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/__version__.cpython-313.pyc +0 -0
  1275. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/_internal_utils.cpython-313.pyc +0 -0
  1276. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/adapters.cpython-313.pyc +0 -0
  1277. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/api.cpython-313.pyc +0 -0
  1278. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/auth.cpython-313.pyc +0 -0
  1279. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/certs.cpython-313.pyc +0 -0
  1280. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/compat.cpython-313.pyc +0 -0
  1281. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/cookies.cpython-313.pyc +0 -0
  1282. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/exceptions.cpython-313.pyc +0 -0
  1283. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/help.cpython-313.pyc +0 -0
  1284. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/hooks.cpython-313.pyc +0 -0
  1285. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/models.cpython-313.pyc +0 -0
  1286. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/packages.cpython-313.pyc +0 -0
  1287. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/sessions.cpython-313.pyc +0 -0
  1288. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/status_codes.cpython-313.pyc +0 -0
  1289. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/structures.cpython-313.pyc +0 -0
  1290. package/python/Lib/site-packages/pip/_vendor/requests/__pycache__/utils.cpython-313.pyc +0 -0
  1291. package/python/Lib/site-packages/pip/_vendor/requests/__version__.py +14 -0
  1292. package/python/Lib/site-packages/pip/_vendor/requests/_internal_utils.py +50 -0
  1293. package/python/Lib/site-packages/pip/_vendor/requests/adapters.py +696 -0
  1294. package/python/Lib/site-packages/pip/_vendor/requests/api.py +157 -0
  1295. package/python/Lib/site-packages/pip/_vendor/requests/auth.py +314 -0
  1296. package/python/Lib/site-packages/pip/_vendor/requests/certs.py +17 -0
  1297. package/python/Lib/site-packages/pip/_vendor/requests/compat.py +90 -0
  1298. package/python/Lib/site-packages/pip/_vendor/requests/cookies.py +561 -0
  1299. package/python/Lib/site-packages/pip/_vendor/requests/exceptions.py +151 -0
  1300. package/python/Lib/site-packages/pip/_vendor/requests/help.py +127 -0
  1301. package/python/Lib/site-packages/pip/_vendor/requests/hooks.py +33 -0
  1302. package/python/Lib/site-packages/pip/_vendor/requests/models.py +1039 -0
  1303. package/python/Lib/site-packages/pip/_vendor/requests/packages.py +25 -0
  1304. package/python/Lib/site-packages/pip/_vendor/requests/sessions.py +831 -0
  1305. package/python/Lib/site-packages/pip/_vendor/requests/status_codes.py +128 -0
  1306. package/python/Lib/site-packages/pip/_vendor/requests/structures.py +99 -0
  1307. package/python/Lib/site-packages/pip/_vendor/requests/utils.py +1086 -0
  1308. package/python/Lib/site-packages/pip/_vendor/resolvelib/LICENSE +13 -0
  1309. package/python/Lib/site-packages/pip/_vendor/resolvelib/__init__.py +27 -0
  1310. package/python/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/__init__.cpython-313.pyc +0 -0
  1311. package/python/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/providers.cpython-313.pyc +0 -0
  1312. package/python/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/reporters.cpython-313.pyc +0 -0
  1313. package/python/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/structs.cpython-313.pyc +0 -0
  1314. package/python/Lib/site-packages/pip/_vendor/resolvelib/providers.py +196 -0
  1315. package/python/Lib/site-packages/pip/_vendor/resolvelib/py.typed +0 -0
  1316. package/python/Lib/site-packages/pip/_vendor/resolvelib/reporters.py +55 -0
  1317. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__init__.py +27 -0
  1318. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/__init__.cpython-313.pyc +0 -0
  1319. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/abstract.cpython-313.pyc +0 -0
  1320. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/criterion.cpython-313.pyc +0 -0
  1321. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/exceptions.cpython-313.pyc +0 -0
  1322. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/resolution.cpython-313.pyc +0 -0
  1323. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/abstract.py +47 -0
  1324. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/criterion.py +48 -0
  1325. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/exceptions.py +57 -0
  1326. package/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py +627 -0
  1327. package/python/Lib/site-packages/pip/_vendor/resolvelib/structs.py +209 -0
  1328. package/python/Lib/site-packages/pip/_vendor/rich/LICENSE +19 -0
  1329. package/python/Lib/site-packages/pip/_vendor/rich/__init__.py +177 -0
  1330. package/python/Lib/site-packages/pip/_vendor/rich/__main__.py +245 -0
  1331. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/__init__.cpython-313.pyc +0 -0
  1332. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/__main__.cpython-313.pyc +0 -0
  1333. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_cell_widths.cpython-313.pyc +0 -0
  1334. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-313.pyc +0 -0
  1335. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_emoji_replace.cpython-313.pyc +0 -0
  1336. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_export_format.cpython-313.pyc +0 -0
  1337. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_extension.cpython-313.pyc +0 -0
  1338. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_fileno.cpython-313.pyc +0 -0
  1339. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_inspect.cpython-313.pyc +0 -0
  1340. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_log_render.cpython-313.pyc +0 -0
  1341. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_loop.cpython-313.pyc +0 -0
  1342. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_null_file.cpython-313.pyc +0 -0
  1343. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_palettes.cpython-313.pyc +0 -0
  1344. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_pick.cpython-313.pyc +0 -0
  1345. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_ratio.cpython-313.pyc +0 -0
  1346. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_spinners.cpython-313.pyc +0 -0
  1347. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_stack.cpython-313.pyc +0 -0
  1348. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_timer.cpython-313.pyc +0 -0
  1349. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_win32_console.cpython-313.pyc +0 -0
  1350. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_windows.cpython-313.pyc +0 -0
  1351. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_windows_renderer.cpython-313.pyc +0 -0
  1352. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_wrap.cpython-313.pyc +0 -0
  1353. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/abc.cpython-313.pyc +0 -0
  1354. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/align.cpython-313.pyc +0 -0
  1355. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/ansi.cpython-313.pyc +0 -0
  1356. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/bar.cpython-313.pyc +0 -0
  1357. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/box.cpython-313.pyc +0 -0
  1358. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/cells.cpython-313.pyc +0 -0
  1359. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/color.cpython-313.pyc +0 -0
  1360. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/color_triplet.cpython-313.pyc +0 -0
  1361. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/columns.cpython-313.pyc +0 -0
  1362. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/console.cpython-313.pyc +0 -0
  1363. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/constrain.cpython-313.pyc +0 -0
  1364. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/containers.cpython-313.pyc +0 -0
  1365. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/control.cpython-313.pyc +0 -0
  1366. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/default_styles.cpython-313.pyc +0 -0
  1367. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/diagnose.cpython-313.pyc +0 -0
  1368. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/emoji.cpython-313.pyc +0 -0
  1369. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/errors.cpython-313.pyc +0 -0
  1370. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/file_proxy.cpython-313.pyc +0 -0
  1371. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/filesize.cpython-313.pyc +0 -0
  1372. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/highlighter.cpython-313.pyc +0 -0
  1373. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/json.cpython-313.pyc +0 -0
  1374. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/jupyter.cpython-313.pyc +0 -0
  1375. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/layout.cpython-313.pyc +0 -0
  1376. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/live.cpython-313.pyc +0 -0
  1377. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/live_render.cpython-313.pyc +0 -0
  1378. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/logging.cpython-313.pyc +0 -0
  1379. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/markup.cpython-313.pyc +0 -0
  1380. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/measure.cpython-313.pyc +0 -0
  1381. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/padding.cpython-313.pyc +0 -0
  1382. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/pager.cpython-313.pyc +0 -0
  1383. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/palette.cpython-313.pyc +0 -0
  1384. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/panel.cpython-313.pyc +0 -0
  1385. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/pretty.cpython-313.pyc +0 -0
  1386. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/progress.cpython-313.pyc +0 -0
  1387. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/progress_bar.cpython-313.pyc +0 -0
  1388. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/prompt.cpython-313.pyc +0 -0
  1389. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/protocol.cpython-313.pyc +0 -0
  1390. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/region.cpython-313.pyc +0 -0
  1391. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/repr.cpython-313.pyc +0 -0
  1392. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/rule.cpython-313.pyc +0 -0
  1393. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/scope.cpython-313.pyc +0 -0
  1394. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/screen.cpython-313.pyc +0 -0
  1395. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/segment.cpython-313.pyc +0 -0
  1396. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/spinner.cpython-313.pyc +0 -0
  1397. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/status.cpython-313.pyc +0 -0
  1398. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/style.cpython-313.pyc +0 -0
  1399. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/styled.cpython-313.pyc +0 -0
  1400. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/syntax.cpython-313.pyc +0 -0
  1401. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/table.cpython-313.pyc +0 -0
  1402. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/terminal_theme.cpython-313.pyc +0 -0
  1403. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/text.cpython-313.pyc +0 -0
  1404. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/theme.cpython-313.pyc +0 -0
  1405. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/themes.cpython-313.pyc +0 -0
  1406. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/traceback.cpython-313.pyc +0 -0
  1407. package/python/Lib/site-packages/pip/_vendor/rich/__pycache__/tree.cpython-313.pyc +0 -0
  1408. package/python/Lib/site-packages/pip/_vendor/rich/_cell_widths.py +454 -0
  1409. package/python/Lib/site-packages/pip/_vendor/rich/_emoji_codes.py +3610 -0
  1410. package/python/Lib/site-packages/pip/_vendor/rich/_emoji_replace.py +32 -0
  1411. package/python/Lib/site-packages/pip/_vendor/rich/_export_format.py +76 -0
  1412. package/python/Lib/site-packages/pip/_vendor/rich/_extension.py +10 -0
  1413. package/python/Lib/site-packages/pip/_vendor/rich/_fileno.py +24 -0
  1414. package/python/Lib/site-packages/pip/_vendor/rich/_inspect.py +268 -0
  1415. package/python/Lib/site-packages/pip/_vendor/rich/_log_render.py +94 -0
  1416. package/python/Lib/site-packages/pip/_vendor/rich/_loop.py +43 -0
  1417. package/python/Lib/site-packages/pip/_vendor/rich/_null_file.py +69 -0
  1418. package/python/Lib/site-packages/pip/_vendor/rich/_palettes.py +309 -0
  1419. package/python/Lib/site-packages/pip/_vendor/rich/_pick.py +17 -0
  1420. package/python/Lib/site-packages/pip/_vendor/rich/_ratio.py +153 -0
  1421. package/python/Lib/site-packages/pip/_vendor/rich/_spinners.py +482 -0
  1422. package/python/Lib/site-packages/pip/_vendor/rich/_stack.py +16 -0
  1423. package/python/Lib/site-packages/pip/_vendor/rich/_timer.py +19 -0
  1424. package/python/Lib/site-packages/pip/_vendor/rich/_win32_console.py +661 -0
  1425. package/python/Lib/site-packages/pip/_vendor/rich/_windows.py +71 -0
  1426. package/python/Lib/site-packages/pip/_vendor/rich/_windows_renderer.py +56 -0
  1427. package/python/Lib/site-packages/pip/_vendor/rich/_wrap.py +93 -0
  1428. package/python/Lib/site-packages/pip/_vendor/rich/abc.py +33 -0
  1429. package/python/Lib/site-packages/pip/_vendor/rich/align.py +306 -0
  1430. package/python/Lib/site-packages/pip/_vendor/rich/ansi.py +241 -0
  1431. package/python/Lib/site-packages/pip/_vendor/rich/bar.py +93 -0
  1432. package/python/Lib/site-packages/pip/_vendor/rich/box.py +474 -0
  1433. package/python/Lib/site-packages/pip/_vendor/rich/cells.py +174 -0
  1434. package/python/Lib/site-packages/pip/_vendor/rich/color.py +621 -0
  1435. package/python/Lib/site-packages/pip/_vendor/rich/color_triplet.py +38 -0
  1436. package/python/Lib/site-packages/pip/_vendor/rich/columns.py +187 -0
  1437. package/python/Lib/site-packages/pip/_vendor/rich/console.py +2680 -0
  1438. package/python/Lib/site-packages/pip/_vendor/rich/constrain.py +37 -0
  1439. package/python/Lib/site-packages/pip/_vendor/rich/containers.py +167 -0
  1440. package/python/Lib/site-packages/pip/_vendor/rich/control.py +219 -0
  1441. package/python/Lib/site-packages/pip/_vendor/rich/default_styles.py +193 -0
  1442. package/python/Lib/site-packages/pip/_vendor/rich/diagnose.py +39 -0
  1443. package/python/Lib/site-packages/pip/_vendor/rich/emoji.py +91 -0
  1444. package/python/Lib/site-packages/pip/_vendor/rich/errors.py +34 -0
  1445. package/python/Lib/site-packages/pip/_vendor/rich/file_proxy.py +57 -0
  1446. package/python/Lib/site-packages/pip/_vendor/rich/filesize.py +88 -0
  1447. package/python/Lib/site-packages/pip/_vendor/rich/highlighter.py +232 -0
  1448. package/python/Lib/site-packages/pip/_vendor/rich/json.py +139 -0
  1449. package/python/Lib/site-packages/pip/_vendor/rich/jupyter.py +101 -0
  1450. package/python/Lib/site-packages/pip/_vendor/rich/layout.py +442 -0
  1451. package/python/Lib/site-packages/pip/_vendor/rich/live.py +400 -0
  1452. package/python/Lib/site-packages/pip/_vendor/rich/live_render.py +106 -0
  1453. package/python/Lib/site-packages/pip/_vendor/rich/logging.py +297 -0
  1454. package/python/Lib/site-packages/pip/_vendor/rich/markup.py +251 -0
  1455. package/python/Lib/site-packages/pip/_vendor/rich/measure.py +151 -0
  1456. package/python/Lib/site-packages/pip/_vendor/rich/padding.py +141 -0
  1457. package/python/Lib/site-packages/pip/_vendor/rich/pager.py +34 -0
  1458. package/python/Lib/site-packages/pip/_vendor/rich/palette.py +100 -0
  1459. package/python/Lib/site-packages/pip/_vendor/rich/panel.py +317 -0
  1460. package/python/Lib/site-packages/pip/_vendor/rich/pretty.py +1016 -0
  1461. package/python/Lib/site-packages/pip/_vendor/rich/progress.py +1715 -0
  1462. package/python/Lib/site-packages/pip/_vendor/rich/progress_bar.py +223 -0
  1463. package/python/Lib/site-packages/pip/_vendor/rich/prompt.py +400 -0
  1464. package/python/Lib/site-packages/pip/_vendor/rich/protocol.py +42 -0
  1465. package/python/Lib/site-packages/pip/_vendor/rich/py.typed +0 -0
  1466. package/python/Lib/site-packages/pip/_vendor/rich/region.py +10 -0
  1467. package/python/Lib/site-packages/pip/_vendor/rich/repr.py +149 -0
  1468. package/python/Lib/site-packages/pip/_vendor/rich/rule.py +130 -0
  1469. package/python/Lib/site-packages/pip/_vendor/rich/scope.py +86 -0
  1470. package/python/Lib/site-packages/pip/_vendor/rich/screen.py +54 -0
  1471. package/python/Lib/site-packages/pip/_vendor/rich/segment.py +752 -0
  1472. package/python/Lib/site-packages/pip/_vendor/rich/spinner.py +132 -0
  1473. package/python/Lib/site-packages/pip/_vendor/rich/status.py +131 -0
  1474. package/python/Lib/site-packages/pip/_vendor/rich/style.py +792 -0
  1475. package/python/Lib/site-packages/pip/_vendor/rich/styled.py +42 -0
  1476. package/python/Lib/site-packages/pip/_vendor/rich/syntax.py +985 -0
  1477. package/python/Lib/site-packages/pip/_vendor/rich/table.py +1006 -0
  1478. package/python/Lib/site-packages/pip/_vendor/rich/terminal_theme.py +153 -0
  1479. package/python/Lib/site-packages/pip/_vendor/rich/text.py +1361 -0
  1480. package/python/Lib/site-packages/pip/_vendor/rich/theme.py +115 -0
  1481. package/python/Lib/site-packages/pip/_vendor/rich/themes.py +5 -0
  1482. package/python/Lib/site-packages/pip/_vendor/rich/traceback.py +899 -0
  1483. package/python/Lib/site-packages/pip/_vendor/rich/tree.py +257 -0
  1484. package/python/Lib/site-packages/pip/_vendor/tomli/LICENSE +21 -0
  1485. package/python/Lib/site-packages/pip/_vendor/tomli/__init__.py +8 -0
  1486. package/python/Lib/site-packages/pip/_vendor/tomli/__pycache__/__init__.cpython-313.pyc +0 -0
  1487. package/python/Lib/site-packages/pip/_vendor/tomli/__pycache__/_parser.cpython-313.pyc +0 -0
  1488. package/python/Lib/site-packages/pip/_vendor/tomli/__pycache__/_re.cpython-313.pyc +0 -0
  1489. package/python/Lib/site-packages/pip/_vendor/tomli/__pycache__/_types.cpython-313.pyc +0 -0
  1490. package/python/Lib/site-packages/pip/_vendor/tomli/_parser.py +777 -0
  1491. package/python/Lib/site-packages/pip/_vendor/tomli/_re.py +115 -0
  1492. package/python/Lib/site-packages/pip/_vendor/tomli/_types.py +10 -0
  1493. package/python/Lib/site-packages/pip/_vendor/tomli/py.typed +1 -0
  1494. package/python/Lib/site-packages/pip/_vendor/tomli_w/LICENSE +21 -0
  1495. package/python/Lib/site-packages/pip/_vendor/tomli_w/__init__.py +4 -0
  1496. package/python/Lib/site-packages/pip/_vendor/tomli_w/__pycache__/__init__.cpython-313.pyc +0 -0
  1497. package/python/Lib/site-packages/pip/_vendor/tomli_w/__pycache__/_writer.cpython-313.pyc +0 -0
  1498. package/python/Lib/site-packages/pip/_vendor/tomli_w/_writer.py +229 -0
  1499. package/python/Lib/site-packages/pip/_vendor/tomli_w/py.typed +1 -0
  1500. package/python/Lib/site-packages/pip/_vendor/truststore/LICENSE +21 -0
  1501. package/python/Lib/site-packages/pip/_vendor/truststore/__init__.py +36 -0
  1502. package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/__init__.cpython-313.pyc +0 -0
  1503. package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_api.cpython-313.pyc +0 -0
  1504. package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_macos.cpython-313.pyc +0 -0
  1505. package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_openssl.cpython-313.pyc +0 -0
  1506. package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_ssl_constants.cpython-313.pyc +0 -0
  1507. package/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_windows.cpython-313.pyc +0 -0
  1508. package/python/Lib/site-packages/pip/_vendor/truststore/_api.py +341 -0
  1509. package/python/Lib/site-packages/pip/_vendor/truststore/_macos.py +571 -0
  1510. package/python/Lib/site-packages/pip/_vendor/truststore/_openssl.py +68 -0
  1511. package/python/Lib/site-packages/pip/_vendor/truststore/_ssl_constants.py +31 -0
  1512. package/python/Lib/site-packages/pip/_vendor/truststore/_windows.py +567 -0
  1513. package/python/Lib/site-packages/pip/_vendor/truststore/py.typed +0 -0
  1514. package/python/Lib/site-packages/pip/_vendor/urllib3/LICENSE.txt +21 -0
  1515. package/python/Lib/site-packages/pip/_vendor/urllib3/__init__.py +102 -0
  1516. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/__init__.cpython-313.pyc +0 -0
  1517. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/_collections.cpython-313.pyc +0 -0
  1518. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/_version.cpython-313.pyc +0 -0
  1519. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/connection.cpython-313.pyc +0 -0
  1520. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/connectionpool.cpython-313.pyc +0 -0
  1521. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/exceptions.cpython-313.pyc +0 -0
  1522. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/fields.cpython-313.pyc +0 -0
  1523. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/filepost.cpython-313.pyc +0 -0
  1524. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/poolmanager.cpython-313.pyc +0 -0
  1525. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/request.cpython-313.pyc +0 -0
  1526. package/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/response.cpython-313.pyc +0 -0
  1527. package/python/Lib/site-packages/pip/_vendor/urllib3/_collections.py +355 -0
  1528. package/python/Lib/site-packages/pip/_vendor/urllib3/_version.py +2 -0
  1529. package/python/Lib/site-packages/pip/_vendor/urllib3/connection.py +572 -0
  1530. package/python/Lib/site-packages/pip/_vendor/urllib3/connectionpool.py +1140 -0
  1531. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
  1532. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-313.pyc +0 -0
  1533. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/_appengine_environ.cpython-313.pyc +0 -0
  1534. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/appengine.cpython-313.pyc +0 -0
  1535. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/ntlmpool.cpython-313.pyc +0 -0
  1536. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-313.pyc +0 -0
  1537. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/securetransport.cpython-313.pyc +0 -0
  1538. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-313.pyc +0 -0
  1539. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py +36 -0
  1540. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
  1541. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-313.pyc +0 -0
  1542. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-313.pyc +0 -0
  1543. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-313.pyc +0 -0
  1544. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +519 -0
  1545. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +397 -0
  1546. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/appengine.py +314 -0
  1547. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +130 -0
  1548. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +518 -0
  1549. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +920 -0
  1550. package/python/Lib/site-packages/pip/_vendor/urllib3/contrib/socks.py +216 -0
  1551. package/python/Lib/site-packages/pip/_vendor/urllib3/exceptions.py +323 -0
  1552. package/python/Lib/site-packages/pip/_vendor/urllib3/fields.py +274 -0
  1553. package/python/Lib/site-packages/pip/_vendor/urllib3/filepost.py +98 -0
  1554. package/python/Lib/site-packages/pip/_vendor/urllib3/packages/__init__.py +0 -0
  1555. package/python/Lib/site-packages/pip/_vendor/urllib3/packages/__pycache__/__init__.cpython-313.pyc +0 -0
  1556. package/python/Lib/site-packages/pip/_vendor/urllib3/packages/__pycache__/six.cpython-313.pyc +0 -0
  1557. package/python/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
  1558. package/python/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/__init__.cpython-313.pyc +0 -0
  1559. package/python/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/makefile.cpython-313.pyc +0 -0
  1560. package/python/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/weakref_finalize.cpython-313.pyc +0 -0
  1561. package/python/Lib/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +51 -0
  1562. package/python/Lib/site-packages/pip/_vendor/urllib3/packages/backports/weakref_finalize.py +155 -0
  1563. package/python/Lib/site-packages/pip/_vendor/urllib3/packages/six.py +1076 -0
  1564. package/python/Lib/site-packages/pip/_vendor/urllib3/poolmanager.py +540 -0
  1565. package/python/Lib/site-packages/pip/_vendor/urllib3/request.py +191 -0
  1566. package/python/Lib/site-packages/pip/_vendor/urllib3/response.py +879 -0
  1567. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__init__.py +49 -0
  1568. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/__init__.cpython-313.pyc +0 -0
  1569. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/connection.cpython-313.pyc +0 -0
  1570. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/proxy.cpython-313.pyc +0 -0
  1571. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/queue.cpython-313.pyc +0 -0
  1572. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/request.cpython-313.pyc +0 -0
  1573. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/response.cpython-313.pyc +0 -0
  1574. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/retry.cpython-313.pyc +0 -0
  1575. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-313.pyc +0 -0
  1576. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_match_hostname.cpython-313.pyc +0 -0
  1577. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-313.pyc +0 -0
  1578. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/timeout.cpython-313.pyc +0 -0
  1579. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/url.cpython-313.pyc +0 -0
  1580. package/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/wait.cpython-313.pyc +0 -0
  1581. package/python/Lib/site-packages/pip/_vendor/urllib3/util/connection.py +149 -0
  1582. package/python/Lib/site-packages/pip/_vendor/urllib3/util/proxy.py +57 -0
  1583. package/python/Lib/site-packages/pip/_vendor/urllib3/util/queue.py +22 -0
  1584. package/python/Lib/site-packages/pip/_vendor/urllib3/util/request.py +137 -0
  1585. package/python/Lib/site-packages/pip/_vendor/urllib3/util/response.py +107 -0
  1586. package/python/Lib/site-packages/pip/_vendor/urllib3/util/retry.py +622 -0
  1587. package/python/Lib/site-packages/pip/_vendor/urllib3/util/ssl_.py +504 -0
  1588. package/python/Lib/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py +159 -0
  1589. package/python/Lib/site-packages/pip/_vendor/urllib3/util/ssltransport.py +221 -0
  1590. package/python/Lib/site-packages/pip/_vendor/urllib3/util/timeout.py +271 -0
  1591. package/python/Lib/site-packages/pip/_vendor/urllib3/util/url.py +435 -0
  1592. package/python/Lib/site-packages/pip/_vendor/urllib3/util/wait.py +152 -0
  1593. package/python/Lib/site-packages/pip/_vendor/vendor.txt +19 -0
  1594. package/python/Lib/site-packages/pip/py.typed +4 -0
  1595. package/python/Lib/site-packages/pip-26.0.1.dist-info/INSTALLER +1 -0
  1596. package/python/Lib/site-packages/pip-26.0.1.dist-info/METADATA +111 -0
  1597. package/python/Lib/site-packages/pip-26.0.1.dist-info/RECORD +879 -0
  1598. package/python/Lib/site-packages/pip-26.0.1.dist-info/REQUESTED +0 -0
  1599. package/python/Lib/site-packages/pip-26.0.1.dist-info/WHEEL +4 -0
  1600. package/python/Lib/site-packages/pip-26.0.1.dist-info/direct_url.json +1 -0
  1601. package/python/Lib/site-packages/pip-26.0.1.dist-info/entry_points.txt +4 -0
  1602. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/AUTHORS.txt +860 -0
  1603. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/LICENSE.txt +20 -0
  1604. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/cachecontrol/LICENSE.txt +13 -0
  1605. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/certifi/LICENSE +20 -0
  1606. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/dependency_groups/LICENSE.txt +9 -0
  1607. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/distlib/LICENSE.txt +284 -0
  1608. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/distro/LICENSE +202 -0
  1609. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/idna/LICENSE.md +31 -0
  1610. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/msgpack/COPYING +14 -0
  1611. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/packaging/LICENSE +3 -0
  1612. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.APACHE +177 -0
  1613. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.BSD +23 -0
  1614. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/pkg_resources/LICENSE +17 -0
  1615. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/platformdirs/LICENSE +21 -0
  1616. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/pygments/LICENSE +25 -0
  1617. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/pyproject_hooks/LICENSE +21 -0
  1618. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/requests/LICENSE +175 -0
  1619. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/resolvelib/LICENSE +13 -0
  1620. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/rich/LICENSE +19 -0
  1621. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/tomli/LICENSE +21 -0
  1622. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/tomli_w/LICENSE +21 -0
  1623. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/truststore/LICENSE +21 -0
  1624. package/python/Lib/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/urllib3/LICENSE.txt +21 -0
  1625. package/python/Lib/site.py +773 -0
  1626. package/python/Lib/smtplib.py +1123 -0
  1627. package/python/Lib/socket.py +982 -0
  1628. package/python/Lib/socketserver.py +863 -0
  1629. package/python/Lib/sqlite3/__init__.py +70 -0
  1630. package/python/Lib/sqlite3/__main__.py +139 -0
  1631. package/python/Lib/sqlite3/dbapi2.py +108 -0
  1632. package/python/Lib/sqlite3/dump.py +113 -0
  1633. package/python/Lib/sre_compile.py +7 -0
  1634. package/python/Lib/sre_constants.py +7 -0
  1635. package/python/Lib/sre_parse.py +7 -0
  1636. package/python/Lib/ssl.py +1529 -0
  1637. package/python/Lib/stat.py +212 -0
  1638. package/python/Lib/statistics.py +1817 -0
  1639. package/python/Lib/string.py +309 -0
  1640. package/python/Lib/stringprep.py +272 -0
  1641. package/python/Lib/struct.py +15 -0
  1642. package/python/Lib/subprocess.py +2258 -0
  1643. package/python/Lib/symtable.py +414 -0
  1644. package/python/Lib/sysconfig/__init__.py +726 -0
  1645. package/python/Lib/sysconfig/__main__.py +248 -0
  1646. package/python/Lib/sysconfig/__pycache__/__init__.cpython-313.pyc +0 -0
  1647. package/python/Lib/tabnanny.py +340 -0
  1648. package/python/Lib/tarfile.py +3070 -0
  1649. package/python/Lib/tempfile.py +957 -0
  1650. package/python/Lib/textwrap.py +497 -0
  1651. package/python/Lib/this.py +28 -0
  1652. package/python/Lib/threading.py +1602 -0
  1653. package/python/Lib/timeit.py +381 -0
  1654. package/python/Lib/tkinter/__init__.py +5002 -0
  1655. package/python/Lib/tkinter/__main__.py +7 -0
  1656. package/python/Lib/tkinter/colorchooser.py +86 -0
  1657. package/python/Lib/tkinter/commondialog.py +53 -0
  1658. package/python/Lib/tkinter/constants.py +110 -0
  1659. package/python/Lib/tkinter/dialog.py +49 -0
  1660. package/python/Lib/tkinter/dnd.py +324 -0
  1661. package/python/Lib/tkinter/filedialog.py +492 -0
  1662. package/python/Lib/tkinter/font.py +239 -0
  1663. package/python/Lib/tkinter/messagebox.py +146 -0
  1664. package/python/Lib/tkinter/scrolledtext.py +56 -0
  1665. package/python/Lib/tkinter/simpledialog.py +441 -0
  1666. package/python/Lib/tkinter/ttk.py +1647 -0
  1667. package/python/Lib/token.py +141 -0
  1668. package/python/Lib/tokenize.py +592 -0
  1669. package/python/Lib/tomllib/__init__.py +10 -0
  1670. package/python/Lib/tomllib/__pycache__/__init__.cpython-313.pyc +0 -0
  1671. package/python/Lib/tomllib/__pycache__/_parser.cpython-313.pyc +0 -0
  1672. package/python/Lib/tomllib/__pycache__/_re.cpython-313.pyc +0 -0
  1673. package/python/Lib/tomllib/__pycache__/_types.cpython-313.pyc +0 -0
  1674. package/python/Lib/tomllib/_parser.py +691 -0
  1675. package/python/Lib/tomllib/_re.py +107 -0
  1676. package/python/Lib/tomllib/_types.py +10 -0
  1677. package/python/Lib/tomllib/mypy.ini +17 -0
  1678. package/python/Lib/trace.py +754 -0
  1679. package/python/Lib/traceback.py +1638 -0
  1680. package/python/Lib/tracemalloc.py +560 -0
  1681. package/python/Lib/tty.py +73 -0
  1682. package/python/Lib/turtle.py +4199 -0
  1683. package/python/Lib/turtledemo/__init__.py +14 -0
  1684. package/python/Lib/turtledemo/__main__.py +401 -0
  1685. package/python/Lib/turtledemo/bytedesign.py +161 -0
  1686. package/python/Lib/turtledemo/chaos.py +59 -0
  1687. package/python/Lib/turtledemo/clock.py +138 -0
  1688. package/python/Lib/turtledemo/colormixer.py +58 -0
  1689. package/python/Lib/turtledemo/forest.py +108 -0
  1690. package/python/Lib/turtledemo/fractalcurves.py +138 -0
  1691. package/python/Lib/turtledemo/lindenmayer.py +119 -0
  1692. package/python/Lib/turtledemo/minimal_hanoi.py +79 -0
  1693. package/python/Lib/turtledemo/nim.py +226 -0
  1694. package/python/Lib/turtledemo/paint.py +54 -0
  1695. package/python/Lib/turtledemo/peace.py +61 -0
  1696. package/python/Lib/turtledemo/penrose.py +175 -0
  1697. package/python/Lib/turtledemo/planet_and_moon.py +111 -0
  1698. package/python/Lib/turtledemo/rosette.py +65 -0
  1699. package/python/Lib/turtledemo/round_dance.py +86 -0
  1700. package/python/Lib/turtledemo/sorting_animate.py +204 -0
  1701. package/python/Lib/turtledemo/tree.py +62 -0
  1702. package/python/Lib/turtledemo/turtle.cfg +10 -0
  1703. package/python/Lib/turtledemo/two_canvases.py +54 -0
  1704. package/python/Lib/turtledemo/yinyang.py +49 -0
  1705. package/python/Lib/types.py +345 -0
  1706. package/python/Lib/typing.py +3831 -0
  1707. package/python/Lib/unittest/__init__.py +80 -0
  1708. package/python/Lib/unittest/__main__.py +18 -0
  1709. package/python/Lib/unittest/_log.py +86 -0
  1710. package/python/Lib/unittest/async_case.py +146 -0
  1711. package/python/Lib/unittest/case.py +1478 -0
  1712. package/python/Lib/unittest/loader.py +453 -0
  1713. package/python/Lib/unittest/main.py +280 -0
  1714. package/python/Lib/unittest/mock.py +3179 -0
  1715. package/python/Lib/unittest/result.py +256 -0
  1716. package/python/Lib/unittest/runner.py +292 -0
  1717. package/python/Lib/unittest/signals.py +71 -0
  1718. package/python/Lib/unittest/suite.py +379 -0
  1719. package/python/Lib/unittest/util.py +170 -0
  1720. package/python/Lib/urllib/__init__.py +0 -0
  1721. package/python/Lib/urllib/__pycache__/__init__.cpython-313.pyc +0 -0
  1722. package/python/Lib/urllib/__pycache__/error.cpython-313.pyc +0 -0
  1723. package/python/Lib/urllib/__pycache__/parse.cpython-313.pyc +0 -0
  1724. package/python/Lib/urllib/__pycache__/request.cpython-313.pyc +0 -0
  1725. package/python/Lib/urllib/__pycache__/response.cpython-313.pyc +0 -0
  1726. package/python/Lib/urllib/error.py +74 -0
  1727. package/python/Lib/urllib/parse.py +1262 -0
  1728. package/python/Lib/urllib/request.py +2797 -0
  1729. package/python/Lib/urllib/response.py +84 -0
  1730. package/python/Lib/urllib/robotparser.py +286 -0
  1731. package/python/Lib/uuid.py +784 -0
  1732. package/python/Lib/venv/__init__.py +687 -0
  1733. package/python/Lib/venv/__main__.py +10 -0
  1734. package/python/Lib/venv/scripts/common/Activate.ps1 +248 -0
  1735. package/python/Lib/venv/scripts/common/activate +76 -0
  1736. package/python/Lib/venv/scripts/common/activate.fish +69 -0
  1737. package/python/Lib/venv/scripts/nt/activate.bat +34 -0
  1738. package/python/Lib/venv/scripts/nt/deactivate.bat +22 -0
  1739. package/python/Lib/venv/scripts/nt/venvlauncher.exe +0 -0
  1740. package/python/Lib/venv/scripts/nt/venvlauncher.pdb +0 -0
  1741. package/python/Lib/venv/scripts/nt/venvwlauncher.exe +0 -0
  1742. package/python/Lib/venv/scripts/nt/venvwlauncher.pdb +0 -0
  1743. package/python/Lib/venv/scripts/posix/activate.csh +27 -0
  1744. package/python/Lib/warnings.py +735 -0
  1745. package/python/Lib/wave.py +665 -0
  1746. package/python/Lib/weakref.py +674 -0
  1747. package/python/Lib/webbrowser.py +710 -0
  1748. package/python/Lib/wsgiref/__init__.py +25 -0
  1749. package/python/Lib/wsgiref/handlers.py +573 -0
  1750. package/python/Lib/wsgiref/headers.py +187 -0
  1751. package/python/Lib/wsgiref/simple_server.py +161 -0
  1752. package/python/Lib/wsgiref/types.py +54 -0
  1753. package/python/Lib/wsgiref/util.py +159 -0
  1754. package/python/Lib/wsgiref/validate.py +438 -0
  1755. package/python/Lib/xml/__init__.py +20 -0
  1756. package/python/Lib/xml/__pycache__/__init__.cpython-313.pyc +0 -0
  1757. package/python/Lib/xml/dom/NodeFilter.py +27 -0
  1758. package/python/Lib/xml/dom/__init__.py +140 -0
  1759. package/python/Lib/xml/dom/domreg.py +99 -0
  1760. package/python/Lib/xml/dom/expatbuilder.py +962 -0
  1761. package/python/Lib/xml/dom/minicompat.py +109 -0
  1762. package/python/Lib/xml/dom/minidom.py +2024 -0
  1763. package/python/Lib/xml/dom/pulldom.py +336 -0
  1764. package/python/Lib/xml/dom/xmlbuilder.py +389 -0
  1765. package/python/Lib/xml/etree/ElementInclude.py +186 -0
  1766. package/python/Lib/xml/etree/ElementPath.py +423 -0
  1767. package/python/Lib/xml/etree/ElementTree.py +2098 -0
  1768. package/python/Lib/xml/etree/__init__.py +33 -0
  1769. package/python/Lib/xml/etree/cElementTree.py +3 -0
  1770. package/python/Lib/xml/parsers/__init__.py +8 -0
  1771. package/python/Lib/xml/parsers/__pycache__/__init__.cpython-313.pyc +0 -0
  1772. package/python/Lib/xml/parsers/__pycache__/expat.cpython-313.pyc +0 -0
  1773. package/python/Lib/xml/parsers/expat.py +8 -0
  1774. package/python/Lib/xml/sax/__init__.py +94 -0
  1775. package/python/Lib/xml/sax/_exceptions.py +127 -0
  1776. package/python/Lib/xml/sax/expatreader.py +454 -0
  1777. package/python/Lib/xml/sax/handler.py +387 -0
  1778. package/python/Lib/xml/sax/saxutils.py +369 -0
  1779. package/python/Lib/xml/sax/xmlreader.py +378 -0
  1780. package/python/Lib/xmlrpc/__init__.py +1 -0
  1781. package/python/Lib/xmlrpc/__pycache__/__init__.cpython-313.pyc +0 -0
  1782. package/python/Lib/xmlrpc/__pycache__/client.cpython-313.pyc +0 -0
  1783. package/python/Lib/xmlrpc/client.py +1503 -0
  1784. package/python/Lib/xmlrpc/server.py +1002 -0
  1785. package/python/Lib/zipapp.py +229 -0
  1786. package/python/Lib/zipfile/__init__.py +2375 -0
  1787. package/python/Lib/zipfile/__main__.py +4 -0
  1788. package/python/Lib/zipfile/__pycache__/__init__.cpython-313.pyc +0 -0
  1789. package/python/Lib/zipfile/_path/__init__.py +452 -0
  1790. package/python/Lib/zipfile/_path/__pycache__/__init__.cpython-313.pyc +0 -0
  1791. package/python/Lib/zipfile/_path/__pycache__/glob.cpython-313.pyc +0 -0
  1792. package/python/Lib/zipfile/_path/glob.py +113 -0
  1793. package/python/Lib/zipimport.py +803 -0
  1794. package/python/Lib/zoneinfo/__init__.py +34 -0
  1795. package/python/Lib/zoneinfo/_common.py +168 -0
  1796. package/python/Lib/zoneinfo/_tzpath.py +189 -0
  1797. package/python/Lib/zoneinfo/_zoneinfo.py +772 -0
  1798. package/python/Scripts/.empty +0 -0
  1799. package/python/include/Python.h +140 -0
  1800. package/python/include/abstract.h +921 -0
  1801. package/python/include/bltinmodule.h +14 -0
  1802. package/python/include/boolobject.h +54 -0
  1803. package/python/include/bytearrayobject.h +44 -0
  1804. package/python/include/bytesobject.h +66 -0
  1805. package/python/include/ceval.h +145 -0
  1806. package/python/include/codecs.h +176 -0
  1807. package/python/include/compile.h +22 -0
  1808. package/python/include/complexobject.h +30 -0
  1809. package/python/include/cpython/abstract.h +87 -0
  1810. package/python/include/cpython/bytearrayobject.h +34 -0
  1811. package/python/include/cpython/bytesobject.h +37 -0
  1812. package/python/include/cpython/cellobject.h +44 -0
  1813. package/python/include/cpython/ceval.h +25 -0
  1814. package/python/include/cpython/classobject.h +71 -0
  1815. package/python/include/cpython/code.h +358 -0
  1816. package/python/include/cpython/compile.h +50 -0
  1817. package/python/include/cpython/complexobject.h +33 -0
  1818. package/python/include/cpython/context.h +74 -0
  1819. package/python/include/cpython/critical_section.h +134 -0
  1820. package/python/include/cpython/descrobject.h +62 -0
  1821. package/python/include/cpython/dictobject.h +102 -0
  1822. package/python/include/cpython/fileobject.h +16 -0
  1823. package/python/include/cpython/fileutils.h +8 -0
  1824. package/python/include/cpython/floatobject.h +27 -0
  1825. package/python/include/cpython/frameobject.h +35 -0
  1826. package/python/include/cpython/funcobject.h +184 -0
  1827. package/python/include/cpython/genobject.h +83 -0
  1828. package/python/include/cpython/import.h +25 -0
  1829. package/python/include/cpython/initconfig.h +274 -0
  1830. package/python/include/cpython/listobject.h +53 -0
  1831. package/python/include/cpython/lock.h +63 -0
  1832. package/python/include/cpython/longintrepr.h +146 -0
  1833. package/python/include/cpython/longobject.h +116 -0
  1834. package/python/include/cpython/memoryobject.h +50 -0
  1835. package/python/include/cpython/methodobject.h +66 -0
  1836. package/python/include/cpython/modsupport.h +26 -0
  1837. package/python/include/cpython/monitoring.h +250 -0
  1838. package/python/include/cpython/object.h +535 -0
  1839. package/python/include/cpython/objimpl.h +104 -0
  1840. package/python/include/cpython/odictobject.h +43 -0
  1841. package/python/include/cpython/picklebufobject.h +31 -0
  1842. package/python/include/cpython/pthread_stubs.h +105 -0
  1843. package/python/include/cpython/pyatomic.h +569 -0
  1844. package/python/include/cpython/pyatomic_gcc.h +551 -0
  1845. package/python/include/cpython/pyatomic_msc.h +1095 -0
  1846. package/python/include/cpython/pyatomic_std.h +976 -0
  1847. package/python/include/cpython/pyctype.h +39 -0
  1848. package/python/include/cpython/pydebug.h +38 -0
  1849. package/python/include/cpython/pyerrors.h +132 -0
  1850. package/python/include/cpython/pyfpe.h +15 -0
  1851. package/python/include/cpython/pyframe.h +45 -0
  1852. package/python/include/cpython/pyhash.h +47 -0
  1853. package/python/include/cpython/pylifecycle.h +92 -0
  1854. package/python/include/cpython/pymem.h +84 -0
  1855. package/python/include/cpython/pystate.h +277 -0
  1856. package/python/include/cpython/pystats.h +175 -0
  1857. package/python/include/cpython/pythonrun.h +96 -0
  1858. package/python/include/cpython/pythread.h +43 -0
  1859. package/python/include/cpython/pytime.h +27 -0
  1860. package/python/include/cpython/setobject.h +71 -0
  1861. package/python/include/cpython/sysmodule.h +22 -0
  1862. package/python/include/cpython/traceback.h +13 -0
  1863. package/python/include/cpython/tracemalloc.h +32 -0
  1864. package/python/include/cpython/tupleobject.h +38 -0
  1865. package/python/include/cpython/unicodeobject.h +703 -0
  1866. package/python/include/cpython/warnings.h +20 -0
  1867. package/python/include/cpython/weakrefobject.h +63 -0
  1868. package/python/include/critical_section.h +16 -0
  1869. package/python/include/datetime.h +267 -0
  1870. package/python/include/descrobject.h +100 -0
  1871. package/python/include/dictobject.h +108 -0
  1872. package/python/include/dynamic_annotations.h +499 -0
  1873. package/python/include/enumobject.h +17 -0
  1874. package/python/include/errcode.h +45 -0
  1875. package/python/include/exports.h +108 -0
  1876. package/python/include/fileobject.h +41 -0
  1877. package/python/include/fileutils.h +62 -0
  1878. package/python/include/floatobject.h +54 -0
  1879. package/python/include/frameobject.h +20 -0
  1880. package/python/include/genericaliasobject.h +14 -0
  1881. package/python/include/import.h +103 -0
  1882. package/python/include/internal/mimalloc/mimalloc/atomic.h +392 -0
  1883. package/python/include/internal/mimalloc/mimalloc/internal.h +969 -0
  1884. package/python/include/internal/mimalloc/mimalloc/prim.h +329 -0
  1885. package/python/include/internal/mimalloc/mimalloc/track.h +147 -0
  1886. package/python/include/internal/mimalloc/mimalloc/types.h +721 -0
  1887. package/python/include/internal/mimalloc/mimalloc.h +565 -0
  1888. package/python/include/internal/pycore_abstract.h +61 -0
  1889. package/python/include/internal/pycore_asdl.h +112 -0
  1890. package/python/include/internal/pycore_ast.h +926 -0
  1891. package/python/include/internal/pycore_ast_state.h +268 -0
  1892. package/python/include/internal/pycore_atexit.h +67 -0
  1893. package/python/include/internal/pycore_backoff.h +145 -0
  1894. package/python/include/internal/pycore_bitutils.h +186 -0
  1895. package/python/include/internal/pycore_blocks_output_buffer.h +321 -0
  1896. package/python/include/internal/pycore_brc.h +74 -0
  1897. package/python/include/internal/pycore_bytes_methods.h +82 -0
  1898. package/python/include/internal/pycore_bytesobject.h +152 -0
  1899. package/python/include/internal/pycore_call.h +205 -0
  1900. package/python/include/internal/pycore_capsule.h +17 -0
  1901. package/python/include/internal/pycore_cell.h +48 -0
  1902. package/python/include/internal/pycore_ceval.h +305 -0
  1903. package/python/include/internal/pycore_ceval_state.h +137 -0
  1904. package/python/include/internal/pycore_code.h +603 -0
  1905. package/python/include/internal/pycore_codecs.h +86 -0
  1906. package/python/include/internal/pycore_compile.h +118 -0
  1907. package/python/include/internal/pycore_complexobject.h +25 -0
  1908. package/python/include/internal/pycore_condvar.h +93 -0
  1909. package/python/include/internal/pycore_context.h +61 -0
  1910. package/python/include/internal/pycore_critical_section.h +233 -0
  1911. package/python/include/internal/pycore_crossinterp.h +340 -0
  1912. package/python/include/internal/pycore_descrobject.h +28 -0
  1913. package/python/include/internal/pycore_dict.h +340 -0
  1914. package/python/include/internal/pycore_dict_state.h +32 -0
  1915. package/python/include/internal/pycore_dtoa.h +75 -0
  1916. package/python/include/internal/pycore_emscripten_signal.h +30 -0
  1917. package/python/include/internal/pycore_emscripten_trampoline.h +81 -0
  1918. package/python/include/internal/pycore_exceptions.h +40 -0
  1919. package/python/include/internal/pycore_faulthandler.h +99 -0
  1920. package/python/include/internal/pycore_fileutils.h +335 -0
  1921. package/python/include/internal/pycore_fileutils_windows.h +98 -0
  1922. package/python/include/internal/pycore_floatobject.h +62 -0
  1923. package/python/include/internal/pycore_flowgraph.h +40 -0
  1924. package/python/include/internal/pycore_format.h +27 -0
  1925. package/python/include/internal/pycore_frame.h +370 -0
  1926. package/python/include/internal/pycore_freelist.h +153 -0
  1927. package/python/include/internal/pycore_function.h +55 -0
  1928. package/python/include/internal/pycore_gc.h +365 -0
  1929. package/python/include/internal/pycore_genobject.h +32 -0
  1930. package/python/include/internal/pycore_getopt.h +22 -0
  1931. package/python/include/internal/pycore_gil.h +66 -0
  1932. package/python/include/internal/pycore_global_objects.h +105 -0
  1933. package/python/include/internal/pycore_global_objects_fini_generated.h +1554 -0
  1934. package/python/include/internal/pycore_global_strings.h +814 -0
  1935. package/python/include/internal/pycore_hamt.h +134 -0
  1936. package/python/include/internal/pycore_hashtable.h +150 -0
  1937. package/python/include/internal/pycore_identifier.h +20 -0
  1938. package/python/include/internal/pycore_import.h +213 -0
  1939. package/python/include/internal/pycore_importdl.h +139 -0
  1940. package/python/include/internal/pycore_initconfig.h +200 -0
  1941. package/python/include/internal/pycore_instruction_sequence.h +73 -0
  1942. package/python/include/internal/pycore_instruments.h +75 -0
  1943. package/python/include/internal/pycore_interp.h +423 -0
  1944. package/python/include/internal/pycore_intrinsics.h +51 -0
  1945. package/python/include/internal/pycore_jit.h +25 -0
  1946. package/python/include/internal/pycore_list.h +66 -0
  1947. package/python/include/internal/pycore_llist.h +106 -0
  1948. package/python/include/internal/pycore_lock.h +241 -0
  1949. package/python/include/internal/pycore_long.h +310 -0
  1950. package/python/include/internal/pycore_memoryobject.h +20 -0
  1951. package/python/include/internal/pycore_mimalloc.h +69 -0
  1952. package/python/include/internal/pycore_modsupport.h +107 -0
  1953. package/python/include/internal/pycore_moduleobject.h +56 -0
  1954. package/python/include/internal/pycore_namespace.h +21 -0
  1955. package/python/include/internal/pycore_object.h +867 -0
  1956. package/python/include/internal/pycore_object_alloc.h +71 -0
  1957. package/python/include/internal/pycore_object_stack.h +97 -0
  1958. package/python/include/internal/pycore_object_state.h +41 -0
  1959. package/python/include/internal/pycore_obmalloc.h +702 -0
  1960. package/python/include/internal/pycore_obmalloc_init.h +66 -0
  1961. package/python/include/internal/pycore_opcode_metadata.h +1922 -0
  1962. package/python/include/internal/pycore_opcode_utils.h +73 -0
  1963. package/python/include/internal/pycore_optimizer.h +272 -0
  1964. package/python/include/internal/pycore_parking_lot.h +97 -0
  1965. package/python/include/internal/pycore_parser.h +95 -0
  1966. package/python/include/internal/pycore_pathconfig.h +26 -0
  1967. package/python/include/internal/pycore_pyarena.h +68 -0
  1968. package/python/include/internal/pycore_pyatomic_ft_wrappers.h +165 -0
  1969. package/python/include/internal/pycore_pybuffer.h +21 -0
  1970. package/python/include/internal/pycore_pyerrors.h +190 -0
  1971. package/python/include/internal/pycore_pyhash.h +107 -0
  1972. package/python/include/internal/pycore_pylifecycle.h +136 -0
  1973. package/python/include/internal/pycore_pymath.h +205 -0
  1974. package/python/include/internal/pycore_pymem.h +161 -0
  1975. package/python/include/internal/pycore_pymem_init.h +103 -0
  1976. package/python/include/internal/pycore_pystate.h +299 -0
  1977. package/python/include/internal/pycore_pystats.h +21 -0
  1978. package/python/include/internal/pycore_pythonrun.h +39 -0
  1979. package/python/include/internal/pycore_pythread.h +172 -0
  1980. package/python/include/internal/pycore_qsbr.h +173 -0
  1981. package/python/include/internal/pycore_range.h +21 -0
  1982. package/python/include/internal/pycore_runtime.h +410 -0
  1983. package/python/include/internal/pycore_runtime_init.h +329 -0
  1984. package/python/include/internal/pycore_runtime_init_generated.h +1551 -0
  1985. package/python/include/internal/pycore_semaphore.h +67 -0
  1986. package/python/include/internal/pycore_setobject.h +39 -0
  1987. package/python/include/internal/pycore_signal.h +108 -0
  1988. package/python/include/internal/pycore_sliceobject.h +20 -0
  1989. package/python/include/internal/pycore_stackref.h +195 -0
  1990. package/python/include/internal/pycore_strhex.h +39 -0
  1991. package/python/include/internal/pycore_structseq.h +40 -0
  1992. package/python/include/internal/pycore_symtable.h +204 -0
  1993. package/python/include/internal/pycore_sysmodule.h +38 -0
  1994. package/python/include/internal/pycore_time.h +337 -0
  1995. package/python/include/internal/pycore_token.h +106 -0
  1996. package/python/include/internal/pycore_traceback.h +106 -0
  1997. package/python/include/internal/pycore_tracemalloc.h +170 -0
  1998. package/python/include/internal/pycore_tstate.h +46 -0
  1999. package/python/include/internal/pycore_tuple.h +35 -0
  2000. package/python/include/internal/pycore_typeobject.h +245 -0
  2001. package/python/include/internal/pycore_typevarobject.h +27 -0
  2002. package/python/include/internal/pycore_ucnhash.h +36 -0
  2003. package/python/include/internal/pycore_unicodeobject.h +351 -0
  2004. package/python/include/internal/pycore_unicodeobject_generated.h +2980 -0
  2005. package/python/include/internal/pycore_unionobject.h +25 -0
  2006. package/python/include/internal/pycore_uop_ids.h +295 -0
  2007. package/python/include/internal/pycore_uop_metadata.h +1010 -0
  2008. package/python/include/internal/pycore_warnings.h +31 -0
  2009. package/python/include/internal/pycore_weakref.h +133 -0
  2010. package/python/include/intrcheck.h +23 -0
  2011. package/python/include/iterobject.h +24 -0
  2012. package/python/include/listobject.h +55 -0
  2013. package/python/include/lock.h +16 -0
  2014. package/python/include/longobject.h +114 -0
  2015. package/python/include/marshal.h +31 -0
  2016. package/python/include/memoryobject.h +34 -0
  2017. package/python/include/methodobject.h +137 -0
  2018. package/python/include/modsupport.h +146 -0
  2019. package/python/include/moduleobject.h +122 -0
  2020. package/python/include/monitoring.h +18 -0
  2021. package/python/include/object.h +1280 -0
  2022. package/python/include/objimpl.h +211 -0
  2023. package/python/include/opcode.h +42 -0
  2024. package/python/include/opcode_ids.h +244 -0
  2025. package/python/include/osdefs.h +57 -0
  2026. package/python/include/osmodule.h +17 -0
  2027. package/python/include/patchlevel.h +35 -0
  2028. package/python/include/py_curses.h +117 -0
  2029. package/python/include/pyatomic.h +16 -0
  2030. package/python/include/pybuffer.h +145 -0
  2031. package/python/include/pycapsule.h +58 -0
  2032. package/python/include/pyconfig.h +759 -0
  2033. package/python/include/pydtrace.h +59 -0
  2034. package/python/include/pyerrors.h +335 -0
  2035. package/python/include/pyexpat.h +62 -0
  2036. package/python/include/pyframe.h +26 -0
  2037. package/python/include/pyhash.h +59 -0
  2038. package/python/include/pylifecycle.h +80 -0
  2039. package/python/include/pymacconfig.h +91 -0
  2040. package/python/include/pymacro.h +199 -0
  2041. package/python/include/pymath.h +62 -0
  2042. package/python/include/pymem.h +110 -0
  2043. package/python/include/pyport.h +633 -0
  2044. package/python/include/pystate.h +132 -0
  2045. package/python/include/pystats.h +26 -0
  2046. package/python/include/pystrcmp.h +23 -0
  2047. package/python/include/pystrtod.h +37 -0
  2048. package/python/include/pythonrun.h +49 -0
  2049. package/python/include/pythread.h +131 -0
  2050. package/python/include/pytypedefs.h +30 -0
  2051. package/python/include/rangeobject.h +27 -0
  2052. package/python/include/setobject.h +49 -0
  2053. package/python/include/sliceobject.h +69 -0
  2054. package/python/include/structmember.h +56 -0
  2055. package/python/include/structseq.h +46 -0
  2056. package/python/include/sysmodule.h +44 -0
  2057. package/python/include/traceback.h +26 -0
  2058. package/python/include/tupleobject.h +46 -0
  2059. package/python/include/typeslots.h +88 -0
  2060. package/python/include/unicodeobject.h +1021 -0
  2061. package/python/include/warnings.h +45 -0
  2062. package/python/include/weakrefobject.h +46 -0
  2063. package/python/libs/python3.lib +0 -0
  2064. package/python/libs/python313.lib +0 -0
  2065. package/python/python.exe +0 -0
  2066. package/python/python.pdb +0 -0
  2067. package/python/python3.dll +0 -0
  2068. package/python/python3.pdb +0 -0
  2069. package/python/python313.dll +0 -0
  2070. package/python/python313.pdb +0 -0
  2071. package/python/pythonw.exe +0 -0
  2072. package/python/pythonw.pdb +0 -0
  2073. package/python/tcl/dde1.4/pkgIndex.tcl +12 -0
  2074. package/python/tcl/dde1.4/tcldde14.dll +0 -0
  2075. package/python/tcl/nmake/nmakehlp.c +815 -0
  2076. package/python/tcl/nmake/rules.vc +1869 -0
  2077. package/python/tcl/nmake/targets.vc +98 -0
  2078. package/python/tcl/nmake/tcl.nmake +4 -0
  2079. package/python/tcl/reg1.3/pkgIndex.tcl +9 -0
  2080. package/python/tcl/reg1.3/tclreg13.dll +0 -0
  2081. package/python/tcl/tcl8/8.4/platform/shell-1.1.4.tm +241 -0
  2082. package/python/tcl/tcl8/8.4/platform-1.0.18.tm +439 -0
  2083. package/python/tcl/tcl8/8.5/msgcat-1.6.1.tm +1210 -0
  2084. package/python/tcl/tcl8/8.5/tcltest-2.5.3.tm +3515 -0
  2085. package/python/tcl/tcl8/8.6/http-2.9.5.tm +3506 -0
  2086. package/python/tcl/tcl8.6/auto.tcl +648 -0
  2087. package/python/tcl/tcl8.6/clock.tcl +4546 -0
  2088. package/python/tcl/tcl8.6/encoding/ascii.enc +20 -0
  2089. package/python/tcl/tcl8.6/encoding/big5.enc +1516 -0
  2090. package/python/tcl/tcl8.6/encoding/cns11643.enc +1584 -0
  2091. package/python/tcl/tcl8.6/encoding/cp1250.enc +20 -0
  2092. package/python/tcl/tcl8.6/encoding/cp1251.enc +20 -0
  2093. package/python/tcl/tcl8.6/encoding/cp1252.enc +20 -0
  2094. package/python/tcl/tcl8.6/encoding/cp1253.enc +20 -0
  2095. package/python/tcl/tcl8.6/encoding/cp1254.enc +20 -0
  2096. package/python/tcl/tcl8.6/encoding/cp1255.enc +20 -0
  2097. package/python/tcl/tcl8.6/encoding/cp1256.enc +20 -0
  2098. package/python/tcl/tcl8.6/encoding/cp1257.enc +20 -0
  2099. package/python/tcl/tcl8.6/encoding/cp1258.enc +20 -0
  2100. package/python/tcl/tcl8.6/encoding/cp437.enc +20 -0
  2101. package/python/tcl/tcl8.6/encoding/cp737.enc +20 -0
  2102. package/python/tcl/tcl8.6/encoding/cp775.enc +20 -0
  2103. package/python/tcl/tcl8.6/encoding/cp850.enc +20 -0
  2104. package/python/tcl/tcl8.6/encoding/cp852.enc +20 -0
  2105. package/python/tcl/tcl8.6/encoding/cp855.enc +20 -0
  2106. package/python/tcl/tcl8.6/encoding/cp857.enc +20 -0
  2107. package/python/tcl/tcl8.6/encoding/cp860.enc +20 -0
  2108. package/python/tcl/tcl8.6/encoding/cp861.enc +20 -0
  2109. package/python/tcl/tcl8.6/encoding/cp862.enc +20 -0
  2110. package/python/tcl/tcl8.6/encoding/cp863.enc +20 -0
  2111. package/python/tcl/tcl8.6/encoding/cp864.enc +20 -0
  2112. package/python/tcl/tcl8.6/encoding/cp865.enc +20 -0
  2113. package/python/tcl/tcl8.6/encoding/cp866.enc +20 -0
  2114. package/python/tcl/tcl8.6/encoding/cp869.enc +20 -0
  2115. package/python/tcl/tcl8.6/encoding/cp874.enc +20 -0
  2116. package/python/tcl/tcl8.6/encoding/cp932.enc +801 -0
  2117. package/python/tcl/tcl8.6/encoding/cp936.enc +2162 -0
  2118. package/python/tcl/tcl8.6/encoding/cp949.enc +2128 -0
  2119. package/python/tcl/tcl8.6/encoding/cp950.enc +1499 -0
  2120. package/python/tcl/tcl8.6/encoding/dingbats.enc +20 -0
  2121. package/python/tcl/tcl8.6/encoding/ebcdic.enc +19 -0
  2122. package/python/tcl/tcl8.6/encoding/euc-cn.enc +1397 -0
  2123. package/python/tcl/tcl8.6/encoding/euc-jp.enc +1353 -0
  2124. package/python/tcl/tcl8.6/encoding/euc-kr.enc +1533 -0
  2125. package/python/tcl/tcl8.6/encoding/gb12345.enc +1414 -0
  2126. package/python/tcl/tcl8.6/encoding/gb1988.enc +20 -0
  2127. package/python/tcl/tcl8.6/encoding/gb2312-raw.enc +1380 -0
  2128. package/python/tcl/tcl8.6/encoding/gb2312.enc +1397 -0
  2129. package/python/tcl/tcl8.6/encoding/iso2022-jp.enc +12 -0
  2130. package/python/tcl/tcl8.6/encoding/iso2022-kr.enc +7 -0
  2131. package/python/tcl/tcl8.6/encoding/iso2022.enc +14 -0
  2132. package/python/tcl/tcl8.6/encoding/iso8859-1.enc +20 -0
  2133. package/python/tcl/tcl8.6/encoding/iso8859-10.enc +20 -0
  2134. package/python/tcl/tcl8.6/encoding/iso8859-11.enc +20 -0
  2135. package/python/tcl/tcl8.6/encoding/iso8859-13.enc +20 -0
  2136. package/python/tcl/tcl8.6/encoding/iso8859-14.enc +20 -0
  2137. package/python/tcl/tcl8.6/encoding/iso8859-15.enc +20 -0
  2138. package/python/tcl/tcl8.6/encoding/iso8859-16.enc +20 -0
  2139. package/python/tcl/tcl8.6/encoding/iso8859-2.enc +20 -0
  2140. package/python/tcl/tcl8.6/encoding/iso8859-3.enc +20 -0
  2141. package/python/tcl/tcl8.6/encoding/iso8859-4.enc +20 -0
  2142. package/python/tcl/tcl8.6/encoding/iso8859-5.enc +20 -0
  2143. package/python/tcl/tcl8.6/encoding/iso8859-6.enc +20 -0
  2144. package/python/tcl/tcl8.6/encoding/iso8859-7.enc +20 -0
  2145. package/python/tcl/tcl8.6/encoding/iso8859-8.enc +20 -0
  2146. package/python/tcl/tcl8.6/encoding/iso8859-9.enc +20 -0
  2147. package/python/tcl/tcl8.6/encoding/jis0201.enc +20 -0
  2148. package/python/tcl/tcl8.6/encoding/jis0208.enc +1319 -0
  2149. package/python/tcl/tcl8.6/encoding/jis0212.enc +1159 -0
  2150. package/python/tcl/tcl8.6/encoding/koi8-r.enc +20 -0
  2151. package/python/tcl/tcl8.6/encoding/koi8-u.enc +20 -0
  2152. package/python/tcl/tcl8.6/encoding/ksc5601.enc +1516 -0
  2153. package/python/tcl/tcl8.6/encoding/macCentEuro.enc +20 -0
  2154. package/python/tcl/tcl8.6/encoding/macCroatian.enc +20 -0
  2155. package/python/tcl/tcl8.6/encoding/macCyrillic.enc +20 -0
  2156. package/python/tcl/tcl8.6/encoding/macDingbats.enc +20 -0
  2157. package/python/tcl/tcl8.6/encoding/macGreek.enc +20 -0
  2158. package/python/tcl/tcl8.6/encoding/macIceland.enc +20 -0
  2159. package/python/tcl/tcl8.6/encoding/macJapan.enc +785 -0
  2160. package/python/tcl/tcl8.6/encoding/macRoman.enc +20 -0
  2161. package/python/tcl/tcl8.6/encoding/macRomania.enc +20 -0
  2162. package/python/tcl/tcl8.6/encoding/macThai.enc +20 -0
  2163. package/python/tcl/tcl8.6/encoding/macTurkish.enc +20 -0
  2164. package/python/tcl/tcl8.6/encoding/macUkraine.enc +20 -0
  2165. package/python/tcl/tcl8.6/encoding/shiftjis.enc +690 -0
  2166. package/python/tcl/tcl8.6/encoding/symbol.enc +20 -0
  2167. package/python/tcl/tcl8.6/encoding/tis-620.enc +20 -0
  2168. package/python/tcl/tcl8.6/history.tcl +335 -0
  2169. package/python/tcl/tcl8.6/http1.0/http.tcl +377 -0
  2170. package/python/tcl/tcl8.6/http1.0/pkgIndex.tcl +11 -0
  2171. package/python/tcl/tcl8.6/init.tcl +827 -0
  2172. package/python/tcl/tcl8.6/msgs/af.msg +49 -0
  2173. package/python/tcl/tcl8.6/msgs/af_za.msg +6 -0
  2174. package/python/tcl/tcl8.6/msgs/ar.msg +54 -0
  2175. package/python/tcl/tcl8.6/msgs/ar_in.msg +6 -0
  2176. package/python/tcl/tcl8.6/msgs/ar_jo.msg +39 -0
  2177. package/python/tcl/tcl8.6/msgs/ar_lb.msg +39 -0
  2178. package/python/tcl/tcl8.6/msgs/ar_sy.msg +39 -0
  2179. package/python/tcl/tcl8.6/msgs/be.msg +52 -0
  2180. package/python/tcl/tcl8.6/msgs/bg.msg +52 -0
  2181. package/python/tcl/tcl8.6/msgs/bn.msg +49 -0
  2182. package/python/tcl/tcl8.6/msgs/bn_in.msg +6 -0
  2183. package/python/tcl/tcl8.6/msgs/ca.msg +50 -0
  2184. package/python/tcl/tcl8.6/msgs/cs.msg +54 -0
  2185. package/python/tcl/tcl8.6/msgs/da.msg +52 -0
  2186. package/python/tcl/tcl8.6/msgs/de.msg +54 -0
  2187. package/python/tcl/tcl8.6/msgs/de_at.msg +35 -0
  2188. package/python/tcl/tcl8.6/msgs/de_be.msg +53 -0
  2189. package/python/tcl/tcl8.6/msgs/el.msg +52 -0
  2190. package/python/tcl/tcl8.6/msgs/en_au.msg +7 -0
  2191. package/python/tcl/tcl8.6/msgs/en_be.msg +7 -0
  2192. package/python/tcl/tcl8.6/msgs/en_bw.msg +6 -0
  2193. package/python/tcl/tcl8.6/msgs/en_ca.msg +7 -0
  2194. package/python/tcl/tcl8.6/msgs/en_gb.msg +7 -0
  2195. package/python/tcl/tcl8.6/msgs/en_hk.msg +8 -0
  2196. package/python/tcl/tcl8.6/msgs/en_ie.msg +7 -0
  2197. package/python/tcl/tcl8.6/msgs/en_in.msg +8 -0
  2198. package/python/tcl/tcl8.6/msgs/en_nz.msg +7 -0
  2199. package/python/tcl/tcl8.6/msgs/en_ph.msg +8 -0
  2200. package/python/tcl/tcl8.6/msgs/en_sg.msg +6 -0
  2201. package/python/tcl/tcl8.6/msgs/en_za.msg +6 -0
  2202. package/python/tcl/tcl8.6/msgs/en_zw.msg +6 -0
  2203. package/python/tcl/tcl8.6/msgs/eo.msg +54 -0
  2204. package/python/tcl/tcl8.6/msgs/es.msg +52 -0
  2205. package/python/tcl/tcl8.6/msgs/es_ar.msg +6 -0
  2206. package/python/tcl/tcl8.6/msgs/es_bo.msg +6 -0
  2207. package/python/tcl/tcl8.6/msgs/es_cl.msg +6 -0
  2208. package/python/tcl/tcl8.6/msgs/es_co.msg +6 -0
  2209. package/python/tcl/tcl8.6/msgs/es_cr.msg +6 -0
  2210. package/python/tcl/tcl8.6/msgs/es_do.msg +6 -0
  2211. package/python/tcl/tcl8.6/msgs/es_ec.msg +6 -0
  2212. package/python/tcl/tcl8.6/msgs/es_gt.msg +6 -0
  2213. package/python/tcl/tcl8.6/msgs/es_hn.msg +6 -0
  2214. package/python/tcl/tcl8.6/msgs/es_mx.msg +6 -0
  2215. package/python/tcl/tcl8.6/msgs/es_ni.msg +6 -0
  2216. package/python/tcl/tcl8.6/msgs/es_pa.msg +6 -0
  2217. package/python/tcl/tcl8.6/msgs/es_pe.msg +6 -0
  2218. package/python/tcl/tcl8.6/msgs/es_pr.msg +6 -0
  2219. package/python/tcl/tcl8.6/msgs/es_py.msg +6 -0
  2220. package/python/tcl/tcl8.6/msgs/es_sv.msg +6 -0
  2221. package/python/tcl/tcl8.6/msgs/es_uy.msg +6 -0
  2222. package/python/tcl/tcl8.6/msgs/es_ve.msg +6 -0
  2223. package/python/tcl/tcl8.6/msgs/et.msg +52 -0
  2224. package/python/tcl/tcl8.6/msgs/eu.msg +47 -0
  2225. package/python/tcl/tcl8.6/msgs/eu_es.msg +7 -0
  2226. package/python/tcl/tcl8.6/msgs/fa.msg +47 -0
  2227. package/python/tcl/tcl8.6/msgs/fa_in.msg +52 -0
  2228. package/python/tcl/tcl8.6/msgs/fa_ir.msg +9 -0
  2229. package/python/tcl/tcl8.6/msgs/fi.msg +50 -0
  2230. package/python/tcl/tcl8.6/msgs/fo.msg +47 -0
  2231. package/python/tcl/tcl8.6/msgs/fo_fo.msg +7 -0
  2232. package/python/tcl/tcl8.6/msgs/fr.msg +52 -0
  2233. package/python/tcl/tcl8.6/msgs/fr_be.msg +7 -0
  2234. package/python/tcl/tcl8.6/msgs/fr_ca.msg +7 -0
  2235. package/python/tcl/tcl8.6/msgs/fr_ch.msg +7 -0
  2236. package/python/tcl/tcl8.6/msgs/ga.msg +47 -0
  2237. package/python/tcl/tcl8.6/msgs/ga_ie.msg +7 -0
  2238. package/python/tcl/tcl8.6/msgs/gl.msg +47 -0
  2239. package/python/tcl/tcl8.6/msgs/gl_es.msg +6 -0
  2240. package/python/tcl/tcl8.6/msgs/gv.msg +47 -0
  2241. package/python/tcl/tcl8.6/msgs/gv_gb.msg +6 -0
  2242. package/python/tcl/tcl8.6/msgs/he.msg +52 -0
  2243. package/python/tcl/tcl8.6/msgs/hi.msg +39 -0
  2244. package/python/tcl/tcl8.6/msgs/hi_in.msg +6 -0
  2245. package/python/tcl/tcl8.6/msgs/hr.msg +50 -0
  2246. package/python/tcl/tcl8.6/msgs/hu.msg +54 -0
  2247. package/python/tcl/tcl8.6/msgs/id.msg +47 -0
  2248. package/python/tcl/tcl8.6/msgs/id_id.msg +6 -0
  2249. package/python/tcl/tcl8.6/msgs/is.msg +50 -0
  2250. package/python/tcl/tcl8.6/msgs/it.msg +54 -0
  2251. package/python/tcl/tcl8.6/msgs/it_ch.msg +6 -0
  2252. package/python/tcl/tcl8.6/msgs/ja.msg +44 -0
  2253. package/python/tcl/tcl8.6/msgs/kl.msg +47 -0
  2254. package/python/tcl/tcl8.6/msgs/kl_gl.msg +7 -0
  2255. package/python/tcl/tcl8.6/msgs/ko.msg +55 -0
  2256. package/python/tcl/tcl8.6/msgs/ko_kr.msg +8 -0
  2257. package/python/tcl/tcl8.6/msgs/kok.msg +39 -0
  2258. package/python/tcl/tcl8.6/msgs/kok_in.msg +6 -0
  2259. package/python/tcl/tcl8.6/msgs/kw.msg +47 -0
  2260. package/python/tcl/tcl8.6/msgs/kw_gb.msg +6 -0
  2261. package/python/tcl/tcl8.6/msgs/lt.msg +52 -0
  2262. package/python/tcl/tcl8.6/msgs/lv.msg +52 -0
  2263. package/python/tcl/tcl8.6/msgs/mk.msg +52 -0
  2264. package/python/tcl/tcl8.6/msgs/mr.msg +39 -0
  2265. package/python/tcl/tcl8.6/msgs/mr_in.msg +6 -0
  2266. package/python/tcl/tcl8.6/msgs/ms.msg +47 -0
  2267. package/python/tcl/tcl8.6/msgs/ms_my.msg +6 -0
  2268. package/python/tcl/tcl8.6/msgs/mt.msg +27 -0
  2269. package/python/tcl/tcl8.6/msgs/nb.msg +52 -0
  2270. package/python/tcl/tcl8.6/msgs/nl.msg +50 -0
  2271. package/python/tcl/tcl8.6/msgs/nl_be.msg +7 -0
  2272. package/python/tcl/tcl8.6/msgs/nn.msg +52 -0
  2273. package/python/tcl/tcl8.6/msgs/pl.msg +52 -0
  2274. package/python/tcl/tcl8.6/msgs/pt.msg +50 -0
  2275. package/python/tcl/tcl8.6/msgs/pt_br.msg +7 -0
  2276. package/python/tcl/tcl8.6/msgs/ro.msg +52 -0
  2277. package/python/tcl/tcl8.6/msgs/ru.msg +52 -0
  2278. package/python/tcl/tcl8.6/msgs/ru_ua.msg +6 -0
  2279. package/python/tcl/tcl8.6/msgs/sh.msg +52 -0
  2280. package/python/tcl/tcl8.6/msgs/sk.msg +52 -0
  2281. package/python/tcl/tcl8.6/msgs/sl.msg +52 -0
  2282. package/python/tcl/tcl8.6/msgs/sq.msg +54 -0
  2283. package/python/tcl/tcl8.6/msgs/sr.msg +52 -0
  2284. package/python/tcl/tcl8.6/msgs/sv.msg +52 -0
  2285. package/python/tcl/tcl8.6/msgs/sw.msg +49 -0
  2286. package/python/tcl/tcl8.6/msgs/ta.msg +39 -0
  2287. package/python/tcl/tcl8.6/msgs/ta_in.msg +6 -0
  2288. package/python/tcl/tcl8.6/msgs/te.msg +47 -0
  2289. package/python/tcl/tcl8.6/msgs/te_in.msg +8 -0
  2290. package/python/tcl/tcl8.6/msgs/th.msg +54 -0
  2291. package/python/tcl/tcl8.6/msgs/tr.msg +50 -0
  2292. package/python/tcl/tcl8.6/msgs/uk.msg +52 -0
  2293. package/python/tcl/tcl8.6/msgs/vi.msg +50 -0
  2294. package/python/tcl/tcl8.6/msgs/zh.msg +55 -0
  2295. package/python/tcl/tcl8.6/msgs/zh_cn.msg +7 -0
  2296. package/python/tcl/tcl8.6/msgs/zh_hk.msg +28 -0
  2297. package/python/tcl/tcl8.6/msgs/zh_sg.msg +8 -0
  2298. package/python/tcl/tcl8.6/msgs/zh_tw.msg +8 -0
  2299. package/python/tcl/tcl8.6/opt0.4/optparse.tcl +1072 -0
  2300. package/python/tcl/tcl8.6/opt0.4/pkgIndex.tcl +12 -0
  2301. package/python/tcl/tcl8.6/package.tcl +751 -0
  2302. package/python/tcl/tcl8.6/parray.tcl +28 -0
  2303. package/python/tcl/tcl8.6/safe.tcl +1289 -0
  2304. package/python/tcl/tcl8.6/tclIndex +78 -0
  2305. package/python/tcl/tcl8.6/tm.tcl +380 -0
  2306. package/python/tcl/tcl8.6/tzdata/Africa/Abidjan +6 -0
  2307. package/python/tcl/tcl8.6/tzdata/Africa/Accra +5 -0
  2308. package/python/tcl/tcl8.6/tzdata/Africa/Addis_Ababa +5 -0
  2309. package/python/tcl/tcl8.6/tzdata/Africa/Algiers +39 -0
  2310. package/python/tcl/tcl8.6/tzdata/Africa/Asmara +5 -0
  2311. package/python/tcl/tcl8.6/tzdata/Africa/Asmera +5 -0
  2312. package/python/tcl/tcl8.6/tzdata/Africa/Bamako +5 -0
  2313. package/python/tcl/tcl8.6/tzdata/Africa/Bangui +5 -0
  2314. package/python/tcl/tcl8.6/tzdata/Africa/Banjul +5 -0
  2315. package/python/tcl/tcl8.6/tzdata/Africa/Bissau +7 -0
  2316. package/python/tcl/tcl8.6/tzdata/Africa/Blantyre +5 -0
  2317. package/python/tcl/tcl8.6/tzdata/Africa/Brazzaville +5 -0
  2318. package/python/tcl/tcl8.6/tzdata/Africa/Bujumbura +5 -0
  2319. package/python/tcl/tcl8.6/tzdata/Africa/Cairo +132 -0
  2320. package/python/tcl/tcl8.6/tzdata/Africa/Casablanca +202 -0
  2321. package/python/tcl/tcl8.6/tzdata/Africa/Ceuta +259 -0
  2322. package/python/tcl/tcl8.6/tzdata/Africa/Conakry +5 -0
  2323. package/python/tcl/tcl8.6/tzdata/Africa/Dakar +5 -0
  2324. package/python/tcl/tcl8.6/tzdata/Africa/Dar_es_Salaam +5 -0
  2325. package/python/tcl/tcl8.6/tzdata/Africa/Djibouti +5 -0
  2326. package/python/tcl/tcl8.6/tzdata/Africa/Douala +5 -0
  2327. package/python/tcl/tcl8.6/tzdata/Africa/El_Aaiun +191 -0
  2328. package/python/tcl/tcl8.6/tzdata/Africa/Freetown +5 -0
  2329. package/python/tcl/tcl8.6/tzdata/Africa/Gaborone +5 -0
  2330. package/python/tcl/tcl8.6/tzdata/Africa/Harare +5 -0
  2331. package/python/tcl/tcl8.6/tzdata/Africa/Johannesburg +11 -0
  2332. package/python/tcl/tcl8.6/tzdata/Africa/Juba +40 -0
  2333. package/python/tcl/tcl8.6/tzdata/Africa/Kampala +5 -0
  2334. package/python/tcl/tcl8.6/tzdata/Africa/Khartoum +40 -0
  2335. package/python/tcl/tcl8.6/tzdata/Africa/Kigali +5 -0
  2336. package/python/tcl/tcl8.6/tzdata/Africa/Kinshasa +5 -0
  2337. package/python/tcl/tcl8.6/tzdata/Africa/Lagos +9 -0
  2338. package/python/tcl/tcl8.6/tzdata/Africa/Libreville +5 -0
  2339. package/python/tcl/tcl8.6/tzdata/Africa/Lome +5 -0
  2340. package/python/tcl/tcl8.6/tzdata/Africa/Luanda +5 -0
  2341. package/python/tcl/tcl8.6/tzdata/Africa/Lubumbashi +5 -0
  2342. package/python/tcl/tcl8.6/tzdata/Africa/Lusaka +5 -0
  2343. package/python/tcl/tcl8.6/tzdata/Africa/Malabo +5 -0
  2344. package/python/tcl/tcl8.6/tzdata/Africa/Maputo +6 -0
  2345. package/python/tcl/tcl8.6/tzdata/Africa/Maseru +5 -0
  2346. package/python/tcl/tcl8.6/tzdata/Africa/Mbabane +5 -0
  2347. package/python/tcl/tcl8.6/tzdata/Africa/Mogadishu +5 -0
  2348. package/python/tcl/tcl8.6/tzdata/Africa/Monrovia +8 -0
  2349. package/python/tcl/tcl8.6/tzdata/Africa/Nairobi +10 -0
  2350. package/python/tcl/tcl8.6/tzdata/Africa/Ndjamena +8 -0
  2351. package/python/tcl/tcl8.6/tzdata/Africa/Niamey +5 -0
  2352. package/python/tcl/tcl8.6/tzdata/Africa/Nouakchott +5 -0
  2353. package/python/tcl/tcl8.6/tzdata/Africa/Ouagadougou +5 -0
  2354. package/python/tcl/tcl8.6/tzdata/Africa/Porto-Novo +5 -0
  2355. package/python/tcl/tcl8.6/tzdata/Africa/Sao_Tome +9 -0
  2356. package/python/tcl/tcl8.6/tzdata/Africa/Timbuktu +5 -0
  2357. package/python/tcl/tcl8.6/tzdata/Africa/Tripoli +34 -0
  2358. package/python/tcl/tcl8.6/tzdata/Africa/Tunis +39 -0
  2359. package/python/tcl/tcl8.6/tzdata/Africa/Windhoek +58 -0
  2360. package/python/tcl/tcl8.6/tzdata/America/Adak +276 -0
  2361. package/python/tcl/tcl8.6/tzdata/America/Anchorage +275 -0
  2362. package/python/tcl/tcl8.6/tzdata/America/Anguilla +5 -0
  2363. package/python/tcl/tcl8.6/tzdata/America/Antigua +5 -0
  2364. package/python/tcl/tcl8.6/tzdata/America/Araguaina +60 -0
  2365. package/python/tcl/tcl8.6/tzdata/America/Argentina/Buenos_Aires +67 -0
  2366. package/python/tcl/tcl8.6/tzdata/America/Argentina/Catamarca +68 -0
  2367. package/python/tcl/tcl8.6/tzdata/America/Argentina/ComodRivadavia +5 -0
  2368. package/python/tcl/tcl8.6/tzdata/America/Argentina/Cordoba +67 -0
  2369. package/python/tcl/tcl8.6/tzdata/America/Argentina/Jujuy +67 -0
  2370. package/python/tcl/tcl8.6/tzdata/America/Argentina/La_Rioja +69 -0
  2371. package/python/tcl/tcl8.6/tzdata/America/Argentina/Mendoza +68 -0
  2372. package/python/tcl/tcl8.6/tzdata/America/Argentina/Rio_Gallegos +68 -0
  2373. package/python/tcl/tcl8.6/tzdata/America/Argentina/Salta +66 -0
  2374. package/python/tcl/tcl8.6/tzdata/America/Argentina/San_Juan +69 -0
  2375. package/python/tcl/tcl8.6/tzdata/America/Argentina/San_Luis +68 -0
  2376. package/python/tcl/tcl8.6/tzdata/America/Argentina/Tucuman +69 -0
  2377. package/python/tcl/tcl8.6/tzdata/America/Argentina/Ushuaia +68 -0
  2378. package/python/tcl/tcl8.6/tzdata/America/Aruba +5 -0
  2379. package/python/tcl/tcl8.6/tzdata/America/Asuncion +259 -0
  2380. package/python/tcl/tcl8.6/tzdata/America/Atikokan +5 -0
  2381. package/python/tcl/tcl8.6/tzdata/America/Atka +5 -0
  2382. package/python/tcl/tcl8.6/tzdata/America/Bahia +68 -0
  2383. package/python/tcl/tcl8.6/tzdata/America/Bahia_Banderas +222 -0
  2384. package/python/tcl/tcl8.6/tzdata/America/Barbados +22 -0
  2385. package/python/tcl/tcl8.6/tzdata/America/Belem +35 -0
  2386. package/python/tcl/tcl8.6/tzdata/America/Belize +103 -0
  2387. package/python/tcl/tcl8.6/tzdata/America/Blanc-Sablon +5 -0
  2388. package/python/tcl/tcl8.6/tzdata/America/Boa_Vista +40 -0
  2389. package/python/tcl/tcl8.6/tzdata/America/Bogota +9 -0
  2390. package/python/tcl/tcl8.6/tzdata/America/Boise +281 -0
  2391. package/python/tcl/tcl8.6/tzdata/America/Buenos_Aires +5 -0
  2392. package/python/tcl/tcl8.6/tzdata/America/Cambridge_Bay +252 -0
  2393. package/python/tcl/tcl8.6/tzdata/America/Campo_Grande +96 -0
  2394. package/python/tcl/tcl8.6/tzdata/America/Cancun +47 -0
  2395. package/python/tcl/tcl8.6/tzdata/America/Caracas +10 -0
  2396. package/python/tcl/tcl8.6/tzdata/America/Catamarca +5 -0
  2397. package/python/tcl/tcl8.6/tzdata/America/Cayenne +7 -0
  2398. package/python/tcl/tcl8.6/tzdata/America/Cayman +5 -0
  2399. package/python/tcl/tcl8.6/tzdata/America/Chicago +369 -0
  2400. package/python/tcl/tcl8.6/tzdata/America/Chihuahua +221 -0
  2401. package/python/tcl/tcl8.6/tzdata/America/Coral_Harbour +5 -0
  2402. package/python/tcl/tcl8.6/tzdata/America/Cordoba +5 -0
  2403. package/python/tcl/tcl8.6/tzdata/America/Costa_Rica +15 -0
  2404. package/python/tcl/tcl8.6/tzdata/America/Creston +5 -0
  2405. package/python/tcl/tcl8.6/tzdata/America/Cuiaba +96 -0
  2406. package/python/tcl/tcl8.6/tzdata/America/Curacao +5 -0
  2407. package/python/tcl/tcl8.6/tzdata/America/Danmarkshavn +39 -0
  2408. package/python/tcl/tcl8.6/tzdata/America/Dawson +98 -0
  2409. package/python/tcl/tcl8.6/tzdata/America/Dawson_Creek +64 -0
  2410. package/python/tcl/tcl8.6/tzdata/America/Denver +291 -0
  2411. package/python/tcl/tcl8.6/tzdata/America/Detroit +275 -0
  2412. package/python/tcl/tcl8.6/tzdata/America/Dominica +5 -0
  2413. package/python/tcl/tcl8.6/tzdata/America/Edmonton +280 -0
  2414. package/python/tcl/tcl8.6/tzdata/America/Eirunepe +41 -0
  2415. package/python/tcl/tcl8.6/tzdata/America/El_Salvador +10 -0
  2416. package/python/tcl/tcl8.6/tzdata/America/Ensenada +5 -0
  2417. package/python/tcl/tcl8.6/tzdata/America/Fort_Nelson +151 -0
  2418. package/python/tcl/tcl8.6/tzdata/America/Fort_Wayne +5 -0
  2419. package/python/tcl/tcl8.6/tzdata/America/Fortaleza +48 -0
  2420. package/python/tcl/tcl8.6/tzdata/America/Glace_Bay +273 -0
  2421. package/python/tcl/tcl8.6/tzdata/America/Godthab +5 -0
  2422. package/python/tcl/tcl8.6/tzdata/America/Goose_Bay +338 -0
  2423. package/python/tcl/tcl8.6/tzdata/America/Grand_Turk +245 -0
  2424. package/python/tcl/tcl8.6/tzdata/America/Grenada +5 -0
  2425. package/python/tcl/tcl8.6/tzdata/America/Guadeloupe +5 -0
  2426. package/python/tcl/tcl8.6/tzdata/America/Guatemala +14 -0
  2427. package/python/tcl/tcl8.6/tzdata/America/Guayaquil +9 -0
  2428. package/python/tcl/tcl8.6/tzdata/America/Guyana +9 -0
  2429. package/python/tcl/tcl8.6/tzdata/America/Halifax +361 -0
  2430. package/python/tcl/tcl8.6/tzdata/America/Havana +285 -0
  2431. package/python/tcl/tcl8.6/tzdata/America/Hermosillo +21 -0
  2432. package/python/tcl/tcl8.6/tzdata/America/Indiana/Indianapolis +234 -0
  2433. package/python/tcl/tcl8.6/tzdata/America/Indiana/Knox +285 -0
  2434. package/python/tcl/tcl8.6/tzdata/America/Indiana/Marengo +236 -0
  2435. package/python/tcl/tcl8.6/tzdata/America/Indiana/Petersburg +247 -0
  2436. package/python/tcl/tcl8.6/tzdata/America/Indiana/Tell_City +230 -0
  2437. package/python/tcl/tcl8.6/tzdata/America/Indiana/Vevay +213 -0
  2438. package/python/tcl/tcl8.6/tzdata/America/Indiana/Vincennes +234 -0
  2439. package/python/tcl/tcl8.6/tzdata/America/Indiana/Winamac +240 -0
  2440. package/python/tcl/tcl8.6/tzdata/America/Indianapolis +5 -0
  2441. package/python/tcl/tcl8.6/tzdata/America/Inuvik +249 -0
  2442. package/python/tcl/tcl8.6/tzdata/America/Iqaluit +250 -0
  2443. package/python/tcl/tcl8.6/tzdata/America/Jamaica +29 -0
  2444. package/python/tcl/tcl8.6/tzdata/America/Jujuy +5 -0
  2445. package/python/tcl/tcl8.6/tzdata/America/Juneau +276 -0
  2446. package/python/tcl/tcl8.6/tzdata/America/Kentucky/Louisville +311 -0
  2447. package/python/tcl/tcl8.6/tzdata/America/Kentucky/Monticello +279 -0
  2448. package/python/tcl/tcl8.6/tzdata/America/Knox_IN +5 -0
  2449. package/python/tcl/tcl8.6/tzdata/America/Kralendijk +5 -0
  2450. package/python/tcl/tcl8.6/tzdata/America/La_Paz +8 -0
  2451. package/python/tcl/tcl8.6/tzdata/America/Lima +16 -0
  2452. package/python/tcl/tcl8.6/tzdata/America/Los_Angeles +317 -0
  2453. package/python/tcl/tcl8.6/tzdata/America/Louisville +5 -0
  2454. package/python/tcl/tcl8.6/tzdata/America/Lower_Princes +5 -0
  2455. package/python/tcl/tcl8.6/tzdata/America/Maceio +52 -0
  2456. package/python/tcl/tcl8.6/tzdata/America/Managua +21 -0
  2457. package/python/tcl/tcl8.6/tzdata/America/Manaus +39 -0
  2458. package/python/tcl/tcl8.6/tzdata/America/Marigot +5 -0
  2459. package/python/tcl/tcl8.6/tzdata/America/Martinique +9 -0
  2460. package/python/tcl/tcl8.6/tzdata/America/Matamoros +219 -0
  2461. package/python/tcl/tcl8.6/tzdata/America/Mazatlan +222 -0
  2462. package/python/tcl/tcl8.6/tzdata/America/Mendoza +5 -0
  2463. package/python/tcl/tcl8.6/tzdata/America/Menominee +274 -0
  2464. package/python/tcl/tcl8.6/tzdata/America/Merida +216 -0
  2465. package/python/tcl/tcl8.6/tzdata/America/Metlakatla +213 -0
  2466. package/python/tcl/tcl8.6/tzdata/America/Mexico_City +228 -0
  2467. package/python/tcl/tcl8.6/tzdata/America/Miquelon +234 -0
  2468. package/python/tcl/tcl8.6/tzdata/America/Moncton +342 -0
  2469. package/python/tcl/tcl8.6/tzdata/America/Monterrey +218 -0
  2470. package/python/tcl/tcl8.6/tzdata/America/Montevideo +96 -0
  2471. package/python/tcl/tcl8.6/tzdata/America/Montreal +5 -0
  2472. package/python/tcl/tcl8.6/tzdata/America/Montserrat +5 -0
  2473. package/python/tcl/tcl8.6/tzdata/America/Nassau +5 -0
  2474. package/python/tcl/tcl8.6/tzdata/America/New_York +369 -0
  2475. package/python/tcl/tcl8.6/tzdata/America/Nipigon +264 -0
  2476. package/python/tcl/tcl8.6/tzdata/America/Nome +276 -0
  2477. package/python/tcl/tcl8.6/tzdata/America/Noronha +48 -0
  2478. package/python/tcl/tcl8.6/tzdata/America/North_Dakota/Beulah +279 -0
  2479. package/python/tcl/tcl8.6/tzdata/America/North_Dakota/Center +279 -0
  2480. package/python/tcl/tcl8.6/tzdata/America/North_Dakota/New_Salem +279 -0
  2481. package/python/tcl/tcl8.6/tzdata/America/Nuuk +246 -0
  2482. package/python/tcl/tcl8.6/tzdata/America/Ojinaga +222 -0
  2483. package/python/tcl/tcl8.6/tzdata/America/Panama +7 -0
  2484. package/python/tcl/tcl8.6/tzdata/America/Pangnirtung +252 -0
  2485. package/python/tcl/tcl8.6/tzdata/America/Paramaribo +9 -0
  2486. package/python/tcl/tcl8.6/tzdata/America/Phoenix +17 -0
  2487. package/python/tcl/tcl8.6/tzdata/America/Port-au-Prince +215 -0
  2488. package/python/tcl/tcl8.6/tzdata/America/Port_of_Spain +5 -0
  2489. package/python/tcl/tcl8.6/tzdata/America/Porto_Acre +5 -0
  2490. package/python/tcl/tcl8.6/tzdata/America/Porto_Velho +35 -0
  2491. package/python/tcl/tcl8.6/tzdata/America/Puerto_Rico +10 -0
  2492. package/python/tcl/tcl8.6/tzdata/America/Punta_Arenas +122 -0
  2493. package/python/tcl/tcl8.6/tzdata/America/Rainy_River +264 -0
  2494. package/python/tcl/tcl8.6/tzdata/America/Rankin_Inlet +248 -0
  2495. package/python/tcl/tcl8.6/tzdata/America/Recife +48 -0
  2496. package/python/tcl/tcl8.6/tzdata/America/Regina +58 -0
  2497. package/python/tcl/tcl8.6/tzdata/America/Resolute +248 -0
  2498. package/python/tcl/tcl8.6/tzdata/America/Rio_Branco +37 -0
  2499. package/python/tcl/tcl8.6/tzdata/America/Rosario +5 -0
  2500. package/python/tcl/tcl8.6/tzdata/America/Santa_Isabel +5 -0
  2501. package/python/tcl/tcl8.6/tzdata/America/Santarem +36 -0
  2502. package/python/tcl/tcl8.6/tzdata/America/Santiago +289 -0
  2503. package/python/tcl/tcl8.6/tzdata/America/Santo_Domingo +21 -0
  2504. package/python/tcl/tcl8.6/tzdata/America/Sao_Paulo +97 -0
  2505. package/python/tcl/tcl8.6/tzdata/America/Scoresbysund +246 -0
  2506. package/python/tcl/tcl8.6/tzdata/America/Shiprock +5 -0
  2507. package/python/tcl/tcl8.6/tzdata/America/Sitka +275 -0
  2508. package/python/tcl/tcl8.6/tzdata/America/St_Barthelemy +5 -0
  2509. package/python/tcl/tcl8.6/tzdata/America/St_Johns +372 -0
  2510. package/python/tcl/tcl8.6/tzdata/America/St_Kitts +5 -0
  2511. package/python/tcl/tcl8.6/tzdata/America/St_Lucia +5 -0
  2512. package/python/tcl/tcl8.6/tzdata/America/St_Thomas +5 -0
  2513. package/python/tcl/tcl8.6/tzdata/America/St_Vincent +5 -0
  2514. package/python/tcl/tcl8.6/tzdata/America/Swift_Current +29 -0
  2515. package/python/tcl/tcl8.6/tzdata/America/Tegucigalpa +12 -0
  2516. package/python/tcl/tcl8.6/tzdata/America/Thule +224 -0
  2517. package/python/tcl/tcl8.6/tzdata/America/Thunder_Bay +272 -0
  2518. package/python/tcl/tcl8.6/tzdata/America/Tijuana +285 -0
  2519. package/python/tcl/tcl8.6/tzdata/America/Toronto +365 -0
  2520. package/python/tcl/tcl8.6/tzdata/America/Tortola +5 -0
  2521. package/python/tcl/tcl8.6/tzdata/America/Vancouver +320 -0
  2522. package/python/tcl/tcl8.6/tzdata/America/Virgin +5 -0
  2523. package/python/tcl/tcl8.6/tzdata/America/Whitehorse +98 -0
  2524. package/python/tcl/tcl8.6/tzdata/America/Winnipeg +316 -0
  2525. package/python/tcl/tcl8.6/tzdata/America/Yakutat +276 -0
  2526. package/python/tcl/tcl8.6/tzdata/America/Yellowknife +252 -0
  2527. package/python/tcl/tcl8.6/tzdata/Antarctica/Casey +17 -0
  2528. package/python/tcl/tcl8.6/tzdata/Antarctica/Davis +12 -0
  2529. package/python/tcl/tcl8.6/tzdata/Antarctica/DumontDUrville +5 -0
  2530. package/python/tcl/tcl8.6/tzdata/Antarctica/Macquarie +276 -0
  2531. package/python/tcl/tcl8.6/tzdata/Antarctica/Mawson +7 -0
  2532. package/python/tcl/tcl8.6/tzdata/Antarctica/McMurdo +5 -0
  2533. package/python/tcl/tcl8.6/tzdata/Antarctica/Palmer +87 -0
  2534. package/python/tcl/tcl8.6/tzdata/Antarctica/Rothera +6 -0
  2535. package/python/tcl/tcl8.6/tzdata/Antarctica/South_Pole +5 -0
  2536. package/python/tcl/tcl8.6/tzdata/Antarctica/Syowa +5 -0
  2537. package/python/tcl/tcl8.6/tzdata/Antarctica/Troll +196 -0
  2538. package/python/tcl/tcl8.6/tzdata/Antarctica/Vostok +6 -0
  2539. package/python/tcl/tcl8.6/tzdata/Arctic/Longyearbyen +5 -0
  2540. package/python/tcl/tcl8.6/tzdata/Asia/Aden +5 -0
  2541. package/python/tcl/tcl8.6/tzdata/Asia/Almaty +57 -0
  2542. package/python/tcl/tcl8.6/tzdata/Asia/Amman +246 -0
  2543. package/python/tcl/tcl8.6/tzdata/Asia/Anadyr +72 -0
  2544. package/python/tcl/tcl8.6/tzdata/Asia/Aqtau +58 -0
  2545. package/python/tcl/tcl8.6/tzdata/Asia/Aqtobe +58 -0
  2546. package/python/tcl/tcl8.6/tzdata/Asia/Ashgabat +31 -0
  2547. package/python/tcl/tcl8.6/tzdata/Asia/Ashkhabad +5 -0
  2548. package/python/tcl/tcl8.6/tzdata/Asia/Atyrau +58 -0
  2549. package/python/tcl/tcl8.6/tzdata/Asia/Baghdad +59 -0
  2550. package/python/tcl/tcl8.6/tzdata/Asia/Bahrain +5 -0
  2551. package/python/tcl/tcl8.6/tzdata/Asia/Baku +74 -0
  2552. package/python/tcl/tcl8.6/tzdata/Asia/Bangkok +7 -0
  2553. package/python/tcl/tcl8.6/tzdata/Asia/Barnaul +73 -0
  2554. package/python/tcl/tcl8.6/tzdata/Asia/Beirut +270 -0
  2555. package/python/tcl/tcl8.6/tzdata/Asia/Bishkek +58 -0
  2556. package/python/tcl/tcl8.6/tzdata/Asia/Brunei +7 -0
  2557. package/python/tcl/tcl8.6/tzdata/Asia/Calcutta +5 -0
  2558. package/python/tcl/tcl8.6/tzdata/Asia/Chita +72 -0
  2559. package/python/tcl/tcl8.6/tzdata/Asia/Choibalsan +56 -0
  2560. package/python/tcl/tcl8.6/tzdata/Asia/Chongqing +5 -0
  2561. package/python/tcl/tcl8.6/tzdata/Asia/Chungking +5 -0
  2562. package/python/tcl/tcl8.6/tzdata/Asia/Colombo +13 -0
  2563. package/python/tcl/tcl8.6/tzdata/Asia/Dacca +5 -0
  2564. package/python/tcl/tcl8.6/tzdata/Asia/Damascus +280 -0
  2565. package/python/tcl/tcl8.6/tzdata/Asia/Dhaka +13 -0
  2566. package/python/tcl/tcl8.6/tzdata/Asia/Dili +9 -0
  2567. package/python/tcl/tcl8.6/tzdata/Asia/Dubai +6 -0
  2568. package/python/tcl/tcl8.6/tzdata/Asia/Dushanbe +29 -0
  2569. package/python/tcl/tcl8.6/tzdata/Asia/Famagusta +256 -0
  2570. package/python/tcl/tcl8.6/tzdata/Asia/Gaza +284 -0
  2571. package/python/tcl/tcl8.6/tzdata/Asia/Harbin +5 -0
  2572. package/python/tcl/tcl8.6/tzdata/Asia/Hebron +283 -0
  2573. package/python/tcl/tcl8.6/tzdata/Asia/Ho_Chi_Minh +14 -0
  2574. package/python/tcl/tcl8.6/tzdata/Asia/Hong_Kong +75 -0
  2575. package/python/tcl/tcl8.6/tzdata/Asia/Hovd +55 -0
  2576. package/python/tcl/tcl8.6/tzdata/Asia/Irkutsk +72 -0
  2577. package/python/tcl/tcl8.6/tzdata/Asia/Istanbul +5 -0
  2578. package/python/tcl/tcl8.6/tzdata/Asia/Jakarta +13 -0
  2579. package/python/tcl/tcl8.6/tzdata/Asia/Jayapura +8 -0
  2580. package/python/tcl/tcl8.6/tzdata/Asia/Jerusalem +278 -0
  2581. package/python/tcl/tcl8.6/tzdata/Asia/Kabul +7 -0
  2582. package/python/tcl/tcl8.6/tzdata/Asia/Kamchatka +71 -0
  2583. package/python/tcl/tcl8.6/tzdata/Asia/Karachi +16 -0
  2584. package/python/tcl/tcl8.6/tzdata/Asia/Kashgar +5 -0
  2585. package/python/tcl/tcl8.6/tzdata/Asia/Kathmandu +7 -0
  2586. package/python/tcl/tcl8.6/tzdata/Asia/Katmandu +5 -0
  2587. package/python/tcl/tcl8.6/tzdata/Asia/Khandyga +73 -0
  2588. package/python/tcl/tcl8.6/tzdata/Asia/Kolkata +12 -0
  2589. package/python/tcl/tcl8.6/tzdata/Asia/Krasnoyarsk +71 -0
  2590. package/python/tcl/tcl8.6/tzdata/Asia/Kuala_Lumpur +13 -0
  2591. package/python/tcl/tcl8.6/tzdata/Asia/Kuching +23 -0
  2592. package/python/tcl/tcl8.6/tzdata/Asia/Kuwait +5 -0
  2593. package/python/tcl/tcl8.6/tzdata/Asia/Macao +5 -0
  2594. package/python/tcl/tcl8.6/tzdata/Asia/Macau +76 -0
  2595. package/python/tcl/tcl8.6/tzdata/Asia/Magadan +72 -0
  2596. package/python/tcl/tcl8.6/tzdata/Asia/Makassar +9 -0
  2597. package/python/tcl/tcl8.6/tzdata/Asia/Manila +15 -0
  2598. package/python/tcl/tcl8.6/tzdata/Asia/Muscat +5 -0
  2599. package/python/tcl/tcl8.6/tzdata/Asia/Nicosia +257 -0
  2600. package/python/tcl/tcl8.6/tzdata/Asia/Novokuznetsk +71 -0
  2601. package/python/tcl/tcl8.6/tzdata/Asia/Novosibirsk +73 -0
  2602. package/python/tcl/tcl8.6/tzdata/Asia/Omsk +71 -0
  2603. package/python/tcl/tcl8.6/tzdata/Asia/Oral +58 -0
  2604. package/python/tcl/tcl8.6/tzdata/Asia/Phnom_Penh +5 -0
  2605. package/python/tcl/tcl8.6/tzdata/Asia/Pontianak +13 -0
  2606. package/python/tcl/tcl8.6/tzdata/Asia/Pyongyang +10 -0
  2607. package/python/tcl/tcl8.6/tzdata/Asia/Qatar +7 -0
  2608. package/python/tcl/tcl8.6/tzdata/Asia/Qostanay +58 -0
  2609. package/python/tcl/tcl8.6/tzdata/Asia/Qyzylorda +58 -0
  2610. package/python/tcl/tcl8.6/tzdata/Asia/Rangoon +5 -0
  2611. package/python/tcl/tcl8.6/tzdata/Asia/Riyadh +6 -0
  2612. package/python/tcl/tcl8.6/tzdata/Asia/Saigon +5 -0
  2613. package/python/tcl/tcl8.6/tzdata/Asia/Sakhalin +73 -0
  2614. package/python/tcl/tcl8.6/tzdata/Asia/Samarkand +31 -0
  2615. package/python/tcl/tcl8.6/tzdata/Asia/Seoul +34 -0
  2616. package/python/tcl/tcl8.6/tzdata/Asia/Shanghai +34 -0
  2617. package/python/tcl/tcl8.6/tzdata/Asia/Singapore +13 -0
  2618. package/python/tcl/tcl8.6/tzdata/Asia/Srednekolymsk +71 -0
  2619. package/python/tcl/tcl8.6/tzdata/Asia/Taipei +46 -0
  2620. package/python/tcl/tcl8.6/tzdata/Asia/Tashkent +31 -0
  2621. package/python/tcl/tcl8.6/tzdata/Asia/Tbilisi +60 -0
  2622. package/python/tcl/tcl8.6/tzdata/Asia/Tehran +229 -0
  2623. package/python/tcl/tcl8.6/tzdata/Asia/Tel_Aviv +5 -0
  2624. package/python/tcl/tcl8.6/tzdata/Asia/Thimbu +5 -0
  2625. package/python/tcl/tcl8.6/tzdata/Asia/Thimphu +7 -0
  2626. package/python/tcl/tcl8.6/tzdata/Asia/Tokyo +14 -0
  2627. package/python/tcl/tcl8.6/tzdata/Asia/Tomsk +73 -0
  2628. package/python/tcl/tcl8.6/tzdata/Asia/Ujung_Pandang +5 -0
  2629. package/python/tcl/tcl8.6/tzdata/Asia/Ulaanbaatar +55 -0
  2630. package/python/tcl/tcl8.6/tzdata/Asia/Ulan_Bator +5 -0
  2631. package/python/tcl/tcl8.6/tzdata/Asia/Urumqi +6 -0
  2632. package/python/tcl/tcl8.6/tzdata/Asia/Ust-Nera +71 -0
  2633. package/python/tcl/tcl8.6/tzdata/Asia/Vientiane +5 -0
  2634. package/python/tcl/tcl8.6/tzdata/Asia/Vladivostok +71 -0
  2635. package/python/tcl/tcl8.6/tzdata/Asia/Yakutsk +71 -0
  2636. package/python/tcl/tcl8.6/tzdata/Asia/Yangon +9 -0
  2637. package/python/tcl/tcl8.6/tzdata/Asia/Yekaterinburg +72 -0
  2638. package/python/tcl/tcl8.6/tzdata/Asia/Yerevan +70 -0
  2639. package/python/tcl/tcl8.6/tzdata/Atlantic/Azores +347 -0
  2640. package/python/tcl/tcl8.6/tzdata/Atlantic/Bermuda +286 -0
  2641. package/python/tcl/tcl8.6/tzdata/Atlantic/Canary +247 -0
  2642. package/python/tcl/tcl8.6/tzdata/Atlantic/Cape_Verde +9 -0
  2643. package/python/tcl/tcl8.6/tzdata/Atlantic/Faeroe +5 -0
  2644. package/python/tcl/tcl8.6/tzdata/Atlantic/Faroe +245 -0
  2645. package/python/tcl/tcl8.6/tzdata/Atlantic/Jan_Mayen +5 -0
  2646. package/python/tcl/tcl8.6/tzdata/Atlantic/Madeira +348 -0
  2647. package/python/tcl/tcl8.6/tzdata/Atlantic/Reykjavik +73 -0
  2648. package/python/tcl/tcl8.6/tzdata/Atlantic/South_Georgia +6 -0
  2649. package/python/tcl/tcl8.6/tzdata/Atlantic/St_Helena +5 -0
  2650. package/python/tcl/tcl8.6/tzdata/Atlantic/Stanley +75 -0
  2651. package/python/tcl/tcl8.6/tzdata/Australia/ACT +5 -0
  2652. package/python/tcl/tcl8.6/tzdata/Australia/Adelaide +273 -0
  2653. package/python/tcl/tcl8.6/tzdata/Australia/Brisbane +23 -0
  2654. package/python/tcl/tcl8.6/tzdata/Australia/Broken_Hill +275 -0
  2655. package/python/tcl/tcl8.6/tzdata/Australia/Canberra +5 -0
  2656. package/python/tcl/tcl8.6/tzdata/Australia/Currie +5 -0
  2657. package/python/tcl/tcl8.6/tzdata/Australia/Darwin +15 -0
  2658. package/python/tcl/tcl8.6/tzdata/Australia/Eucla +25 -0
  2659. package/python/tcl/tcl8.6/tzdata/Australia/Hobart +285 -0
  2660. package/python/tcl/tcl8.6/tzdata/Australia/LHI +5 -0
  2661. package/python/tcl/tcl8.6/tzdata/Australia/Lindeman +28 -0
  2662. package/python/tcl/tcl8.6/tzdata/Australia/Lord_Howe +245 -0
  2663. package/python/tcl/tcl8.6/tzdata/Australia/Melbourne +272 -0
  2664. package/python/tcl/tcl8.6/tzdata/Australia/NSW +5 -0
  2665. package/python/tcl/tcl8.6/tzdata/Australia/North +5 -0
  2666. package/python/tcl/tcl8.6/tzdata/Australia/Perth +25 -0
  2667. package/python/tcl/tcl8.6/tzdata/Australia/Queensland +5 -0
  2668. package/python/tcl/tcl8.6/tzdata/Australia/South +5 -0
  2669. package/python/tcl/tcl8.6/tzdata/Australia/Sydney +272 -0
  2670. package/python/tcl/tcl8.6/tzdata/Australia/Tasmania +5 -0
  2671. package/python/tcl/tcl8.6/tzdata/Australia/Victoria +5 -0
  2672. package/python/tcl/tcl8.6/tzdata/Australia/West +5 -0
  2673. package/python/tcl/tcl8.6/tzdata/Australia/Yancowinna +5 -0
  2674. package/python/tcl/tcl8.6/tzdata/Brazil/Acre +5 -0
  2675. package/python/tcl/tcl8.6/tzdata/Brazil/DeNoronha +5 -0
  2676. package/python/tcl/tcl8.6/tzdata/Brazil/East +5 -0
  2677. package/python/tcl/tcl8.6/tzdata/Brazil/West +5 -0
  2678. package/python/tcl/tcl8.6/tzdata/CET +265 -0
  2679. package/python/tcl/tcl8.6/tzdata/CST6CDT +278 -0
  2680. package/python/tcl/tcl8.6/tzdata/Canada/Atlantic +5 -0
  2681. package/python/tcl/tcl8.6/tzdata/Canada/Central +5 -0
  2682. package/python/tcl/tcl8.6/tzdata/Canada/East-Saskatchewan +5 -0
  2683. package/python/tcl/tcl8.6/tzdata/Canada/Eastern +5 -0
  2684. package/python/tcl/tcl8.6/tzdata/Canada/Mountain +5 -0
  2685. package/python/tcl/tcl8.6/tzdata/Canada/Newfoundland +5 -0
  2686. package/python/tcl/tcl8.6/tzdata/Canada/Pacific +5 -0
  2687. package/python/tcl/tcl8.6/tzdata/Canada/Saskatchewan +5 -0
  2688. package/python/tcl/tcl8.6/tzdata/Canada/Yukon +5 -0
  2689. package/python/tcl/tcl8.6/tzdata/Chile/Continental +5 -0
  2690. package/python/tcl/tcl8.6/tzdata/Chile/EasterIsland +5 -0
  2691. package/python/tcl/tcl8.6/tzdata/Cuba +5 -0
  2692. package/python/tcl/tcl8.6/tzdata/EET +251 -0
  2693. package/python/tcl/tcl8.6/tzdata/EST +5 -0
  2694. package/python/tcl/tcl8.6/tzdata/EST5EDT +278 -0
  2695. package/python/tcl/tcl8.6/tzdata/Egypt +5 -0
  2696. package/python/tcl/tcl8.6/tzdata/Eire +5 -0
  2697. package/python/tcl/tcl8.6/tzdata/Etc/GMT +5 -0
  2698. package/python/tcl/tcl8.6/tzdata/Etc/GMT+0 +5 -0
  2699. package/python/tcl/tcl8.6/tzdata/Etc/GMT+1 +5 -0
  2700. package/python/tcl/tcl8.6/tzdata/Etc/GMT+10 +5 -0
  2701. package/python/tcl/tcl8.6/tzdata/Etc/GMT+11 +5 -0
  2702. package/python/tcl/tcl8.6/tzdata/Etc/GMT+12 +5 -0
  2703. package/python/tcl/tcl8.6/tzdata/Etc/GMT+2 +5 -0
  2704. package/python/tcl/tcl8.6/tzdata/Etc/GMT+3 +5 -0
  2705. package/python/tcl/tcl8.6/tzdata/Etc/GMT+4 +5 -0
  2706. package/python/tcl/tcl8.6/tzdata/Etc/GMT+5 +5 -0
  2707. package/python/tcl/tcl8.6/tzdata/Etc/GMT+6 +5 -0
  2708. package/python/tcl/tcl8.6/tzdata/Etc/GMT+7 +5 -0
  2709. package/python/tcl/tcl8.6/tzdata/Etc/GMT+8 +5 -0
  2710. package/python/tcl/tcl8.6/tzdata/Etc/GMT+9 +5 -0
  2711. package/python/tcl/tcl8.6/tzdata/Etc/GMT-0 +5 -0
  2712. package/python/tcl/tcl8.6/tzdata/Etc/GMT-1 +5 -0
  2713. package/python/tcl/tcl8.6/tzdata/Etc/GMT-10 +5 -0
  2714. package/python/tcl/tcl8.6/tzdata/Etc/GMT-11 +5 -0
  2715. package/python/tcl/tcl8.6/tzdata/Etc/GMT-12 +5 -0
  2716. package/python/tcl/tcl8.6/tzdata/Etc/GMT-13 +5 -0
  2717. package/python/tcl/tcl8.6/tzdata/Etc/GMT-14 +5 -0
  2718. package/python/tcl/tcl8.6/tzdata/Etc/GMT-2 +5 -0
  2719. package/python/tcl/tcl8.6/tzdata/Etc/GMT-3 +5 -0
  2720. package/python/tcl/tcl8.6/tzdata/Etc/GMT-4 +5 -0
  2721. package/python/tcl/tcl8.6/tzdata/Etc/GMT-5 +5 -0
  2722. package/python/tcl/tcl8.6/tzdata/Etc/GMT-6 +5 -0
  2723. package/python/tcl/tcl8.6/tzdata/Etc/GMT-7 +5 -0
  2724. package/python/tcl/tcl8.6/tzdata/Etc/GMT-8 +5 -0
  2725. package/python/tcl/tcl8.6/tzdata/Etc/GMT-9 +5 -0
  2726. package/python/tcl/tcl8.6/tzdata/Etc/GMT0 +5 -0
  2727. package/python/tcl/tcl8.6/tzdata/Etc/Greenwich +5 -0
  2728. package/python/tcl/tcl8.6/tzdata/Etc/UCT +5 -0
  2729. package/python/tcl/tcl8.6/tzdata/Etc/UTC +5 -0
  2730. package/python/tcl/tcl8.6/tzdata/Etc/Universal +5 -0
  2731. package/python/tcl/tcl8.6/tzdata/Etc/Zulu +5 -0
  2732. package/python/tcl/tcl8.6/tzdata/Europe/Amsterdam +310 -0
  2733. package/python/tcl/tcl8.6/tzdata/Europe/Andorra +237 -0
  2734. package/python/tcl/tcl8.6/tzdata/Europe/Astrakhan +71 -0
  2735. package/python/tcl/tcl8.6/tzdata/Europe/Athens +268 -0
  2736. package/python/tcl/tcl8.6/tzdata/Europe/Belfast +5 -0
  2737. package/python/tcl/tcl8.6/tzdata/Europe/Belgrade +250 -0
  2738. package/python/tcl/tcl8.6/tzdata/Europe/Berlin +274 -0
  2739. package/python/tcl/tcl8.6/tzdata/Europe/Bratislava +5 -0
  2740. package/python/tcl/tcl8.6/tzdata/Europe/Brussels +316 -0
  2741. package/python/tcl/tcl8.6/tzdata/Europe/Bucharest +268 -0
  2742. package/python/tcl/tcl8.6/tzdata/Europe/Budapest +283 -0
  2743. package/python/tcl/tcl8.6/tzdata/Europe/Busingen +5 -0
  2744. package/python/tcl/tcl8.6/tzdata/Europe/Chisinau +272 -0
  2745. package/python/tcl/tcl8.6/tzdata/Europe/Copenhagen +264 -0
  2746. package/python/tcl/tcl8.6/tzdata/Europe/Dublin +358 -0
  2747. package/python/tcl/tcl8.6/tzdata/Europe/Gibraltar +328 -0
  2748. package/python/tcl/tcl8.6/tzdata/Europe/Guernsey +5 -0
  2749. package/python/tcl/tcl8.6/tzdata/Europe/Helsinki +248 -0
  2750. package/python/tcl/tcl8.6/tzdata/Europe/Isle_of_Man +5 -0
  2751. package/python/tcl/tcl8.6/tzdata/Europe/Istanbul +125 -0
  2752. package/python/tcl/tcl8.6/tzdata/Europe/Jersey +5 -0
  2753. package/python/tcl/tcl8.6/tzdata/Europe/Kaliningrad +86 -0
  2754. package/python/tcl/tcl8.6/tzdata/Europe/Kiev +251 -0
  2755. package/python/tcl/tcl8.6/tzdata/Europe/Kirov +70 -0
  2756. package/python/tcl/tcl8.6/tzdata/Europe/Lisbon +353 -0
  2757. package/python/tcl/tcl8.6/tzdata/Europe/Ljubljana +5 -0
  2758. package/python/tcl/tcl8.6/tzdata/Europe/London +372 -0
  2759. package/python/tcl/tcl8.6/tzdata/Europe/Luxembourg +313 -0
  2760. package/python/tcl/tcl8.6/tzdata/Europe/Madrid +292 -0
  2761. package/python/tcl/tcl8.6/tzdata/Europe/Malta +299 -0
  2762. package/python/tcl/tcl8.6/tzdata/Europe/Mariehamn +5 -0
  2763. package/python/tcl/tcl8.6/tzdata/Europe/Minsk +75 -0
  2764. package/python/tcl/tcl8.6/tzdata/Europe/Monaco +315 -0
  2765. package/python/tcl/tcl8.6/tzdata/Europe/Moscow +83 -0
  2766. package/python/tcl/tcl8.6/tzdata/Europe/Nicosia +5 -0
  2767. package/python/tcl/tcl8.6/tzdata/Europe/Oslo +271 -0
  2768. package/python/tcl/tcl8.6/tzdata/Europe/Paris +314 -0
  2769. package/python/tcl/tcl8.6/tzdata/Europe/Podgorica +5 -0
  2770. package/python/tcl/tcl8.6/tzdata/Europe/Prague +275 -0
  2771. package/python/tcl/tcl8.6/tzdata/Europe/Riga +258 -0
  2772. package/python/tcl/tcl8.6/tzdata/Europe/Rome +302 -0
  2773. package/python/tcl/tcl8.6/tzdata/Europe/Samara +73 -0
  2774. package/python/tcl/tcl8.6/tzdata/Europe/San_Marino +5 -0
  2775. package/python/tcl/tcl8.6/tzdata/Europe/Sarajevo +5 -0
  2776. package/python/tcl/tcl8.6/tzdata/Europe/Saratov +71 -0
  2777. package/python/tcl/tcl8.6/tzdata/Europe/Simferopol +82 -0
  2778. package/python/tcl/tcl8.6/tzdata/Europe/Skopje +5 -0
  2779. package/python/tcl/tcl8.6/tzdata/Europe/Sofia +258 -0
  2780. package/python/tcl/tcl8.6/tzdata/Europe/Stockholm +250 -0
  2781. package/python/tcl/tcl8.6/tzdata/Europe/Tallinn +254 -0
  2782. package/python/tcl/tcl8.6/tzdata/Europe/Tirane +263 -0
  2783. package/python/tcl/tcl8.6/tzdata/Europe/Tiraspol +5 -0
  2784. package/python/tcl/tcl8.6/tzdata/Europe/Ulyanovsk +73 -0
  2785. package/python/tcl/tcl8.6/tzdata/Europe/Uzhgorod +254 -0
  2786. package/python/tcl/tcl8.6/tzdata/Europe/Vaduz +5 -0
  2787. package/python/tcl/tcl8.6/tzdata/Europe/Vatican +5 -0
  2788. package/python/tcl/tcl8.6/tzdata/Europe/Vienna +271 -0
  2789. package/python/tcl/tcl8.6/tzdata/Europe/Vilnius +252 -0
  2790. package/python/tcl/tcl8.6/tzdata/Europe/Volgograd +73 -0
  2791. package/python/tcl/tcl8.6/tzdata/Europe/Warsaw +296 -0
  2792. package/python/tcl/tcl8.6/tzdata/Europe/Zagreb +5 -0
  2793. package/python/tcl/tcl8.6/tzdata/Europe/Zaporozhye +252 -0
  2794. package/python/tcl/tcl8.6/tzdata/Europe/Zurich +250 -0
  2795. package/python/tcl/tcl8.6/tzdata/GB +5 -0
  2796. package/python/tcl/tcl8.6/tzdata/GB-Eire +5 -0
  2797. package/python/tcl/tcl8.6/tzdata/GMT +5 -0
  2798. package/python/tcl/tcl8.6/tzdata/GMT+0 +5 -0
  2799. package/python/tcl/tcl8.6/tzdata/GMT-0 +5 -0
  2800. package/python/tcl/tcl8.6/tzdata/GMT0 +5 -0
  2801. package/python/tcl/tcl8.6/tzdata/Greenwich +5 -0
  2802. package/python/tcl/tcl8.6/tzdata/HST +5 -0
  2803. package/python/tcl/tcl8.6/tzdata/Hongkong +5 -0
  2804. package/python/tcl/tcl8.6/tzdata/Iceland +5 -0
  2805. package/python/tcl/tcl8.6/tzdata/Indian/Antananarivo +5 -0
  2806. package/python/tcl/tcl8.6/tzdata/Indian/Chagos +7 -0
  2807. package/python/tcl/tcl8.6/tzdata/Indian/Christmas +6 -0
  2808. package/python/tcl/tcl8.6/tzdata/Indian/Cocos +6 -0
  2809. package/python/tcl/tcl8.6/tzdata/Indian/Comoro +5 -0
  2810. package/python/tcl/tcl8.6/tzdata/Indian/Kerguelen +6 -0
  2811. package/python/tcl/tcl8.6/tzdata/Indian/Mahe +6 -0
  2812. package/python/tcl/tcl8.6/tzdata/Indian/Maldives +7 -0
  2813. package/python/tcl/tcl8.6/tzdata/Indian/Mauritius +10 -0
  2814. package/python/tcl/tcl8.6/tzdata/Indian/Mayotte +5 -0
  2815. package/python/tcl/tcl8.6/tzdata/Indian/Reunion +6 -0
  2816. package/python/tcl/tcl8.6/tzdata/Iran +5 -0
  2817. package/python/tcl/tcl8.6/tzdata/Israel +5 -0
  2818. package/python/tcl/tcl8.6/tzdata/Jamaica +5 -0
  2819. package/python/tcl/tcl8.6/tzdata/Japan +5 -0
  2820. package/python/tcl/tcl8.6/tzdata/Kwajalein +5 -0
  2821. package/python/tcl/tcl8.6/tzdata/Libya +5 -0
  2822. package/python/tcl/tcl8.6/tzdata/MET +265 -0
  2823. package/python/tcl/tcl8.6/tzdata/MST +5 -0
  2824. package/python/tcl/tcl8.6/tzdata/MST7MDT +278 -0
  2825. package/python/tcl/tcl8.6/tzdata/Mexico/BajaNorte +5 -0
  2826. package/python/tcl/tcl8.6/tzdata/Mexico/BajaSur +5 -0
  2827. package/python/tcl/tcl8.6/tzdata/Mexico/General +5 -0
  2828. package/python/tcl/tcl8.6/tzdata/NZ +5 -0
  2829. package/python/tcl/tcl8.6/tzdata/NZ-CHAT +5 -0
  2830. package/python/tcl/tcl8.6/tzdata/Navajo +5 -0
  2831. package/python/tcl/tcl8.6/tzdata/PRC +5 -0
  2832. package/python/tcl/tcl8.6/tzdata/PST8PDT +278 -0
  2833. package/python/tcl/tcl8.6/tzdata/Pacific/Apia +31 -0
  2834. package/python/tcl/tcl8.6/tzdata/Pacific/Auckland +285 -0
  2835. package/python/tcl/tcl8.6/tzdata/Pacific/Bougainville +10 -0
  2836. package/python/tcl/tcl8.6/tzdata/Pacific/Chatham +258 -0
  2837. package/python/tcl/tcl8.6/tzdata/Pacific/Chuuk +11 -0
  2838. package/python/tcl/tcl8.6/tzdata/Pacific/Easter +268 -0
  2839. package/python/tcl/tcl8.6/tzdata/Pacific/Efate +28 -0
  2840. package/python/tcl/tcl8.6/tzdata/Pacific/Enderbury +5 -0
  2841. package/python/tcl/tcl8.6/tzdata/Pacific/Fakaofo +7 -0
  2842. package/python/tcl/tcl8.6/tzdata/Pacific/Fiji +189 -0
  2843. package/python/tcl/tcl8.6/tzdata/Pacific/Funafuti +6 -0
  2844. package/python/tcl/tcl8.6/tzdata/Pacific/Galapagos +9 -0
  2845. package/python/tcl/tcl8.6/tzdata/Pacific/Gambier +6 -0
  2846. package/python/tcl/tcl8.6/tzdata/Pacific/Guadalcanal +6 -0
  2847. package/python/tcl/tcl8.6/tzdata/Pacific/Guam +26 -0
  2848. package/python/tcl/tcl8.6/tzdata/Pacific/Honolulu +12 -0
  2849. package/python/tcl/tcl8.6/tzdata/Pacific/Johnston +5 -0
  2850. package/python/tcl/tcl8.6/tzdata/Pacific/Kanton +8 -0
  2851. package/python/tcl/tcl8.6/tzdata/Pacific/Kiritimati +8 -0
  2852. package/python/tcl/tcl8.6/tzdata/Pacific/Kosrae +14 -0
  2853. package/python/tcl/tcl8.6/tzdata/Pacific/Kwajalein +11 -0
  2854. package/python/tcl/tcl8.6/tzdata/Pacific/Majuro +12 -0
  2855. package/python/tcl/tcl8.6/tzdata/Pacific/Marquesas +6 -0
  2856. package/python/tcl/tcl8.6/tzdata/Pacific/Midway +5 -0
  2857. package/python/tcl/tcl8.6/tzdata/Pacific/Nauru +9 -0
  2858. package/python/tcl/tcl8.6/tzdata/Pacific/Niue +7 -0
  2859. package/python/tcl/tcl8.6/tzdata/Pacific/Norfolk +172 -0
  2860. package/python/tcl/tcl8.6/tzdata/Pacific/Noumea +12 -0
  2861. package/python/tcl/tcl8.6/tzdata/Pacific/Pago_Pago +7 -0
  2862. package/python/tcl/tcl8.6/tzdata/Pacific/Palau +7 -0
  2863. package/python/tcl/tcl8.6/tzdata/Pacific/Pitcairn +7 -0
  2864. package/python/tcl/tcl8.6/tzdata/Pacific/Pohnpei +12 -0
  2865. package/python/tcl/tcl8.6/tzdata/Pacific/Ponape +5 -0
  2866. package/python/tcl/tcl8.6/tzdata/Pacific/Port_Moresby +7 -0
  2867. package/python/tcl/tcl8.6/tzdata/Pacific/Rarotonga +33 -0
  2868. package/python/tcl/tcl8.6/tzdata/Pacific/Saipan +5 -0
  2869. package/python/tcl/tcl8.6/tzdata/Pacific/Samoa +5 -0
  2870. package/python/tcl/tcl8.6/tzdata/Pacific/Tahiti +6 -0
  2871. package/python/tcl/tcl8.6/tzdata/Pacific/Tarawa +6 -0
  2872. package/python/tcl/tcl8.6/tzdata/Pacific/Tongatapu +16 -0
  2873. package/python/tcl/tcl8.6/tzdata/Pacific/Truk +5 -0
  2874. package/python/tcl/tcl8.6/tzdata/Pacific/Wake +6 -0
  2875. package/python/tcl/tcl8.6/tzdata/Pacific/Wallis +6 -0
  2876. package/python/tcl/tcl8.6/tzdata/Pacific/Yap +5 -0
  2877. package/python/tcl/tcl8.6/tzdata/Poland +5 -0
  2878. package/python/tcl/tcl8.6/tzdata/Portugal +5 -0
  2879. package/python/tcl/tcl8.6/tzdata/ROC +5 -0
  2880. package/python/tcl/tcl8.6/tzdata/ROK +5 -0
  2881. package/python/tcl/tcl8.6/tzdata/Singapore +5 -0
  2882. package/python/tcl/tcl8.6/tzdata/SystemV/AST4 +5 -0
  2883. package/python/tcl/tcl8.6/tzdata/SystemV/AST4ADT +5 -0
  2884. package/python/tcl/tcl8.6/tzdata/SystemV/CST6 +5 -0
  2885. package/python/tcl/tcl8.6/tzdata/SystemV/CST6CDT +5 -0
  2886. package/python/tcl/tcl8.6/tzdata/SystemV/EST5 +5 -0
  2887. package/python/tcl/tcl8.6/tzdata/SystemV/EST5EDT +5 -0
  2888. package/python/tcl/tcl8.6/tzdata/SystemV/HST10 +5 -0
  2889. package/python/tcl/tcl8.6/tzdata/SystemV/MST7 +5 -0
  2890. package/python/tcl/tcl8.6/tzdata/SystemV/MST7MDT +5 -0
  2891. package/python/tcl/tcl8.6/tzdata/SystemV/PST8 +5 -0
  2892. package/python/tcl/tcl8.6/tzdata/SystemV/PST8PDT +5 -0
  2893. package/python/tcl/tcl8.6/tzdata/SystemV/YST9 +5 -0
  2894. package/python/tcl/tcl8.6/tzdata/SystemV/YST9YDT +5 -0
  2895. package/python/tcl/tcl8.6/tzdata/Turkey +5 -0
  2896. package/python/tcl/tcl8.6/tzdata/UCT +5 -0
  2897. package/python/tcl/tcl8.6/tzdata/US/Alaska +5 -0
  2898. package/python/tcl/tcl8.6/tzdata/US/Aleutian +5 -0
  2899. package/python/tcl/tcl8.6/tzdata/US/Arizona +5 -0
  2900. package/python/tcl/tcl8.6/tzdata/US/Central +5 -0
  2901. package/python/tcl/tcl8.6/tzdata/US/East-Indiana +5 -0
  2902. package/python/tcl/tcl8.6/tzdata/US/Eastern +5 -0
  2903. package/python/tcl/tcl8.6/tzdata/US/Hawaii +5 -0
  2904. package/python/tcl/tcl8.6/tzdata/US/Indiana-Starke +5 -0
  2905. package/python/tcl/tcl8.6/tzdata/US/Michigan +5 -0
  2906. package/python/tcl/tcl8.6/tzdata/US/Mountain +5 -0
  2907. package/python/tcl/tcl8.6/tzdata/US/Pacific +5 -0
  2908. package/python/tcl/tcl8.6/tzdata/US/Pacific-New +5 -0
  2909. package/python/tcl/tcl8.6/tzdata/US/Samoa +5 -0
  2910. package/python/tcl/tcl8.6/tzdata/UTC +5 -0
  2911. package/python/tcl/tcl8.6/tzdata/Universal +5 -0
  2912. package/python/tcl/tcl8.6/tzdata/W-SU +5 -0
  2913. package/python/tcl/tcl8.6/tzdata/WET +251 -0
  2914. package/python/tcl/tcl8.6/tzdata/Zulu +5 -0
  2915. package/python/tcl/tcl8.6/word.tcl +154 -0
  2916. package/python/tcl/tcl86t.lib +0 -0
  2917. package/python/tcl/tclConfig.sh +181 -0
  2918. package/python/tcl/tclooConfig.sh +19 -0
  2919. package/python/tcl/tclstub86.lib +0 -0
  2920. package/python/tcl/tix8.4.3/Balloon.tcl +585 -0
  2921. package/python/tcl/tix8.4.3/BtnBox.tcl +120 -0
  2922. package/python/tcl/tix8.4.3/CObjView.tcl +360 -0
  2923. package/python/tcl/tix8.4.3/ChkList.tcl +239 -0
  2924. package/python/tcl/tix8.4.3/ComboBox.tcl +1558 -0
  2925. package/python/tcl/tix8.4.3/Compat.tcl +33 -0
  2926. package/python/tcl/tix8.4.3/Console.tcl +612 -0
  2927. package/python/tcl/tix8.4.3/Control.tcl +482 -0
  2928. package/python/tcl/tix8.4.3/DefSchm.tcl +103 -0
  2929. package/python/tcl/tix8.4.3/DialogS.tcl +175 -0
  2930. package/python/tcl/tix8.4.3/DirBox.tcl +207 -0
  2931. package/python/tcl/tix8.4.3/DirDlg.tcl +95 -0
  2932. package/python/tcl/tix8.4.3/DirList.tcl +272 -0
  2933. package/python/tcl/tix8.4.3/DirTree.tcl +350 -0
  2934. package/python/tcl/tix8.4.3/DragDrop.tcl +166 -0
  2935. package/python/tcl/tix8.4.3/DtlList.tcl +49 -0
  2936. package/python/tcl/tix8.4.3/EFileBox.tcl +436 -0
  2937. package/python/tcl/tix8.4.3/EFileDlg.tcl +65 -0
  2938. package/python/tcl/tix8.4.3/Event.tcl +217 -0
  2939. package/python/tcl/tix8.4.3/FileBox.tcl +568 -0
  2940. package/python/tcl/tix8.4.3/FileCbx.tcl +108 -0
  2941. package/python/tcl/tix8.4.3/FileDlg.tcl +75 -0
  2942. package/python/tcl/tix8.4.3/FileEnt.tcl +270 -0
  2943. package/python/tcl/tix8.4.3/FloatEnt.tcl +132 -0
  2944. package/python/tcl/tix8.4.3/Grid.tcl +1122 -0
  2945. package/python/tcl/tix8.4.3/HList.tcl +917 -0
  2946. package/python/tcl/tix8.4.3/HListDD.tcl +204 -0
  2947. package/python/tcl/tix8.4.3/IconView.tcl +272 -0
  2948. package/python/tcl/tix8.4.3/Init.tcl +232 -0
  2949. package/python/tcl/tix8.4.3/LabEntry.tcl +86 -0
  2950. package/python/tcl/tix8.4.3/LabFrame.tcl +49 -0
  2951. package/python/tcl/tix8.4.3/LabWidg.tcl +157 -0
  2952. package/python/tcl/tix8.4.3/ListNBk.tcl +153 -0
  2953. package/python/tcl/tix8.4.3/Makefile +5 -0
  2954. package/python/tcl/tix8.4.3/Meter.tcl +137 -0
  2955. package/python/tcl/tix8.4.3/MultView.tcl +157 -0
  2956. package/python/tcl/tix8.4.3/NoteBook.tcl +247 -0
  2957. package/python/tcl/tix8.4.3/OldUtil.tcl +108 -0
  2958. package/python/tcl/tix8.4.3/OptMenu.tcl +394 -0
  2959. package/python/tcl/tix8.4.3/PanedWin.tcl +1215 -0
  2960. package/python/tcl/tix8.4.3/PopMenu.tcl +239 -0
  2961. package/python/tcl/tix8.4.3/Primitiv.tcl +428 -0
  2962. package/python/tcl/tix8.4.3/ResizeH.tcl +505 -0
  2963. package/python/tcl/tix8.4.3/SGrid.tcl +243 -0
  2964. package/python/tcl/tix8.4.3/SHList.tcl +140 -0
  2965. package/python/tcl/tix8.4.3/SListBox.tcl +295 -0
  2966. package/python/tcl/tix8.4.3/STList.tcl +93 -0
  2967. package/python/tcl/tix8.4.3/SText.tcl +134 -0
  2968. package/python/tcl/tix8.4.3/SWidget.tcl +465 -0
  2969. package/python/tcl/tix8.4.3/SWindow.tcl +274 -0
  2970. package/python/tcl/tix8.4.3/Select.tcl +300 -0
  2971. package/python/tcl/tix8.4.3/Shell.tcl +47 -0
  2972. package/python/tcl/tix8.4.3/SimpDlg.tcl +47 -0
  2973. package/python/tcl/tix8.4.3/StackWin.tcl +84 -0
  2974. package/python/tcl/tix8.4.3/StatBar.tcl +56 -0
  2975. package/python/tcl/tix8.4.3/StdBBox.tcl +71 -0
  2976. package/python/tcl/tix8.4.3/StdShell.tcl +49 -0
  2977. package/python/tcl/tix8.4.3/TList.tcl +953 -0
  2978. package/python/tcl/tix8.4.3/Tix.tcl +398 -0
  2979. package/python/tcl/tix8.4.3/Tree.tcl +211 -0
  2980. package/python/tcl/tix8.4.3/Utils.tcl +442 -0
  2981. package/python/tcl/tix8.4.3/VResize.tcl +211 -0
  2982. package/python/tcl/tix8.4.3/VStack.tcl +430 -0
  2983. package/python/tcl/tix8.4.3/VTree.tcl +195 -0
  2984. package/python/tcl/tix8.4.3/Variable.tcl +101 -0
  2985. package/python/tcl/tix8.4.3/WInfo.tcl +40 -0
  2986. package/python/tcl/tix8.4.3/bitmaps/act_fold.gif +0 -0
  2987. package/python/tcl/tix8.4.3/bitmaps/act_fold.xbm +5 -0
  2988. package/python/tcl/tix8.4.3/bitmaps/act_fold.xpm +22 -0
  2989. package/python/tcl/tix8.4.3/bitmaps/balarrow.xbm +4 -0
  2990. package/python/tcl/tix8.4.3/bitmaps/cbxarrow.xbm +6 -0
  2991. package/python/tcl/tix8.4.3/bitmaps/ck_def.xbm +6 -0
  2992. package/python/tcl/tix8.4.3/bitmaps/ck_off.xbm +6 -0
  2993. package/python/tcl/tix8.4.3/bitmaps/ck_on.xbm +6 -0
  2994. package/python/tcl/tix8.4.3/bitmaps/cross.xbm +6 -0
  2995. package/python/tcl/tix8.4.3/bitmaps/decr.xbm +4 -0
  2996. package/python/tcl/tix8.4.3/bitmaps/drop.xbm +8 -0
  2997. package/python/tcl/tix8.4.3/bitmaps/file.gif +0 -0
  2998. package/python/tcl/tix8.4.3/bitmaps/file.xbm +5 -0
  2999. package/python/tcl/tix8.4.3/bitmaps/file.xpm +18 -0
  3000. package/python/tcl/tix8.4.3/bitmaps/folder.gif +0 -0
  3001. package/python/tcl/tix8.4.3/bitmaps/folder.xbm +5 -0
  3002. package/python/tcl/tix8.4.3/bitmaps/folder.xpm +21 -0
  3003. package/python/tcl/tix8.4.3/bitmaps/harddisk.xbm +14 -0
  3004. package/python/tcl/tix8.4.3/bitmaps/hourglas.mask +16 -0
  3005. package/python/tcl/tix8.4.3/bitmaps/hourglas.xbm +16 -0
  3006. package/python/tcl/tix8.4.3/bitmaps/incr.xbm +4 -0
  3007. package/python/tcl/tix8.4.3/bitmaps/info.gif +0 -0
  3008. package/python/tcl/tix8.4.3/bitmaps/info.xpm +38 -0
  3009. package/python/tcl/tix8.4.3/bitmaps/maximize.xbm +6 -0
  3010. package/python/tcl/tix8.4.3/bitmaps/minimize.xbm +6 -0
  3011. package/python/tcl/tix8.4.3/bitmaps/minus.gif +0 -0
  3012. package/python/tcl/tix8.4.3/bitmaps/minus.xbm +5 -0
  3013. package/python/tcl/tix8.4.3/bitmaps/minus.xpm +14 -0
  3014. package/python/tcl/tix8.4.3/bitmaps/minusarm.gif +0 -0
  3015. package/python/tcl/tix8.4.3/bitmaps/minusarm.xbm +5 -0
  3016. package/python/tcl/tix8.4.3/bitmaps/minusarm.xpm +15 -0
  3017. package/python/tcl/tix8.4.3/bitmaps/mktransgif.tcl +14 -0
  3018. package/python/tcl/tix8.4.3/bitmaps/network.xbm +14 -0
  3019. package/python/tcl/tix8.4.3/bitmaps/no_entry.gif +0 -0
  3020. package/python/tcl/tix8.4.3/bitmaps/no_entry.xpm +39 -0
  3021. package/python/tcl/tix8.4.3/bitmaps/openfile.xbm +5 -0
  3022. package/python/tcl/tix8.4.3/bitmaps/openfold.gif +0 -0
  3023. package/python/tcl/tix8.4.3/bitmaps/openfold.xbm +5 -0
  3024. package/python/tcl/tix8.4.3/bitmaps/openfold.xpm +21 -0
  3025. package/python/tcl/tix8.4.3/bitmaps/plus.gif +0 -0
  3026. package/python/tcl/tix8.4.3/bitmaps/plus.xbm +5 -0
  3027. package/python/tcl/tix8.4.3/bitmaps/plus.xpm +14 -0
  3028. package/python/tcl/tix8.4.3/bitmaps/plusarm.gif +0 -0
  3029. package/python/tcl/tix8.4.3/bitmaps/plusarm.xbm +5 -0
  3030. package/python/tcl/tix8.4.3/bitmaps/plusarm.xpm +15 -0
  3031. package/python/tcl/tix8.4.3/bitmaps/resize1.xbm +8 -0
  3032. package/python/tcl/tix8.4.3/bitmaps/resize2.xbm +8 -0
  3033. package/python/tcl/tix8.4.3/bitmaps/restore.xbm +6 -0
  3034. package/python/tcl/tix8.4.3/bitmaps/srcfile.gif +0 -0
  3035. package/python/tcl/tix8.4.3/bitmaps/srcfile.xbm +5 -0
  3036. package/python/tcl/tix8.4.3/bitmaps/srcfile.xpm +18 -0
  3037. package/python/tcl/tix8.4.3/bitmaps/system.xbm +6 -0
  3038. package/python/tcl/tix8.4.3/bitmaps/textfile.gif +0 -0
  3039. package/python/tcl/tix8.4.3/bitmaps/textfile.xbm +5 -0
  3040. package/python/tcl/tix8.4.3/bitmaps/textfile.xpm +18 -0
  3041. package/python/tcl/tix8.4.3/bitmaps/tick.xbm +6 -0
  3042. package/python/tcl/tix8.4.3/bitmaps/warning.gif +0 -0
  3043. package/python/tcl/tix8.4.3/bitmaps/warning.xpm +38 -0
  3044. package/python/tcl/tix8.4.3/demos/MkChoose.tcl +280 -0
  3045. package/python/tcl/tix8.4.3/demos/MkDirLis.tcl +69 -0
  3046. package/python/tcl/tix8.4.3/demos/MkSample.tcl +270 -0
  3047. package/python/tcl/tix8.4.3/demos/MkScroll.tcl +160 -0
  3048. package/python/tcl/tix8.4.3/demos/bitmaps/about.xpm +50 -0
  3049. package/python/tcl/tix8.4.3/demos/bitmaps/bold.xbm +6 -0
  3050. package/python/tcl/tix8.4.3/demos/bitmaps/capital.xbm +6 -0
  3051. package/python/tcl/tix8.4.3/demos/bitmaps/centerj.xbm +6 -0
  3052. package/python/tcl/tix8.4.3/demos/bitmaps/code.xpm +22 -0
  3053. package/python/tcl/tix8.4.3/demos/bitmaps/combobox.xbm +14 -0
  3054. package/python/tcl/tix8.4.3/demos/bitmaps/combobox.xpm +49 -0
  3055. package/python/tcl/tix8.4.3/demos/bitmaps/drivea.xbm +14 -0
  3056. package/python/tcl/tix8.4.3/demos/bitmaps/drivea.xpm +43 -0
  3057. package/python/tcl/tix8.4.3/demos/bitmaps/exit.xpm +48 -0
  3058. package/python/tcl/tix8.4.3/demos/bitmaps/filebox.xbm +14 -0
  3059. package/python/tcl/tix8.4.3/demos/bitmaps/filebox.xpm +49 -0
  3060. package/python/tcl/tix8.4.3/demos/bitmaps/harddisk.xbm +14 -0
  3061. package/python/tcl/tix8.4.3/demos/bitmaps/harddisk.xpm +43 -0
  3062. package/python/tcl/tix8.4.3/demos/bitmaps/italic.xbm +6 -0
  3063. package/python/tcl/tix8.4.3/demos/bitmaps/justify.xbm +6 -0
  3064. package/python/tcl/tix8.4.3/demos/bitmaps/leftj.xbm +6 -0
  3065. package/python/tcl/tix8.4.3/demos/bitmaps/netw.xbm +14 -0
  3066. package/python/tcl/tix8.4.3/demos/bitmaps/netw.xpm +45 -0
  3067. package/python/tcl/tix8.4.3/demos/bitmaps/network.xbm +14 -0
  3068. package/python/tcl/tix8.4.3/demos/bitmaps/network.xpm +45 -0
  3069. package/python/tcl/tix8.4.3/demos/bitmaps/optmenu.xpm +48 -0
  3070. package/python/tcl/tix8.4.3/demos/bitmaps/rightj.xbm +6 -0
  3071. package/python/tcl/tix8.4.3/demos/bitmaps/select.xpm +52 -0
  3072. package/python/tcl/tix8.4.3/demos/bitmaps/tix.gif +0 -0
  3073. package/python/tcl/tix8.4.3/demos/bitmaps/underlin.xbm +6 -0
  3074. package/python/tcl/tix8.4.3/demos/samples/AllSampl.tcl +201 -0
  3075. package/python/tcl/tix8.4.3/demos/samples/ArrowBtn.tcl +187 -0
  3076. package/python/tcl/tix8.4.3/demos/samples/Balloon.tcl +48 -0
  3077. package/python/tcl/tix8.4.3/demos/samples/BtnBox.tcl +57 -0
  3078. package/python/tcl/tix8.4.3/demos/samples/CObjView.tcl +80 -0
  3079. package/python/tcl/tix8.4.3/demos/samples/ChkList.tcl +179 -0
  3080. package/python/tcl/tix8.4.3/demos/samples/CmpImg.tcl +64 -0
  3081. package/python/tcl/tix8.4.3/demos/samples/CmpImg1.tcl +182 -0
  3082. package/python/tcl/tix8.4.3/demos/samples/CmpImg2.tcl +136 -0
  3083. package/python/tcl/tix8.4.3/demos/samples/CmpImg3.tcl +90 -0
  3084. package/python/tcl/tix8.4.3/demos/samples/CmpImg4.tcl +125 -0
  3085. package/python/tcl/tix8.4.3/demos/samples/ComboBox.tcl +119 -0
  3086. package/python/tcl/tix8.4.3/demos/samples/Control.tcl +133 -0
  3087. package/python/tcl/tix8.4.3/demos/samples/DirDlg.tcl +90 -0
  3088. package/python/tcl/tix8.4.3/demos/samples/DirList.tcl +91 -0
  3089. package/python/tcl/tix8.4.3/demos/samples/DirTree.tcl +92 -0
  3090. package/python/tcl/tix8.4.3/demos/samples/DragDrop.tcl +50 -0
  3091. package/python/tcl/tix8.4.3/demos/samples/DynTree.tcl +149 -0
  3092. package/python/tcl/tix8.4.3/demos/samples/EFileDlg.tcl +104 -0
  3093. package/python/tcl/tix8.4.3/demos/samples/EditGrid.tcl +281 -0
  3094. package/python/tcl/tix8.4.3/demos/samples/FileDlg.tcl +98 -0
  3095. package/python/tcl/tix8.4.3/demos/samples/FileEnt.tcl +81 -0
  3096. package/python/tcl/tix8.4.3/demos/samples/HList1.tcl +159 -0
  3097. package/python/tcl/tix8.4.3/demos/samples/LabEntry.tcl +94 -0
  3098. package/python/tcl/tix8.4.3/demos/samples/LabFrame.tcl +85 -0
  3099. package/python/tcl/tix8.4.3/demos/samples/ListNBK.tcl +86 -0
  3100. package/python/tcl/tix8.4.3/demos/samples/Meter.tcl +77 -0
  3101. package/python/tcl/tix8.4.3/demos/samples/NoteBook.tcl +102 -0
  3102. package/python/tcl/tix8.4.3/demos/samples/OptMenu.tcl +103 -0
  3103. package/python/tcl/tix8.4.3/demos/samples/PanedWin.tcl +112 -0
  3104. package/python/tcl/tix8.4.3/demos/samples/PopMenu.tcl +73 -0
  3105. package/python/tcl/tix8.4.3/demos/samples/SGrid0.tcl +135 -0
  3106. package/python/tcl/tix8.4.3/demos/samples/SGrid1.tcl +215 -0
  3107. package/python/tcl/tix8.4.3/demos/samples/SHList.tcl +111 -0
  3108. package/python/tcl/tix8.4.3/demos/samples/SHList2.tcl +159 -0
  3109. package/python/tcl/tix8.4.3/demos/samples/SListBox.tcl +84 -0
  3110. package/python/tcl/tix8.4.3/demos/samples/STList1.tcl +57 -0
  3111. package/python/tcl/tix8.4.3/demos/samples/STList2.tcl +85 -0
  3112. package/python/tcl/tix8.4.3/demos/samples/STList3.tcl +112 -0
  3113. package/python/tcl/tix8.4.3/demos/samples/SText.tcl +75 -0
  3114. package/python/tcl/tix8.4.3/demos/samples/SWindow.tcl +89 -0
  3115. package/python/tcl/tix8.4.3/demos/samples/Sample.tcl +36 -0
  3116. package/python/tcl/tix8.4.3/demos/samples/Select.tcl +114 -0
  3117. package/python/tcl/tix8.4.3/demos/samples/StdBBox.tcl +65 -0
  3118. package/python/tcl/tix8.4.3/demos/samples/Tree.tcl +91 -0
  3119. package/python/tcl/tix8.4.3/demos/samples/Xpm.tcl +89 -0
  3120. package/python/tcl/tix8.4.3/demos/samples/Xpm1.tcl +108 -0
  3121. package/python/tcl/tix8.4.3/demos/tclIndex +55 -0
  3122. package/python/tcl/tix8.4.3/demos/tixwidgets.tcl +344 -0
  3123. package/python/tcl/tix8.4.3/demos/widget +450 -0
  3124. package/python/tcl/tix8.4.3/fs.tcl +170 -0
  3125. package/python/tcl/tix8.4.3/pkgIndex.tcl +2 -0
  3126. package/python/tcl/tix8.4.3/pref/10Point.fs +23 -0
  3127. package/python/tcl/tix8.4.3/pref/10Point.fsc +44 -0
  3128. package/python/tcl/tix8.4.3/pref/12Point.fs +23 -0
  3129. package/python/tcl/tix8.4.3/pref/12Point.fsc +44 -0
  3130. package/python/tcl/tix8.4.3/pref/14Point.fs +22 -0
  3131. package/python/tcl/tix8.4.3/pref/14Point.fsc +50 -0
  3132. package/python/tcl/tix8.4.3/pref/Bisque.cs +35 -0
  3133. package/python/tcl/tix8.4.3/pref/Bisque.csc +338 -0
  3134. package/python/tcl/tix8.4.3/pref/Blue.cs +35 -0
  3135. package/python/tcl/tix8.4.3/pref/Blue.csc +338 -0
  3136. package/python/tcl/tix8.4.3/pref/Gray.cs +36 -0
  3137. package/python/tcl/tix8.4.3/pref/Gray.csc +339 -0
  3138. package/python/tcl/tix8.4.3/pref/Makefile +48 -0
  3139. package/python/tcl/tix8.4.3/pref/Old12Pt.fs +14 -0
  3140. package/python/tcl/tix8.4.3/pref/Old14Pt.fs +13 -0
  3141. package/python/tcl/tix8.4.3/pref/SGIGray.cs +38 -0
  3142. package/python/tcl/tix8.4.3/pref/SGIGray.csc +339 -0
  3143. package/python/tcl/tix8.4.3/pref/TK.cs +35 -0
  3144. package/python/tcl/tix8.4.3/pref/TK.csc +72 -0
  3145. package/python/tcl/tix8.4.3/pref/TK.fs +16 -0
  3146. package/python/tcl/tix8.4.3/pref/TK.fsc +19 -0
  3147. package/python/tcl/tix8.4.3/pref/TixGray.cs +36 -0
  3148. package/python/tcl/tix8.4.3/pref/TixGray.csc +339 -0
  3149. package/python/tcl/tix8.4.3/pref/TkWin.cs +68 -0
  3150. package/python/tcl/tix8.4.3/pref/TkWin.csc +333 -0
  3151. package/python/tcl/tix8.4.3/pref/TkWin.fs +16 -0
  3152. package/python/tcl/tix8.4.3/pref/TkWin.fsc +34 -0
  3153. package/python/tcl/tix8.4.3/pref/WmDefault.cs +45 -0
  3154. package/python/tcl/tix8.4.3/pref/WmDefault.csc +316 -0
  3155. package/python/tcl/tix8.4.3/pref/WmDefault.fs +23 -0
  3156. package/python/tcl/tix8.4.3/pref/WmDefault.fsc +57 -0
  3157. package/python/tcl/tix8.4.3/pref/WmDefault.py +96 -0
  3158. package/python/tcl/tix8.4.3/pref/WmDefault.tcl +1053 -0
  3159. package/python/tcl/tix8.4.3/pref/WmDefault.txt +142 -0
  3160. package/python/tcl/tix8.4.3/pref/pkgIndex.tcl +9 -0
  3161. package/python/tcl/tix8.4.3/pref/tixmkpref +381 -0
  3162. package/python/tcl/tix8.4.3/tix84.dll +0 -0
  3163. package/python/tcl/tix8.4.3/tix84.lib +0 -0
  3164. package/python/tcl/tk8.6/bgerror.tcl +272 -0
  3165. package/python/tcl/tk8.6/button.tcl +782 -0
  3166. package/python/tcl/tk8.6/choosedir.tcl +308 -0
  3167. package/python/tcl/tk8.6/clrpick.tcl +695 -0
  3168. package/python/tcl/tk8.6/comdlg.tcl +322 -0
  3169. package/python/tcl/tk8.6/console.tcl +1150 -0
  3170. package/python/tcl/tk8.6/demos/README +44 -0
  3171. package/python/tcl/tk8.6/demos/anilabel.tcl +160 -0
  3172. package/python/tcl/tk8.6/demos/aniwave.tcl +104 -0
  3173. package/python/tcl/tk8.6/demos/arrow.tcl +241 -0
  3174. package/python/tcl/tk8.6/demos/bind.tcl +78 -0
  3175. package/python/tcl/tk8.6/demos/bitmap.tcl +52 -0
  3176. package/python/tcl/tk8.6/demos/browse +66 -0
  3177. package/python/tcl/tk8.6/demos/button.tcl +47 -0
  3178. package/python/tcl/tk8.6/demos/check.tcl +71 -0
  3179. package/python/tcl/tk8.6/demos/clrpick.tcl +54 -0
  3180. package/python/tcl/tk8.6/demos/colors.tcl +99 -0
  3181. package/python/tcl/tk8.6/demos/combo.tcl +61 -0
  3182. package/python/tcl/tk8.6/demos/cscroll.tcl +172 -0
  3183. package/python/tcl/tk8.6/demos/ctext.tcl +176 -0
  3184. package/python/tcl/tk8.6/demos/dialog1.tcl +25 -0
  3185. package/python/tcl/tk8.6/demos/dialog2.tcl +18 -0
  3186. package/python/tcl/tk8.6/demos/en.msg +97 -0
  3187. package/python/tcl/tk8.6/demos/entry1.tcl +34 -0
  3188. package/python/tcl/tk8.6/demos/entry2.tcl +46 -0
  3189. package/python/tcl/tk8.6/demos/entry3.tcl +185 -0
  3190. package/python/tcl/tk8.6/demos/filebox.tcl +81 -0
  3191. package/python/tcl/tk8.6/demos/floor.tcl +1371 -0
  3192. package/python/tcl/tk8.6/demos/fontchoose.tcl +67 -0
  3193. package/python/tcl/tk8.6/demos/form.tcl +38 -0
  3194. package/python/tcl/tk8.6/demos/goldberg.tcl +1833 -0
  3195. package/python/tcl/tk8.6/demos/hello +22 -0
  3196. package/python/tcl/tk8.6/demos/hscale.tcl +45 -0
  3197. package/python/tcl/tk8.6/demos/icon.tcl +51 -0
  3198. package/python/tcl/tk8.6/demos/image1.tcl +35 -0
  3199. package/python/tcl/tk8.6/demos/image2.tcl +108 -0
  3200. package/python/tcl/tk8.6/demos/images/earth.gif +0 -0
  3201. package/python/tcl/tk8.6/demos/images/earthmenu.png +0 -0
  3202. package/python/tcl/tk8.6/demos/images/earthris.gif +0 -0
  3203. package/python/tcl/tk8.6/demos/images/flagdown.xbm +27 -0
  3204. package/python/tcl/tk8.6/demos/images/flagup.xbm +27 -0
  3205. package/python/tcl/tk8.6/demos/images/gray25.xbm +6 -0
  3206. package/python/tcl/tk8.6/demos/images/letters.xbm +27 -0
  3207. package/python/tcl/tk8.6/demos/images/noletter.xbm +27 -0
  3208. package/python/tcl/tk8.6/demos/images/ouster.png +0 -0
  3209. package/python/tcl/tk8.6/demos/images/pattern.xbm +6 -0
  3210. package/python/tcl/tk8.6/demos/images/tcllogo.gif +0 -0
  3211. package/python/tcl/tk8.6/demos/images/teapot.ppm +31 -0
  3212. package/python/tcl/tk8.6/demos/items.tcl +302 -0
  3213. package/python/tcl/tk8.6/demos/ixset +328 -0
  3214. package/python/tcl/tk8.6/demos/knightstour.tcl +268 -0
  3215. package/python/tcl/tk8.6/demos/label.tcl +40 -0
  3216. package/python/tcl/tk8.6/demos/labelframe.tcl +76 -0
  3217. package/python/tcl/tk8.6/demos/license.terms +40 -0
  3218. package/python/tcl/tk8.6/demos/mclist.tcl +119 -0
  3219. package/python/tcl/tk8.6/demos/menu.tcl +180 -0
  3220. package/python/tcl/tk8.6/demos/menubu.tcl +90 -0
  3221. package/python/tcl/tk8.6/demos/msgbox.tcl +62 -0
  3222. package/python/tcl/tk8.6/demos/nl.msg +125 -0
  3223. package/python/tcl/tk8.6/demos/paned1.tcl +32 -0
  3224. package/python/tcl/tk8.6/demos/paned2.tcl +74 -0
  3225. package/python/tcl/tk8.6/demos/pendulum.tcl +197 -0
  3226. package/python/tcl/tk8.6/demos/plot.tcl +97 -0
  3227. package/python/tcl/tk8.6/demos/puzzle.tcl +82 -0
  3228. package/python/tcl/tk8.6/demos/radio.tcl +66 -0
  3229. package/python/tcl/tk8.6/demos/rmt +210 -0
  3230. package/python/tcl/tk8.6/demos/rolodex +204 -0
  3231. package/python/tcl/tk8.6/demos/ruler.tcl +175 -0
  3232. package/python/tcl/tk8.6/demos/sayings.tcl +44 -0
  3233. package/python/tcl/tk8.6/demos/search.tcl +139 -0
  3234. package/python/tcl/tk8.6/demos/spin.tcl +53 -0
  3235. package/python/tcl/tk8.6/demos/square +60 -0
  3236. package/python/tcl/tk8.6/demos/states.tcl +54 -0
  3237. package/python/tcl/tk8.6/demos/style.tcl +155 -0
  3238. package/python/tcl/tk8.6/demos/tclIndex +67 -0
  3239. package/python/tcl/tk8.6/demos/tcolor +358 -0
  3240. package/python/tcl/tk8.6/demos/text.tcl +113 -0
  3241. package/python/tcl/tk8.6/demos/textpeer.tcl +62 -0
  3242. package/python/tcl/tk8.6/demos/timer +47 -0
  3243. package/python/tcl/tk8.6/demos/toolbar.tcl +92 -0
  3244. package/python/tcl/tk8.6/demos/tree.tcl +89 -0
  3245. package/python/tcl/tk8.6/demos/ttkbut.tcl +84 -0
  3246. package/python/tcl/tk8.6/demos/ttkmenu.tcl +53 -0
  3247. package/python/tcl/tk8.6/demos/ttknote.tcl +57 -0
  3248. package/python/tcl/tk8.6/demos/ttkpane.tcl +112 -0
  3249. package/python/tcl/tk8.6/demos/ttkprogress.tcl +46 -0
  3250. package/python/tcl/tk8.6/demos/ttkscale.tcl +39 -0
  3251. package/python/tcl/tk8.6/demos/twind.tcl +351 -0
  3252. package/python/tcl/tk8.6/demos/unicodeout.tcl +145 -0
  3253. package/python/tcl/tk8.6/demos/vscale.tcl +46 -0
  3254. package/python/tcl/tk8.6/demos/widget +734 -0
  3255. package/python/tcl/tk8.6/dialog.tcl +175 -0
  3256. package/python/tcl/tk8.6/entry.tcl +686 -0
  3257. package/python/tcl/tk8.6/focus.tcl +178 -0
  3258. package/python/tcl/tk8.6/fontchooser.tcl +456 -0
  3259. package/python/tcl/tk8.6/iconlist.tcl +717 -0
  3260. package/python/tcl/tk8.6/icons.tcl +153 -0
  3261. package/python/tcl/tk8.6/images/README +7 -0
  3262. package/python/tcl/tk8.6/images/logo.eps +2091 -0
  3263. package/python/tcl/tk8.6/images/logo100.gif +0 -0
  3264. package/python/tcl/tk8.6/images/logo64.gif +0 -0
  3265. package/python/tcl/tk8.6/images/logoLarge.gif +0 -0
  3266. package/python/tcl/tk8.6/images/logoMed.gif +0 -0
  3267. package/python/tcl/tk8.6/images/pwrdLogo.eps +1897 -0
  3268. package/python/tcl/tk8.6/images/pwrdLogo100.gif +0 -0
  3269. package/python/tcl/tk8.6/images/pwrdLogo150.gif +0 -0
  3270. package/python/tcl/tk8.6/images/pwrdLogo175.gif +0 -0
  3271. package/python/tcl/tk8.6/images/pwrdLogo200.gif +0 -0
  3272. package/python/tcl/tk8.6/images/pwrdLogo75.gif +0 -0
  3273. package/python/tcl/tk8.6/images/tai-ku.gif +0 -0
  3274. package/python/tcl/tk8.6/license.terms +40 -0
  3275. package/python/tcl/tk8.6/listbox.tcl +560 -0
  3276. package/python/tcl/tk8.6/megawidget.tcl +297 -0
  3277. package/python/tcl/tk8.6/menu.tcl +1377 -0
  3278. package/python/tcl/tk8.6/mkpsenc.tcl +1488 -0
  3279. package/python/tcl/tk8.6/msgbox.tcl +427 -0
  3280. package/python/tcl/tk8.6/msgs/cs.msg +77 -0
  3281. package/python/tcl/tk8.6/msgs/da.msg +78 -0
  3282. package/python/tcl/tk8.6/msgs/de.msg +91 -0
  3283. package/python/tcl/tk8.6/msgs/el.msg +86 -0
  3284. package/python/tcl/tk8.6/msgs/en.msg +91 -0
  3285. package/python/tcl/tk8.6/msgs/en_gb.msg +3 -0
  3286. package/python/tcl/tk8.6/msgs/eo.msg +75 -0
  3287. package/python/tcl/tk8.6/msgs/es.msg +76 -0
  3288. package/python/tcl/tk8.6/msgs/fr.msg +72 -0
  3289. package/python/tcl/tk8.6/msgs/hu.msg +78 -0
  3290. package/python/tcl/tk8.6/msgs/it.msg +73 -0
  3291. package/python/tcl/tk8.6/msgs/nl.msg +91 -0
  3292. package/python/tcl/tk8.6/msgs/pl.msg +91 -0
  3293. package/python/tcl/tk8.6/msgs/pt.msg +74 -0
  3294. package/python/tcl/tk8.6/msgs/ru.msg +75 -0
  3295. package/python/tcl/tk8.6/msgs/sv.msg +76 -0
  3296. package/python/tcl/tk8.6/obsolete.tcl +178 -0
  3297. package/python/tcl/tk8.6/optMenu.tcl +43 -0
  3298. package/python/tcl/tk8.6/palette.tcl +244 -0
  3299. package/python/tcl/tk8.6/panedwindow.tcl +194 -0
  3300. package/python/tcl/tk8.6/pkgIndex.tcl +7 -0
  3301. package/python/tcl/tk8.6/safetk.tcl +262 -0
  3302. package/python/tcl/tk8.6/scale.tcl +290 -0
  3303. package/python/tcl/tk8.6/scrlbar.tcl +456 -0
  3304. package/python/tcl/tk8.6/spinbox.tcl +593 -0
  3305. package/python/tcl/tk8.6/tclIndex +253 -0
  3306. package/python/tcl/tk8.6/tearoff.tcl +184 -0
  3307. package/python/tcl/tk8.6/text.tcl +1237 -0
  3308. package/python/tcl/tk8.6/tk.tcl +712 -0
  3309. package/python/tcl/tk8.6/tkfbox.tcl +1240 -0
  3310. package/python/tcl/tk8.6/ttk/altTheme.tcl +109 -0
  3311. package/python/tcl/tk8.6/ttk/aquaTheme.tcl +119 -0
  3312. package/python/tcl/tk8.6/ttk/button.tcl +83 -0
  3313. package/python/tcl/tk8.6/ttk/clamTheme.tcl +147 -0
  3314. package/python/tcl/tk8.6/ttk/classicTheme.tcl +115 -0
  3315. package/python/tcl/tk8.6/ttk/combobox.tcl +448 -0
  3316. package/python/tcl/tk8.6/ttk/cursors.tcl +208 -0
  3317. package/python/tcl/tk8.6/ttk/defaults.tcl +143 -0
  3318. package/python/tcl/tk8.6/ttk/entry.tcl +632 -0
  3319. package/python/tcl/tk8.6/ttk/fonts.tcl +157 -0
  3320. package/python/tcl/tk8.6/ttk/menubutton.tcl +241 -0
  3321. package/python/tcl/tk8.6/ttk/notebook.tcl +199 -0
  3322. package/python/tcl/tk8.6/ttk/panedwindow.tcl +91 -0
  3323. package/python/tcl/tk8.6/ttk/progress.tcl +49 -0
  3324. package/python/tcl/tk8.6/ttk/scale.tcl +94 -0
  3325. package/python/tcl/tk8.6/ttk/scrollbar.tcl +126 -0
  3326. package/python/tcl/tk8.6/ttk/sizegrip.tcl +102 -0
  3327. package/python/tcl/tk8.6/ttk/spinbox.tcl +192 -0
  3328. package/python/tcl/tk8.6/ttk/treeview.tcl +383 -0
  3329. package/python/tcl/tk8.6/ttk/ttk.tcl +176 -0
  3330. package/python/tcl/tk8.6/ttk/utils.tcl +337 -0
  3331. package/python/tcl/tk8.6/ttk/vistaTheme.tcl +229 -0
  3332. package/python/tcl/tk8.6/ttk/winTheme.tcl +84 -0
  3333. package/python/tcl/tk8.6/ttk/xpTheme.tcl +67 -0
  3334. package/python/tcl/tk8.6/unsupported.tcl +269 -0
  3335. package/python/tcl/tk8.6/xmfbox.tcl +989 -0
  3336. package/python/tcl/tk86t.lib +0 -0
  3337. package/python/tcl/tkstub86.lib +0 -0
  3338. package/python/vcruntime140.dll +0 -0
  3339. package/python/vcruntime140_1.dll +0 -0
  3340. package/runtime-manifest.json +7 -0
@@ -0,0 +1,4199 @@
1
+ #
2
+ # turtle.py: a Tkinter based turtle graphics module for Python
3
+ # Version 1.1b - 4. 5. 2009
4
+ #
5
+ # Copyright (C) 2006 - 2010 Gregor Lingl
6
+ # email: glingl@aon.at
7
+ #
8
+ # This software is provided 'as-is', without any express or implied
9
+ # warranty. In no event will the authors be held liable for any damages
10
+ # arising from the use of this software.
11
+ #
12
+ # Permission is granted to anyone to use this software for any purpose,
13
+ # including commercial applications, and to alter it and redistribute it
14
+ # freely, subject to the following restrictions:
15
+ #
16
+ # 1. The origin of this software must not be misrepresented; you must not
17
+ # claim that you wrote the original software. If you use this software
18
+ # in a product, an acknowledgment in the product documentation would be
19
+ # appreciated but is not required.
20
+ # 2. Altered source versions must be plainly marked as such, and must not be
21
+ # misrepresented as being the original software.
22
+ # 3. This notice may not be removed or altered from any source distribution.
23
+
24
+ """
25
+ Turtle graphics is a popular way for introducing programming to
26
+ kids. It was part of the original Logo programming language developed
27
+ by Wally Feurzig and Seymour Papert in 1966.
28
+
29
+ Imagine a robotic turtle starting at (0, 0) in the x-y plane. After an ``import turtle``, give it
30
+ the command turtle.forward(15), and it moves (on-screen!) 15 pixels in
31
+ the direction it is facing, drawing a line as it moves. Give it the
32
+ command turtle.right(25), and it rotates in-place 25 degrees clockwise.
33
+
34
+ By combining together these and similar commands, intricate shapes and
35
+ pictures can easily be drawn.
36
+
37
+ ----- turtle.py
38
+
39
+ This module is an extended reimplementation of turtle.py from the
40
+ Python standard distribution up to Python 2.5. (See: https://www.python.org)
41
+
42
+ It tries to keep the merits of turtle.py and to be (nearly) 100%
43
+ compatible with it. This means in the first place to enable the
44
+ learning programmer to use all the commands, classes and methods
45
+ interactively when using the module from within IDLE run with
46
+ the -n switch.
47
+
48
+ Roughly it has the following features added:
49
+
50
+ - Better animation of the turtle movements, especially of turning the
51
+ turtle. So the turtles can more easily be used as a visual feedback
52
+ instrument by the (beginning) programmer.
53
+
54
+ - Different turtle shapes, gif-images as turtle shapes, user defined
55
+ and user controllable turtle shapes, among them compound
56
+ (multicolored) shapes. Turtle shapes can be stretched and tilted, which
57
+ makes turtles very versatile geometrical objects.
58
+
59
+ - Fine control over turtle movement and screen updates via delay(),
60
+ and enhanced tracer() and speed() methods.
61
+
62
+ - Aliases for the most commonly used commands, like fd for forward etc.,
63
+ following the early Logo traditions. This reduces the boring work of
64
+ typing long sequences of commands, which often occur in a natural way
65
+ when kids try to program fancy pictures on their first encounter with
66
+ turtle graphics.
67
+
68
+ - Turtles now have an undo()-method with configurable undo-buffer.
69
+
70
+ - Some simple commands/methods for creating event driven programs
71
+ (mouse-, key-, timer-events). Especially useful for programming games.
72
+
73
+ - A scrollable Canvas class. The default scrollable Canvas can be
74
+ extended interactively as needed while playing around with the turtle(s).
75
+
76
+ - A TurtleScreen class with methods controlling background color or
77
+ background image, window and canvas size and other properties of the
78
+ TurtleScreen.
79
+
80
+ - There is a method, setworldcoordinates(), to install a user defined
81
+ coordinate-system for the TurtleScreen.
82
+
83
+ - The implementation uses a 2-vector class named Vec2D, derived from tuple.
84
+ This class is public, so it can be imported by the application programmer,
85
+ which makes certain types of computations very natural and compact.
86
+
87
+ - Appearance of the TurtleScreen and the Turtles at startup/import can be
88
+ configured by means of a turtle.cfg configuration file.
89
+ The default configuration mimics the appearance of the old turtle module.
90
+
91
+ - If configured appropriately the module reads in docstrings from a docstring
92
+ dictionary in some different language, supplied separately and replaces
93
+ the English ones by those read in. There is a utility function
94
+ write_docstringdict() to write a dictionary with the original (English)
95
+ docstrings to disc, so it can serve as a template for translations.
96
+
97
+ Behind the scenes there are some features included with possible
98
+ extensions in mind. These will be commented and documented elsewhere.
99
+ """
100
+
101
+ import tkinter as TK
102
+ import types
103
+ import math
104
+ import time
105
+ import inspect
106
+ import sys
107
+
108
+ from os.path import isfile, split, join
109
+ from copy import deepcopy
110
+ from tkinter import simpledialog
111
+
112
+ _tg_classes = ['ScrolledCanvas', 'TurtleScreen', 'Screen',
113
+ 'RawTurtle', 'Turtle', 'RawPen', 'Pen', 'Shape', 'Vec2D']
114
+ _tg_screen_functions = ['addshape', 'bgcolor', 'bgpic', 'bye',
115
+ 'clearscreen', 'colormode', 'delay', 'exitonclick', 'getcanvas',
116
+ 'getshapes', 'listen', 'mainloop', 'mode', 'numinput',
117
+ 'onkey', 'onkeypress', 'onkeyrelease', 'onscreenclick', 'ontimer',
118
+ 'register_shape', 'resetscreen', 'screensize', 'setup',
119
+ 'setworldcoordinates', 'textinput', 'title', 'tracer', 'turtles', 'update',
120
+ 'window_height', 'window_width']
121
+ _tg_turtle_functions = ['back', 'backward', 'begin_fill', 'begin_poly', 'bk',
122
+ 'circle', 'clear', 'clearstamp', 'clearstamps', 'clone', 'color',
123
+ 'degrees', 'distance', 'dot', 'down', 'end_fill', 'end_poly', 'fd',
124
+ 'fillcolor', 'filling', 'forward', 'get_poly', 'getpen', 'getscreen', 'get_shapepoly',
125
+ 'getturtle', 'goto', 'heading', 'hideturtle', 'home', 'ht', 'isdown',
126
+ 'isvisible', 'left', 'lt', 'onclick', 'ondrag', 'onrelease', 'pd',
127
+ 'pen', 'pencolor', 'pendown', 'pensize', 'penup', 'pos', 'position',
128
+ 'pu', 'radians', 'right', 'reset', 'resizemode', 'rt',
129
+ 'seth', 'setheading', 'setpos', 'setposition',
130
+ 'setundobuffer', 'setx', 'sety', 'shape', 'shapesize', 'shapetransform', 'shearfactor', 'showturtle',
131
+ 'speed', 'st', 'stamp', 'teleport', 'tilt', 'tiltangle', 'towards',
132
+ 'turtlesize', 'undo', 'undobufferentries', 'up', 'width',
133
+ 'write', 'xcor', 'ycor']
134
+ _tg_utilities = ['write_docstringdict', 'done']
135
+
136
+ __all__ = (_tg_classes + _tg_screen_functions + _tg_turtle_functions +
137
+ _tg_utilities + ['Terminator'])
138
+
139
+ _alias_list = ['addshape', 'backward', 'bk', 'fd', 'ht', 'lt', 'pd', 'pos',
140
+ 'pu', 'rt', 'seth', 'setpos', 'setposition', 'st',
141
+ 'turtlesize', 'up', 'width']
142
+
143
+ _CFG = {"width" : 0.5, # Screen
144
+ "height" : 0.75,
145
+ "canvwidth" : 400,
146
+ "canvheight": 300,
147
+ "leftright": None,
148
+ "topbottom": None,
149
+ "mode": "standard", # TurtleScreen
150
+ "colormode": 1.0,
151
+ "delay": 10,
152
+ "undobuffersize": 1000, # RawTurtle
153
+ "shape": "classic",
154
+ "pencolor" : "black",
155
+ "fillcolor" : "black",
156
+ "resizemode" : "noresize",
157
+ "visible" : True,
158
+ "language": "english", # docstrings
159
+ "exampleturtle": "turtle",
160
+ "examplescreen": "screen",
161
+ "title": "Python Turtle Graphics",
162
+ "using_IDLE": False
163
+ }
164
+
165
+ def config_dict(filename):
166
+ """Convert content of config-file into dictionary."""
167
+ with open(filename, "r") as f:
168
+ cfglines = f.readlines()
169
+ cfgdict = {}
170
+ for line in cfglines:
171
+ line = line.strip()
172
+ if not line or line.startswith("#"):
173
+ continue
174
+ try:
175
+ key, value = line.split("=")
176
+ except ValueError:
177
+ print("Bad line in config-file %s:\n%s" % (filename,line))
178
+ continue
179
+ key = key.strip()
180
+ value = value.strip()
181
+ if value in ["True", "False", "None", "''", '""']:
182
+ value = eval(value)
183
+ else:
184
+ try:
185
+ if "." in value:
186
+ value = float(value)
187
+ else:
188
+ value = int(value)
189
+ except ValueError:
190
+ pass # value need not be converted
191
+ cfgdict[key] = value
192
+ return cfgdict
193
+
194
+ def readconfig(cfgdict):
195
+ """Read config-files, change configuration-dict accordingly.
196
+
197
+ If there is a turtle.cfg file in the current working directory,
198
+ read it from there. If this contains an importconfig-value,
199
+ say 'myway', construct filename turtle_mayway.cfg else use
200
+ turtle.cfg and read it from the import-directory, where
201
+ turtle.py is located.
202
+ Update configuration dictionary first according to config-file,
203
+ in the import directory, then according to config-file in the
204
+ current working directory.
205
+ If no config-file is found, the default configuration is used.
206
+ """
207
+ default_cfg = "turtle.cfg"
208
+ cfgdict1 = {}
209
+ cfgdict2 = {}
210
+ if isfile(default_cfg):
211
+ cfgdict1 = config_dict(default_cfg)
212
+ if "importconfig" in cfgdict1:
213
+ default_cfg = "turtle_%s.cfg" % cfgdict1["importconfig"]
214
+ try:
215
+ head, tail = split(__file__)
216
+ cfg_file2 = join(head, default_cfg)
217
+ except Exception:
218
+ cfg_file2 = ""
219
+ if isfile(cfg_file2):
220
+ cfgdict2 = config_dict(cfg_file2)
221
+ _CFG.update(cfgdict2)
222
+ _CFG.update(cfgdict1)
223
+
224
+ try:
225
+ readconfig(_CFG)
226
+ except Exception:
227
+ print ("No configfile read, reason unknown")
228
+
229
+
230
+ class Vec2D(tuple):
231
+ """A 2 dimensional vector class, used as a helper class
232
+ for implementing turtle graphics.
233
+ May be useful for turtle graphics programs also.
234
+ Derived from tuple, so a vector is a tuple!
235
+
236
+ Provides (for a, b vectors, k number):
237
+ a+b vector addition
238
+ a-b vector subtraction
239
+ a*b inner product
240
+ k*a and a*k multiplication with scalar
241
+ |a| absolute value of a
242
+ a.rotate(angle) rotation
243
+ """
244
+ def __new__(cls, x, y):
245
+ return tuple.__new__(cls, (x, y))
246
+ def __add__(self, other):
247
+ return Vec2D(self[0]+other[0], self[1]+other[1])
248
+ def __mul__(self, other):
249
+ if isinstance(other, Vec2D):
250
+ return self[0]*other[0]+self[1]*other[1]
251
+ return Vec2D(self[0]*other, self[1]*other)
252
+ def __rmul__(self, other):
253
+ if isinstance(other, int) or isinstance(other, float):
254
+ return Vec2D(self[0]*other, self[1]*other)
255
+ return NotImplemented
256
+ def __sub__(self, other):
257
+ return Vec2D(self[0]-other[0], self[1]-other[1])
258
+ def __neg__(self):
259
+ return Vec2D(-self[0], -self[1])
260
+ def __abs__(self):
261
+ return math.hypot(*self)
262
+ def rotate(self, angle):
263
+ """rotate self counterclockwise by angle
264
+ """
265
+ perp = Vec2D(-self[1], self[0])
266
+ angle = math.radians(angle)
267
+ c, s = math.cos(angle), math.sin(angle)
268
+ return Vec2D(self[0]*c+perp[0]*s, self[1]*c+perp[1]*s)
269
+ def __getnewargs__(self):
270
+ return (self[0], self[1])
271
+ def __repr__(self):
272
+ return "(%.2f,%.2f)" % self
273
+
274
+
275
+ ##############################################################################
276
+ ### From here up to line : Tkinter - Interface for turtle.py ###
277
+ ### May be replaced by an interface to some different graphics toolkit ###
278
+ ##############################################################################
279
+
280
+ ## helper functions for Scrolled Canvas, to forward Canvas-methods
281
+ ## to ScrolledCanvas class
282
+
283
+ def __methodDict(cls, _dict):
284
+ """helper function for Scrolled Canvas"""
285
+ baseList = list(cls.__bases__)
286
+ baseList.reverse()
287
+ for _super in baseList:
288
+ __methodDict(_super, _dict)
289
+ for key, value in cls.__dict__.items():
290
+ if type(value) == types.FunctionType:
291
+ _dict[key] = value
292
+
293
+ def __methods(cls):
294
+ """helper function for Scrolled Canvas"""
295
+ _dict = {}
296
+ __methodDict(cls, _dict)
297
+ return _dict.keys()
298
+
299
+ __stringBody = (
300
+ 'def %(method)s(self, *args, **kw): return ' +
301
+ 'self.%(attribute)s.%(method)s(*args, **kw)')
302
+
303
+ def __forwardmethods(fromClass, toClass, toPart, exclude = ()):
304
+ ### MANY CHANGES ###
305
+ _dict_1 = {}
306
+ __methodDict(toClass, _dict_1)
307
+ _dict = {}
308
+ mfc = __methods(fromClass)
309
+ for ex in _dict_1.keys():
310
+ if ex[:1] == '_' or ex[-1:] == '_' or ex in exclude or ex in mfc:
311
+ pass
312
+ else:
313
+ _dict[ex] = _dict_1[ex]
314
+
315
+ for method, func in _dict.items():
316
+ d = {'method': method, 'func': func}
317
+ if isinstance(toPart, str):
318
+ execString = \
319
+ __stringBody % {'method' : method, 'attribute' : toPart}
320
+ exec(execString, d)
321
+ setattr(fromClass, method, d[method]) ### NEWU!
322
+
323
+
324
+ class ScrolledCanvas(TK.Frame):
325
+ """Modeled after the scrolled canvas class from Grayons's Tkinter book.
326
+
327
+ Used as the default canvas, which pops up automatically when
328
+ using turtle graphics functions or the Turtle class.
329
+ """
330
+ def __init__(self, master, width=500, height=350,
331
+ canvwidth=600, canvheight=500):
332
+ TK.Frame.__init__(self, master, width=width, height=height)
333
+ self._rootwindow = self.winfo_toplevel()
334
+ self.width, self.height = width, height
335
+ self.canvwidth, self.canvheight = canvwidth, canvheight
336
+ self.bg = "white"
337
+ self._canvas = TK.Canvas(master, width=width, height=height,
338
+ bg=self.bg, relief=TK.SUNKEN, borderwidth=2)
339
+ self.hscroll = TK.Scrollbar(master, command=self._canvas.xview,
340
+ orient=TK.HORIZONTAL)
341
+ self.vscroll = TK.Scrollbar(master, command=self._canvas.yview)
342
+ self._canvas.configure(xscrollcommand=self.hscroll.set,
343
+ yscrollcommand=self.vscroll.set)
344
+ self.rowconfigure(0, weight=1, minsize=0)
345
+ self.columnconfigure(0, weight=1, minsize=0)
346
+ self._canvas.grid(padx=1, in_ = self, pady=1, row=0,
347
+ column=0, rowspan=1, columnspan=1, sticky='news')
348
+ self.vscroll.grid(padx=1, in_ = self, pady=1, row=0,
349
+ column=1, rowspan=1, columnspan=1, sticky='news')
350
+ self.hscroll.grid(padx=1, in_ = self, pady=1, row=1,
351
+ column=0, rowspan=1, columnspan=1, sticky='news')
352
+ self.reset()
353
+ self._rootwindow.bind('<Configure>', self.onResize)
354
+
355
+ def reset(self, canvwidth=None, canvheight=None, bg = None):
356
+ """Adjust canvas and scrollbars according to given canvas size."""
357
+ if canvwidth:
358
+ self.canvwidth = canvwidth
359
+ if canvheight:
360
+ self.canvheight = canvheight
361
+ if bg:
362
+ self.bg = bg
363
+ self._canvas.config(bg=bg,
364
+ scrollregion=(-self.canvwidth//2, -self.canvheight//2,
365
+ self.canvwidth//2, self.canvheight//2))
366
+ self._canvas.xview_moveto(0.5*(self.canvwidth - self.width + 30) /
367
+ self.canvwidth)
368
+ self._canvas.yview_moveto(0.5*(self.canvheight- self.height + 30) /
369
+ self.canvheight)
370
+ self.adjustScrolls()
371
+
372
+
373
+ def adjustScrolls(self):
374
+ """ Adjust scrollbars according to window- and canvas-size.
375
+ """
376
+ cwidth = self._canvas.winfo_width()
377
+ cheight = self._canvas.winfo_height()
378
+ self._canvas.xview_moveto(0.5*(self.canvwidth-cwidth)/self.canvwidth)
379
+ self._canvas.yview_moveto(0.5*(self.canvheight-cheight)/self.canvheight)
380
+ if cwidth < self.canvwidth or cheight < self.canvheight:
381
+ self.hscroll.grid(padx=1, in_ = self, pady=1, row=1,
382
+ column=0, rowspan=1, columnspan=1, sticky='news')
383
+ self.vscroll.grid(padx=1, in_ = self, pady=1, row=0,
384
+ column=1, rowspan=1, columnspan=1, sticky='news')
385
+ else:
386
+ self.hscroll.grid_forget()
387
+ self.vscroll.grid_forget()
388
+
389
+ def onResize(self, event):
390
+ """self-explanatory"""
391
+ self.adjustScrolls()
392
+
393
+ def bbox(self, *args):
394
+ """ 'forward' method, which canvas itself has inherited...
395
+ """
396
+ return self._canvas.bbox(*args)
397
+
398
+ def cget(self, *args, **kwargs):
399
+ """ 'forward' method, which canvas itself has inherited...
400
+ """
401
+ return self._canvas.cget(*args, **kwargs)
402
+
403
+ def config(self, *args, **kwargs):
404
+ """ 'forward' method, which canvas itself has inherited...
405
+ """
406
+ self._canvas.config(*args, **kwargs)
407
+
408
+ def bind(self, *args, **kwargs):
409
+ """ 'forward' method, which canvas itself has inherited...
410
+ """
411
+ self._canvas.bind(*args, **kwargs)
412
+
413
+ def unbind(self, *args, **kwargs):
414
+ """ 'forward' method, which canvas itself has inherited...
415
+ """
416
+ self._canvas.unbind(*args, **kwargs)
417
+
418
+ def focus_force(self):
419
+ """ 'forward' method, which canvas itself has inherited...
420
+ """
421
+ self._canvas.focus_force()
422
+
423
+ __forwardmethods(ScrolledCanvas, TK.Canvas, '_canvas')
424
+
425
+
426
+ class _Root(TK.Tk):
427
+ """Root class for Screen based on Tkinter."""
428
+ def __init__(self):
429
+ TK.Tk.__init__(self)
430
+
431
+ def setupcanvas(self, width, height, cwidth, cheight):
432
+ self._canvas = ScrolledCanvas(self, width, height, cwidth, cheight)
433
+ self._canvas.pack(expand=1, fill="both")
434
+
435
+ def _getcanvas(self):
436
+ return self._canvas
437
+
438
+ def set_geometry(self, width, height, startx, starty):
439
+ self.geometry("%dx%d%+d%+d"%(width, height, startx, starty))
440
+
441
+ def ondestroy(self, destroy):
442
+ self.wm_protocol("WM_DELETE_WINDOW", destroy)
443
+
444
+ def win_width(self):
445
+ return self.winfo_screenwidth()
446
+
447
+ def win_height(self):
448
+ return self.winfo_screenheight()
449
+
450
+ Canvas = TK.Canvas
451
+
452
+
453
+ class TurtleScreenBase(object):
454
+ """Provide the basic graphics functionality.
455
+ Interface between Tkinter and turtle.py.
456
+
457
+ To port turtle.py to some different graphics toolkit
458
+ a corresponding TurtleScreenBase class has to be implemented.
459
+ """
460
+
461
+ def _blankimage(self):
462
+ """return a blank image object
463
+ """
464
+ img = TK.PhotoImage(width=1, height=1, master=self.cv)
465
+ img.blank()
466
+ return img
467
+
468
+ def _image(self, filename):
469
+ """return an image object containing the
470
+ imagedata from a gif-file named filename.
471
+ """
472
+ return TK.PhotoImage(file=filename, master=self.cv)
473
+
474
+ def __init__(self, cv):
475
+ self.cv = cv
476
+ if isinstance(cv, ScrolledCanvas):
477
+ w = self.cv.canvwidth
478
+ h = self.cv.canvheight
479
+ else: # expected: ordinary TK.Canvas
480
+ w = int(self.cv.cget("width"))
481
+ h = int(self.cv.cget("height"))
482
+ self.cv.config(scrollregion = (-w//2, -h//2, w//2, h//2 ))
483
+ self.canvwidth = w
484
+ self.canvheight = h
485
+ self.xscale = self.yscale = 1.0
486
+
487
+ def _createpoly(self):
488
+ """Create an invisible polygon item on canvas self.cv)
489
+ """
490
+ return self.cv.create_polygon((0, 0, 0, 0, 0, 0), fill="", outline="")
491
+
492
+ def _drawpoly(self, polyitem, coordlist, fill=None,
493
+ outline=None, width=None, top=False):
494
+ """Configure polygonitem polyitem according to provided
495
+ arguments:
496
+ coordlist is sequence of coordinates
497
+ fill is filling color
498
+ outline is outline color
499
+ top is a boolean value, which specifies if polyitem
500
+ will be put on top of the canvas' displaylist so it
501
+ will not be covered by other items.
502
+ """
503
+ cl = []
504
+ for x, y in coordlist:
505
+ cl.append(x * self.xscale)
506
+ cl.append(-y * self.yscale)
507
+ self.cv.coords(polyitem, *cl)
508
+ if fill is not None:
509
+ self.cv.itemconfigure(polyitem, fill=fill)
510
+ if outline is not None:
511
+ self.cv.itemconfigure(polyitem, outline=outline)
512
+ if width is not None:
513
+ self.cv.itemconfigure(polyitem, width=width)
514
+ if top:
515
+ self.cv.tag_raise(polyitem)
516
+
517
+ def _createline(self):
518
+ """Create an invisible line item on canvas self.cv)
519
+ """
520
+ return self.cv.create_line(0, 0, 0, 0, fill="", width=2,
521
+ capstyle = TK.ROUND)
522
+
523
+ def _drawline(self, lineitem, coordlist=None,
524
+ fill=None, width=None, top=False):
525
+ """Configure lineitem according to provided arguments:
526
+ coordlist is sequence of coordinates
527
+ fill is drawing color
528
+ width is width of drawn line.
529
+ top is a boolean value, which specifies if polyitem
530
+ will be put on top of the canvas' displaylist so it
531
+ will not be covered by other items.
532
+ """
533
+ if coordlist is not None:
534
+ cl = []
535
+ for x, y in coordlist:
536
+ cl.append(x * self.xscale)
537
+ cl.append(-y * self.yscale)
538
+ self.cv.coords(lineitem, *cl)
539
+ if fill is not None:
540
+ self.cv.itemconfigure(lineitem, fill=fill)
541
+ if width is not None:
542
+ self.cv.itemconfigure(lineitem, width=width)
543
+ if top:
544
+ self.cv.tag_raise(lineitem)
545
+
546
+ def _delete(self, item):
547
+ """Delete graphics item from canvas.
548
+ If item is"all" delete all graphics items.
549
+ """
550
+ self.cv.delete(item)
551
+
552
+ def _update(self):
553
+ """Redraw graphics items on canvas
554
+ """
555
+ self.cv.update()
556
+
557
+ def _delay(self, delay):
558
+ """Delay subsequent canvas actions for delay ms."""
559
+ self.cv.after(delay)
560
+
561
+ def _iscolorstring(self, color):
562
+ """Check if the string color is a legal Tkinter color string.
563
+ """
564
+ try:
565
+ rgb = self.cv.winfo_rgb(color)
566
+ ok = True
567
+ except TK.TclError:
568
+ ok = False
569
+ return ok
570
+
571
+ def _bgcolor(self, color=None):
572
+ """Set canvas' backgroundcolor if color is not None,
573
+ else return backgroundcolor."""
574
+ if color is not None:
575
+ self.cv.config(bg = color)
576
+ self._update()
577
+ else:
578
+ return self.cv.cget("bg")
579
+
580
+ def _write(self, pos, txt, align, font, pencolor):
581
+ """Write txt at pos in canvas with specified font
582
+ and color.
583
+ Return text item and x-coord of right bottom corner
584
+ of text's bounding box."""
585
+ x, y = pos
586
+ x = x * self.xscale
587
+ y = y * self.yscale
588
+ anchor = {"left":"sw", "center":"s", "right":"se" }
589
+ item = self.cv.create_text(x-1, -y, text = txt, anchor = anchor[align],
590
+ fill = pencolor, font = font)
591
+ x0, y0, x1, y1 = self.cv.bbox(item)
592
+ return item, x1-1
593
+
594
+ def _onclick(self, item, fun, num=1, add=None):
595
+ """Bind fun to mouse-click event on turtle.
596
+ fun must be a function with two arguments, the coordinates
597
+ of the clicked point on the canvas.
598
+ num, the number of the mouse-button defaults to 1
599
+ """
600
+ if fun is None:
601
+ self.cv.tag_unbind(item, "<Button-%s>" % num)
602
+ else:
603
+ def eventfun(event):
604
+ x, y = (self.cv.canvasx(event.x)/self.xscale,
605
+ -self.cv.canvasy(event.y)/self.yscale)
606
+ fun(x, y)
607
+ self.cv.tag_bind(item, "<Button-%s>" % num, eventfun, add)
608
+
609
+ def _onrelease(self, item, fun, num=1, add=None):
610
+ """Bind fun to mouse-button-release event on turtle.
611
+ fun must be a function with two arguments, the coordinates
612
+ of the point on the canvas where mouse button is released.
613
+ num, the number of the mouse-button defaults to 1
614
+
615
+ If a turtle is clicked, first _onclick-event will be performed,
616
+ then _onscreensclick-event.
617
+ """
618
+ if fun is None:
619
+ self.cv.tag_unbind(item, "<Button%s-ButtonRelease>" % num)
620
+ else:
621
+ def eventfun(event):
622
+ x, y = (self.cv.canvasx(event.x)/self.xscale,
623
+ -self.cv.canvasy(event.y)/self.yscale)
624
+ fun(x, y)
625
+ self.cv.tag_bind(item, "<Button%s-ButtonRelease>" % num,
626
+ eventfun, add)
627
+
628
+ def _ondrag(self, item, fun, num=1, add=None):
629
+ """Bind fun to mouse-move-event (with pressed mouse button) on turtle.
630
+ fun must be a function with two arguments, the coordinates of the
631
+ actual mouse position on the canvas.
632
+ num, the number of the mouse-button defaults to 1
633
+
634
+ Every sequence of mouse-move-events on a turtle is preceded by a
635
+ mouse-click event on that turtle.
636
+ """
637
+ if fun is None:
638
+ self.cv.tag_unbind(item, "<Button%s-Motion>" % num)
639
+ else:
640
+ def eventfun(event):
641
+ try:
642
+ x, y = (self.cv.canvasx(event.x)/self.xscale,
643
+ -self.cv.canvasy(event.y)/self.yscale)
644
+ fun(x, y)
645
+ except Exception:
646
+ pass
647
+ self.cv.tag_bind(item, "<Button%s-Motion>" % num, eventfun, add)
648
+
649
+ def _onscreenclick(self, fun, num=1, add=None):
650
+ """Bind fun to mouse-click event on canvas.
651
+ fun must be a function with two arguments, the coordinates
652
+ of the clicked point on the canvas.
653
+ num, the number of the mouse-button defaults to 1
654
+
655
+ If a turtle is clicked, first _onclick-event will be performed,
656
+ then _onscreensclick-event.
657
+ """
658
+ if fun is None:
659
+ self.cv.unbind("<Button-%s>" % num)
660
+ else:
661
+ def eventfun(event):
662
+ x, y = (self.cv.canvasx(event.x)/self.xscale,
663
+ -self.cv.canvasy(event.y)/self.yscale)
664
+ fun(x, y)
665
+ self.cv.bind("<Button-%s>" % num, eventfun, add)
666
+
667
+ def _onkeyrelease(self, fun, key):
668
+ """Bind fun to key-release event of key.
669
+ Canvas must have focus. See method listen
670
+ """
671
+ if fun is None:
672
+ self.cv.unbind("<KeyRelease-%s>" % key, None)
673
+ else:
674
+ def eventfun(event):
675
+ fun()
676
+ self.cv.bind("<KeyRelease-%s>" % key, eventfun)
677
+
678
+ def _onkeypress(self, fun, key=None):
679
+ """If key is given, bind fun to key-press event of key.
680
+ Otherwise bind fun to any key-press.
681
+ Canvas must have focus. See method listen.
682
+ """
683
+ if fun is None:
684
+ if key is None:
685
+ self.cv.unbind("<KeyPress>", None)
686
+ else:
687
+ self.cv.unbind("<KeyPress-%s>" % key, None)
688
+ else:
689
+ def eventfun(event):
690
+ fun()
691
+ if key is None:
692
+ self.cv.bind("<KeyPress>", eventfun)
693
+ else:
694
+ self.cv.bind("<KeyPress-%s>" % key, eventfun)
695
+
696
+ def _listen(self):
697
+ """Set focus on canvas (in order to collect key-events)
698
+ """
699
+ self.cv.focus_force()
700
+
701
+ def _ontimer(self, fun, t):
702
+ """Install a timer, which calls fun after t milliseconds.
703
+ """
704
+ if t == 0:
705
+ self.cv.after_idle(fun)
706
+ else:
707
+ self.cv.after(t, fun)
708
+
709
+ def _createimage(self, image):
710
+ """Create and return image item on canvas.
711
+ """
712
+ return self.cv.create_image(0, 0, image=image)
713
+
714
+ def _drawimage(self, item, pos, image):
715
+ """Configure image item as to draw image object
716
+ at position (x,y) on canvas)
717
+ """
718
+ x, y = pos
719
+ self.cv.coords(item, (x * self.xscale, -y * self.yscale))
720
+ self.cv.itemconfig(item, image=image)
721
+
722
+ def _setbgpic(self, item, image):
723
+ """Configure image item as to draw image object
724
+ at center of canvas. Set item to the first item
725
+ in the displaylist, so it will be drawn below
726
+ any other item ."""
727
+ self.cv.itemconfig(item, image=image)
728
+ self.cv.tag_lower(item)
729
+
730
+ def _type(self, item):
731
+ """Return 'line' or 'polygon' or 'image' depending on
732
+ type of item.
733
+ """
734
+ return self.cv.type(item)
735
+
736
+ def _pointlist(self, item):
737
+ """returns list of coordinate-pairs of points of item
738
+ Example (for insiders):
739
+ >>> from turtle import *
740
+ >>> getscreen()._pointlist(getturtle().turtle._item)
741
+ [(0.0, 9.9999999999999982), (0.0, -9.9999999999999982),
742
+ (9.9999999999999982, 0.0)]
743
+ >>> """
744
+ cl = self.cv.coords(item)
745
+ pl = [(cl[i], -cl[i+1]) for i in range(0, len(cl), 2)]
746
+ return pl
747
+
748
+ def _setscrollregion(self, srx1, sry1, srx2, sry2):
749
+ self.cv.config(scrollregion=(srx1, sry1, srx2, sry2))
750
+
751
+ def _rescale(self, xscalefactor, yscalefactor):
752
+ items = self.cv.find_all()
753
+ for item in items:
754
+ coordinates = list(self.cv.coords(item))
755
+ newcoordlist = []
756
+ while coordinates:
757
+ x, y = coordinates[:2]
758
+ newcoordlist.append(x * xscalefactor)
759
+ newcoordlist.append(y * yscalefactor)
760
+ coordinates = coordinates[2:]
761
+ self.cv.coords(item, *newcoordlist)
762
+
763
+ def _resize(self, canvwidth=None, canvheight=None, bg=None):
764
+ """Resize the canvas the turtles are drawing on. Does
765
+ not alter the drawing window.
766
+ """
767
+ # needs amendment
768
+ if not isinstance(self.cv, ScrolledCanvas):
769
+ return self.canvwidth, self.canvheight
770
+ if canvwidth is canvheight is bg is None:
771
+ return self.cv.canvwidth, self.cv.canvheight
772
+ if canvwidth is not None:
773
+ self.canvwidth = canvwidth
774
+ if canvheight is not None:
775
+ self.canvheight = canvheight
776
+ self.cv.reset(canvwidth, canvheight, bg)
777
+
778
+ def _window_size(self):
779
+ """ Return the width and height of the turtle window.
780
+ """
781
+ width = self.cv.winfo_width()
782
+ if width <= 1: # the window isn't managed by a geometry manager
783
+ width = self.cv['width']
784
+ height = self.cv.winfo_height()
785
+ if height <= 1: # the window isn't managed by a geometry manager
786
+ height = self.cv['height']
787
+ return width, height
788
+
789
+ def mainloop(self):
790
+ """Starts event loop - calling Tkinter's mainloop function.
791
+
792
+ No argument.
793
+
794
+ Must be last statement in a turtle graphics program.
795
+ Must NOT be used if a script is run from within IDLE in -n mode
796
+ (No subprocess) - for interactive use of turtle graphics.
797
+
798
+ Example (for a TurtleScreen instance named screen):
799
+ >>> screen.mainloop()
800
+
801
+ """
802
+ self.cv.tk.mainloop()
803
+
804
+ def textinput(self, title, prompt):
805
+ """Pop up a dialog window for input of a string.
806
+
807
+ Arguments: title is the title of the dialog window,
808
+ prompt is a text mostly describing what information to input.
809
+
810
+ Return the string input
811
+ If the dialog is canceled, return None.
812
+
813
+ Example (for a TurtleScreen instance named screen):
814
+ >>> screen.textinput("NIM", "Name of first player:")
815
+
816
+ """
817
+ return simpledialog.askstring(title, prompt, parent=self.cv)
818
+
819
+ def numinput(self, title, prompt, default=None, minval=None, maxval=None):
820
+ """Pop up a dialog window for input of a number.
821
+
822
+ Arguments: title is the title of the dialog window,
823
+ prompt is a text mostly describing what numerical information to input.
824
+ default: default value
825
+ minval: minimum value for input
826
+ maxval: maximum value for input
827
+
828
+ The number input must be in the range minval .. maxval if these are
829
+ given. If not, a hint is issued and the dialog remains open for
830
+ correction. Return the number input.
831
+ If the dialog is canceled, return None.
832
+
833
+ Example (for a TurtleScreen instance named screen):
834
+ >>> screen.numinput("Poker", "Your stakes:", 1000, minval=10, maxval=10000)
835
+
836
+ """
837
+ return simpledialog.askfloat(title, prompt, initialvalue=default,
838
+ minvalue=minval, maxvalue=maxval,
839
+ parent=self.cv)
840
+
841
+
842
+ ##############################################################################
843
+ ### End of Tkinter - interface ###
844
+ ##############################################################################
845
+
846
+
847
+ class Terminator (Exception):
848
+ """Will be raised in TurtleScreen.update, if _RUNNING becomes False.
849
+
850
+ This stops execution of a turtle graphics script.
851
+ Main purpose: use in the Demo-Viewer turtle.Demo.py.
852
+ """
853
+ pass
854
+
855
+
856
+ class TurtleGraphicsError(Exception):
857
+ """Some TurtleGraphics Error
858
+ """
859
+
860
+
861
+ class Shape(object):
862
+ """Data structure modeling shapes.
863
+
864
+ attribute _type is one of "polygon", "image", "compound"
865
+ attribute _data is - depending on _type a poygon-tuple,
866
+ an image or a list constructed using the addcomponent method.
867
+ """
868
+ def __init__(self, type_, data=None):
869
+ self._type = type_
870
+ if type_ == "polygon":
871
+ if isinstance(data, list):
872
+ data = tuple(data)
873
+ elif type_ == "image":
874
+ if isinstance(data, str):
875
+ if data.lower().endswith(".gif") and isfile(data):
876
+ data = TurtleScreen._image(data)
877
+ # else data assumed to be PhotoImage
878
+ elif type_ == "compound":
879
+ data = []
880
+ else:
881
+ raise TurtleGraphicsError("There is no shape type %s" % type_)
882
+ self._data = data
883
+
884
+ def addcomponent(self, poly, fill, outline=None):
885
+ """Add component to a shape of type compound.
886
+
887
+ Arguments: poly is a polygon, i. e. a tuple of number pairs.
888
+ fill is the fillcolor of the component,
889
+ outline is the outline color of the component.
890
+
891
+ call (for a Shapeobject namend s):
892
+ -- s.addcomponent(((0,0), (10,10), (-10,10)), "red", "blue")
893
+
894
+ Example:
895
+ >>> poly = ((0,0),(10,-5),(0,10),(-10,-5))
896
+ >>> s = Shape("compound")
897
+ >>> s.addcomponent(poly, "red", "blue")
898
+ >>> # .. add more components and then use register_shape()
899
+ """
900
+ if self._type != "compound":
901
+ raise TurtleGraphicsError("Cannot add component to %s Shape"
902
+ % self._type)
903
+ if outline is None:
904
+ outline = fill
905
+ self._data.append([poly, fill, outline])
906
+
907
+
908
+ class Tbuffer(object):
909
+ """Ring buffer used as undobuffer for RawTurtle objects."""
910
+ def __init__(self, bufsize=10):
911
+ self.bufsize = bufsize
912
+ self.buffer = [[None]] * bufsize
913
+ self.ptr = -1
914
+ self.cumulate = False
915
+ def reset(self, bufsize=None):
916
+ if bufsize is None:
917
+ for i in range(self.bufsize):
918
+ self.buffer[i] = [None]
919
+ else:
920
+ self.bufsize = bufsize
921
+ self.buffer = [[None]] * bufsize
922
+ self.ptr = -1
923
+ def push(self, item):
924
+ if self.bufsize > 0:
925
+ if not self.cumulate:
926
+ self.ptr = (self.ptr + 1) % self.bufsize
927
+ self.buffer[self.ptr] = item
928
+ else:
929
+ self.buffer[self.ptr].append(item)
930
+ def pop(self):
931
+ if self.bufsize > 0:
932
+ item = self.buffer[self.ptr]
933
+ if item is None:
934
+ return None
935
+ else:
936
+ self.buffer[self.ptr] = [None]
937
+ self.ptr = (self.ptr - 1) % self.bufsize
938
+ return (item)
939
+ def nr_of_items(self):
940
+ return self.bufsize - self.buffer.count([None])
941
+ def __repr__(self):
942
+ return str(self.buffer) + " " + str(self.ptr)
943
+
944
+
945
+
946
+ class TurtleScreen(TurtleScreenBase):
947
+ """Provides screen oriented methods like bgcolor etc.
948
+
949
+ Only relies upon the methods of TurtleScreenBase and NOT
950
+ upon components of the underlying graphics toolkit -
951
+ which is Tkinter in this case.
952
+ """
953
+ _RUNNING = True
954
+
955
+ def __init__(self, cv, mode=_CFG["mode"],
956
+ colormode=_CFG["colormode"], delay=_CFG["delay"]):
957
+ TurtleScreenBase.__init__(self, cv)
958
+
959
+ self._shapes = {
960
+ "arrow" : Shape("polygon", ((-10,0), (10,0), (0,10))),
961
+ "turtle" : Shape("polygon", ((0,16), (-2,14), (-1,10), (-4,7),
962
+ (-7,9), (-9,8), (-6,5), (-7,1), (-5,-3), (-8,-6),
963
+ (-6,-8), (-4,-5), (0,-7), (4,-5), (6,-8), (8,-6),
964
+ (5,-3), (7,1), (6,5), (9,8), (7,9), (4,7), (1,10),
965
+ (2,14))),
966
+ "circle" : Shape("polygon", ((10,0), (9.51,3.09), (8.09,5.88),
967
+ (5.88,8.09), (3.09,9.51), (0,10), (-3.09,9.51),
968
+ (-5.88,8.09), (-8.09,5.88), (-9.51,3.09), (-10,0),
969
+ (-9.51,-3.09), (-8.09,-5.88), (-5.88,-8.09),
970
+ (-3.09,-9.51), (-0.00,-10.00), (3.09,-9.51),
971
+ (5.88,-8.09), (8.09,-5.88), (9.51,-3.09))),
972
+ "square" : Shape("polygon", ((10,-10), (10,10), (-10,10),
973
+ (-10,-10))),
974
+ "triangle" : Shape("polygon", ((10,-5.77), (0,11.55),
975
+ (-10,-5.77))),
976
+ "classic": Shape("polygon", ((0,0),(-5,-9),(0,-7),(5,-9))),
977
+ "blank" : Shape("image", self._blankimage())
978
+ }
979
+
980
+ self._bgpics = {"nopic" : ""}
981
+
982
+ self._mode = mode
983
+ self._delayvalue = delay
984
+ self._colormode = _CFG["colormode"]
985
+ self._keys = []
986
+ self.clear()
987
+ if sys.platform == 'darwin':
988
+ # Force Turtle window to the front on OS X. This is needed because
989
+ # the Turtle window will show behind the Terminal window when you
990
+ # start the demo from the command line.
991
+ rootwindow = cv.winfo_toplevel()
992
+ rootwindow.call('wm', 'attributes', '.', '-topmost', '1')
993
+ rootwindow.call('wm', 'attributes', '.', '-topmost', '0')
994
+
995
+ def clear(self):
996
+ """Delete all drawings and all turtles from the TurtleScreen.
997
+
998
+ No argument.
999
+
1000
+ Reset empty TurtleScreen to its initial state: white background,
1001
+ no backgroundimage, no eventbindings and tracing on.
1002
+
1003
+ Example (for a TurtleScreen instance named screen):
1004
+ >>> screen.clear()
1005
+
1006
+ Note: this method is not available as function.
1007
+ """
1008
+ self._delayvalue = _CFG["delay"]
1009
+ self._colormode = _CFG["colormode"]
1010
+ self._delete("all")
1011
+ self._bgpic = self._createimage("")
1012
+ self._bgpicname = "nopic"
1013
+ self._tracing = 1
1014
+ self._updatecounter = 0
1015
+ self._turtles = []
1016
+ self.bgcolor("white")
1017
+ for btn in 1, 2, 3:
1018
+ self.onclick(None, btn)
1019
+ self.onkeypress(None)
1020
+ for key in self._keys[:]:
1021
+ self.onkey(None, key)
1022
+ self.onkeypress(None, key)
1023
+ Turtle._pen = None
1024
+
1025
+ def mode(self, mode=None):
1026
+ """Set turtle-mode ('standard', 'logo' or 'world') and perform reset.
1027
+
1028
+ Optional argument:
1029
+ mode -- one of the strings 'standard', 'logo' or 'world'
1030
+
1031
+ Mode 'standard' is compatible with turtle.py.
1032
+ Mode 'logo' is compatible with most Logo-Turtle-Graphics.
1033
+ Mode 'world' uses userdefined 'worldcoordinates'. *Attention*: in
1034
+ this mode angles appear distorted if x/y unit-ratio doesn't equal 1.
1035
+ If mode is not given, return the current mode.
1036
+
1037
+ Mode Initial turtle heading positive angles
1038
+ ------------|-------------------------|-------------------
1039
+ 'standard' to the right (east) counterclockwise
1040
+ 'logo' upward (north) clockwise
1041
+
1042
+ Examples:
1043
+ >>> mode('logo') # resets turtle heading to north
1044
+ >>> mode()
1045
+ 'logo'
1046
+ """
1047
+ if mode is None:
1048
+ return self._mode
1049
+ mode = mode.lower()
1050
+ if mode not in ["standard", "logo", "world"]:
1051
+ raise TurtleGraphicsError("No turtle-graphics-mode %s" % mode)
1052
+ self._mode = mode
1053
+ if mode in ["standard", "logo"]:
1054
+ self._setscrollregion(-self.canvwidth//2, -self.canvheight//2,
1055
+ self.canvwidth//2, self.canvheight//2)
1056
+ self.xscale = self.yscale = 1.0
1057
+ self.reset()
1058
+
1059
+ def setworldcoordinates(self, llx, lly, urx, ury):
1060
+ """Set up a user defined coordinate-system.
1061
+
1062
+ Arguments:
1063
+ llx -- a number, x-coordinate of lower left corner of canvas
1064
+ lly -- a number, y-coordinate of lower left corner of canvas
1065
+ urx -- a number, x-coordinate of upper right corner of canvas
1066
+ ury -- a number, y-coordinate of upper right corner of canvas
1067
+
1068
+ Set up user coodinat-system and switch to mode 'world' if necessary.
1069
+ This performs a screen.reset. If mode 'world' is already active,
1070
+ all drawings are redrawn according to the new coordinates.
1071
+
1072
+ But ATTENTION: in user-defined coordinatesystems angles may appear
1073
+ distorted. (see Screen.mode())
1074
+
1075
+ Example (for a TurtleScreen instance named screen):
1076
+ >>> screen.setworldcoordinates(-10,-0.5,50,1.5)
1077
+ >>> for _ in range(36):
1078
+ ... left(10)
1079
+ ... forward(0.5)
1080
+ """
1081
+ if self.mode() != "world":
1082
+ self.mode("world")
1083
+ xspan = float(urx - llx)
1084
+ yspan = float(ury - lly)
1085
+ wx, wy = self._window_size()
1086
+ self.screensize(wx-20, wy-20)
1087
+ oldxscale, oldyscale = self.xscale, self.yscale
1088
+ self.xscale = self.canvwidth / xspan
1089
+ self.yscale = self.canvheight / yspan
1090
+ srx1 = llx * self.xscale
1091
+ sry1 = -ury * self.yscale
1092
+ srx2 = self.canvwidth + srx1
1093
+ sry2 = self.canvheight + sry1
1094
+ self._setscrollregion(srx1, sry1, srx2, sry2)
1095
+ self._rescale(self.xscale/oldxscale, self.yscale/oldyscale)
1096
+ self.update()
1097
+
1098
+ def register_shape(self, name, shape=None):
1099
+ """Adds a turtle shape to TurtleScreen's shapelist.
1100
+
1101
+ Arguments:
1102
+ (1) name is the name of a gif-file and shape is None.
1103
+ Installs the corresponding image shape.
1104
+ !! Image-shapes DO NOT rotate when turning the turtle,
1105
+ !! so they do not display the heading of the turtle!
1106
+ (2) name is an arbitrary string and shape is a tuple
1107
+ of pairs of coordinates. Installs the corresponding
1108
+ polygon shape
1109
+ (3) name is an arbitrary string and shape is a
1110
+ (compound) Shape object. Installs the corresponding
1111
+ compound shape.
1112
+ To use a shape, you have to issue the command shape(shapename).
1113
+
1114
+ call: register_shape("turtle.gif")
1115
+ --or: register_shape("tri", ((0,0), (10,10), (-10,10)))
1116
+
1117
+ Example (for a TurtleScreen instance named screen):
1118
+ >>> screen.register_shape("triangle", ((5,-3),(0,5),(-5,-3)))
1119
+
1120
+ """
1121
+ if shape is None:
1122
+ # image
1123
+ if name.lower().endswith(".gif"):
1124
+ shape = Shape("image", self._image(name))
1125
+ else:
1126
+ raise TurtleGraphicsError("Bad arguments for register_shape.\n"
1127
+ + "Use help(register_shape)" )
1128
+ elif isinstance(shape, tuple):
1129
+ shape = Shape("polygon", shape)
1130
+ ## else shape assumed to be Shape-instance
1131
+ self._shapes[name] = shape
1132
+
1133
+ def _colorstr(self, color):
1134
+ """Return color string corresponding to args.
1135
+
1136
+ Argument may be a string or a tuple of three
1137
+ numbers corresponding to actual colormode,
1138
+ i.e. in the range 0<=n<=colormode.
1139
+
1140
+ If the argument doesn't represent a color,
1141
+ an error is raised.
1142
+ """
1143
+ if len(color) == 1:
1144
+ color = color[0]
1145
+ if isinstance(color, str):
1146
+ if self._iscolorstring(color) or color == "":
1147
+ return color
1148
+ else:
1149
+ raise TurtleGraphicsError("bad color string: %s" % str(color))
1150
+ try:
1151
+ r, g, b = color
1152
+ except (TypeError, ValueError):
1153
+ raise TurtleGraphicsError("bad color arguments: %s" % str(color))
1154
+ if self._colormode == 1.0:
1155
+ r, g, b = [round(255.0*x) for x in (r, g, b)]
1156
+ if not ((0 <= r <= 255) and (0 <= g <= 255) and (0 <= b <= 255)):
1157
+ raise TurtleGraphicsError("bad color sequence: %s" % str(color))
1158
+ return "#%02x%02x%02x" % (r, g, b)
1159
+
1160
+ def _color(self, cstr):
1161
+ if not cstr.startswith("#"):
1162
+ return cstr
1163
+ if len(cstr) == 7:
1164
+ cl = [int(cstr[i:i+2], 16) for i in (1, 3, 5)]
1165
+ elif len(cstr) == 4:
1166
+ cl = [16*int(cstr[h], 16) for h in cstr[1:]]
1167
+ else:
1168
+ raise TurtleGraphicsError("bad colorstring: %s" % cstr)
1169
+ return tuple(c * self._colormode/255 for c in cl)
1170
+
1171
+ def colormode(self, cmode=None):
1172
+ """Return the colormode or set it to 1.0 or 255.
1173
+
1174
+ Optional argument:
1175
+ cmode -- one of the values 1.0 or 255
1176
+
1177
+ r, g, b values of colortriples have to be in range 0..cmode.
1178
+
1179
+ Example (for a TurtleScreen instance named screen):
1180
+ >>> screen.colormode()
1181
+ 1.0
1182
+ >>> screen.colormode(255)
1183
+ >>> pencolor(240,160,80)
1184
+ """
1185
+ if cmode is None:
1186
+ return self._colormode
1187
+ if cmode == 1.0:
1188
+ self._colormode = float(cmode)
1189
+ elif cmode == 255:
1190
+ self._colormode = int(cmode)
1191
+
1192
+ def reset(self):
1193
+ """Reset all Turtles on the Screen to their initial state.
1194
+
1195
+ No argument.
1196
+
1197
+ Example (for a TurtleScreen instance named screen):
1198
+ >>> screen.reset()
1199
+ """
1200
+ for turtle in self._turtles:
1201
+ turtle._setmode(self._mode)
1202
+ turtle.reset()
1203
+
1204
+ def turtles(self):
1205
+ """Return the list of turtles on the screen.
1206
+
1207
+ Example (for a TurtleScreen instance named screen):
1208
+ >>> screen.turtles()
1209
+ [<turtle.Turtle object at 0x00E11FB0>]
1210
+ """
1211
+ return self._turtles
1212
+
1213
+ def bgcolor(self, *args):
1214
+ """Set or return backgroundcolor of the TurtleScreen.
1215
+
1216
+ Four input formats are allowed:
1217
+ - bgcolor()
1218
+ Return the current background color as color specification
1219
+ string or as a tuple (see example). May be used as input
1220
+ to another color/pencolor/fillcolor/bgcolor call.
1221
+ - bgcolor(colorstring)
1222
+ Set the background color to colorstring, which is a Tk color
1223
+ specification string, such as "red", "yellow", or "#33cc8c".
1224
+ - bgcolor((r, g, b))
1225
+ Set the background color to the RGB color represented by
1226
+ the tuple of r, g, and b. Each of r, g, and b must be in
1227
+ the range 0..colormode, where colormode is either 1.0 or 255
1228
+ (see colormode()).
1229
+ - bgcolor(r, g, b)
1230
+ Set the background color to the RGB color represented by
1231
+ r, g, and b. Each of r, g, and b must be in the range
1232
+ 0..colormode.
1233
+
1234
+ Example (for a TurtleScreen instance named screen):
1235
+ >>> screen.bgcolor("orange")
1236
+ >>> screen.bgcolor()
1237
+ 'orange'
1238
+ >>> colormode(255)
1239
+ >>> screen.bgcolor('#800080')
1240
+ >>> screen.bgcolor()
1241
+ (128.0, 0.0, 128.0)
1242
+ """
1243
+ if args:
1244
+ color = self._colorstr(args)
1245
+ else:
1246
+ color = None
1247
+ color = self._bgcolor(color)
1248
+ if color is not None:
1249
+ color = self._color(color)
1250
+ return color
1251
+
1252
+ def tracer(self, n=None, delay=None):
1253
+ """Turns turtle animation on/off and set delay for update drawings.
1254
+
1255
+ Optional arguments:
1256
+ n -- nonnegative integer
1257
+ delay -- nonnegative integer
1258
+
1259
+ If n is given, only each n-th regular screen update is really performed.
1260
+ (Can be used to accelerate the drawing of complex graphics.)
1261
+ Second arguments sets delay value (see RawTurtle.delay())
1262
+
1263
+ Example (for a TurtleScreen instance named screen):
1264
+ >>> screen.tracer(8, 25)
1265
+ >>> dist = 2
1266
+ >>> for i in range(200):
1267
+ ... fd(dist)
1268
+ ... rt(90)
1269
+ ... dist += 2
1270
+ """
1271
+ if n is None:
1272
+ return self._tracing
1273
+ self._tracing = int(n)
1274
+ self._updatecounter = 0
1275
+ if delay is not None:
1276
+ self._delayvalue = int(delay)
1277
+ if self._tracing:
1278
+ self.update()
1279
+
1280
+ def delay(self, delay=None):
1281
+ """ Return or set the drawing delay in milliseconds.
1282
+
1283
+ Optional argument:
1284
+ delay -- positive integer
1285
+
1286
+ Example (for a TurtleScreen instance named screen):
1287
+ >>> screen.delay(15)
1288
+ >>> screen.delay()
1289
+ 15
1290
+ """
1291
+ if delay is None:
1292
+ return self._delayvalue
1293
+ self._delayvalue = int(delay)
1294
+
1295
+ def _incrementudc(self):
1296
+ """Increment update counter."""
1297
+ if not TurtleScreen._RUNNING:
1298
+ TurtleScreen._RUNNING = True
1299
+ raise Terminator
1300
+ if self._tracing > 0:
1301
+ self._updatecounter += 1
1302
+ self._updatecounter %= self._tracing
1303
+
1304
+ def update(self):
1305
+ """Perform a TurtleScreen update.
1306
+ """
1307
+ tracing = self._tracing
1308
+ self._tracing = True
1309
+ for t in self.turtles():
1310
+ t._update_data()
1311
+ t._drawturtle()
1312
+ self._tracing = tracing
1313
+ self._update()
1314
+
1315
+ def window_width(self):
1316
+ """ Return the width of the turtle window.
1317
+
1318
+ Example (for a TurtleScreen instance named screen):
1319
+ >>> screen.window_width()
1320
+ 640
1321
+ """
1322
+ return self._window_size()[0]
1323
+
1324
+ def window_height(self):
1325
+ """ Return the height of the turtle window.
1326
+
1327
+ Example (for a TurtleScreen instance named screen):
1328
+ >>> screen.window_height()
1329
+ 480
1330
+ """
1331
+ return self._window_size()[1]
1332
+
1333
+ def getcanvas(self):
1334
+ """Return the Canvas of this TurtleScreen.
1335
+
1336
+ No argument.
1337
+
1338
+ Example (for a Screen instance named screen):
1339
+ >>> cv = screen.getcanvas()
1340
+ >>> cv
1341
+ <turtle.ScrolledCanvas instance at 0x010742D8>
1342
+ """
1343
+ return self.cv
1344
+
1345
+ def getshapes(self):
1346
+ """Return a list of names of all currently available turtle shapes.
1347
+
1348
+ No argument.
1349
+
1350
+ Example (for a TurtleScreen instance named screen):
1351
+ >>> screen.getshapes()
1352
+ ['arrow', 'blank', 'circle', ... , 'turtle']
1353
+ """
1354
+ return sorted(self._shapes.keys())
1355
+
1356
+ def onclick(self, fun, btn=1, add=None):
1357
+ """Bind fun to mouse-click event on canvas.
1358
+
1359
+ Arguments:
1360
+ fun -- a function with two arguments, the coordinates of the
1361
+ clicked point on the canvas.
1362
+ btn -- the number of the mouse-button, defaults to 1
1363
+
1364
+ Example (for a TurtleScreen instance named screen)
1365
+
1366
+ >>> screen.onclick(goto)
1367
+ >>> # Subsequently clicking into the TurtleScreen will
1368
+ >>> # make the turtle move to the clicked point.
1369
+ >>> screen.onclick(None)
1370
+ """
1371
+ self._onscreenclick(fun, btn, add)
1372
+
1373
+ def onkey(self, fun, key):
1374
+ """Bind fun to key-release event of key.
1375
+
1376
+ Arguments:
1377
+ fun -- a function with no arguments
1378
+ key -- a string: key (e.g. "a") or key-symbol (e.g. "space")
1379
+
1380
+ In order to be able to register key-events, TurtleScreen
1381
+ must have focus. (See method listen.)
1382
+
1383
+ Example (for a TurtleScreen instance named screen):
1384
+
1385
+ >>> def f():
1386
+ ... fd(50)
1387
+ ... lt(60)
1388
+ ...
1389
+ >>> screen.onkey(f, "Up")
1390
+ >>> screen.listen()
1391
+
1392
+ Subsequently the turtle can be moved by repeatedly pressing
1393
+ the up-arrow key, consequently drawing a hexagon
1394
+
1395
+ """
1396
+ if fun is None:
1397
+ if key in self._keys:
1398
+ self._keys.remove(key)
1399
+ elif key not in self._keys:
1400
+ self._keys.append(key)
1401
+ self._onkeyrelease(fun, key)
1402
+
1403
+ def onkeypress(self, fun, key=None):
1404
+ """Bind fun to key-press event of key if key is given,
1405
+ or to any key-press-event if no key is given.
1406
+
1407
+ Arguments:
1408
+ fun -- a function with no arguments
1409
+ key -- a string: key (e.g. "a") or key-symbol (e.g. "space")
1410
+
1411
+ In order to be able to register key-events, TurtleScreen
1412
+ must have focus. (See method listen.)
1413
+
1414
+ Example (for a TurtleScreen instance named screen
1415
+ and a Turtle instance named turtle):
1416
+
1417
+ >>> def f():
1418
+ ... fd(50)
1419
+ ... lt(60)
1420
+ ...
1421
+ >>> screen.onkeypress(f, "Up")
1422
+ >>> screen.listen()
1423
+
1424
+ Subsequently the turtle can be moved by repeatedly pressing
1425
+ the up-arrow key, or by keeping pressed the up-arrow key.
1426
+ consequently drawing a hexagon.
1427
+ """
1428
+ if fun is None:
1429
+ if key in self._keys:
1430
+ self._keys.remove(key)
1431
+ elif key is not None and key not in self._keys:
1432
+ self._keys.append(key)
1433
+ self._onkeypress(fun, key)
1434
+
1435
+ def listen(self, xdummy=None, ydummy=None):
1436
+ """Set focus on TurtleScreen (in order to collect key-events)
1437
+
1438
+ No arguments.
1439
+ Dummy arguments are provided in order
1440
+ to be able to pass listen to the onclick method.
1441
+
1442
+ Example (for a TurtleScreen instance named screen):
1443
+ >>> screen.listen()
1444
+ """
1445
+ self._listen()
1446
+
1447
+ def ontimer(self, fun, t=0):
1448
+ """Install a timer, which calls fun after t milliseconds.
1449
+
1450
+ Arguments:
1451
+ fun -- a function with no arguments.
1452
+ t -- a number >= 0
1453
+
1454
+ Example (for a TurtleScreen instance named screen):
1455
+
1456
+ >>> running = True
1457
+ >>> def f():
1458
+ ... if running:
1459
+ ... fd(50)
1460
+ ... lt(60)
1461
+ ... screen.ontimer(f, 250)
1462
+ ...
1463
+ >>> f() # makes the turtle marching around
1464
+ >>> running = False
1465
+ """
1466
+ self._ontimer(fun, t)
1467
+
1468
+ def bgpic(self, picname=None):
1469
+ """Set background image or return name of current backgroundimage.
1470
+
1471
+ Optional argument:
1472
+ picname -- a string, name of a gif-file or "nopic".
1473
+
1474
+ If picname is a filename, set the corresponding image as background.
1475
+ If picname is "nopic", delete backgroundimage, if present.
1476
+ If picname is None, return the filename of the current backgroundimage.
1477
+
1478
+ Example (for a TurtleScreen instance named screen):
1479
+ >>> screen.bgpic()
1480
+ 'nopic'
1481
+ >>> screen.bgpic("landscape.gif")
1482
+ >>> screen.bgpic()
1483
+ 'landscape.gif'
1484
+ """
1485
+ if picname is None:
1486
+ return self._bgpicname
1487
+ if picname not in self._bgpics:
1488
+ self._bgpics[picname] = self._image(picname)
1489
+ self._setbgpic(self._bgpic, self._bgpics[picname])
1490
+ self._bgpicname = picname
1491
+
1492
+ def screensize(self, canvwidth=None, canvheight=None, bg=None):
1493
+ """Resize the canvas the turtles are drawing on.
1494
+
1495
+ Optional arguments:
1496
+ canvwidth -- positive integer, new width of canvas in pixels
1497
+ canvheight -- positive integer, new height of canvas in pixels
1498
+ bg -- colorstring or color-tuple, new backgroundcolor
1499
+ If no arguments are given, return current (canvaswidth, canvasheight)
1500
+
1501
+ Do not alter the drawing window. To observe hidden parts of
1502
+ the canvas use the scrollbars. (Can make visible those parts
1503
+ of a drawing, which were outside the canvas before!)
1504
+
1505
+ Example (for a Turtle instance named turtle):
1506
+ >>> turtle.screensize(2000,1500)
1507
+ >>> # e.g. to search for an erroneously escaped turtle ;-)
1508
+ """
1509
+ return self._resize(canvwidth, canvheight, bg)
1510
+
1511
+ onscreenclick = onclick
1512
+ resetscreen = reset
1513
+ clearscreen = clear
1514
+ addshape = register_shape
1515
+ onkeyrelease = onkey
1516
+
1517
+ class TNavigator(object):
1518
+ """Navigation part of the RawTurtle.
1519
+ Implements methods for turtle movement.
1520
+ """
1521
+ START_ORIENTATION = {
1522
+ "standard": Vec2D(1.0, 0.0),
1523
+ "world" : Vec2D(1.0, 0.0),
1524
+ "logo" : Vec2D(0.0, 1.0) }
1525
+ DEFAULT_MODE = "standard"
1526
+ DEFAULT_ANGLEOFFSET = 0
1527
+ DEFAULT_ANGLEORIENT = 1
1528
+
1529
+ def __init__(self, mode=DEFAULT_MODE):
1530
+ self._angleOffset = self.DEFAULT_ANGLEOFFSET
1531
+ self._angleOrient = self.DEFAULT_ANGLEORIENT
1532
+ self._mode = mode
1533
+ self.undobuffer = None
1534
+ self.degrees()
1535
+ self._mode = None
1536
+ self._setmode(mode)
1537
+ TNavigator.reset(self)
1538
+
1539
+ def reset(self):
1540
+ """reset turtle to its initial values
1541
+
1542
+ Will be overwritten by parent class
1543
+ """
1544
+ self._position = Vec2D(0.0, 0.0)
1545
+ self._orient = TNavigator.START_ORIENTATION[self._mode]
1546
+
1547
+ def _setmode(self, mode=None):
1548
+ """Set turtle-mode to 'standard', 'world' or 'logo'.
1549
+ """
1550
+ if mode is None:
1551
+ return self._mode
1552
+ if mode not in ["standard", "logo", "world"]:
1553
+ return
1554
+ self._mode = mode
1555
+ if mode in ["standard", "world"]:
1556
+ self._angleOffset = 0
1557
+ self._angleOrient = 1
1558
+ else: # mode == "logo":
1559
+ self._angleOffset = self._fullcircle/4.
1560
+ self._angleOrient = -1
1561
+
1562
+ def _setDegreesPerAU(self, fullcircle):
1563
+ """Helper function for degrees() and radians()"""
1564
+ self._fullcircle = fullcircle
1565
+ self._degreesPerAU = 360/fullcircle
1566
+ if self._mode == "standard":
1567
+ self._angleOffset = 0
1568
+ else:
1569
+ self._angleOffset = fullcircle/4.
1570
+
1571
+ def degrees(self, fullcircle=360.0):
1572
+ """ Set angle measurement units to degrees.
1573
+
1574
+ Optional argument:
1575
+ fullcircle - a number
1576
+
1577
+ Set angle measurement units, i. e. set number
1578
+ of 'degrees' for a full circle. Default value is
1579
+ 360 degrees.
1580
+
1581
+ Example (for a Turtle instance named turtle):
1582
+ >>> turtle.left(90)
1583
+ >>> turtle.heading()
1584
+ 90
1585
+
1586
+ Change angle measurement unit to grad (also known as gon,
1587
+ grade, or gradian and equals 1/100-th of the right angle.)
1588
+ >>> turtle.degrees(400.0)
1589
+ >>> turtle.heading()
1590
+ 100
1591
+
1592
+ """
1593
+ self._setDegreesPerAU(fullcircle)
1594
+
1595
+ def radians(self):
1596
+ """ Set the angle measurement units to radians.
1597
+
1598
+ No arguments.
1599
+
1600
+ Example (for a Turtle instance named turtle):
1601
+ >>> turtle.heading()
1602
+ 90
1603
+ >>> turtle.radians()
1604
+ >>> turtle.heading()
1605
+ 1.5707963267948966
1606
+ """
1607
+ self._setDegreesPerAU(math.tau)
1608
+
1609
+ def _go(self, distance):
1610
+ """move turtle forward by specified distance"""
1611
+ ende = self._position + self._orient * distance
1612
+ self._goto(ende)
1613
+
1614
+ def _rotate(self, angle):
1615
+ """Turn turtle counterclockwise by specified angle if angle > 0."""
1616
+ angle *= self._degreesPerAU
1617
+ self._orient = self._orient.rotate(angle)
1618
+
1619
+ def _goto(self, end):
1620
+ """move turtle to position end."""
1621
+ self._position = end
1622
+
1623
+ def teleport(self, x=None, y=None, *, fill_gap: bool = False) -> None:
1624
+ """To be overwritten by child class RawTurtle.
1625
+ Includes no TPen references."""
1626
+ new_x = x if x is not None else self._position[0]
1627
+ new_y = y if y is not None else self._position[1]
1628
+ self._position = Vec2D(new_x, new_y)
1629
+
1630
+ def forward(self, distance):
1631
+ """Move the turtle forward by the specified distance.
1632
+
1633
+ Aliases: forward | fd
1634
+
1635
+ Argument:
1636
+ distance -- a number (integer or float)
1637
+
1638
+ Move the turtle forward by the specified distance, in the direction
1639
+ the turtle is headed.
1640
+
1641
+ Example (for a Turtle instance named turtle):
1642
+ >>> turtle.position()
1643
+ (0.00,0.00)
1644
+ >>> turtle.forward(25)
1645
+ >>> turtle.position()
1646
+ (25.00,0.00)
1647
+ >>> turtle.forward(-75)
1648
+ >>> turtle.position()
1649
+ (-50.00,0.00)
1650
+ """
1651
+ self._go(distance)
1652
+
1653
+ def back(self, distance):
1654
+ """Move the turtle backward by distance.
1655
+
1656
+ Aliases: back | backward | bk
1657
+
1658
+ Argument:
1659
+ distance -- a number
1660
+
1661
+ Move the turtle backward by distance, opposite to the direction the
1662
+ turtle is headed. Do not change the turtle's heading.
1663
+
1664
+ Example (for a Turtle instance named turtle):
1665
+ >>> turtle.position()
1666
+ (0.00,0.00)
1667
+ >>> turtle.backward(30)
1668
+ >>> turtle.position()
1669
+ (-30.00,0.00)
1670
+ """
1671
+ self._go(-distance)
1672
+
1673
+ def right(self, angle):
1674
+ """Turn turtle right by angle units.
1675
+
1676
+ Aliases: right | rt
1677
+
1678
+ Argument:
1679
+ angle -- a number (integer or float)
1680
+
1681
+ Turn turtle right by angle units. (Units are by default degrees,
1682
+ but can be set via the degrees() and radians() functions.)
1683
+ Angle orientation depends on mode. (See this.)
1684
+
1685
+ Example (for a Turtle instance named turtle):
1686
+ >>> turtle.heading()
1687
+ 22.0
1688
+ >>> turtle.right(45)
1689
+ >>> turtle.heading()
1690
+ 337.0
1691
+ """
1692
+ self._rotate(-angle)
1693
+
1694
+ def left(self, angle):
1695
+ """Turn turtle left by angle units.
1696
+
1697
+ Aliases: left | lt
1698
+
1699
+ Argument:
1700
+ angle -- a number (integer or float)
1701
+
1702
+ Turn turtle left by angle units. (Units are by default degrees,
1703
+ but can be set via the degrees() and radians() functions.)
1704
+ Angle orientation depends on mode. (See this.)
1705
+
1706
+ Example (for a Turtle instance named turtle):
1707
+ >>> turtle.heading()
1708
+ 22.0
1709
+ >>> turtle.left(45)
1710
+ >>> turtle.heading()
1711
+ 67.0
1712
+ """
1713
+ self._rotate(angle)
1714
+
1715
+ def pos(self):
1716
+ """Return the turtle's current location (x,y), as a Vec2D-vector.
1717
+
1718
+ Aliases: pos | position
1719
+
1720
+ No arguments.
1721
+
1722
+ Example (for a Turtle instance named turtle):
1723
+ >>> turtle.pos()
1724
+ (0.00, 240.00)
1725
+ """
1726
+ return self._position
1727
+
1728
+ def xcor(self):
1729
+ """ Return the turtle's x coordinate.
1730
+
1731
+ No arguments.
1732
+
1733
+ Example (for a Turtle instance named turtle):
1734
+ >>> reset()
1735
+ >>> turtle.left(60)
1736
+ >>> turtle.forward(100)
1737
+ >>> print(turtle.xcor())
1738
+ 50.0
1739
+ """
1740
+ return self._position[0]
1741
+
1742
+ def ycor(self):
1743
+ """ Return the turtle's y coordinate
1744
+ ---
1745
+ No arguments.
1746
+
1747
+ Example (for a Turtle instance named turtle):
1748
+ >>> reset()
1749
+ >>> turtle.left(60)
1750
+ >>> turtle.forward(100)
1751
+ >>> print(turtle.ycor())
1752
+ 86.6025403784
1753
+ """
1754
+ return self._position[1]
1755
+
1756
+
1757
+ def goto(self, x, y=None):
1758
+ """Move turtle to an absolute position.
1759
+
1760
+ Aliases: setpos | setposition | goto:
1761
+
1762
+ Arguments:
1763
+ x -- a number or a pair/vector of numbers
1764
+ y -- a number None
1765
+
1766
+ call: goto(x, y) # two coordinates
1767
+ --or: goto((x, y)) # a pair (tuple) of coordinates
1768
+ --or: goto(vec) # e.g. as returned by pos()
1769
+
1770
+ Move turtle to an absolute position. If the pen is down,
1771
+ a line will be drawn. The turtle's orientation does not change.
1772
+
1773
+ Example (for a Turtle instance named turtle):
1774
+ >>> tp = turtle.pos()
1775
+ >>> tp
1776
+ (0.00,0.00)
1777
+ >>> turtle.setpos(60,30)
1778
+ >>> turtle.pos()
1779
+ (60.00,30.00)
1780
+ >>> turtle.setpos((20,80))
1781
+ >>> turtle.pos()
1782
+ (20.00,80.00)
1783
+ >>> turtle.setpos(tp)
1784
+ >>> turtle.pos()
1785
+ (0.00,0.00)
1786
+ """
1787
+ if y is None:
1788
+ self._goto(Vec2D(*x))
1789
+ else:
1790
+ self._goto(Vec2D(x, y))
1791
+
1792
+ def home(self):
1793
+ """Move turtle to the origin - coordinates (0,0).
1794
+
1795
+ No arguments.
1796
+
1797
+ Move turtle to the origin - coordinates (0,0) and set its
1798
+ heading to its start-orientation (which depends on mode).
1799
+
1800
+ Example (for a Turtle instance named turtle):
1801
+ >>> turtle.home()
1802
+ """
1803
+ self.goto(0, 0)
1804
+ self.setheading(0)
1805
+
1806
+ def setx(self, x):
1807
+ """Set the turtle's first coordinate to x
1808
+
1809
+ Argument:
1810
+ x -- a number (integer or float)
1811
+
1812
+ Set the turtle's first coordinate to x, leave second coordinate
1813
+ unchanged.
1814
+
1815
+ Example (for a Turtle instance named turtle):
1816
+ >>> turtle.position()
1817
+ (0.00, 240.00)
1818
+ >>> turtle.setx(10)
1819
+ >>> turtle.position()
1820
+ (10.00, 240.00)
1821
+ """
1822
+ self._goto(Vec2D(x, self._position[1]))
1823
+
1824
+ def sety(self, y):
1825
+ """Set the turtle's second coordinate to y
1826
+
1827
+ Argument:
1828
+ y -- a number (integer or float)
1829
+
1830
+ Set the turtle's first coordinate to x, second coordinate remains
1831
+ unchanged.
1832
+
1833
+ Example (for a Turtle instance named turtle):
1834
+ >>> turtle.position()
1835
+ (0.00, 40.00)
1836
+ >>> turtle.sety(-10)
1837
+ >>> turtle.position()
1838
+ (0.00, -10.00)
1839
+ """
1840
+ self._goto(Vec2D(self._position[0], y))
1841
+
1842
+ def distance(self, x, y=None):
1843
+ """Return the distance from the turtle to (x,y) in turtle step units.
1844
+
1845
+ Arguments:
1846
+ x -- a number or a pair/vector of numbers or a turtle instance
1847
+ y -- a number None None
1848
+
1849
+ call: distance(x, y) # two coordinates
1850
+ --or: distance((x, y)) # a pair (tuple) of coordinates
1851
+ --or: distance(vec) # e.g. as returned by pos()
1852
+ --or: distance(mypen) # where mypen is another turtle
1853
+
1854
+ Example (for a Turtle instance named turtle):
1855
+ >>> turtle.pos()
1856
+ (0.00,0.00)
1857
+ >>> turtle.distance(30,40)
1858
+ 50.0
1859
+ >>> pen = Turtle()
1860
+ >>> pen.forward(77)
1861
+ >>> turtle.distance(pen)
1862
+ 77.0
1863
+ """
1864
+ if y is not None:
1865
+ pos = Vec2D(x, y)
1866
+ if isinstance(x, Vec2D):
1867
+ pos = x
1868
+ elif isinstance(x, tuple):
1869
+ pos = Vec2D(*x)
1870
+ elif isinstance(x, TNavigator):
1871
+ pos = x._position
1872
+ return abs(pos - self._position)
1873
+
1874
+ def towards(self, x, y=None):
1875
+ """Return the angle of the line from the turtle's position to (x, y).
1876
+
1877
+ Arguments:
1878
+ x -- a number or a pair/vector of numbers or a turtle instance
1879
+ y -- a number None None
1880
+
1881
+ call: distance(x, y) # two coordinates
1882
+ --or: distance((x, y)) # a pair (tuple) of coordinates
1883
+ --or: distance(vec) # e.g. as returned by pos()
1884
+ --or: distance(mypen) # where mypen is another turtle
1885
+
1886
+ Return the angle, between the line from turtle-position to position
1887
+ specified by x, y and the turtle's start orientation. (Depends on
1888
+ modes - "standard" or "logo")
1889
+
1890
+ Example (for a Turtle instance named turtle):
1891
+ >>> turtle.pos()
1892
+ (10.00, 10.00)
1893
+ >>> turtle.towards(0,0)
1894
+ 225.0
1895
+ """
1896
+ if y is not None:
1897
+ pos = Vec2D(x, y)
1898
+ if isinstance(x, Vec2D):
1899
+ pos = x
1900
+ elif isinstance(x, tuple):
1901
+ pos = Vec2D(*x)
1902
+ elif isinstance(x, TNavigator):
1903
+ pos = x._position
1904
+ x, y = pos - self._position
1905
+ result = round(math.degrees(math.atan2(y, x)), 10) % 360.0
1906
+ result /= self._degreesPerAU
1907
+ return (self._angleOffset + self._angleOrient*result) % self._fullcircle
1908
+
1909
+ def heading(self):
1910
+ """ Return the turtle's current heading.
1911
+
1912
+ No arguments.
1913
+
1914
+ Example (for a Turtle instance named turtle):
1915
+ >>> turtle.left(67)
1916
+ >>> turtle.heading()
1917
+ 67.0
1918
+ """
1919
+ x, y = self._orient
1920
+ result = round(math.degrees(math.atan2(y, x)), 10) % 360.0
1921
+ result /= self._degreesPerAU
1922
+ return (self._angleOffset + self._angleOrient*result) % self._fullcircle
1923
+
1924
+ def setheading(self, to_angle):
1925
+ """Set the orientation of the turtle to to_angle.
1926
+
1927
+ Aliases: setheading | seth
1928
+
1929
+ Argument:
1930
+ to_angle -- a number (integer or float)
1931
+
1932
+ Set the orientation of the turtle to to_angle.
1933
+ Here are some common directions in degrees:
1934
+
1935
+ standard - mode: logo-mode:
1936
+ -------------------|--------------------
1937
+ 0 - east 0 - north
1938
+ 90 - north 90 - east
1939
+ 180 - west 180 - south
1940
+ 270 - south 270 - west
1941
+
1942
+ Example (for a Turtle instance named turtle):
1943
+ >>> turtle.setheading(90)
1944
+ >>> turtle.heading()
1945
+ 90
1946
+ """
1947
+ angle = (to_angle - self.heading())*self._angleOrient
1948
+ full = self._fullcircle
1949
+ angle = (angle+full/2.)%full - full/2.
1950
+ self._rotate(angle)
1951
+
1952
+ def circle(self, radius, extent = None, steps = None):
1953
+ """ Draw a circle with given radius.
1954
+
1955
+ Arguments:
1956
+ radius -- a number
1957
+ extent (optional) -- a number
1958
+ steps (optional) -- an integer
1959
+
1960
+ Draw a circle with given radius. The center is radius units left
1961
+ of the turtle; extent - an angle - determines which part of the
1962
+ circle is drawn. If extent is not given, draw the entire circle.
1963
+ If extent is not a full circle, one endpoint of the arc is the
1964
+ current pen position. Draw the arc in counterclockwise direction
1965
+ if radius is positive, otherwise in clockwise direction. Finally
1966
+ the direction of the turtle is changed by the amount of extent.
1967
+
1968
+ As the circle is approximated by an inscribed regular polygon,
1969
+ steps determines the number of steps to use. If not given,
1970
+ it will be calculated automatically. Maybe used to draw regular
1971
+ polygons.
1972
+
1973
+ call: circle(radius) # full circle
1974
+ --or: circle(radius, extent) # arc
1975
+ --or: circle(radius, extent, steps)
1976
+ --or: circle(radius, steps=6) # 6-sided polygon
1977
+
1978
+ Example (for a Turtle instance named turtle):
1979
+ >>> turtle.circle(50)
1980
+ >>> turtle.circle(120, 180) # semicircle
1981
+ """
1982
+ if self.undobuffer:
1983
+ self.undobuffer.push(["seq"])
1984
+ self.undobuffer.cumulate = True
1985
+ speed = self.speed()
1986
+ if extent is None:
1987
+ extent = self._fullcircle
1988
+ if steps is None:
1989
+ frac = abs(extent)/self._fullcircle
1990
+ steps = 1+int(min(11+abs(radius)/6.0, 59.0)*frac)
1991
+ w = 1.0 * extent / steps
1992
+ w2 = 0.5 * w
1993
+ l = 2.0 * radius * math.sin(math.radians(w2)*self._degreesPerAU)
1994
+ if radius < 0:
1995
+ l, w, w2 = -l, -w, -w2
1996
+ tr = self._tracer()
1997
+ dl = self._delay()
1998
+ if speed == 0:
1999
+ self._tracer(0, 0)
2000
+ else:
2001
+ self.speed(0)
2002
+ self._rotate(w2)
2003
+ for i in range(steps):
2004
+ self.speed(speed)
2005
+ self._go(l)
2006
+ self.speed(0)
2007
+ self._rotate(w)
2008
+ self._rotate(-w2)
2009
+ if speed == 0:
2010
+ self._tracer(tr, dl)
2011
+ self.speed(speed)
2012
+ if self.undobuffer:
2013
+ self.undobuffer.cumulate = False
2014
+
2015
+ ## three dummy methods to be implemented by child class:
2016
+
2017
+ def speed(self, s=0):
2018
+ """dummy method - to be overwritten by child class"""
2019
+ def _tracer(self, a=None, b=None):
2020
+ """dummy method - to be overwritten by child class"""
2021
+ def _delay(self, n=None):
2022
+ """dummy method - to be overwritten by child class"""
2023
+
2024
+ fd = forward
2025
+ bk = back
2026
+ backward = back
2027
+ rt = right
2028
+ lt = left
2029
+ position = pos
2030
+ setpos = goto
2031
+ setposition = goto
2032
+ seth = setheading
2033
+
2034
+
2035
+ class TPen(object):
2036
+ """Drawing part of the RawTurtle.
2037
+ Implements drawing properties.
2038
+ """
2039
+ def __init__(self, resizemode=_CFG["resizemode"]):
2040
+ self._resizemode = resizemode # or "user" or "noresize"
2041
+ self.undobuffer = None
2042
+ TPen._reset(self)
2043
+
2044
+ def _reset(self, pencolor=_CFG["pencolor"],
2045
+ fillcolor=_CFG["fillcolor"]):
2046
+ self._pensize = 1
2047
+ self._shown = True
2048
+ self._pencolor = pencolor
2049
+ self._fillcolor = fillcolor
2050
+ self._drawing = True
2051
+ self._speed = 3
2052
+ self._stretchfactor = (1., 1.)
2053
+ self._shearfactor = 0.
2054
+ self._tilt = 0.
2055
+ self._shapetrafo = (1., 0., 0., 1.)
2056
+ self._outlinewidth = 1
2057
+
2058
+ def resizemode(self, rmode=None):
2059
+ """Set resizemode to one of the values: "auto", "user", "noresize".
2060
+
2061
+ (Optional) Argument:
2062
+ rmode -- one of the strings "auto", "user", "noresize"
2063
+
2064
+ Different resizemodes have the following effects:
2065
+ - "auto" adapts the appearance of the turtle
2066
+ corresponding to the value of pensize.
2067
+ - "user" adapts the appearance of the turtle according to the
2068
+ values of stretchfactor and outlinewidth (outline),
2069
+ which are set by shapesize()
2070
+ - "noresize" no adaption of the turtle's appearance takes place.
2071
+ If no argument is given, return current resizemode.
2072
+ resizemode("user") is called by a call of shapesize with arguments.
2073
+
2074
+
2075
+ Examples (for a Turtle instance named turtle):
2076
+ >>> turtle.resizemode("noresize")
2077
+ >>> turtle.resizemode()
2078
+ 'noresize'
2079
+ """
2080
+ if rmode is None:
2081
+ return self._resizemode
2082
+ rmode = rmode.lower()
2083
+ if rmode in ["auto", "user", "noresize"]:
2084
+ self.pen(resizemode=rmode)
2085
+
2086
+ def pensize(self, width=None):
2087
+ """Set or return the line thickness.
2088
+
2089
+ Aliases: pensize | width
2090
+
2091
+ Argument:
2092
+ width -- positive number
2093
+
2094
+ Set the line thickness to width or return it. If resizemode is set
2095
+ to "auto" and turtleshape is a polygon, that polygon is drawn with
2096
+ the same line thickness. If no argument is given, current pensize
2097
+ is returned.
2098
+
2099
+ Example (for a Turtle instance named turtle):
2100
+ >>> turtle.pensize()
2101
+ 1
2102
+ >>> turtle.pensize(10) # from here on lines of width 10 are drawn
2103
+ """
2104
+ if width is None:
2105
+ return self._pensize
2106
+ self.pen(pensize=width)
2107
+
2108
+
2109
+ def penup(self):
2110
+ """Pull the pen up -- no drawing when moving.
2111
+
2112
+ Aliases: penup | pu | up
2113
+
2114
+ No argument
2115
+
2116
+ Example (for a Turtle instance named turtle):
2117
+ >>> turtle.penup()
2118
+ """
2119
+ if not self._drawing:
2120
+ return
2121
+ self.pen(pendown=False)
2122
+
2123
+ def pendown(self):
2124
+ """Pull the pen down -- drawing when moving.
2125
+
2126
+ Aliases: pendown | pd | down
2127
+
2128
+ No argument.
2129
+
2130
+ Example (for a Turtle instance named turtle):
2131
+ >>> turtle.pendown()
2132
+ """
2133
+ if self._drawing:
2134
+ return
2135
+ self.pen(pendown=True)
2136
+
2137
+ def isdown(self):
2138
+ """Return True if pen is down, False if it's up.
2139
+
2140
+ No argument.
2141
+
2142
+ Example (for a Turtle instance named turtle):
2143
+ >>> turtle.penup()
2144
+ >>> turtle.isdown()
2145
+ False
2146
+ >>> turtle.pendown()
2147
+ >>> turtle.isdown()
2148
+ True
2149
+ """
2150
+ return self._drawing
2151
+
2152
+ def speed(self, speed=None):
2153
+ """ Return or set the turtle's speed.
2154
+
2155
+ Optional argument:
2156
+ speed -- an integer in the range 0..10 or a speedstring (see below)
2157
+
2158
+ Set the turtle's speed to an integer value in the range 0 .. 10.
2159
+ If no argument is given: return current speed.
2160
+
2161
+ If input is a number greater than 10 or smaller than 0.5,
2162
+ speed is set to 0.
2163
+ Speedstrings are mapped to speedvalues in the following way:
2164
+ 'fastest' : 0
2165
+ 'fast' : 10
2166
+ 'normal' : 6
2167
+ 'slow' : 3
2168
+ 'slowest' : 1
2169
+ speeds from 1 to 10 enforce increasingly faster animation of
2170
+ line drawing and turtle turning.
2171
+
2172
+ Attention:
2173
+ speed = 0 : *no* animation takes place. forward/back makes turtle jump
2174
+ and likewise left/right make the turtle turn instantly.
2175
+
2176
+ Example (for a Turtle instance named turtle):
2177
+ >>> turtle.speed(3)
2178
+ """
2179
+ speeds = {'fastest':0, 'fast':10, 'normal':6, 'slow':3, 'slowest':1 }
2180
+ if speed is None:
2181
+ return self._speed
2182
+ if speed in speeds:
2183
+ speed = speeds[speed]
2184
+ elif 0.5 < speed < 10.5:
2185
+ speed = int(round(speed))
2186
+ else:
2187
+ speed = 0
2188
+ self.pen(speed=speed)
2189
+
2190
+ def color(self, *args):
2191
+ """Return or set the pencolor and fillcolor.
2192
+
2193
+ Arguments:
2194
+ Several input formats are allowed.
2195
+ They use 0 to 3 arguments as follows:
2196
+ - color()
2197
+ Return the current pencolor and the current fillcolor as
2198
+ a pair of color specification strings or tuples as returned
2199
+ by pencolor() and fillcolor().
2200
+ - color(colorstring), color((r,g,b)), color(r,g,b)
2201
+ Inputs as in pencolor(), set both, fillcolor and pencolor,
2202
+ to the given value.
2203
+ - color(colorstring1, colorstring2), color((r1,g1,b1), (r2,g2,b2))
2204
+ Equivalent to pencolor(colorstring1) and fillcolor(colorstring2)
2205
+ and analogously if the other input format is used.
2206
+
2207
+ If turtleshape is a polygon, outline and interior of that polygon
2208
+ is drawn with the newly set colors.
2209
+ For more info see: pencolor, fillcolor
2210
+
2211
+ Example (for a Turtle instance named turtle):
2212
+ >>> turtle.color('red', 'green')
2213
+ >>> turtle.color()
2214
+ ('red', 'green')
2215
+ >>> colormode(255)
2216
+ >>> color(('#285078', '#a0c8f0'))
2217
+ >>> color()
2218
+ ((40.0, 80.0, 120.0), (160.0, 200.0, 240.0))
2219
+ """
2220
+ if args:
2221
+ l = len(args)
2222
+ if l == 1:
2223
+ pcolor = fcolor = args[0]
2224
+ elif l == 2:
2225
+ pcolor, fcolor = args
2226
+ elif l == 3:
2227
+ pcolor = fcolor = args
2228
+ pcolor = self._colorstr(pcolor)
2229
+ fcolor = self._colorstr(fcolor)
2230
+ self.pen(pencolor=pcolor, fillcolor=fcolor)
2231
+ else:
2232
+ return self._color(self._pencolor), self._color(self._fillcolor)
2233
+
2234
+ def pencolor(self, *args):
2235
+ """ Return or set the pencolor.
2236
+
2237
+ Arguments:
2238
+ Four input formats are allowed:
2239
+ - pencolor()
2240
+ Return the current pencolor as color specification string or
2241
+ as a tuple (see example). May be used as input to another
2242
+ color/pencolor/fillcolor/bgcolor call.
2243
+ - pencolor(colorstring)
2244
+ Set pencolor to colorstring, which is a Tk color
2245
+ specification string, such as "red", "yellow", or "#33cc8c".
2246
+ - pencolor((r, g, b))
2247
+ Set pencolor to the RGB color represented by the tuple of
2248
+ r, g, and b. Each of r, g, and b must be in the range
2249
+ 0..colormode, where colormode is either 1.0 or 255 (see
2250
+ colormode()).
2251
+ - pencolor(r, g, b)
2252
+ Set pencolor to the RGB color represented by r, g, and b.
2253
+ Each of r, g, and b must be in the range 0..colormode.
2254
+
2255
+ If turtleshape is a polygon, the outline of that polygon is drawn
2256
+ with the newly set pencolor.
2257
+
2258
+ Example (for a Turtle instance named turtle):
2259
+ >>> turtle.pencolor('brown')
2260
+ >>> turtle.pencolor()
2261
+ 'brown'
2262
+ >>> colormode(255)
2263
+ >>> turtle.pencolor('#32c18f')
2264
+ >>> turtle.pencolor()
2265
+ (50.0, 193.0, 143.0)
2266
+ """
2267
+ if args:
2268
+ color = self._colorstr(args)
2269
+ if color == self._pencolor:
2270
+ return
2271
+ self.pen(pencolor=color)
2272
+ else:
2273
+ return self._color(self._pencolor)
2274
+
2275
+ def fillcolor(self, *args):
2276
+ """ Return or set the fillcolor.
2277
+
2278
+ Arguments:
2279
+ Four input formats are allowed:
2280
+ - fillcolor()
2281
+ Return the current fillcolor as color specification string,
2282
+ possibly in tuple format (see example). May be used as
2283
+ input to another color/pencolor/fillcolor/bgcolor call.
2284
+ - fillcolor(colorstring)
2285
+ Set fillcolor to colorstring, which is a Tk color
2286
+ specification string, such as "red", "yellow", or "#33cc8c".
2287
+ - fillcolor((r, g, b))
2288
+ Set fillcolor to the RGB color represented by the tuple of
2289
+ r, g, and b. Each of r, g, and b must be in the range
2290
+ 0..colormode, where colormode is either 1.0 or 255 (see
2291
+ colormode()).
2292
+ - fillcolor(r, g, b)
2293
+ Set fillcolor to the RGB color represented by r, g, and b.
2294
+ Each of r, g, and b must be in the range 0..colormode.
2295
+
2296
+ If turtleshape is a polygon, the interior of that polygon is drawn
2297
+ with the newly set fillcolor.
2298
+
2299
+ Example (for a Turtle instance named turtle):
2300
+ >>> turtle.fillcolor('violet')
2301
+ >>> turtle.fillcolor()
2302
+ 'violet'
2303
+ >>> colormode(255)
2304
+ >>> turtle.fillcolor('#ffffff')
2305
+ >>> turtle.fillcolor()
2306
+ (255.0, 255.0, 255.0)
2307
+ """
2308
+ if args:
2309
+ color = self._colorstr(args)
2310
+ if color == self._fillcolor:
2311
+ return
2312
+ self.pen(fillcolor=color)
2313
+ else:
2314
+ return self._color(self._fillcolor)
2315
+
2316
+ def teleport(self, x=None, y=None, *, fill_gap: bool = False) -> None:
2317
+ """To be overwritten by child class RawTurtle.
2318
+ Includes no TNavigator references.
2319
+ """
2320
+ pendown = self.isdown()
2321
+ if pendown:
2322
+ self.pen(pendown=False)
2323
+ self.pen(pendown=pendown)
2324
+
2325
+ def showturtle(self):
2326
+ """Makes the turtle visible.
2327
+
2328
+ Aliases: showturtle | st
2329
+
2330
+ No argument.
2331
+
2332
+ Example (for a Turtle instance named turtle):
2333
+ >>> turtle.hideturtle()
2334
+ >>> turtle.showturtle()
2335
+ """
2336
+ self.pen(shown=True)
2337
+
2338
+ def hideturtle(self):
2339
+ """Makes the turtle invisible.
2340
+
2341
+ Aliases: hideturtle | ht
2342
+
2343
+ No argument.
2344
+
2345
+ It's a good idea to do this while you're in the
2346
+ middle of a complicated drawing, because hiding
2347
+ the turtle speeds up the drawing observably.
2348
+
2349
+ Example (for a Turtle instance named turtle):
2350
+ >>> turtle.hideturtle()
2351
+ """
2352
+ self.pen(shown=False)
2353
+
2354
+ def isvisible(self):
2355
+ """Return True if the Turtle is shown, False if it's hidden.
2356
+
2357
+ No argument.
2358
+
2359
+ Example (for a Turtle instance named turtle):
2360
+ >>> turtle.hideturtle()
2361
+ >>> print(turtle.isvisible())
2362
+ False
2363
+ """
2364
+ return self._shown
2365
+
2366
+ def pen(self, pen=None, **pendict):
2367
+ """Return or set the pen's attributes.
2368
+
2369
+ Arguments:
2370
+ pen -- a dictionary with some or all of the below listed keys.
2371
+ **pendict -- one or more keyword-arguments with the below
2372
+ listed keys as keywords.
2373
+
2374
+ Return or set the pen's attributes in a 'pen-dictionary'
2375
+ with the following key/value pairs:
2376
+ "shown" : True/False
2377
+ "pendown" : True/False
2378
+ "pencolor" : color-string or color-tuple
2379
+ "fillcolor" : color-string or color-tuple
2380
+ "pensize" : positive number
2381
+ "speed" : number in range 0..10
2382
+ "resizemode" : "auto" or "user" or "noresize"
2383
+ "stretchfactor": (positive number, positive number)
2384
+ "shearfactor": number
2385
+ "outline" : positive number
2386
+ "tilt" : number
2387
+
2388
+ This dictionary can be used as argument for a subsequent
2389
+ pen()-call to restore the former pen-state. Moreover one
2390
+ or more of these attributes can be provided as keyword-arguments.
2391
+ This can be used to set several pen attributes in one statement.
2392
+
2393
+
2394
+ Examples (for a Turtle instance named turtle):
2395
+ >>> turtle.pen(fillcolor="black", pencolor="red", pensize=10)
2396
+ >>> turtle.pen()
2397
+ {'pensize': 10, 'shown': True, 'resizemode': 'auto', 'outline': 1,
2398
+ 'pencolor': 'red', 'pendown': True, 'fillcolor': 'black',
2399
+ 'stretchfactor': (1,1), 'speed': 3, 'shearfactor': 0.0}
2400
+ >>> penstate=turtle.pen()
2401
+ >>> turtle.color("yellow","")
2402
+ >>> turtle.penup()
2403
+ >>> turtle.pen()
2404
+ {'pensize': 10, 'shown': True, 'resizemode': 'auto', 'outline': 1,
2405
+ 'pencolor': 'yellow', 'pendown': False, 'fillcolor': '',
2406
+ 'stretchfactor': (1,1), 'speed': 3, 'shearfactor': 0.0}
2407
+ >>> p.pen(penstate, fillcolor="green")
2408
+ >>> p.pen()
2409
+ {'pensize': 10, 'shown': True, 'resizemode': 'auto', 'outline': 1,
2410
+ 'pencolor': 'red', 'pendown': True, 'fillcolor': 'green',
2411
+ 'stretchfactor': (1,1), 'speed': 3, 'shearfactor': 0.0}
2412
+ """
2413
+ _pd = {"shown" : self._shown,
2414
+ "pendown" : self._drawing,
2415
+ "pencolor" : self._pencolor,
2416
+ "fillcolor" : self._fillcolor,
2417
+ "pensize" : self._pensize,
2418
+ "speed" : self._speed,
2419
+ "resizemode" : self._resizemode,
2420
+ "stretchfactor" : self._stretchfactor,
2421
+ "shearfactor" : self._shearfactor,
2422
+ "outline" : self._outlinewidth,
2423
+ "tilt" : self._tilt
2424
+ }
2425
+
2426
+ if not (pen or pendict):
2427
+ return _pd
2428
+
2429
+ if isinstance(pen, dict):
2430
+ p = pen
2431
+ else:
2432
+ p = {}
2433
+ p.update(pendict)
2434
+
2435
+ _p_buf = {}
2436
+ for key in p:
2437
+ _p_buf[key] = _pd[key]
2438
+
2439
+ if self.undobuffer:
2440
+ self.undobuffer.push(("pen", _p_buf))
2441
+
2442
+ newLine = False
2443
+ if "pendown" in p:
2444
+ if self._drawing != p["pendown"]:
2445
+ newLine = True
2446
+ if "pencolor" in p:
2447
+ if isinstance(p["pencolor"], tuple):
2448
+ p["pencolor"] = self._colorstr((p["pencolor"],))
2449
+ if self._pencolor != p["pencolor"]:
2450
+ newLine = True
2451
+ if "pensize" in p:
2452
+ if self._pensize != p["pensize"]:
2453
+ newLine = True
2454
+ if newLine:
2455
+ self._newLine()
2456
+ if "pendown" in p:
2457
+ self._drawing = p["pendown"]
2458
+ if "pencolor" in p:
2459
+ self._pencolor = p["pencolor"]
2460
+ if "pensize" in p:
2461
+ self._pensize = p["pensize"]
2462
+ if "fillcolor" in p:
2463
+ if isinstance(p["fillcolor"], tuple):
2464
+ p["fillcolor"] = self._colorstr((p["fillcolor"],))
2465
+ self._fillcolor = p["fillcolor"]
2466
+ if "speed" in p:
2467
+ self._speed = p["speed"]
2468
+ if "resizemode" in p:
2469
+ self._resizemode = p["resizemode"]
2470
+ if "stretchfactor" in p:
2471
+ sf = p["stretchfactor"]
2472
+ if isinstance(sf, (int, float)):
2473
+ sf = (sf, sf)
2474
+ self._stretchfactor = sf
2475
+ if "shearfactor" in p:
2476
+ self._shearfactor = p["shearfactor"]
2477
+ if "outline" in p:
2478
+ self._outlinewidth = p["outline"]
2479
+ if "shown" in p:
2480
+ self._shown = p["shown"]
2481
+ if "tilt" in p:
2482
+ self._tilt = p["tilt"]
2483
+ if "stretchfactor" in p or "tilt" in p or "shearfactor" in p:
2484
+ scx, scy = self._stretchfactor
2485
+ shf = self._shearfactor
2486
+ sa, ca = math.sin(self._tilt), math.cos(self._tilt)
2487
+ self._shapetrafo = ( scx*ca, scy*(shf*ca + sa),
2488
+ -scx*sa, scy*(ca - shf*sa))
2489
+ self._update()
2490
+
2491
+ ## three dummy methods to be implemented by child class:
2492
+
2493
+ def _newLine(self, usePos = True):
2494
+ """dummy method - to be overwritten by child class"""
2495
+ def _update(self, count=True, forced=False):
2496
+ """dummy method - to be overwritten by child class"""
2497
+ def _color(self, args):
2498
+ """dummy method - to be overwritten by child class"""
2499
+ def _colorstr(self, args):
2500
+ """dummy method - to be overwritten by child class"""
2501
+
2502
+ width = pensize
2503
+ up = penup
2504
+ pu = penup
2505
+ pd = pendown
2506
+ down = pendown
2507
+ st = showturtle
2508
+ ht = hideturtle
2509
+
2510
+
2511
+ class _TurtleImage(object):
2512
+ """Helper class: Datatype to store Turtle attributes
2513
+ """
2514
+
2515
+ def __init__(self, screen, shapeIndex):
2516
+ self.screen = screen
2517
+ self._type = None
2518
+ self._setshape(shapeIndex)
2519
+
2520
+ def _setshape(self, shapeIndex):
2521
+ screen = self.screen
2522
+ self.shapeIndex = shapeIndex
2523
+ if self._type == "polygon" == screen._shapes[shapeIndex]._type:
2524
+ return
2525
+ if self._type == "image" == screen._shapes[shapeIndex]._type:
2526
+ return
2527
+ if self._type in ["image", "polygon"]:
2528
+ screen._delete(self._item)
2529
+ elif self._type == "compound":
2530
+ for item in self._item:
2531
+ screen._delete(item)
2532
+ self._type = screen._shapes[shapeIndex]._type
2533
+ if self._type == "polygon":
2534
+ self._item = screen._createpoly()
2535
+ elif self._type == "image":
2536
+ self._item = screen._createimage(screen._shapes["blank"]._data)
2537
+ elif self._type == "compound":
2538
+ self._item = [screen._createpoly() for item in
2539
+ screen._shapes[shapeIndex]._data]
2540
+
2541
+
2542
+ class RawTurtle(TPen, TNavigator):
2543
+ """Animation part of the RawTurtle.
2544
+ Puts RawTurtle upon a TurtleScreen and provides tools for
2545
+ its animation.
2546
+ """
2547
+ screens = []
2548
+
2549
+ def __init__(self, canvas=None,
2550
+ shape=_CFG["shape"],
2551
+ undobuffersize=_CFG["undobuffersize"],
2552
+ visible=_CFG["visible"]):
2553
+ if isinstance(canvas, _Screen):
2554
+ self.screen = canvas
2555
+ elif isinstance(canvas, TurtleScreen):
2556
+ if canvas not in RawTurtle.screens:
2557
+ RawTurtle.screens.append(canvas)
2558
+ self.screen = canvas
2559
+ elif isinstance(canvas, (ScrolledCanvas, Canvas)):
2560
+ for screen in RawTurtle.screens:
2561
+ if screen.cv == canvas:
2562
+ self.screen = screen
2563
+ break
2564
+ else:
2565
+ self.screen = TurtleScreen(canvas)
2566
+ RawTurtle.screens.append(self.screen)
2567
+ else:
2568
+ raise TurtleGraphicsError("bad canvas argument %s" % canvas)
2569
+
2570
+ screen = self.screen
2571
+ TNavigator.__init__(self, screen.mode())
2572
+ TPen.__init__(self)
2573
+ screen._turtles.append(self)
2574
+ self.drawingLineItem = screen._createline()
2575
+ self.turtle = _TurtleImage(screen, shape)
2576
+ self._poly = None
2577
+ self._creatingPoly = False
2578
+ self._fillitem = self._fillpath = None
2579
+ self._shown = visible
2580
+ self._hidden_from_screen = False
2581
+ self.currentLineItem = screen._createline()
2582
+ self.currentLine = [self._position]
2583
+ self.items = [self.currentLineItem]
2584
+ self.stampItems = []
2585
+ self._undobuffersize = undobuffersize
2586
+ self.undobuffer = Tbuffer(undobuffersize)
2587
+ self._update()
2588
+
2589
+ def reset(self):
2590
+ """Delete the turtle's drawings and restore its default values.
2591
+
2592
+ No argument.
2593
+
2594
+ Delete the turtle's drawings from the screen, re-center the turtle
2595
+ and set variables to the default values.
2596
+
2597
+ Example (for a Turtle instance named turtle):
2598
+ >>> turtle.position()
2599
+ (0.00,-22.00)
2600
+ >>> turtle.heading()
2601
+ 100.0
2602
+ >>> turtle.reset()
2603
+ >>> turtle.position()
2604
+ (0.00,0.00)
2605
+ >>> turtle.heading()
2606
+ 0.0
2607
+ """
2608
+ TNavigator.reset(self)
2609
+ TPen._reset(self)
2610
+ self._clear()
2611
+ self._drawturtle()
2612
+ self._update()
2613
+
2614
+ def setundobuffer(self, size):
2615
+ """Set or disable undobuffer.
2616
+
2617
+ Argument:
2618
+ size -- an integer or None
2619
+
2620
+ If size is an integer an empty undobuffer of given size is installed.
2621
+ Size gives the maximum number of turtle-actions that can be undone
2622
+ by the undo() function.
2623
+ If size is None, no undobuffer is present.
2624
+
2625
+ Example (for a Turtle instance named turtle):
2626
+ >>> turtle.setundobuffer(42)
2627
+ """
2628
+ if size is None or size <= 0:
2629
+ self.undobuffer = None
2630
+ else:
2631
+ self.undobuffer = Tbuffer(size)
2632
+
2633
+ def undobufferentries(self):
2634
+ """Return count of entries in the undobuffer.
2635
+
2636
+ No argument.
2637
+
2638
+ Example (for a Turtle instance named turtle):
2639
+ >>> while undobufferentries():
2640
+ ... undo()
2641
+ """
2642
+ if self.undobuffer is None:
2643
+ return 0
2644
+ return self.undobuffer.nr_of_items()
2645
+
2646
+ def _clear(self):
2647
+ """Delete all of pen's drawings"""
2648
+ self._fillitem = self._fillpath = None
2649
+ for item in self.items:
2650
+ self.screen._delete(item)
2651
+ self.currentLineItem = self.screen._createline()
2652
+ self.currentLine = []
2653
+ if self._drawing:
2654
+ self.currentLine.append(self._position)
2655
+ self.items = [self.currentLineItem]
2656
+ self.clearstamps()
2657
+ self.setundobuffer(self._undobuffersize)
2658
+
2659
+
2660
+ def clear(self):
2661
+ """Delete the turtle's drawings from the screen. Do not move turtle.
2662
+
2663
+ No arguments.
2664
+
2665
+ Delete the turtle's drawings from the screen. Do not move turtle.
2666
+ State and position of the turtle as well as drawings of other
2667
+ turtles are not affected.
2668
+
2669
+ Examples (for a Turtle instance named turtle):
2670
+ >>> turtle.clear()
2671
+ """
2672
+ self._clear()
2673
+ self._update()
2674
+
2675
+ def _update_data(self):
2676
+ self.screen._incrementudc()
2677
+ if self.screen._updatecounter != 0:
2678
+ return
2679
+ if len(self.currentLine)>1:
2680
+ self.screen._drawline(self.currentLineItem, self.currentLine,
2681
+ self._pencolor, self._pensize)
2682
+
2683
+ def _update(self):
2684
+ """Perform a Turtle-data update.
2685
+ """
2686
+ screen = self.screen
2687
+ if screen._tracing == 0:
2688
+ return
2689
+ elif screen._tracing == 1:
2690
+ self._update_data()
2691
+ self._drawturtle()
2692
+ screen._update() # TurtleScreenBase
2693
+ screen._delay(screen._delayvalue) # TurtleScreenBase
2694
+ else:
2695
+ self._update_data()
2696
+ if screen._updatecounter == 0:
2697
+ for t in screen.turtles():
2698
+ t._drawturtle()
2699
+ screen._update()
2700
+
2701
+ def _tracer(self, flag=None, delay=None):
2702
+ """Turns turtle animation on/off and set delay for update drawings.
2703
+
2704
+ Optional arguments:
2705
+ n -- nonnegative integer
2706
+ delay -- nonnegative integer
2707
+
2708
+ If n is given, only each n-th regular screen update is really performed.
2709
+ (Can be used to accelerate the drawing of complex graphics.)
2710
+ Second arguments sets delay value (see RawTurtle.delay())
2711
+
2712
+ Example (for a Turtle instance named turtle):
2713
+ >>> turtle.tracer(8, 25)
2714
+ >>> dist = 2
2715
+ >>> for i in range(200):
2716
+ ... turtle.fd(dist)
2717
+ ... turtle.rt(90)
2718
+ ... dist += 2
2719
+ """
2720
+ return self.screen.tracer(flag, delay)
2721
+
2722
+ def _color(self, args):
2723
+ return self.screen._color(args)
2724
+
2725
+ def _colorstr(self, args):
2726
+ return self.screen._colorstr(args)
2727
+
2728
+ def _cc(self, args):
2729
+ """Convert colortriples to hexstrings.
2730
+ """
2731
+ if isinstance(args, str):
2732
+ return args
2733
+ try:
2734
+ r, g, b = args
2735
+ except (TypeError, ValueError):
2736
+ raise TurtleGraphicsError("bad color arguments: %s" % str(args))
2737
+ if self.screen._colormode == 1.0:
2738
+ r, g, b = [round(255.0*x) for x in (r, g, b)]
2739
+ if not ((0 <= r <= 255) and (0 <= g <= 255) and (0 <= b <= 255)):
2740
+ raise TurtleGraphicsError("bad color sequence: %s" % str(args))
2741
+ return "#%02x%02x%02x" % (r, g, b)
2742
+
2743
+ def teleport(self, x=None, y=None, *, fill_gap: bool = False) -> None:
2744
+ """Instantly move turtle to an absolute position.
2745
+
2746
+ Arguments:
2747
+ x -- a number or None
2748
+ y -- a number None
2749
+ fill_gap -- a boolean This argument must be specified by name.
2750
+
2751
+ call: teleport(x, y) # two coordinates
2752
+ --or: teleport(x) # teleport to x position, keeping y as is
2753
+ --or: teleport(y=y) # teleport to y position, keeping x as is
2754
+ --or: teleport(x, y, fill_gap=True)
2755
+ # teleport but fill the gap in between
2756
+
2757
+ Move turtle to an absolute position. Unlike goto(x, y), a line will not
2758
+ be drawn. The turtle's orientation does not change. If currently
2759
+ filling, the polygon(s) teleported from will be filled after leaving,
2760
+ and filling will begin again after teleporting. This can be disabled
2761
+ with fill_gap=True, which makes the imaginary line traveled during
2762
+ teleporting act as a fill barrier like in goto(x, y).
2763
+
2764
+ Example (for a Turtle instance named turtle):
2765
+ >>> tp = turtle.pos()
2766
+ >>> tp
2767
+ (0.00,0.00)
2768
+ >>> turtle.teleport(60)
2769
+ >>> turtle.pos()
2770
+ (60.00,0.00)
2771
+ >>> turtle.teleport(y=10)
2772
+ >>> turtle.pos()
2773
+ (60.00,10.00)
2774
+ >>> turtle.teleport(20, 30)
2775
+ >>> turtle.pos()
2776
+ (20.00,30.00)
2777
+ """
2778
+ pendown = self.isdown()
2779
+ was_filling = self.filling()
2780
+ if pendown:
2781
+ self.pen(pendown=False)
2782
+ if was_filling and not fill_gap:
2783
+ self.end_fill()
2784
+ new_x = x if x is not None else self._position[0]
2785
+ new_y = y if y is not None else self._position[1]
2786
+ self._position = Vec2D(new_x, new_y)
2787
+ self.pen(pendown=pendown)
2788
+ if was_filling and not fill_gap:
2789
+ self.begin_fill()
2790
+
2791
+ def clone(self):
2792
+ """Create and return a clone of the turtle.
2793
+
2794
+ No argument.
2795
+
2796
+ Create and return a clone of the turtle with same position, heading
2797
+ and turtle properties.
2798
+
2799
+ Example (for a Turtle instance named mick):
2800
+ mick = Turtle()
2801
+ joe = mick.clone()
2802
+ """
2803
+ screen = self.screen
2804
+ self._newLine(self._drawing)
2805
+
2806
+ turtle = self.turtle
2807
+ self.screen = None
2808
+ self.turtle = None # too make self deepcopy-able
2809
+
2810
+ q = deepcopy(self)
2811
+
2812
+ self.screen = screen
2813
+ self.turtle = turtle
2814
+
2815
+ q.screen = screen
2816
+ q.turtle = _TurtleImage(screen, self.turtle.shapeIndex)
2817
+
2818
+ screen._turtles.append(q)
2819
+ ttype = screen._shapes[self.turtle.shapeIndex]._type
2820
+ if ttype == "polygon":
2821
+ q.turtle._item = screen._createpoly()
2822
+ elif ttype == "image":
2823
+ q.turtle._item = screen._createimage(screen._shapes["blank"]._data)
2824
+ elif ttype == "compound":
2825
+ q.turtle._item = [screen._createpoly() for item in
2826
+ screen._shapes[self.turtle.shapeIndex]._data]
2827
+ q.currentLineItem = screen._createline()
2828
+ q._update()
2829
+ return q
2830
+
2831
+ def shape(self, name=None):
2832
+ """Set turtle shape to shape with given name / return current shapename.
2833
+
2834
+ Optional argument:
2835
+ name -- a string, which is a valid shapename
2836
+
2837
+ Set turtle shape to shape with given name or, if name is not given,
2838
+ return name of current shape.
2839
+ Shape with name must exist in the TurtleScreen's shape dictionary.
2840
+ Initially there are the following polygon shapes:
2841
+ 'arrow', 'turtle', 'circle', 'square', 'triangle', 'classic'.
2842
+ To learn about how to deal with shapes see Screen-method register_shape.
2843
+
2844
+ Example (for a Turtle instance named turtle):
2845
+ >>> turtle.shape()
2846
+ 'arrow'
2847
+ >>> turtle.shape("turtle")
2848
+ >>> turtle.shape()
2849
+ 'turtle'
2850
+ """
2851
+ if name is None:
2852
+ return self.turtle.shapeIndex
2853
+ if not name in self.screen.getshapes():
2854
+ raise TurtleGraphicsError("There is no shape named %s" % name)
2855
+ self.turtle._setshape(name)
2856
+ self._update()
2857
+
2858
+ def shapesize(self, stretch_wid=None, stretch_len=None, outline=None):
2859
+ """Set/return turtle's stretchfactors/outline. Set resizemode to "user".
2860
+
2861
+ Optional arguments:
2862
+ stretch_wid : positive number
2863
+ stretch_len : positive number
2864
+ outline : positive number
2865
+
2866
+ Return or set the pen's attributes x/y-stretchfactors and/or outline.
2867
+ Set resizemode to "user".
2868
+ If and only if resizemode is set to "user", the turtle will be displayed
2869
+ stretched according to its stretchfactors:
2870
+ stretch_wid is stretchfactor perpendicular to orientation
2871
+ stretch_len is stretchfactor in direction of turtles orientation.
2872
+ outline determines the width of the shapes's outline.
2873
+
2874
+ Examples (for a Turtle instance named turtle):
2875
+ >>> turtle.resizemode("user")
2876
+ >>> turtle.shapesize(5, 5, 12)
2877
+ >>> turtle.shapesize(outline=8)
2878
+ """
2879
+ if stretch_wid is stretch_len is outline is None:
2880
+ stretch_wid, stretch_len = self._stretchfactor
2881
+ return stretch_wid, stretch_len, self._outlinewidth
2882
+ if stretch_wid == 0 or stretch_len == 0:
2883
+ raise TurtleGraphicsError("stretch_wid/stretch_len must not be zero")
2884
+ if stretch_wid is not None:
2885
+ if stretch_len is None:
2886
+ stretchfactor = stretch_wid, stretch_wid
2887
+ else:
2888
+ stretchfactor = stretch_wid, stretch_len
2889
+ elif stretch_len is not None:
2890
+ stretchfactor = self._stretchfactor[0], stretch_len
2891
+ else:
2892
+ stretchfactor = self._stretchfactor
2893
+ if outline is None:
2894
+ outline = self._outlinewidth
2895
+ self.pen(resizemode="user",
2896
+ stretchfactor=stretchfactor, outline=outline)
2897
+
2898
+ def shearfactor(self, shear=None):
2899
+ """Set or return the current shearfactor.
2900
+
2901
+ Optional argument: shear -- number, tangent of the shear angle
2902
+
2903
+ Shear the turtleshape according to the given shearfactor shear,
2904
+ which is the tangent of the shear angle. DO NOT change the
2905
+ turtle's heading (direction of movement).
2906
+ If shear is not given: return the current shearfactor, i. e. the
2907
+ tangent of the shear angle, by which lines parallel to the
2908
+ heading of the turtle are sheared.
2909
+
2910
+ Examples (for a Turtle instance named turtle):
2911
+ >>> turtle.shape("circle")
2912
+ >>> turtle.shapesize(5,2)
2913
+ >>> turtle.shearfactor(0.5)
2914
+ >>> turtle.shearfactor()
2915
+ >>> 0.5
2916
+ """
2917
+ if shear is None:
2918
+ return self._shearfactor
2919
+ self.pen(resizemode="user", shearfactor=shear)
2920
+
2921
+ def tiltangle(self, angle=None):
2922
+ """Set or return the current tilt-angle.
2923
+
2924
+ Optional argument: angle -- number
2925
+
2926
+ Rotate the turtleshape to point in the direction specified by angle,
2927
+ regardless of its current tilt-angle. DO NOT change the turtle's
2928
+ heading (direction of movement).
2929
+ If angle is not given: return the current tilt-angle, i. e. the angle
2930
+ between the orientation of the turtleshape and the heading of the
2931
+ turtle (its direction of movement).
2932
+
2933
+ Examples (for a Turtle instance named turtle):
2934
+ >>> turtle.shape("circle")
2935
+ >>> turtle.shapesize(5, 2)
2936
+ >>> turtle.tiltangle()
2937
+ 0.0
2938
+ >>> turtle.tiltangle(45)
2939
+ >>> turtle.tiltangle()
2940
+ 45.0
2941
+ >>> turtle.stamp()
2942
+ >>> turtle.fd(50)
2943
+ >>> turtle.tiltangle(-45)
2944
+ >>> turtle.tiltangle()
2945
+ 315.0
2946
+ >>> turtle.stamp()
2947
+ >>> turtle.fd(50)
2948
+ """
2949
+ if angle is None:
2950
+ tilt = -math.degrees(self._tilt) * self._angleOrient
2951
+ return (tilt / self._degreesPerAU) % self._fullcircle
2952
+ else:
2953
+ tilt = -angle * self._degreesPerAU * self._angleOrient
2954
+ tilt = math.radians(tilt) % math.tau
2955
+ self.pen(resizemode="user", tilt=tilt)
2956
+
2957
+ def tilt(self, angle):
2958
+ """Rotate the turtleshape by angle.
2959
+
2960
+ Argument:
2961
+ angle - a number
2962
+
2963
+ Rotate the turtleshape by angle from its current tilt-angle,
2964
+ but do NOT change the turtle's heading (direction of movement).
2965
+
2966
+ Examples (for a Turtle instance named turtle):
2967
+ >>> turtle.shape("circle")
2968
+ >>> turtle.shapesize(5,2)
2969
+ >>> turtle.tilt(30)
2970
+ >>> turtle.fd(50)
2971
+ >>> turtle.tilt(30)
2972
+ >>> turtle.fd(50)
2973
+ """
2974
+ self.tiltangle(angle + self.tiltangle())
2975
+
2976
+ def shapetransform(self, t11=None, t12=None, t21=None, t22=None):
2977
+ """Set or return the current transformation matrix of the turtle shape.
2978
+
2979
+ Optional arguments: t11, t12, t21, t22 -- numbers.
2980
+
2981
+ If none of the matrix elements are given, return the transformation
2982
+ matrix.
2983
+ Otherwise set the given elements and transform the turtleshape
2984
+ according to the matrix consisting of first row t11, t12 and
2985
+ second row t21, 22.
2986
+ Modify stretchfactor, shearfactor and tiltangle according to the
2987
+ given matrix.
2988
+
2989
+ Examples (for a Turtle instance named turtle):
2990
+ >>> turtle.shape("square")
2991
+ >>> turtle.shapesize(4,2)
2992
+ >>> turtle.shearfactor(-0.5)
2993
+ >>> turtle.shapetransform()
2994
+ (4.0, -1.0, -0.0, 2.0)
2995
+ """
2996
+ if t11 is t12 is t21 is t22 is None:
2997
+ return self._shapetrafo
2998
+ m11, m12, m21, m22 = self._shapetrafo
2999
+ if t11 is not None: m11 = t11
3000
+ if t12 is not None: m12 = t12
3001
+ if t21 is not None: m21 = t21
3002
+ if t22 is not None: m22 = t22
3003
+ if t11 * t22 - t12 * t21 == 0:
3004
+ raise TurtleGraphicsError("Bad shape transform matrix: must not be singular")
3005
+ self._shapetrafo = (m11, m12, m21, m22)
3006
+ alfa = math.atan2(-m21, m11) % math.tau
3007
+ sa, ca = math.sin(alfa), math.cos(alfa)
3008
+ a11, a12, a21, a22 = (ca*m11 - sa*m21, ca*m12 - sa*m22,
3009
+ sa*m11 + ca*m21, sa*m12 + ca*m22)
3010
+ self._stretchfactor = a11, a22
3011
+ self._shearfactor = a12/a22
3012
+ self._tilt = alfa
3013
+ self.pen(resizemode="user")
3014
+
3015
+
3016
+ def _polytrafo(self, poly):
3017
+ """Computes transformed polygon shapes from a shape
3018
+ according to current position and heading.
3019
+ """
3020
+ screen = self.screen
3021
+ p0, p1 = self._position
3022
+ e0, e1 = self._orient
3023
+ e = Vec2D(e0, e1 * screen.yscale / screen.xscale)
3024
+ e0, e1 = (1.0 / abs(e)) * e
3025
+ return [(p0+(e1*x+e0*y)/screen.xscale, p1+(-e0*x+e1*y)/screen.yscale)
3026
+ for (x, y) in poly]
3027
+
3028
+ def get_shapepoly(self):
3029
+ """Return the current shape polygon as tuple of coordinate pairs.
3030
+
3031
+ No argument.
3032
+
3033
+ Examples (for a Turtle instance named turtle):
3034
+ >>> turtle.shape("square")
3035
+ >>> turtle.shapetransform(4, -1, 0, 2)
3036
+ >>> turtle.get_shapepoly()
3037
+ ((50, -20), (30, 20), (-50, 20), (-30, -20))
3038
+
3039
+ """
3040
+ shape = self.screen._shapes[self.turtle.shapeIndex]
3041
+ if shape._type == "polygon":
3042
+ return self._getshapepoly(shape._data, shape._type == "compound")
3043
+ # else return None
3044
+
3045
+ def _getshapepoly(self, polygon, compound=False):
3046
+ """Calculate transformed shape polygon according to resizemode
3047
+ and shapetransform.
3048
+ """
3049
+ if self._resizemode == "user" or compound:
3050
+ t11, t12, t21, t22 = self._shapetrafo
3051
+ elif self._resizemode == "auto":
3052
+ l = max(1, self._pensize/5.0)
3053
+ t11, t12, t21, t22 = l, 0, 0, l
3054
+ elif self._resizemode == "noresize":
3055
+ return polygon
3056
+ return tuple((t11*x + t12*y, t21*x + t22*y) for (x, y) in polygon)
3057
+
3058
+ def _drawturtle(self):
3059
+ """Manages the correct rendering of the turtle with respect to
3060
+ its shape, resizemode, stretch and tilt etc."""
3061
+ screen = self.screen
3062
+ shape = screen._shapes[self.turtle.shapeIndex]
3063
+ ttype = shape._type
3064
+ titem = self.turtle._item
3065
+ if self._shown and screen._updatecounter == 0 and screen._tracing > 0:
3066
+ self._hidden_from_screen = False
3067
+ tshape = shape._data
3068
+ if ttype == "polygon":
3069
+ if self._resizemode == "noresize": w = 1
3070
+ elif self._resizemode == "auto": w = self._pensize
3071
+ else: w =self._outlinewidth
3072
+ shape = self._polytrafo(self._getshapepoly(tshape))
3073
+ fc, oc = self._fillcolor, self._pencolor
3074
+ screen._drawpoly(titem, shape, fill=fc, outline=oc,
3075
+ width=w, top=True)
3076
+ elif ttype == "image":
3077
+ screen._drawimage(titem, self._position, tshape)
3078
+ elif ttype == "compound":
3079
+ for item, (poly, fc, oc) in zip(titem, tshape):
3080
+ poly = self._polytrafo(self._getshapepoly(poly, True))
3081
+ screen._drawpoly(item, poly, fill=self._cc(fc),
3082
+ outline=self._cc(oc), width=self._outlinewidth, top=True)
3083
+ else:
3084
+ if self._hidden_from_screen:
3085
+ return
3086
+ if ttype == "polygon":
3087
+ screen._drawpoly(titem, ((0, 0), (0, 0), (0, 0)), "", "")
3088
+ elif ttype == "image":
3089
+ screen._drawimage(titem, self._position,
3090
+ screen._shapes["blank"]._data)
3091
+ elif ttype == "compound":
3092
+ for item in titem:
3093
+ screen._drawpoly(item, ((0, 0), (0, 0), (0, 0)), "", "")
3094
+ self._hidden_from_screen = True
3095
+
3096
+ ############################## stamp stuff ###############################
3097
+
3098
+ def stamp(self):
3099
+ """Stamp a copy of the turtleshape onto the canvas and return its id.
3100
+
3101
+ No argument.
3102
+
3103
+ Stamp a copy of the turtle shape onto the canvas at the current
3104
+ turtle position. Return a stamp_id for that stamp, which can be
3105
+ used to delete it by calling clearstamp(stamp_id).
3106
+
3107
+ Example (for a Turtle instance named turtle):
3108
+ >>> turtle.color("blue")
3109
+ >>> turtle.stamp()
3110
+ 13
3111
+ >>> turtle.fd(50)
3112
+ """
3113
+ screen = self.screen
3114
+ shape = screen._shapes[self.turtle.shapeIndex]
3115
+ ttype = shape._type
3116
+ tshape = shape._data
3117
+ if ttype == "polygon":
3118
+ stitem = screen._createpoly()
3119
+ if self._resizemode == "noresize": w = 1
3120
+ elif self._resizemode == "auto": w = self._pensize
3121
+ else: w =self._outlinewidth
3122
+ shape = self._polytrafo(self._getshapepoly(tshape))
3123
+ fc, oc = self._fillcolor, self._pencolor
3124
+ screen._drawpoly(stitem, shape, fill=fc, outline=oc,
3125
+ width=w, top=True)
3126
+ elif ttype == "image":
3127
+ stitem = screen._createimage("")
3128
+ screen._drawimage(stitem, self._position, tshape)
3129
+ elif ttype == "compound":
3130
+ stitem = []
3131
+ for element in tshape:
3132
+ item = screen._createpoly()
3133
+ stitem.append(item)
3134
+ stitem = tuple(stitem)
3135
+ for item, (poly, fc, oc) in zip(stitem, tshape):
3136
+ poly = self._polytrafo(self._getshapepoly(poly, True))
3137
+ screen._drawpoly(item, poly, fill=self._cc(fc),
3138
+ outline=self._cc(oc), width=self._outlinewidth, top=True)
3139
+ self.stampItems.append(stitem)
3140
+ self.undobuffer.push(("stamp", stitem))
3141
+ return stitem
3142
+
3143
+ def _clearstamp(self, stampid):
3144
+ """does the work for clearstamp() and clearstamps()
3145
+ """
3146
+ if stampid in self.stampItems:
3147
+ if isinstance(stampid, tuple):
3148
+ for subitem in stampid:
3149
+ self.screen._delete(subitem)
3150
+ else:
3151
+ self.screen._delete(stampid)
3152
+ self.stampItems.remove(stampid)
3153
+ # Delete stampitem from undobuffer if necessary
3154
+ # if clearstamp is called directly.
3155
+ item = ("stamp", stampid)
3156
+ buf = self.undobuffer
3157
+ if item not in buf.buffer:
3158
+ return
3159
+ index = buf.buffer.index(item)
3160
+ buf.buffer.remove(item)
3161
+ if index <= buf.ptr:
3162
+ buf.ptr = (buf.ptr - 1) % buf.bufsize
3163
+ buf.buffer.insert((buf.ptr+1)%buf.bufsize, [None])
3164
+
3165
+ def clearstamp(self, stampid):
3166
+ """Delete stamp with given stampid
3167
+
3168
+ Argument:
3169
+ stampid - an integer, must be return value of previous stamp() call.
3170
+
3171
+ Example (for a Turtle instance named turtle):
3172
+ >>> turtle.color("blue")
3173
+ >>> astamp = turtle.stamp()
3174
+ >>> turtle.fd(50)
3175
+ >>> turtle.clearstamp(astamp)
3176
+ """
3177
+ self._clearstamp(stampid)
3178
+ self._update()
3179
+
3180
+ def clearstamps(self, n=None):
3181
+ """Delete all or first/last n of turtle's stamps.
3182
+
3183
+ Optional argument:
3184
+ n -- an integer
3185
+
3186
+ If n is None, delete all of pen's stamps,
3187
+ else if n > 0 delete first n stamps
3188
+ else if n < 0 delete last n stamps.
3189
+
3190
+ Example (for a Turtle instance named turtle):
3191
+ >>> for i in range(8):
3192
+ ... turtle.stamp(); turtle.fd(30)
3193
+ ...
3194
+ >>> turtle.clearstamps(2)
3195
+ >>> turtle.clearstamps(-2)
3196
+ >>> turtle.clearstamps()
3197
+ """
3198
+ if n is None:
3199
+ toDelete = self.stampItems[:]
3200
+ elif n >= 0:
3201
+ toDelete = self.stampItems[:n]
3202
+ else:
3203
+ toDelete = self.stampItems[n:]
3204
+ for item in toDelete:
3205
+ self._clearstamp(item)
3206
+ self._update()
3207
+
3208
+ def _goto(self, end):
3209
+ """Move the pen to the point end, thereby drawing a line
3210
+ if pen is down. All other methods for turtle movement depend
3211
+ on this one.
3212
+ """
3213
+ ## Version with undo-stuff
3214
+ go_modes = ( self._drawing,
3215
+ self._pencolor,
3216
+ self._pensize,
3217
+ isinstance(self._fillpath, list))
3218
+ screen = self.screen
3219
+ undo_entry = ("go", self._position, end, go_modes,
3220
+ (self.currentLineItem,
3221
+ self.currentLine[:],
3222
+ screen._pointlist(self.currentLineItem),
3223
+ self.items[:])
3224
+ )
3225
+ if self.undobuffer:
3226
+ self.undobuffer.push(undo_entry)
3227
+ start = self._position
3228
+ if self._speed and screen._tracing == 1:
3229
+ diff = (end-start)
3230
+ diffsq = (diff[0]*screen.xscale)**2 + (diff[1]*screen.yscale)**2
3231
+ nhops = 1+int((diffsq**0.5)/(3*(1.1**self._speed)*self._speed))
3232
+ delta = diff * (1.0/nhops)
3233
+ for n in range(1, nhops):
3234
+ if n == 1:
3235
+ top = True
3236
+ else:
3237
+ top = False
3238
+ self._position = start + delta * n
3239
+ if self._drawing:
3240
+ screen._drawline(self.drawingLineItem,
3241
+ (start, self._position),
3242
+ self._pencolor, self._pensize, top)
3243
+ self._update()
3244
+ if self._drawing:
3245
+ screen._drawline(self.drawingLineItem, ((0, 0), (0, 0)),
3246
+ fill="", width=self._pensize)
3247
+ # Turtle now at end,
3248
+ if self._drawing: # now update currentLine
3249
+ self.currentLine.append(end)
3250
+ if isinstance(self._fillpath, list):
3251
+ self._fillpath.append(end)
3252
+ ###### vererbung!!!!!!!!!!!!!!!!!!!!!!
3253
+ self._position = end
3254
+ if self._creatingPoly:
3255
+ self._poly.append(end)
3256
+ if len(self.currentLine) > 42: # 42! answer to the ultimate question
3257
+ # of life, the universe and everything
3258
+ self._newLine()
3259
+ self._update() #count=True)
3260
+
3261
+ def _undogoto(self, entry):
3262
+ """Reverse a _goto. Used for undo()
3263
+ """
3264
+ old, new, go_modes, coodata = entry
3265
+ drawing, pc, ps, filling = go_modes
3266
+ cLI, cL, pl, items = coodata
3267
+ screen = self.screen
3268
+ if abs(self._position - new) > 0.5:
3269
+ print ("undogoto: HALLO-DA-STIMMT-WAS-NICHT!")
3270
+ # restore former situation
3271
+ self.currentLineItem = cLI
3272
+ self.currentLine = cL
3273
+
3274
+ if pl == [(0, 0), (0, 0)]:
3275
+ usepc = ""
3276
+ else:
3277
+ usepc = pc
3278
+ screen._drawline(cLI, pl, fill=usepc, width=ps)
3279
+
3280
+ todelete = [i for i in self.items if (i not in items) and
3281
+ (screen._type(i) == "line")]
3282
+ for i in todelete:
3283
+ screen._delete(i)
3284
+ self.items.remove(i)
3285
+
3286
+ start = old
3287
+ if self._speed and screen._tracing == 1:
3288
+ diff = old - new
3289
+ diffsq = (diff[0]*screen.xscale)**2 + (diff[1]*screen.yscale)**2
3290
+ nhops = 1+int((diffsq**0.5)/(3*(1.1**self._speed)*self._speed))
3291
+ delta = diff * (1.0/nhops)
3292
+ for n in range(1, nhops):
3293
+ if n == 1:
3294
+ top = True
3295
+ else:
3296
+ top = False
3297
+ self._position = new + delta * n
3298
+ if drawing:
3299
+ screen._drawline(self.drawingLineItem,
3300
+ (start, self._position),
3301
+ pc, ps, top)
3302
+ self._update()
3303
+ if drawing:
3304
+ screen._drawline(self.drawingLineItem, ((0, 0), (0, 0)),
3305
+ fill="", width=ps)
3306
+ # Turtle now at position old,
3307
+ self._position = old
3308
+ ## if undo is done during creating a polygon, the last vertex
3309
+ ## will be deleted. if the polygon is entirely deleted,
3310
+ ## creatingPoly will be set to False.
3311
+ ## Polygons created before the last one will not be affected by undo()
3312
+ if self._creatingPoly:
3313
+ if len(self._poly) > 0:
3314
+ self._poly.pop()
3315
+ if self._poly == []:
3316
+ self._creatingPoly = False
3317
+ self._poly = None
3318
+ if filling:
3319
+ if self._fillpath == []:
3320
+ self._fillpath = None
3321
+ print("Unwahrscheinlich in _undogoto!")
3322
+ elif self._fillpath is not None:
3323
+ self._fillpath.pop()
3324
+ self._update() #count=True)
3325
+
3326
+ def _rotate(self, angle):
3327
+ """Turns pen clockwise by angle.
3328
+ """
3329
+ if self.undobuffer:
3330
+ self.undobuffer.push(("rot", angle, self._degreesPerAU))
3331
+ angle *= self._degreesPerAU
3332
+ neworient = self._orient.rotate(angle)
3333
+ tracing = self.screen._tracing
3334
+ if tracing == 1 and self._speed > 0:
3335
+ anglevel = 3.0 * self._speed
3336
+ steps = 1 + int(abs(angle)/anglevel)
3337
+ delta = 1.0*angle/steps
3338
+ for _ in range(steps):
3339
+ self._orient = self._orient.rotate(delta)
3340
+ self._update()
3341
+ self._orient = neworient
3342
+ self._update()
3343
+
3344
+ def _newLine(self, usePos=True):
3345
+ """Closes current line item and starts a new one.
3346
+ Remark: if current line became too long, animation
3347
+ performance (via _drawline) slowed down considerably.
3348
+ """
3349
+ if len(self.currentLine) > 1:
3350
+ self.screen._drawline(self.currentLineItem, self.currentLine,
3351
+ self._pencolor, self._pensize)
3352
+ self.currentLineItem = self.screen._createline()
3353
+ self.items.append(self.currentLineItem)
3354
+ else:
3355
+ self.screen._drawline(self.currentLineItem, top=True)
3356
+ self.currentLine = []
3357
+ if usePos:
3358
+ self.currentLine = [self._position]
3359
+
3360
+ def filling(self):
3361
+ """Return fillstate (True if filling, False else).
3362
+
3363
+ No argument.
3364
+
3365
+ Example (for a Turtle instance named turtle):
3366
+ >>> turtle.begin_fill()
3367
+ >>> if turtle.filling():
3368
+ ... turtle.pensize(5)
3369
+ ... else:
3370
+ ... turtle.pensize(3)
3371
+ """
3372
+ return isinstance(self._fillpath, list)
3373
+
3374
+ def begin_fill(self):
3375
+ """Called just before drawing a shape to be filled.
3376
+
3377
+ No argument.
3378
+
3379
+ Example (for a Turtle instance named turtle):
3380
+ >>> turtle.color("black", "red")
3381
+ >>> turtle.begin_fill()
3382
+ >>> turtle.circle(60)
3383
+ >>> turtle.end_fill()
3384
+ """
3385
+ if not self.filling():
3386
+ self._fillitem = self.screen._createpoly()
3387
+ self.items.append(self._fillitem)
3388
+ self._fillpath = [self._position]
3389
+ self._newLine()
3390
+ if self.undobuffer:
3391
+ self.undobuffer.push(("beginfill", self._fillitem))
3392
+ self._update()
3393
+
3394
+
3395
+ def end_fill(self):
3396
+ """Fill the shape drawn after the call begin_fill().
3397
+
3398
+ No argument.
3399
+
3400
+ Example (for a Turtle instance named turtle):
3401
+ >>> turtle.color("black", "red")
3402
+ >>> turtle.begin_fill()
3403
+ >>> turtle.circle(60)
3404
+ >>> turtle.end_fill()
3405
+ """
3406
+ if self.filling():
3407
+ if len(self._fillpath) > 2:
3408
+ self.screen._drawpoly(self._fillitem, self._fillpath,
3409
+ fill=self._fillcolor)
3410
+ if self.undobuffer:
3411
+ self.undobuffer.push(("dofill", self._fillitem))
3412
+ self._fillitem = self._fillpath = None
3413
+ self._update()
3414
+
3415
+ def dot(self, size=None, *color):
3416
+ """Draw a dot with diameter size, using color.
3417
+
3418
+ Optional arguments:
3419
+ size -- an integer >= 1 (if given)
3420
+ color -- a colorstring or a numeric color tuple
3421
+
3422
+ Draw a circular dot with diameter size, using color.
3423
+ If size is not given, the maximum of pensize+4 and 2*pensize is used.
3424
+
3425
+ Example (for a Turtle instance named turtle):
3426
+ >>> turtle.dot()
3427
+ >>> turtle.fd(50); turtle.dot(20, "blue"); turtle.fd(50)
3428
+ """
3429
+ if not color:
3430
+ if isinstance(size, (str, tuple)):
3431
+ color = self._colorstr(size)
3432
+ size = self._pensize + max(self._pensize, 4)
3433
+ else:
3434
+ color = self._pencolor
3435
+ if not size:
3436
+ size = self._pensize + max(self._pensize, 4)
3437
+ else:
3438
+ if size is None:
3439
+ size = self._pensize + max(self._pensize, 4)
3440
+ color = self._colorstr(color)
3441
+ # If screen were to gain a dot function, see GH #104218.
3442
+ pen = self.pen()
3443
+ if self.undobuffer:
3444
+ self.undobuffer.push(["seq"])
3445
+ self.undobuffer.cumulate = True
3446
+ try:
3447
+ if self.resizemode() == 'auto':
3448
+ self.ht()
3449
+ self.pendown()
3450
+ self.pensize(size)
3451
+ self.pencolor(color)
3452
+ self.forward(0)
3453
+ finally:
3454
+ self.pen(pen)
3455
+ if self.undobuffer:
3456
+ self.undobuffer.cumulate = False
3457
+
3458
+ def _write(self, txt, align, font):
3459
+ """Performs the writing for write()
3460
+ """
3461
+ item, end = self.screen._write(self._position, txt, align, font,
3462
+ self._pencolor)
3463
+ self._update()
3464
+ self.items.append(item)
3465
+ if self.undobuffer:
3466
+ self.undobuffer.push(("wri", item))
3467
+ return end
3468
+
3469
+ def write(self, arg, move=False, align="left", font=("Arial", 8, "normal")):
3470
+ """Write text at the current turtle position.
3471
+
3472
+ Arguments:
3473
+ arg -- info, which is to be written to the TurtleScreen
3474
+ move (optional) -- True/False
3475
+ align (optional) -- one of the strings "left", "center" or right"
3476
+ font (optional) -- a triple (fontname, fontsize, fonttype)
3477
+
3478
+ Write text - the string representation of arg - at the current
3479
+ turtle position according to align ("left", "center" or right")
3480
+ and with the given font.
3481
+ If move is True, the pen is moved to the bottom-right corner
3482
+ of the text. By default, move is False.
3483
+
3484
+ Example (for a Turtle instance named turtle):
3485
+ >>> turtle.write('Home = ', True, align="center")
3486
+ >>> turtle.write((0,0), True)
3487
+ """
3488
+ if self.undobuffer:
3489
+ self.undobuffer.push(["seq"])
3490
+ self.undobuffer.cumulate = True
3491
+ end = self._write(str(arg), align.lower(), font)
3492
+ if move:
3493
+ x, y = self.pos()
3494
+ self.setpos(end, y)
3495
+ if self.undobuffer:
3496
+ self.undobuffer.cumulate = False
3497
+
3498
+ def begin_poly(self):
3499
+ """Start recording the vertices of a polygon.
3500
+
3501
+ No argument.
3502
+
3503
+ Start recording the vertices of a polygon. Current turtle position
3504
+ is first point of polygon.
3505
+
3506
+ Example (for a Turtle instance named turtle):
3507
+ >>> turtle.begin_poly()
3508
+ """
3509
+ self._poly = [self._position]
3510
+ self._creatingPoly = True
3511
+
3512
+ def end_poly(self):
3513
+ """Stop recording the vertices of a polygon.
3514
+
3515
+ No argument.
3516
+
3517
+ Stop recording the vertices of a polygon. Current turtle position is
3518
+ last point of polygon. This will be connected with the first point.
3519
+
3520
+ Example (for a Turtle instance named turtle):
3521
+ >>> turtle.end_poly()
3522
+ """
3523
+ self._creatingPoly = False
3524
+
3525
+ def get_poly(self):
3526
+ """Return the lastly recorded polygon.
3527
+
3528
+ No argument.
3529
+
3530
+ Example (for a Turtle instance named turtle):
3531
+ >>> p = turtle.get_poly()
3532
+ >>> turtle.register_shape("myFavouriteShape", p)
3533
+ """
3534
+ ## check if there is any poly?
3535
+ if self._poly is not None:
3536
+ return tuple(self._poly)
3537
+
3538
+ def getscreen(self):
3539
+ """Return the TurtleScreen object, the turtle is drawing on.
3540
+
3541
+ No argument.
3542
+
3543
+ Return the TurtleScreen object, the turtle is drawing on.
3544
+ So TurtleScreen-methods can be called for that object.
3545
+
3546
+ Example (for a Turtle instance named turtle):
3547
+ >>> ts = turtle.getscreen()
3548
+ >>> ts
3549
+ <turtle.TurtleScreen object at 0x0106B770>
3550
+ >>> ts.bgcolor("pink")
3551
+ """
3552
+ return self.screen
3553
+
3554
+ def getturtle(self):
3555
+ """Return the Turtleobject itself.
3556
+
3557
+ No argument.
3558
+
3559
+ Only reasonable use: as a function to return the 'anonymous turtle':
3560
+
3561
+ Example:
3562
+ >>> pet = getturtle()
3563
+ >>> pet.fd(50)
3564
+ >>> pet
3565
+ <turtle.Turtle object at 0x0187D810>
3566
+ >>> turtles()
3567
+ [<turtle.Turtle object at 0x0187D810>]
3568
+ """
3569
+ return self
3570
+
3571
+ getpen = getturtle
3572
+
3573
+
3574
+ ################################################################
3575
+ ### screen oriented methods recurring to methods of TurtleScreen
3576
+ ################################################################
3577
+
3578
+ def _delay(self, delay=None):
3579
+ """Set delay value which determines speed of turtle animation.
3580
+ """
3581
+ return self.screen.delay(delay)
3582
+
3583
+ def onclick(self, fun, btn=1, add=None):
3584
+ """Bind fun to mouse-click event on this turtle on canvas.
3585
+
3586
+ Arguments:
3587
+ fun -- a function with two arguments, to which will be assigned
3588
+ the coordinates of the clicked point on the canvas.
3589
+ btn -- number of the mouse-button defaults to 1 (left mouse button).
3590
+ add -- True or False. If True, new binding will be added, otherwise
3591
+ it will replace a former binding.
3592
+
3593
+ Example for the anonymous turtle, i. e. the procedural way:
3594
+
3595
+ >>> def turn(x, y):
3596
+ ... left(360)
3597
+ ...
3598
+ >>> onclick(turn) # Now clicking into the turtle will turn it.
3599
+ >>> onclick(None) # event-binding will be removed
3600
+ """
3601
+ self.screen._onclick(self.turtle._item, fun, btn, add)
3602
+ self._update()
3603
+
3604
+ def onrelease(self, fun, btn=1, add=None):
3605
+ """Bind fun to mouse-button-release event on this turtle on canvas.
3606
+
3607
+ Arguments:
3608
+ fun -- a function with two arguments, to which will be assigned
3609
+ the coordinates of the clicked point on the canvas.
3610
+ btn -- number of the mouse-button defaults to 1 (left mouse button).
3611
+
3612
+ Example (for a MyTurtle instance named joe):
3613
+ >>> class MyTurtle(Turtle):
3614
+ ... def glow(self,x,y):
3615
+ ... self.fillcolor("red")
3616
+ ... def unglow(self,x,y):
3617
+ ... self.fillcolor("")
3618
+ ...
3619
+ >>> joe = MyTurtle()
3620
+ >>> joe.onclick(joe.glow)
3621
+ >>> joe.onrelease(joe.unglow)
3622
+
3623
+ Clicking on joe turns fillcolor red, unclicking turns it to
3624
+ transparent.
3625
+ """
3626
+ self.screen._onrelease(self.turtle._item, fun, btn, add)
3627
+ self._update()
3628
+
3629
+ def ondrag(self, fun, btn=1, add=None):
3630
+ """Bind fun to mouse-move event on this turtle on canvas.
3631
+
3632
+ Arguments:
3633
+ fun -- a function with two arguments, to which will be assigned
3634
+ the coordinates of the clicked point on the canvas.
3635
+ btn -- number of the mouse-button defaults to 1 (left mouse button).
3636
+
3637
+ Every sequence of mouse-move-events on a turtle is preceded by a
3638
+ mouse-click event on that turtle.
3639
+
3640
+ Example (for a Turtle instance named turtle):
3641
+ >>> turtle.ondrag(turtle.goto)
3642
+
3643
+ Subsequently clicking and dragging a Turtle will move it
3644
+ across the screen thereby producing handdrawings (if pen is
3645
+ down).
3646
+ """
3647
+ self.screen._ondrag(self.turtle._item, fun, btn, add)
3648
+
3649
+
3650
+ def _undo(self, action, data):
3651
+ """Does the main part of the work for undo()
3652
+ """
3653
+ if self.undobuffer is None:
3654
+ return
3655
+ if action == "rot":
3656
+ angle, degPAU = data
3657
+ self._rotate(-angle*degPAU/self._degreesPerAU)
3658
+ dummy = self.undobuffer.pop()
3659
+ elif action == "stamp":
3660
+ stitem = data[0]
3661
+ self.clearstamp(stitem)
3662
+ elif action == "go":
3663
+ self._undogoto(data)
3664
+ elif action in ["wri", "dot"]:
3665
+ item = data[0]
3666
+ self.screen._delete(item)
3667
+ self.items.remove(item)
3668
+ elif action == "dofill":
3669
+ item = data[0]
3670
+ self.screen._drawpoly(item, ((0, 0),(0, 0),(0, 0)),
3671
+ fill="", outline="")
3672
+ elif action == "beginfill":
3673
+ item = data[0]
3674
+ self._fillitem = self._fillpath = None
3675
+ if item in self.items:
3676
+ self.screen._delete(item)
3677
+ self.items.remove(item)
3678
+ elif action == "pen":
3679
+ TPen.pen(self, data[0])
3680
+ self.undobuffer.pop()
3681
+
3682
+ def undo(self):
3683
+ """undo (repeatedly) the last turtle action.
3684
+
3685
+ No argument.
3686
+
3687
+ undo (repeatedly) the last turtle action.
3688
+ Number of available undo actions is determined by the size of
3689
+ the undobuffer.
3690
+
3691
+ Example (for a Turtle instance named turtle):
3692
+ >>> for i in range(4):
3693
+ ... turtle.fd(50); turtle.lt(80)
3694
+ ...
3695
+ >>> for i in range(8):
3696
+ ... turtle.undo()
3697
+ ...
3698
+ """
3699
+ if self.undobuffer is None:
3700
+ return
3701
+ item = self.undobuffer.pop()
3702
+ action = item[0]
3703
+ data = item[1:]
3704
+ if action == "seq":
3705
+ while data:
3706
+ item = data.pop()
3707
+ self._undo(item[0], item[1:])
3708
+ else:
3709
+ self._undo(action, data)
3710
+
3711
+ turtlesize = shapesize
3712
+
3713
+ RawPen = RawTurtle
3714
+
3715
+ ### Screen - Singleton ########################
3716
+
3717
+ def Screen():
3718
+ """Return the singleton screen object.
3719
+ If none exists at the moment, create a new one and return it,
3720
+ else return the existing one."""
3721
+ if Turtle._screen is None:
3722
+ Turtle._screen = _Screen()
3723
+ return Turtle._screen
3724
+
3725
+ class _Screen(TurtleScreen):
3726
+
3727
+ _root = None
3728
+ _canvas = None
3729
+ _title = _CFG["title"]
3730
+
3731
+ def __init__(self):
3732
+ if _Screen._root is None:
3733
+ _Screen._root = self._root = _Root()
3734
+ self._root.title(_Screen._title)
3735
+ self._root.ondestroy(self._destroy)
3736
+ if _Screen._canvas is None:
3737
+ width = _CFG["width"]
3738
+ height = _CFG["height"]
3739
+ canvwidth = _CFG["canvwidth"]
3740
+ canvheight = _CFG["canvheight"]
3741
+ leftright = _CFG["leftright"]
3742
+ topbottom = _CFG["topbottom"]
3743
+ self._root.setupcanvas(width, height, canvwidth, canvheight)
3744
+ _Screen._canvas = self._root._getcanvas()
3745
+ TurtleScreen.__init__(self, _Screen._canvas)
3746
+ self.setup(width, height, leftright, topbottom)
3747
+
3748
+ def setup(self, width=_CFG["width"], height=_CFG["height"],
3749
+ startx=_CFG["leftright"], starty=_CFG["topbottom"]):
3750
+ """ Set the size and position of the main window.
3751
+
3752
+ Arguments:
3753
+ width: as integer a size in pixels, as float a fraction of the screen.
3754
+ Default is 50% of screen.
3755
+ height: as integer the height in pixels, as float a fraction of the
3756
+ screen. Default is 75% of screen.
3757
+ startx: if positive, starting position in pixels from the left
3758
+ edge of the screen, if negative from the right edge
3759
+ Default, startx=None is to center window horizontally.
3760
+ starty: if positive, starting position in pixels from the top
3761
+ edge of the screen, if negative from the bottom edge
3762
+ Default, starty=None is to center window vertically.
3763
+
3764
+ Examples (for a Screen instance named screen):
3765
+ >>> screen.setup (width=200, height=200, startx=0, starty=0)
3766
+
3767
+ sets window to 200x200 pixels, in upper left of screen
3768
+
3769
+ >>> screen.setup(width=.75, height=0.5, startx=None, starty=None)
3770
+
3771
+ sets window to 75% of screen by 50% of screen and centers
3772
+ """
3773
+ if not hasattr(self._root, "set_geometry"):
3774
+ return
3775
+ sw = self._root.win_width()
3776
+ sh = self._root.win_height()
3777
+ if isinstance(width, float) and 0 <= width <= 1:
3778
+ width = sw*width
3779
+ if startx is None:
3780
+ startx = (sw - width) / 2
3781
+ if isinstance(height, float) and 0 <= height <= 1:
3782
+ height = sh*height
3783
+ if starty is None:
3784
+ starty = (sh - height) / 2
3785
+ self._root.set_geometry(width, height, startx, starty)
3786
+ self.update()
3787
+
3788
+ def title(self, titlestring):
3789
+ """Set title of turtle-window
3790
+
3791
+ Argument:
3792
+ titlestring -- a string, to appear in the titlebar of the
3793
+ turtle graphics window.
3794
+
3795
+ This is a method of Screen-class. Not available for TurtleScreen-
3796
+ objects.
3797
+
3798
+ Example (for a Screen instance named screen):
3799
+ >>> screen.title("Welcome to the turtle-zoo!")
3800
+ """
3801
+ if _Screen._root is not None:
3802
+ _Screen._root.title(titlestring)
3803
+ _Screen._title = titlestring
3804
+
3805
+ def _destroy(self):
3806
+ root = self._root
3807
+ if root is _Screen._root:
3808
+ Turtle._pen = None
3809
+ Turtle._screen = None
3810
+ _Screen._root = None
3811
+ _Screen._canvas = None
3812
+ TurtleScreen._RUNNING = False
3813
+ root.destroy()
3814
+
3815
+ def bye(self):
3816
+ """Shut the turtlegraphics window.
3817
+
3818
+ Example (for a TurtleScreen instance named screen):
3819
+ >>> screen.bye()
3820
+ """
3821
+ self._destroy()
3822
+
3823
+ def exitonclick(self):
3824
+ """Go into mainloop until the mouse is clicked.
3825
+
3826
+ No arguments.
3827
+
3828
+ Bind bye() method to mouseclick on TurtleScreen.
3829
+ If "using_IDLE" - value in configuration dictionary is False
3830
+ (default value), enter mainloop.
3831
+ If IDLE with -n switch (no subprocess) is used, this value should be
3832
+ set to True in turtle.cfg. In this case IDLE's mainloop
3833
+ is active also for the client script.
3834
+
3835
+ This is a method of the Screen-class and not available for
3836
+ TurtleScreen instances.
3837
+
3838
+ Example (for a Screen instance named screen):
3839
+ >>> screen.exitonclick()
3840
+
3841
+ """
3842
+ def exitGracefully(x, y):
3843
+ """Screen.bye() with two dummy-parameters"""
3844
+ self.bye()
3845
+ self.onclick(exitGracefully)
3846
+ if _CFG["using_IDLE"]:
3847
+ return
3848
+ try:
3849
+ mainloop()
3850
+ except AttributeError:
3851
+ exit(0)
3852
+
3853
+ class Turtle(RawTurtle):
3854
+ """RawTurtle auto-creating (scrolled) canvas.
3855
+
3856
+ When a Turtle object is created or a function derived from some
3857
+ Turtle method is called a TurtleScreen object is automatically created.
3858
+ """
3859
+ _pen = None
3860
+ _screen = None
3861
+
3862
+ def __init__(self,
3863
+ shape=_CFG["shape"],
3864
+ undobuffersize=_CFG["undobuffersize"],
3865
+ visible=_CFG["visible"]):
3866
+ if Turtle._screen is None:
3867
+ Turtle._screen = Screen()
3868
+ RawTurtle.__init__(self, Turtle._screen,
3869
+ shape=shape,
3870
+ undobuffersize=undobuffersize,
3871
+ visible=visible)
3872
+
3873
+ Pen = Turtle
3874
+
3875
+ def write_docstringdict(filename="turtle_docstringdict"):
3876
+ """Create and write docstring-dictionary to file.
3877
+
3878
+ Optional argument:
3879
+ filename -- a string, used as filename
3880
+ default value is turtle_docstringdict
3881
+
3882
+ Has to be called explicitly, (not used by the turtle-graphics classes)
3883
+ The docstring dictionary will be written to the Python script <filename>.py
3884
+ It is intended to serve as a template for translation of the docstrings
3885
+ into different languages.
3886
+ """
3887
+ docsdict = {}
3888
+
3889
+ for methodname in _tg_screen_functions:
3890
+ key = "_Screen."+methodname
3891
+ docsdict[key] = eval(key).__doc__
3892
+ for methodname in _tg_turtle_functions:
3893
+ key = "Turtle."+methodname
3894
+ docsdict[key] = eval(key).__doc__
3895
+
3896
+ with open("%s.py" % filename,"w") as f:
3897
+ keys = sorted(x for x in docsdict
3898
+ if x.split('.')[1] not in _alias_list)
3899
+ f.write('docsdict = {\n\n')
3900
+ for key in keys[:-1]:
3901
+ f.write('%s :\n' % repr(key))
3902
+ f.write(' """%s\n""",\n\n' % docsdict[key])
3903
+ key = keys[-1]
3904
+ f.write('%s :\n' % repr(key))
3905
+ f.write(' """%s\n"""\n\n' % docsdict[key])
3906
+ f.write("}\n")
3907
+ f.close()
3908
+
3909
+ def read_docstrings(lang):
3910
+ """Read in docstrings from lang-specific docstring dictionary.
3911
+
3912
+ Transfer docstrings, translated to lang, from a dictionary-file
3913
+ to the methods of classes Screen and Turtle and - in revised form -
3914
+ to the corresponding functions.
3915
+ """
3916
+ modname = "turtle_docstringdict_%(language)s" % {'language':lang.lower()}
3917
+ module = __import__(modname)
3918
+ docsdict = module.docsdict
3919
+ for key in docsdict:
3920
+ try:
3921
+ # eval(key).im_func.__doc__ = docsdict[key]
3922
+ eval(key).__doc__ = docsdict[key]
3923
+ except Exception:
3924
+ print("Bad docstring-entry: %s" % key)
3925
+
3926
+ _LANGUAGE = _CFG["language"]
3927
+
3928
+ try:
3929
+ if _LANGUAGE != "english":
3930
+ read_docstrings(_LANGUAGE)
3931
+ except ImportError:
3932
+ print("Cannot find docsdict for", _LANGUAGE)
3933
+ except Exception:
3934
+ print ("Unknown Error when trying to import %s-docstring-dictionary" %
3935
+ _LANGUAGE)
3936
+
3937
+
3938
+ def getmethparlist(ob):
3939
+ """Get strings describing the arguments for the given object
3940
+
3941
+ Returns a pair of strings representing function parameter lists
3942
+ including parenthesis. The first string is suitable for use in
3943
+ function definition and the second is suitable for use in function
3944
+ call. The "self" parameter is not included.
3945
+ """
3946
+ orig_sig = inspect.signature(ob)
3947
+ # bit of a hack for methods - turn it into a function
3948
+ # but we drop the "self" param.
3949
+ # Try and build one for Python defined functions
3950
+ func_sig = orig_sig.replace(
3951
+ parameters=list(orig_sig.parameters.values())[1:],
3952
+ )
3953
+
3954
+ call_args = []
3955
+ for param in func_sig.parameters.values():
3956
+ match param.kind:
3957
+ case (
3958
+ inspect.Parameter.POSITIONAL_ONLY
3959
+ | inspect.Parameter.POSITIONAL_OR_KEYWORD
3960
+ ):
3961
+ call_args.append(param.name)
3962
+ case inspect.Parameter.VAR_POSITIONAL:
3963
+ call_args.append(f'*{param.name}')
3964
+ case inspect.Parameter.KEYWORD_ONLY:
3965
+ call_args.append(f'{param.name}={param.name}')
3966
+ case inspect.Parameter.VAR_KEYWORD:
3967
+ call_args.append(f'**{param.name}')
3968
+ case _:
3969
+ raise RuntimeError('Unsupported parameter kind', param.kind)
3970
+ call_text = f'({', '.join(call_args)})'
3971
+
3972
+ return str(func_sig), call_text
3973
+
3974
+ def _turtle_docrevise(docstr):
3975
+ """To reduce docstrings from RawTurtle class for functions
3976
+ """
3977
+ import re
3978
+ if docstr is None:
3979
+ return None
3980
+ turtlename = _CFG["exampleturtle"]
3981
+ newdocstr = docstr.replace("%s." % turtlename,"")
3982
+ parexp = re.compile(r' \(.+ %s\):' % turtlename)
3983
+ newdocstr = parexp.sub(":", newdocstr)
3984
+ return newdocstr
3985
+
3986
+ def _screen_docrevise(docstr):
3987
+ """To reduce docstrings from TurtleScreen class for functions
3988
+ """
3989
+ import re
3990
+ if docstr is None:
3991
+ return None
3992
+ screenname = _CFG["examplescreen"]
3993
+ newdocstr = docstr.replace("%s." % screenname,"")
3994
+ parexp = re.compile(r' \(.+ %s\):' % screenname)
3995
+ newdocstr = parexp.sub(":", newdocstr)
3996
+ return newdocstr
3997
+
3998
+ ## The following mechanism makes all methods of RawTurtle and Turtle available
3999
+ ## as functions. So we can enhance, change, add, delete methods to these
4000
+ ## classes and do not need to change anything here.
4001
+
4002
+ __func_body = """\
4003
+ def {name}{paramslist}:
4004
+ if {obj} is None:
4005
+ if not TurtleScreen._RUNNING:
4006
+ TurtleScreen._RUNNING = True
4007
+ raise Terminator
4008
+ {obj} = {init}
4009
+ try:
4010
+ return {obj}.{name}{argslist}
4011
+ except TK.TclError:
4012
+ if not TurtleScreen._RUNNING:
4013
+ TurtleScreen._RUNNING = True
4014
+ raise Terminator
4015
+ raise
4016
+ """
4017
+
4018
+ def _make_global_funcs(functions, cls, obj, init, docrevise):
4019
+ for methodname in functions:
4020
+ method = getattr(cls, methodname)
4021
+ pl1, pl2 = getmethparlist(method)
4022
+ if pl1 == "":
4023
+ print(">>>>>>", pl1, pl2)
4024
+ continue
4025
+ defstr = __func_body.format(obj=obj, init=init, name=methodname,
4026
+ paramslist=pl1, argslist=pl2)
4027
+ exec(defstr, globals())
4028
+ globals()[methodname].__doc__ = docrevise(method.__doc__)
4029
+
4030
+ _make_global_funcs(_tg_screen_functions, _Screen,
4031
+ 'Turtle._screen', 'Screen()', _screen_docrevise)
4032
+ _make_global_funcs(_tg_turtle_functions, Turtle,
4033
+ 'Turtle._pen', 'Turtle()', _turtle_docrevise)
4034
+
4035
+
4036
+ done = mainloop
4037
+
4038
+ if __name__ == "__main__":
4039
+ def switchpen():
4040
+ if isdown():
4041
+ pu()
4042
+ else:
4043
+ pd()
4044
+
4045
+ def demo1():
4046
+ """Demo of old turtle.py - module"""
4047
+ reset()
4048
+ tracer(True)
4049
+ up()
4050
+ backward(100)
4051
+ down()
4052
+ # draw 3 squares; the last filled
4053
+ width(3)
4054
+ for i in range(3):
4055
+ if i == 2:
4056
+ begin_fill()
4057
+ for _ in range(4):
4058
+ forward(20)
4059
+ left(90)
4060
+ if i == 2:
4061
+ color("maroon")
4062
+ end_fill()
4063
+ up()
4064
+ forward(30)
4065
+ down()
4066
+ width(1)
4067
+ color("black")
4068
+ # move out of the way
4069
+ tracer(False)
4070
+ up()
4071
+ right(90)
4072
+ forward(100)
4073
+ right(90)
4074
+ forward(100)
4075
+ right(180)
4076
+ down()
4077
+ # some text
4078
+ write("startstart", 1)
4079
+ write("start", 1)
4080
+ color("red")
4081
+ # staircase
4082
+ for i in range(5):
4083
+ forward(20)
4084
+ left(90)
4085
+ forward(20)
4086
+ right(90)
4087
+ # filled staircase
4088
+ tracer(True)
4089
+ begin_fill()
4090
+ for i in range(5):
4091
+ forward(20)
4092
+ left(90)
4093
+ forward(20)
4094
+ right(90)
4095
+ end_fill()
4096
+ # more text
4097
+
4098
+ def demo2():
4099
+ """Demo of some new features."""
4100
+ speed(1)
4101
+ st()
4102
+ pensize(3)
4103
+ setheading(towards(0, 0))
4104
+ radius = distance(0, 0)/2.0
4105
+ rt(90)
4106
+ for _ in range(18):
4107
+ switchpen()
4108
+ circle(radius, 10)
4109
+ write("wait a moment...")
4110
+ while undobufferentries():
4111
+ undo()
4112
+ reset()
4113
+ lt(90)
4114
+ colormode(255)
4115
+ laenge = 10
4116
+ pencolor("green")
4117
+ pensize(3)
4118
+ lt(180)
4119
+ for i in range(-2, 16):
4120
+ if i > 0:
4121
+ begin_fill()
4122
+ fillcolor(255-15*i, 0, 15*i)
4123
+ for _ in range(3):
4124
+ fd(laenge)
4125
+ lt(120)
4126
+ end_fill()
4127
+ laenge += 10
4128
+ lt(15)
4129
+ speed((speed()+1)%12)
4130
+ #end_fill()
4131
+
4132
+ lt(120)
4133
+ pu()
4134
+ fd(70)
4135
+ rt(30)
4136
+ pd()
4137
+ color("red","yellow")
4138
+ speed(0)
4139
+ begin_fill()
4140
+ for _ in range(4):
4141
+ circle(50, 90)
4142
+ rt(90)
4143
+ fd(30)
4144
+ rt(90)
4145
+ end_fill()
4146
+ lt(90)
4147
+ pu()
4148
+ fd(30)
4149
+ pd()
4150
+ shape("turtle")
4151
+
4152
+ tri = getturtle()
4153
+ tri.resizemode("auto")
4154
+ turtle = Turtle()
4155
+ turtle.resizemode("auto")
4156
+ turtle.shape("turtle")
4157
+ turtle.reset()
4158
+ turtle.left(90)
4159
+ turtle.speed(0)
4160
+ turtle.up()
4161
+ turtle.goto(280, 40)
4162
+ turtle.lt(30)
4163
+ turtle.down()
4164
+ turtle.speed(6)
4165
+ turtle.color("blue","orange")
4166
+ turtle.pensize(2)
4167
+ tri.speed(6)
4168
+ setheading(towards(turtle))
4169
+ count = 1
4170
+ while tri.distance(turtle) > 4:
4171
+ turtle.fd(3.5)
4172
+ turtle.lt(0.6)
4173
+ tri.setheading(tri.towards(turtle))
4174
+ tri.fd(4)
4175
+ if count % 20 == 0:
4176
+ turtle.stamp()
4177
+ tri.stamp()
4178
+ switchpen()
4179
+ count += 1
4180
+ tri.write("CAUGHT! ", font=("Arial", 16, "bold"), align="right")
4181
+ tri.pencolor("black")
4182
+ tri.pencolor("red")
4183
+
4184
+ def baba(xdummy, ydummy):
4185
+ clearscreen()
4186
+ bye()
4187
+
4188
+ time.sleep(2)
4189
+
4190
+ while undobufferentries():
4191
+ tri.undo()
4192
+ turtle.undo()
4193
+ tri.fd(50)
4194
+ tri.write(" Click me!", font = ("Courier", 12, "bold") )
4195
+ tri.onclick(baba, 1)
4196
+
4197
+ demo1()
4198
+ demo2()
4199
+ exitonclick()