KL-Py 0.0.2__tar.gz → 0.0.4__tar.gz

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 (265) hide show
  1. {kl_py-0.0.2/src/KL_Py.egg-info → kl_py-0.0.4}/PKG-INFO +1 -1
  2. {kl_py-0.0.2 → kl_py-0.0.4}/pyproject.toml +1 -1
  3. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/__init__.py +1 -1
  4. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/KL_Py.py +88 -10
  5. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/__init__.py +4 -1
  6. kl_py-0.0.4/src/KL_Py/_error_classes.py +50 -0
  7. kl_py-0.0.4/src/KL_Py/_klang_builtins.py +126 -0
  8. {kl_py-0.0.2 → kl_py-0.0.4/src/KL_Py.egg-info}/PKG-INFO +1 -1
  9. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py.egg-info/SOURCES.txt +2 -0
  10. {kl_py-0.0.2 → kl_py-0.0.4}/LICENSE +0 -0
  11. {kl_py-0.0.2 → kl_py-0.0.4}/README.md +0 -0
  12. {kl_py-0.0.2 → kl_py-0.0.4}/setup.cfg +0 -0
  13. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/_utils.py +0 -0
  14. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/__init__.py +0 -0
  15. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/base.py +0 -0
  16. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/button.py +0 -0
  17. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/calendar.py +0 -0
  18. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/canvas.py +0 -0
  19. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/checkbox.py +0 -0
  20. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/column.py +0 -0
  21. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/combo.py +0 -0
  22. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/error.py +0 -0
  23. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/frame.py +0 -0
  24. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/graph.py +0 -0
  25. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/helpers.py +0 -0
  26. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/image.py +0 -0
  27. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/input.py +0 -0
  28. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/list_box.py +0 -0
  29. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/menu.py +0 -0
  30. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/multiline.py +0 -0
  31. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/option_menu.py +0 -0
  32. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/pane.py +0 -0
  33. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/progress_bar.py +0 -0
  34. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/radio.py +0 -0
  35. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/separator.py +0 -0
  36. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/sizegrip.py +0 -0
  37. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/slider.py +0 -0
  38. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/spin.py +0 -0
  39. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/status_bar.py +0 -0
  40. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/stretch.py +0 -0
  41. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/tab.py +0 -0
  42. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/table.py +0 -0
  43. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/text.py +0 -0
  44. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/elements/tree.py +0 -0
  45. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/themes.py +0 -0
  46. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/tray.py +0 -0
  47. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/FreeSimpleGUI/window.py +0 -0
  48. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/_custom_pandas.py +0 -0
  49. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/_custom_sqlite.py +0 -0
  50. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/_custom_turtle.py +0 -0
  51. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/_translate.py +0 -0
  52. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/dnd/__init__.py +0 -0
  53. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/drag_and_drop/__init__.py +0 -0
  54. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/export/__init__.py +0 -0
  55. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/export/__main__.py +0 -0
  56. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/export/config.py +0 -0
  57. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/export/dialogs.py +0 -0
  58. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/export/packaging.py +0 -0
  59. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/export/shims.py +0 -0
  60. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/export/ui.py +0 -0
  61. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/export/utils.py +0 -0
  62. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/export/validation.py +0 -0
  63. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/fsgdnd/__init__.py +0 -0
  64. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/fsgui/__init__.py +0 -0
  65. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/__init__.py +0 -0
  66. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/_utils.py +0 -0
  67. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/base.py +0 -0
  68. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/button.py +0 -0
  69. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/calendar.py +0 -0
  70. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/canvas.py +0 -0
  71. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/center.py +0 -0
  72. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/checkbox.py +0 -0
  73. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/column.py +0 -0
  74. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/combo.py +0 -0
  75. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/error.py +0 -0
  76. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/frame.py +0 -0
  77. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/graph.py +0 -0
  78. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/helpers.py +0 -0
  79. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/image.py +0 -0
  80. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/input.py +0 -0
  81. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/list_box.py +0 -0
  82. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/menu.py +0 -0
  83. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/multiline.py +0 -0
  84. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/option_menu.py +0 -0
  85. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/pane.py +0 -0
  86. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/progress_bar.py +0 -0
  87. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/radio.py +0 -0
  88. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/separator.py +0 -0
  89. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/sizegrip.py +0 -0
  90. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/slider.py +0 -0
  91. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/spin.py +0 -0
  92. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/status_bar.py +0 -0
  93. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/stretch.py +0 -0
  94. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/tab.py +0 -0
  95. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/table.py +0 -0
  96. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/text.py +0 -0
  97. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/elements/tree.py +0 -0
  98. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/replace.py +0 -0
  99. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/tray.py +0 -0
  100. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/hindGui/window.py +0 -0
  101. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/k2exe/__init__.py +0 -0
  102. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/k2exe/__main__.py +0 -0
  103. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/k2exe/config.py +0 -0
  104. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/k2exe/dialogs.py +0 -0
  105. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/k2exe/packaging.py +0 -0
  106. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/k2exe/shims.py +0 -0
  107. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/k2exe/ui.py +0 -0
  108. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/k2exe/utils.py +0 -0
  109. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/k2exe/validation.py +0 -0
  110. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/kexe/__init__.py +0 -0
  111. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/kexe/__main__.py +0 -0
  112. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/kexe/config.py +0 -0
  113. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/kexe/dialogs.py +0 -0
  114. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/kexe/packaging.py +0 -0
  115. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/kexe/shims.py +0 -0
  116. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/kexe/ui.py +0 -0
  117. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/kexe/utils.py +0 -0
  118. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/kexe/validation.py +0 -0
  119. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/kl2exe/__init__.py +0 -0
  120. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/kl2exe/__main__.py +0 -0
  121. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/kl2exe/config.py +0 -0
  122. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/kl2exe/dialogs.py +0 -0
  123. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/kl2exe/packaging.py +0 -0
  124. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/kl2exe/shims.py +0 -0
  125. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/kl2exe/ui.py +0 -0
  126. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/kl2exe/utils.py +0 -0
  127. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/kl2exe/validation.py +0 -0
  128. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klang2exe/__init__.py +0 -0
  129. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klang2exe/__main__.py +0 -0
  130. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klang2exe/config.py +0 -0
  131. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klang2exe/dialogs.py +0 -0
  132. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klang2exe/packaging.py +0 -0
  133. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klang2exe/shims.py +0 -0
  134. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klang2exe/ui.py +0 -0
  135. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klang2exe/utils.py +0 -0
  136. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klang2exe/validation.py +0 -0
  137. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klangexe/__init__.py +0 -0
  138. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klangexe/__main__.py +0 -0
  139. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klangexe/config.py +0 -0
  140. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klangexe/dialogs.py +0 -0
  141. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klangexe/packaging.py +0 -0
  142. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klangexe/shims.py +0 -0
  143. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klangexe/ui.py +0 -0
  144. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klangexe/utils.py +0 -0
  145. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klangexe/validation.py +0 -0
  146. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klexe/__init__.py +0 -0
  147. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klexe/__main__.py +0 -0
  148. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klexe/config.py +0 -0
  149. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klexe/dialogs.py +0 -0
  150. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klexe/packaging.py +0 -0
  151. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klexe/shims.py +0 -0
  152. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klexe/ui.py +0 -0
  153. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klexe/utils.py +0 -0
  154. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/klexe/validation.py +0 -0
  155. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/np/__init__.py +0 -0
  156. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/pd/__init__.py +0 -0
  157. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/plt/__init__.py +0 -0
  158. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/psgui/__init__.py +0 -0
  159. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/px/__init__.py +0 -0
  160. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/pyexe/__init__.py +0 -0
  161. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/pyexe/__main__.py +0 -0
  162. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/pyexe/config.py +0 -0
  163. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/pyexe/dialogs.py +0 -0
  164. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/pyexe/packaging.py +0 -0
  165. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/pyexe/shims.py +0 -0
  166. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/pyexe/ui.py +0 -0
  167. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/pyexe/utils.py +0 -0
  168. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/pyexe/validation.py +0 -0
  169. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/pysgdnd/__init__.py +0 -0
  170. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/__init__.py +0 -0
  171. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/__version__.py +0 -0
  172. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/_internal_utils.py +0 -0
  173. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/adapters.py +0 -0
  174. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/api.py +0 -0
  175. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/auth.py +0 -0
  176. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/certifi/__init__.py +0 -0
  177. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/certifi/__main__.py +0 -0
  178. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/certifi/core.py +0 -0
  179. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/certifi/py.typed +0 -0
  180. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/certs.py +0 -0
  181. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/charset_normalizer/__init__.py +0 -0
  182. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/charset_normalizer/__main__.py +0 -0
  183. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/charset_normalizer/api.py +0 -0
  184. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/charset_normalizer/cd.py +0 -0
  185. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/charset_normalizer/cli/__init__.py +0 -0
  186. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/charset_normalizer/cli/__main__.py +0 -0
  187. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/charset_normalizer/constant.py +0 -0
  188. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/charset_normalizer/legacy.py +0 -0
  189. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/charset_normalizer/md.py +0 -0
  190. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/charset_normalizer/models.py +0 -0
  191. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/charset_normalizer/py.typed +0 -0
  192. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/charset_normalizer/utils.py +0 -0
  193. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/charset_normalizer/version.py +0 -0
  194. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/compat.py +0 -0
  195. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/cookies.py +0 -0
  196. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/exceptions.py +0 -0
  197. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/help.py +0 -0
  198. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/hooks.py +0 -0
  199. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/idna/__init__.py +0 -0
  200. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/idna/codec.py +0 -0
  201. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/idna/compat.py +0 -0
  202. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/idna/core.py +0 -0
  203. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/idna/idnadata.py +0 -0
  204. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/idna/intranges.py +0 -0
  205. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/idna/package_data.py +0 -0
  206. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/idna/py.typed +0 -0
  207. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/idna/uts46data.py +0 -0
  208. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/models.py +0 -0
  209. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/packages.py +0 -0
  210. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/sessions.py +0 -0
  211. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/status_codes.py +0 -0
  212. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/structures.py +0 -0
  213. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/__init__.py +0 -0
  214. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/_base_connection.py +0 -0
  215. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/_collections.py +0 -0
  216. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/_request_methods.py +0 -0
  217. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/_version.py +0 -0
  218. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/connection.py +0 -0
  219. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/connectionpool.py +0 -0
  220. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/contrib/__init__.py +0 -0
  221. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/contrib/emscripten/__init__.py +0 -0
  222. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/contrib/emscripten/connection.py +0 -0
  223. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/contrib/emscripten/fetch.py +0 -0
  224. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/contrib/emscripten/request.py +0 -0
  225. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/contrib/emscripten/response.py +0 -0
  226. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/contrib/pyopenssl.py +0 -0
  227. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/contrib/socks.py +0 -0
  228. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/exceptions.py +0 -0
  229. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/fields.py +0 -0
  230. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/filepost.py +0 -0
  231. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/http2/__init__.py +0 -0
  232. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/http2/connection.py +0 -0
  233. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/http2/probe.py +0 -0
  234. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/poolmanager.py +0 -0
  235. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/py.typed +0 -0
  236. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/response.py +0 -0
  237. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/util/__init__.py +0 -0
  238. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/util/connection.py +0 -0
  239. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/util/proxy.py +0 -0
  240. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/util/request.py +0 -0
  241. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/util/response.py +0 -0
  242. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/util/retry.py +0 -0
  243. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/util/ssl_.py +0 -0
  244. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/util/ssl_match_hostname.py +0 -0
  245. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/util/ssltransport.py +0 -0
  246. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/util/timeout.py +0 -0
  247. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/util/url.py +0 -0
  248. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/util/util.py +0 -0
  249. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/urllib3/util/wait.py +0 -0
  250. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/requests/utils.py +0 -0
  251. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/sb/__init__.py +0 -0
  252. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/sk/__init__.py +0 -0
  253. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/sns/__init__.py +0 -0
  254. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/toexe/__init__.py +0 -0
  255. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/toexe/__main__.py +0 -0
  256. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/toexe/config.py +0 -0
  257. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/toexe/dialogs.py +0 -0
  258. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/toexe/packaging.py +0 -0
  259. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/toexe/shims.py +0 -0
  260. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/toexe/ui.py +0 -0
  261. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/toexe/utils.py +0 -0
  262. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/toexe/validation.py +0 -0
  263. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py/when.py +0 -0
  264. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py.egg-info/dependency_links.txt +0 -0
  265. {kl_py-0.0.2 → kl_py-0.0.4}/src/KL_Py.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: KL_Py
3
- Version: 0.0.2
3
+ Version: 0.0.4
4
4
  Summary: A Python simplification module
5
5
  Author-email: Abbaskhurram255 <abbaskhurram255@gmail.com>
6
6
  Classifier: Programming Language :: Python :: 3
@@ -18,7 +18,7 @@ build-backend = "setuptools.build_meta"
18
18
 
19
19
  [project]
20
20
  name = "KL_Py"
21
- version = "0.0.2"
21
+ version = "0.0.4"
22
22
  authors = [
23
23
  { name="Abbaskhurram255", email="abbaskhurram255@gmail.com" },
24
24
  ]
@@ -16456,7 +16456,7 @@ B = Button
16456
16456
  Btn = Button
16457
16457
  BMenu = ButtonMenu
16458
16458
  BM = ButtonMenu
16459
- Im = Image
16459
+ Im = Img = Image
16460
16460
  PBar = ProgressBar
16461
16461
  Prog = ProgressBar
16462
16462
  Progress = ProgressBar
@@ -1491,13 +1491,19 @@ def auto_dec(start: int = 0):
1491
1491
  return AutoField(start, increment=False)
1492
1492
  typename = TypeT = typeT = TypeVar("T")
1493
1493
  def is_active_process(process: str) -> bool:
1494
- if os.name != "nt" or not isinstance(process, str):
1494
+ if os.name != "nt":
1495
1495
  return False
1496
- process = process.strip("\"'").strip()
1496
+ if not isinstance(process, str):
1497
+ return False
1498
+ process = process\
1499
+ .strip("\"'")\
1500
+ .strip()
1497
1501
  if not process:
1498
1502
  return False
1499
- if not process.lower().endswith(".exe"):
1500
- process_pattern = f"{process}.exe"
1503
+ if not process\
1504
+ .lower()\
1505
+ .endswith(".exe"):
1506
+ process_pattern = f"{process}.exe"
1501
1507
  else:
1502
1508
  process_pattern = process
1503
1509
  try:
@@ -1509,12 +1515,13 @@ def is_active_process(process: str) -> bool:
1509
1515
  text=True,
1510
1516
  check=False
1511
1517
  )
1512
- if process_pattern.lower() not in result.stdout.lower():
1513
- return False
1518
+ if process_pattern.lower()\
1519
+ not in result.stdout.lower():
1520
+ return False
1514
1521
  return True
1515
1522
  except Exception:
1516
1523
  return False
1517
- is_running_process = is_running_app = is_active_process
1524
+ is_running_process = is_running_app = is_app_running = is_active_process
1518
1525
  def run_process(
1519
1526
  command: str | list[str] | tuple[str, ...],
1520
1527
  new_window: bool = False,
@@ -4188,6 +4195,76 @@ def asset(to_filename: str) -> str:
4188
4195
  except Exception as e:
4189
4196
  return ""
4190
4197
  define_asset = to_asset = get_asset = new_asset = load_asset = naya_asset = asset
4198
+ def get_app_data_dir(
4199
+ app_name: str | None = None,
4200
+ volatile: bool = False
4201
+ ) -> str:
4202
+ home: Path = Path.home()
4203
+ base_dir: Path
4204
+ if sys.platform == "win32":
4205
+ base_dir = Path(
4206
+ os.environ.get(
4207
+ "LOCALAPPDATA",
4208
+ home / "AppData" / "Local"
4209
+ )
4210
+ )
4211
+ if volatile:
4212
+ base_dir = base_dir / "Temp"
4213
+ elif sys.platform == "darwin":
4214
+ if volatile:
4215
+ base_dir = home / "Library" / "Caches"
4216
+ else:
4217
+ base_dir = home / "Library" / "Application Support"
4218
+ else:
4219
+ if volatile:
4220
+ base_dir = Path(
4221
+ os.environ.get(
4222
+ "XDG_CACHE_HOME",
4223
+ home / ".cache"
4224
+ )
4225
+ )
4226
+ else:
4227
+ base_dir = Path(
4228
+ os.environ.get(
4229
+ "XDG_DATA_HOME",
4230
+ home / ".local" / "share"
4231
+ )
4232
+ )
4233
+ if not isinstance(app_name, str)\
4234
+ or not app_name.strip():
4235
+ return str(base_dir)
4236
+ try:
4237
+ app_dir: Path = base_dir / app_name.strip()
4238
+ app_dir\
4239
+ .mkdir(
4240
+ parents=True,
4241
+ exist_ok=True
4242
+ )
4243
+ return str(app_dir)
4244
+ except OSError:
4245
+ return str(base_dir)
4246
+ make_appdata_dir = make_app_data_dir = make_local_data_dir = make_cache_dir = get_appdata_dir = get_local_data_dir = get_cache_dir = get_app_data_dir
4247
+ def to_cache_asset(
4248
+ app_name: str | None = None,
4249
+ filename: str | None = None,
4250
+ volatile: bool = False
4251
+ ) -> str:
4252
+ base: str = get_app_data_dir(
4253
+ app_name=app_name,
4254
+ volatile=volatile
4255
+ )
4256
+ if not isinstance(filename, str)\
4257
+ or not filename.strip():
4258
+ return base
4259
+ result_path = Path(base) / filename.strip()
4260
+ result_path\
4261
+ .parent\
4262
+ .mkdir(
4263
+ parents=True,
4264
+ exist_ok=True
4265
+ )
4266
+ return str(result_path)
4267
+ naya_cache_asset = new_cache_asset = cache_asset = to_cache_dir = to_cache_asset
4191
4268
  ## belongs at the bottom of KL_Py.py
4192
4269
  ## a helper function for def= operator
4193
4270
  def get_initial_of(x: Any) -> Any:
@@ -4200,8 +4277,8 @@ def get_initial_of(x: Any) -> Any:
4200
4277
  case "int":
4201
4278
  out = 0
4202
4279
  case "flt" | "float" | "dbl" | "double" | "Number" | "nr":
4203
- # a number is both a float, and int
4204
- # lets just assume its a float
4280
+ # a number is both a float, and int
4281
+ # lets just assume its a float
4205
4282
  out = 0.0
4206
4283
  case "bool" | "haal":
4207
4284
  out = False
@@ -4397,4 +4474,5 @@ if __name__ == "__main__":
4397
4474
  print(Date("2026-07-22 12.01 am").day_nr())
4398
4475
  print(Date("2026-07-22 12.01 am").time_and_day())
4399
4476
  print(Date("2002-07-22 12.01 am").yr(2004).d(21).d(), nahi_format_nums=Han)
4400
- print(Date.day_today())
4477
+ print(Date.day_today())
4478
+
@@ -2,6 +2,8 @@ from .KL_Py import *
2
2
  from ._custom_turtle import *
3
3
  from ._custom_sqlite import *
4
4
  from ._custom_pandas import *
5
+ from ._klang_builtins import *
6
+ from KL_Py import FreeSimpleGUI
5
7
  from KL_Py import dnd
6
8
  from KL_Py import drag_and_drop
7
9
  from KL_Py import fsgdnd
@@ -12,4 +14,5 @@ from KL_Py import plt
12
14
  from KL_Py import psgui
13
15
  from KL_Py import px
14
16
  from KL_Py import pysgdnd
15
- from KL_Py import sk
17
+ from KL_Py import sk
18
+ import KL_Py
@@ -0,0 +1,50 @@
1
+ from typing import Any
2
+
3
+ __all__: list[str] = ['BuraSyntaxError', 'VariableNaMojudError', 'KeyNaMojudError', 'FileNaMojudError', 'LibraryError', 'ModuleError', 'LibraryNaMojudError', 'ModuleNaMojudError', 'GalatKismError', 'BuraKismError', 'KismError', 'GalatValueError', 'GalatIndexError', 'DivisionError', '__error_classes__']
4
+ class BuraSyntaxError(SyntaxError):
5
+ ...
6
+ class VariableNaMojudError(NameError):
7
+ ...
8
+ class KeyNaMojudError(KeyError):
9
+ ...
10
+ class FileNaMojudError(FileNotFoundError):
11
+ ...
12
+ class LibraryError(ImportError):
13
+ ...
14
+ ModuleError = LibraryError
15
+ class LibraryNaMojudError(ModuleNotFoundError, ImportError):
16
+ ...
17
+ ModuleNaMojudError = LibraryNaMojudError
18
+ class GalatKismError(TypeError):
19
+ ...
20
+ BuraKismError = KismError = GalatKismError
21
+ class GalatValueError(ValueError):
22
+ ...
23
+ class GalatIndexError(IndexError):
24
+ ...
25
+ class DivisionError(ZeroDivisionError):
26
+ ...
27
+ for k in __all__:
28
+ # drops the `__error_classes__.` prefix
29
+ # turns `__error_classes__.VariableNaMojudError` -> `VariableNaMojudError`
30
+ _class: type|None = globals().get(k, None)
31
+ if not _class or k.startswith("__") or not isinstance(_class, type):
32
+ continue
33
+ _class.__module__ = 'builtins'
34
+
35
+ __error_classes__: dict[str, Any] = {
36
+ "BuraSyntaxError": BuraSyntaxError,
37
+ "VariableNaMojudError": VariableNaMojudError,
38
+ "KeyNaMojudError": KeyNaMojudError,
39
+ "FileNaMojudError": FileNaMojudError,
40
+ "LibraryError": LibraryError,
41
+ "ModuleError": ModuleError,
42
+ "LibraryNaMojudError": LibraryNaMojudError,
43
+ "ModuleNaMojudError": ModuleNaMojudError,
44
+ "GalatKismError": GalatKismError,
45
+ "BuraKismError": BuraKismError,
46
+ "KismError": KismError,
47
+ "GalatValueError": GalatValueError,
48
+ "GalatIndexError": GalatIndexError,
49
+ "DivisionError": DivisionError,
50
+ }
@@ -0,0 +1,126 @@
1
+ from .KL_Py import *
2
+ from KL_Py import KL_Py
3
+ from ._error_classes import *
4
+ from ._custom_turtle import *
5
+ from ._custom_pandas import *
6
+ from ._custom_sqlite import *
7
+
8
+ def __join_into_words_version_2__(lst: list = []) -> str:
9
+ """
10
+ this is a scope-only variant
11
+ of function joined_words
12
+ (from KL_Py)
13
+ only meant for the local scope
14
+ of cust_print
15
+ """
16
+ result: list[str] = []
17
+ was_a_tuple: bool = False
18
+ if isinstance(lst, tuple):
19
+ was_a_tuple = True
20
+ lst = list(lst)
21
+ if not isinstance(lst, list):
22
+ lst = []
23
+ for arg in lst:
24
+ if isinstance(arg, (list, tuple)):
25
+ arg = __join_into_words_version_2__(arg)
26
+ arg = re.sub(r"(?<=, )aur (?=.+$)", "", str(arg))
27
+ was_a_str: bool = False
28
+ if isinstance(arg, str):
29
+ was_a_str: bool = True
30
+ if isinstance(arg, float):
31
+ arg = round(arg, 1)
32
+ if isinstance(arg, bool):
33
+ arg = "Han" if arg else "Nahi"
34
+ arg = str(arg)
35
+ if ", " in arg:
36
+ sublst: list[str] = arg.split(", ")
37
+ for subarg in sublst:
38
+ result.append(subarg)
39
+ continue
40
+ if was_a_str:
41
+ arg = f"'{arg}'"
42
+ if str(arg) == "None":
43
+ # doing this later so that
44
+ # koi_na is written as-is
45
+ # and doesn't get mistakenly stringified
46
+ # adding an if-arg-is-None check right at the beginning of the loop, and setting arg to "koi_na" right there, if it is,
47
+ # will only result in
48
+ # an stringified "\'koi_na\'"
49
+ # not what we're after
50
+ # since koi_na is
51
+ # more than that,
52
+ # it's a keyword
53
+ arg = "koi_na"
54
+ result.append(arg)
55
+ signs: list[str]|tuple[str] = ["[", "]"]
56
+ if was_a_tuple:
57
+ signs[0], signs[1] = "(", ")"
58
+ if len(result) < 2:
59
+ return f"{signs[0]}{', '.join(result)}{signs[1]}"
60
+ last: str = str(result.pop())
61
+ return signs[0] + (", ".join(result) + ", aur " + last) + signs[1]
62
+
63
+ def __add_module__(module_name: str, namespace: dict) -> None:
64
+ module = importlib.import_module(module_name)
65
+ for name in dir(module):
66
+ if name.startswith("__"):
67
+ continue
68
+ namespace[name] = getattr(module, name)
69
+ is_printing: bool = False
70
+ stable_old_print = old_print = builtins.print
71
+ def cust_print(*args, **kwargs):
72
+ """Data ko string me badalke screen par dikhaata he."""
73
+ global is_printing
74
+ if is_printing:
75
+ old_print(*args, **kwargs)
76
+ return
77
+ # ^ recursion safety
78
+ try:
79
+ is_printing = True
80
+ args = list(args)
81
+ # since tuples are immutable, we can't work with them, we need a list
82
+ for i, arg in old_enumerate(args):
83
+ if arg is None:
84
+ args[i] = "koi_na"
85
+ elif is_int(arg):
86
+ if not any(kwargs.pop(k, False) for k in ["dont_format", "regular_nums", "normal_nums", "dont_format_nums", "nahi_format_nums"]):
87
+ args[i] = fpk(arg)
88
+ elif is_flt(arg):
89
+ if not any(kwargs.pop(k, False) for k in ["dont_format", "regular_nums", "normal_nums", "dont_format_nums", "nahi_format_nums"]):
90
+ args[i] = fpk(arg)
91
+ elif is_bool(arg):
92
+ args[i] = "Han" if arg == True else "Nahi"
93
+ elif isinstance(arg, (list, tuple)):
94
+ args[i] = __join_into_words_version_2__(arg)
95
+ else:
96
+ # if it's an object of any other type (list, some custom class, ...)
97
+ # let's stringify, and post-process it, to make it look prettier
98
+ args[i] = str(args[i])
99
+ if not kwargs.pop("dont_format", False):
100
+ args[i] = replace(args[i], r", (?=[^,\]]+\])", ", aur ")
101
+ args[i] = replace(args[i], r"(?<=\<)class(?= [\"\'][A-Za-z_][\w\.]*[\"\']\>)", "kism:")
102
+ args[i] = replace(args[i], r"(?<=\<)enum (?<name_of_enum>[\"\'][A-Za-z_][\w\.]*[\"\'])(?=\>)", "kism: Enum[$name_of_enum]")
103
+ args[i] = replace(args[i], r"(?<=\<)\bmodule [\"\'](?<module_name>[^\"\']+)[\"\'] from [\"\'](?<location>[^\"\']+)[\"\'](?=\>)", "library '$module_name' mojud jaga '$location'")
104
+ # ^ meaning <class 'int'> SHOULD BE <kism 'int'>
105
+ # dont mess around
106
+ args[i] = replace(args[i], r"(?<pre>\<(?:kism|class)\:? [\"\'])re.Pattern(?<post>[\"\']\>)", "${pre}re.Re${post}")
107
+ args[i] = replace(args[i], r"(?<pre>\<(?:kism|class)\:? [\"\'])(?:enum.)?EnumType(?<post>[\"\']\>)", "${pre}Enum${post}")
108
+ args[i] = replace(args[i], r"(?<pre>\<(?:kism|class)\:? [\"\'])NoneType(?<post>[\"\']\>)", "${pre}KoiNa${post}")
109
+ args[i] = replace(args[i], r"(?<pre>\<(?:kism|class)\:? [\"\'])float(?<post>[\"\']\>)", "${pre}flt${post}")
110
+ args[i] = replace(args[i], r"(?<pre>\<(?:kism|class)\:? [\"\'])Number(?<post>[\"\']\>)", "${pre}nr${post}")
111
+ args[i] = replace(args[i], r"(?<pre>\<(?:kism|class)\:? [\"\'])bool(?<post>[\"\']\>)", "${pre}haal${post}")
112
+ args[i] = replace(args[i], r"(?<pre>\<(?:kism|class)\:? [\"\'])type(?<post>[\"\']\>)", "${pre}kism/class${post}")
113
+ args[i] = replace(args[i], r"\bNone\b", "koi_na")
114
+ args[i] = replace(args[i], r"\bTrue\b", "Han")
115
+ args[i] = replace(args[i], r"\bFalse\b", "Nahi")
116
+ if not any(kwargs.pop(k, False) for k in ["dont_format_nums", "nahi_format_nums", "regular_nums", "normal_nums", "dont_format_nums_in_strings", "nahi_format_nums_darmyan_strings", "nahi_format_nums_darmyan_jumle", "normal_nums_darmyan_strings", "normal_nums_darmyan_jumle", "regular_nums_darmyan_strings", "regular_nums_darmyan_jumle"]):
117
+ args[i] = replace(args[i], r"(?<!\w)(?<!\+|(?<=\+)\-|(?<=n\:)\:|(?<=n\:\:)[\+\-])(?<n_to_be_formatted>\-?\d*\.?\d+(?:e[\+\-]?\d+)?)\b", lambda m: re.sub(r"\.0+$", "", str(fpk(float(m.group("n_to_be_formatted"))))))
118
+ args[i] = replace(args[i], r"n::(?=\-?\d*\.?\d+)", "")
119
+ args[i] = replace(args[i], r"\.0+$", "")
120
+ old_print(*args, **kwargs)
121
+ finally:
122
+ is_printing = False
123
+ # if args is empty, prints a line break
124
+ (builtins.enumer, builtins.print) = (numbered, cust_print)
125
+ __all__: list[str] = [k for k in globals() if not k.startswith("_")]
126
+ __all__.extend(['__join_into_words_version_2__', '__add_module__'])
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: KL_Py
3
- Version: 0.0.2
3
+ Version: 0.0.4
4
4
  Summary: A Python simplification module
5
5
  Author-email: Abbaskhurram255 <abbaskhurram255@gmail.com>
6
6
  Classifier: Programming Language :: Python :: 3
@@ -6,6 +6,8 @@ src/KL_Py/__init__.py
6
6
  src/KL_Py/_custom_pandas.py
7
7
  src/KL_Py/_custom_sqlite.py
8
8
  src/KL_Py/_custom_turtle.py
9
+ src/KL_Py/_error_classes.py
10
+ src/KL_Py/_klang_builtins.py
9
11
  src/KL_Py/_translate.py
10
12
  src/KL_Py/when.py
11
13
  src/KL_Py.egg-info/PKG-INFO
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes