KL-Py 0.3.0__tar.gz → 0.3.2__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 (268) hide show
  1. {kl_py-0.3.0 → kl_py-0.3.2}/PKG-INFO +1 -1
  2. {kl_py-0.3.0 → kl_py-0.3.2}/pyproject.toml +1 -1
  3. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/KL_Py.py +12 -7
  4. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/__init__.py +1 -0
  5. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/_custom_pandas.py +9 -0
  6. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/_translate.py +20 -21
  7. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py.egg-info/PKG-INFO +1 -1
  8. {kl_py-0.3.0 → kl_py-0.3.2}/LICENSE +0 -0
  9. {kl_py-0.3.0 → kl_py-0.3.2}/README.md +0 -0
  10. {kl_py-0.3.0 → kl_py-0.3.2}/setup.cfg +0 -0
  11. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/__init__.py +0 -0
  12. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/_utils.py +0 -0
  13. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/__init__.py +0 -0
  14. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/base.py +0 -0
  15. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/button.py +0 -0
  16. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/calendar.py +0 -0
  17. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/canvas.py +0 -0
  18. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/checkbox.py +0 -0
  19. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/column.py +0 -0
  20. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/combo.py +0 -0
  21. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/error.py +0 -0
  22. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/frame.py +0 -0
  23. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/graph.py +0 -0
  24. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/helpers.py +0 -0
  25. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/image.py +0 -0
  26. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/input.py +0 -0
  27. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/list_box.py +0 -0
  28. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/menu.py +0 -0
  29. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/multiline.py +0 -0
  30. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/option_menu.py +0 -0
  31. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/pane.py +0 -0
  32. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/progress_bar.py +0 -0
  33. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/radio.py +0 -0
  34. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/separator.py +0 -0
  35. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/sizegrip.py +0 -0
  36. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/slider.py +0 -0
  37. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/spin.py +0 -0
  38. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/status_bar.py +0 -0
  39. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/stretch.py +0 -0
  40. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/tab.py +0 -0
  41. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/table.py +0 -0
  42. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/text.py +0 -0
  43. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/elements/tree.py +0 -0
  44. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/themes.py +0 -0
  45. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/tray.py +0 -0
  46. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/FreeSimpleGUI/window.py +0 -0
  47. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/_custom_sqlite.py +0 -0
  48. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/_custom_turtle.py +0 -0
  49. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/_error_classes.py +0 -0
  50. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/_klang_builtins.py +0 -0
  51. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/automl.py +0 -0
  52. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/dnd/__init__.py +0 -0
  53. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/drag_and_drop/__init__.py +0 -0
  54. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/export/__init__.py +0 -0
  55. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/export/__main__.py +0 -0
  56. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/export/config.py +0 -0
  57. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/export/dialogs.py +0 -0
  58. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/export/packaging.py +0 -0
  59. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/export/shims.py +0 -0
  60. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/export/ui.py +0 -0
  61. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/export/utils.py +0 -0
  62. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/export/validation.py +0 -0
  63. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/fsgdnd/__init__.py +0 -0
  64. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/fsgui/__init__.py +0 -0
  65. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/__init__.py +0 -0
  66. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/_utils.py +0 -0
  67. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/base.py +0 -0
  68. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/button.py +0 -0
  69. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/calendar.py +0 -0
  70. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/canvas.py +0 -0
  71. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/center.py +0 -0
  72. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/checkbox.py +0 -0
  73. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/column.py +0 -0
  74. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/combo.py +0 -0
  75. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/error.py +0 -0
  76. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/frame.py +0 -0
  77. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/graph.py +0 -0
  78. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/helpers.py +0 -0
  79. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/image.py +0 -0
  80. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/input.py +0 -0
  81. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/list_box.py +0 -0
  82. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/menu.py +0 -0
  83. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/multiline.py +0 -0
  84. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/option_menu.py +0 -0
  85. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/pane.py +0 -0
  86. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/progress_bar.py +0 -0
  87. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/radio.py +0 -0
  88. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/separator.py +0 -0
  89. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/sizegrip.py +0 -0
  90. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/slider.py +0 -0
  91. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/spin.py +0 -0
  92. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/status_bar.py +0 -0
  93. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/stretch.py +0 -0
  94. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/tab.py +0 -0
  95. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/table.py +0 -0
  96. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/text.py +0 -0
  97. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/elements/tree.py +0 -0
  98. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/replace.py +0 -0
  99. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/tray.py +0 -0
  100. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/hindGui/window.py +0 -0
  101. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/k2exe/__init__.py +0 -0
  102. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/k2exe/__main__.py +0 -0
  103. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/k2exe/config.py +0 -0
  104. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/k2exe/dialogs.py +0 -0
  105. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/k2exe/packaging.py +0 -0
  106. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/k2exe/shims.py +0 -0
  107. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/k2exe/ui.py +0 -0
  108. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/k2exe/utils.py +0 -0
  109. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/k2exe/validation.py +0 -0
  110. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/kexe/__init__.py +0 -0
  111. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/kexe/__main__.py +0 -0
  112. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/kexe/config.py +0 -0
  113. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/kexe/dialogs.py +0 -0
  114. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/kexe/packaging.py +0 -0
  115. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/kexe/shims.py +0 -0
  116. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/kexe/ui.py +0 -0
  117. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/kexe/utils.py +0 -0
  118. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/kexe/validation.py +0 -0
  119. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/kl2exe/__init__.py +0 -0
  120. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/kl2exe/__main__.py +0 -0
  121. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/kl2exe/config.py +0 -0
  122. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/kl2exe/dialogs.py +0 -0
  123. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/kl2exe/packaging.py +0 -0
  124. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/kl2exe/shims.py +0 -0
  125. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/kl2exe/ui.py +0 -0
  126. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/kl2exe/utils.py +0 -0
  127. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/kl2exe/validation.py +0 -0
  128. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klang2exe/__init__.py +0 -0
  129. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klang2exe/__main__.py +0 -0
  130. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klang2exe/config.py +0 -0
  131. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klang2exe/dialogs.py +0 -0
  132. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klang2exe/packaging.py +0 -0
  133. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klang2exe/shims.py +0 -0
  134. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klang2exe/ui.py +0 -0
  135. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klang2exe/utils.py +0 -0
  136. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klang2exe/validation.py +0 -0
  137. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klangexe/__init__.py +0 -0
  138. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klangexe/__main__.py +0 -0
  139. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klangexe/config.py +0 -0
  140. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klangexe/dialogs.py +0 -0
  141. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klangexe/packaging.py +0 -0
  142. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klangexe/shims.py +0 -0
  143. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klangexe/ui.py +0 -0
  144. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klangexe/utils.py +0 -0
  145. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klangexe/validation.py +0 -0
  146. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klexe/__init__.py +0 -0
  147. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klexe/__main__.py +0 -0
  148. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klexe/config.py +0 -0
  149. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klexe/dialogs.py +0 -0
  150. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klexe/packaging.py +0 -0
  151. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klexe/shims.py +0 -0
  152. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klexe/ui.py +0 -0
  153. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klexe/utils.py +0 -0
  154. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/klexe/validation.py +0 -0
  155. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/ml.py +0 -0
  156. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/np/__init__.py +0 -0
  157. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/pd/__init__.py +0 -0
  158. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/plt/__init__.py +0 -0
  159. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/psgui/__init__.py +0 -0
  160. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/px/__init__.py +0 -0
  161. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/pyexe/__init__.py +0 -0
  162. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/pyexe/__main__.py +0 -0
  163. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/pyexe/config.py +0 -0
  164. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/pyexe/dialogs.py +0 -0
  165. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/pyexe/packaging.py +0 -0
  166. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/pyexe/shims.py +0 -0
  167. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/pyexe/ui.py +0 -0
  168. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/pyexe/utils.py +0 -0
  169. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/pyexe/validation.py +0 -0
  170. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/pysgdnd/__init__.py +0 -0
  171. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/__init__.py +0 -0
  172. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/__version__.py +0 -0
  173. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/_internal_utils.py +0 -0
  174. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/adapters.py +0 -0
  175. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/api.py +0 -0
  176. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/auth.py +0 -0
  177. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/certifi/__init__.py +0 -0
  178. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/certifi/__main__.py +0 -0
  179. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/certifi/core.py +0 -0
  180. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/certifi/py.typed +0 -0
  181. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/certs.py +0 -0
  182. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/charset_normalizer/__init__.py +0 -0
  183. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/charset_normalizer/__main__.py +0 -0
  184. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/charset_normalizer/api.py +0 -0
  185. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/charset_normalizer/cd.py +0 -0
  186. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/charset_normalizer/cli/__init__.py +0 -0
  187. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/charset_normalizer/cli/__main__.py +0 -0
  188. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/charset_normalizer/constant.py +0 -0
  189. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/charset_normalizer/legacy.py +0 -0
  190. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/charset_normalizer/md.py +0 -0
  191. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/charset_normalizer/models.py +0 -0
  192. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/charset_normalizer/py.typed +0 -0
  193. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/charset_normalizer/utils.py +0 -0
  194. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/charset_normalizer/version.py +0 -0
  195. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/compat.py +0 -0
  196. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/cookies.py +0 -0
  197. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/exceptions.py +0 -0
  198. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/help.py +0 -0
  199. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/hooks.py +0 -0
  200. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/idna/__init__.py +0 -0
  201. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/idna/codec.py +0 -0
  202. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/idna/compat.py +0 -0
  203. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/idna/core.py +0 -0
  204. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/idna/idnadata.py +0 -0
  205. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/idna/intranges.py +0 -0
  206. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/idna/package_data.py +0 -0
  207. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/idna/py.typed +0 -0
  208. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/idna/uts46data.py +0 -0
  209. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/models.py +0 -0
  210. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/packages.py +0 -0
  211. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/sessions.py +0 -0
  212. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/status_codes.py +0 -0
  213. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/structures.py +0 -0
  214. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/__init__.py +0 -0
  215. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/_base_connection.py +0 -0
  216. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/_collections.py +0 -0
  217. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/_request_methods.py +0 -0
  218. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/_version.py +0 -0
  219. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/connection.py +0 -0
  220. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/connectionpool.py +0 -0
  221. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/contrib/__init__.py +0 -0
  222. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/contrib/emscripten/__init__.py +0 -0
  223. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/contrib/emscripten/connection.py +0 -0
  224. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/contrib/emscripten/fetch.py +0 -0
  225. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/contrib/emscripten/request.py +0 -0
  226. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/contrib/emscripten/response.py +0 -0
  227. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/contrib/pyopenssl.py +0 -0
  228. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/contrib/socks.py +0 -0
  229. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/exceptions.py +0 -0
  230. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/fields.py +0 -0
  231. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/filepost.py +0 -0
  232. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/http2/__init__.py +0 -0
  233. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/http2/connection.py +0 -0
  234. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/http2/probe.py +0 -0
  235. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/poolmanager.py +0 -0
  236. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/py.typed +0 -0
  237. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/response.py +0 -0
  238. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/util/__init__.py +0 -0
  239. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/util/connection.py +0 -0
  240. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/util/proxy.py +0 -0
  241. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/util/request.py +0 -0
  242. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/util/response.py +0 -0
  243. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/util/retry.py +0 -0
  244. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/util/ssl_.py +0 -0
  245. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/util/ssl_match_hostname.py +0 -0
  246. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/util/ssltransport.py +0 -0
  247. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/util/timeout.py +0 -0
  248. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/util/url.py +0 -0
  249. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/util/util.py +0 -0
  250. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/urllib3/util/wait.py +0 -0
  251. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/requests/utils.py +0 -0
  252. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/sb/__init__.py +0 -0
  253. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/sk/__init__.py +0 -0
  254. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/sns/__init__.py +0 -0
  255. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/toexe/__init__.py +0 -0
  256. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/toexe/__main__.py +0 -0
  257. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/toexe/config.py +0 -0
  258. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/toexe/dialogs.py +0 -0
  259. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/toexe/packaging.py +0 -0
  260. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/toexe/shims.py +0 -0
  261. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/toexe/ui.py +0 -0
  262. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/toexe/utils.py +0 -0
  263. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/toexe/validation.py +0 -0
  264. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py/when.py +0 -0
  265. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py.egg-info/SOURCES.txt +0 -0
  266. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py.egg-info/dependency_links.txt +0 -0
  267. {kl_py-0.3.0 → kl_py-0.3.2}/src/KL_Py.egg-info/requires.txt +0 -0
  268. {kl_py-0.3.0 → kl_py-0.3.2}/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.3.0
3
+ Version: 0.3.2
4
4
  Summary: A Python simplification module
5
5
  Author-email: Abbaskhurram255 <abbaskhurram255@gmail.com>
6
6
  Classifier: Programming Language :: Python :: 3
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
5
5
 
6
6
  [project]
7
7
  name = "KL_Py"
8
- version = "0.3.0"
8
+ version = "0.3.2"
9
9
  authors = [
10
10
  { name = "Abbaskhurram255", email = "abbaskhurram255@gmail.com" }
11
11
  ]
@@ -1125,7 +1125,7 @@ class Date:
1125
1125
  int(n)\
1126
1126
  if n.is_integer()\
1127
1127
  else int(
1128
- round(n, 1) * 100
1128
+ round(n, 3) * 100
1129
1129
  ) * 60 // 100\
1130
1130
  for n\
1131
1131
  in divmod(
@@ -1203,7 +1203,7 @@ class Date:
1203
1203
  int(n)\
1204
1204
  if n.is_integer()\
1205
1205
  else int(
1206
- round(n, 1) * 100
1206
+ round(n, 3) * 100
1207
1207
  ) * 60 // 100\
1208
1208
  for n\
1209
1209
  in divmod(
@@ -1307,7 +1307,7 @@ class Date:
1307
1307
  int(n)\
1308
1308
  if n.is_integer()\
1309
1309
  else int(
1310
- round(n, 1) * 100
1310
+ round(n, 3) * 100
1311
1311
  ) * 60 // 100\
1312
1312
  for n\
1313
1313
  in divmod(
@@ -1367,7 +1367,7 @@ class Date:
1367
1367
  int(n)\
1368
1368
  if n.is_integer()\
1369
1369
  else int(
1370
- round(n, 1) * 100
1370
+ round(n, 3) * 100
1371
1371
  ) * 60 // 100\
1372
1372
  for n\
1373
1373
  in divmod(
@@ -1437,7 +1437,7 @@ class Date:
1437
1437
  int(n)\
1438
1438
  if n.is_integer()\
1439
1439
  else int(
1440
- round(n, 1) * 100
1440
+ round(n, 3) * 100
1441
1441
  ) * 60 // 100\
1442
1442
  for n\
1443
1443
  in divmod(
@@ -1509,7 +1509,7 @@ class Date:
1509
1509
  int(n)\
1510
1510
  if n.is_integer()\
1511
1511
  else int(
1512
- round(n, 1) * 100
1512
+ round(n, 3) * 100
1513
1513
  ) * 60 // 100\
1514
1514
  for n\
1515
1515
  in divmod(
@@ -1772,7 +1772,9 @@ class Date:
1772
1772
  )\
1773
1773
  .split(sep, 1)[1]
1774
1774
  return _today
1775
- d = date = long_timeless = timeless_long =\
1775
+ d = date = tarikh = \
1776
+ tareekh =\
1777
+ long_timeless = timeless_long =\
1776
1778
  long_wo_time = long_without_time =\
1777
1779
  long_no_time = day
1778
1780
  date_short = short_date = day_short =\
@@ -2581,6 +2583,7 @@ class Date:
2581
2583
  self\
2582
2584
  .add_day()
2583
2585
  return self
2586
+ kal_hoga_din = tomorrow
2584
2587
  def day_name_tomorrow(
2585
2588
  self = None,
2586
2589
  *args,
@@ -2640,6 +2643,7 @@ class Date:
2640
2643
  self\
2641
2644
  .remove_day()
2642
2645
  return self
2646
+ kal_tha_din = yesterday
2643
2647
  def day_name_yesterday(
2644
2648
  self = None,
2645
2649
  *args,
@@ -2914,6 +2918,7 @@ class Date:
2914
2918
  set_sec =\
2915
2919
  set_second =\
2916
2920
  set_seconds
2921
+ Tarikh = Tareekh = Date
2917
2922
  class Char(str):
2918
2923
  def __new__(cls, value: Any):
2919
2924
  if value is None:
@@ -16,6 +16,7 @@ from ._custom_turtle import *
16
16
  from ._custom_sqlite import *
17
17
  from ._custom_pandas import *
18
18
  from ._klang_builtins import *
19
+ from ._translate import *
19
20
  from .ml import *
20
21
  from .automl import *
21
22
  from KL_Py import FreeSimpleGUI
@@ -57,6 +57,7 @@ try:
57
57
  if cf_item in self.index:
58
58
  return super().__getitem__(cf_item)
59
59
  return super().__getitem__(_safe_casefold(item))
60
+ ka = ke = ki = __getitem__
60
61
  def __setitem__(self, key: Any, value: Any) -> None:
61
62
  super().__setitem__(_safe_casefold(key), value)
62
63
  def __getattr__(self, name: str) -> Any:
@@ -191,6 +192,7 @@ try:
191
192
  if (isinstance(item, int) and -len(self.index) <= item < len(self.index)) or (isinstance(item, (list, tuple)) and all(isinstance(sub_item, int) for sub_item in item)):
192
193
  return self.iloc[item]
193
194
  return super().__getitem__(_safe_casefold(item))
195
+ ka = ke = ki = __getitem__
194
196
  def __setitem__(self, key: Any, value: Any) -> None:
195
197
  super().__setitem__(_safe_casefold(key), value)
196
198
  def __getattr__(self, name: str) -> Any:
@@ -214,6 +216,13 @@ try:
214
216
  self[cf_name] = value
215
217
  else:
216
218
  super().__setattr__(name, value)
219
+ def __call__(self, item=None):
220
+ if item is not None:
221
+ return self[item]
222
+ self.quick_clean(
223
+ inplace=True
224
+ )
225
+ return self
217
226
  def girao(self, labels: list[str] | None = None, *args, **kwargs):
218
227
  if labels is None and "columns" in kwargs:
219
228
  labels = kwargs.pop("columns", [])
@@ -6,7 +6,12 @@ from ._error_classes import *
6
6
  __all__: list[str] = [
7
7
  "translate_for_jupyter",
8
8
  "translate_for_klang",
9
- "translate_for_sql"
9
+ "translate_for_sql",
10
+ "exec_",
11
+ "_exec",
12
+ "eval_",
13
+ "_eval",
14
+ "run"
10
15
  ]
11
16
 
12
17
  def translate_for_ai(text: str) -> str:
@@ -747,22 +752,14 @@ def translate_for_jupyter(code: str) -> None:
747
752
  code = replace(code, r"\benum (?<enumclassname>\w+)(?= *\:)", "class $enumclassname(Enum)")
748
753
  code = replace(code, r"(?<!\.)(?<varname>[\"\']{1,2}(?:[\-\.\w\"\' ](?:, *)?)+[\"\']{1,2}|[A-Za-z_]\w*)\.\b(?<replacement_method>replace(?:_first)?)\(", "$replacement_method($varname, ")
749
754
  # >> custom starts_with, and ends_with, that work with arrays as well
750
- if callable(getattr(KL_Py, "copy", None)):
751
- code = replace(code, r"\b([A-Za-z_]\w*)\.(?:d(?:e{2})?p?)?copy\(\)", "KL_Py.copy($1)") #custom, comes from KL_Py
752
- if callable(getattr(KL_Py, "startswith", None)):
753
- code = replace(code, r"(?<!\.)(?<varname>[\"\']{1,2}(?:[\-\.\w\"\' ](?:, *)?)+[\"\']{1,2}|[A-Za-z_]\w*)\.\b(?:starts_?with)\(", "startswith($varname, ") #custom, comes from KL_Py
754
- if callable(getattr(KL_Py, "endswith", None)):
755
- ccode = replace(code, r"(?<!\.)(?<varname>[\"\']{1,2}(?:[\-\.\w\"\' ](?:, *)?)+[\"\']{1,2}|[A-Za-z_]\w*)\.\b(?:ends_?with)\(", "endswith($varname, ") #custom, comes from KL_Py
756
- if callable(getattr(KL_Py, "is_sentence_case", None)):
757
- code = replace(code, r"(?<!\.)(?<varname>[\"\']{1,2}(?:[\-\.\w\"\' ](?:, *)?)+[\"\']{1,2}|[A-Za-z_]\w*)\.\b(?:is_?(?:sent(?:ence)?_?case|sentn?[cs]s?))\(\)", "is_sentence_case($varname)")
758
- if callable(getattr(KL_Py, "sentence_case", None)):
759
- code = replace(code, r"(?<!\.)(?<varname>[\"\']{1,2}(?:[\-\.\w\"\' ](?:, *)?)+[\"\']{1,2}|[A-Za-z_]\w*)\.\b(?:sent(?:ence)?_?case|sentn?[cs]s?)\(\)", "sentence_case($varname)")
760
- if callable(getattr(KL_Py, "is_snake_case", None)):
761
- code = replace(code, r"(?<!\.)(?<varname>[\"\']{1,2}(?:[\-\.\w\"\' ](?:, *)?)+[\"\']{1,2}|[A-Za-z_]\w*)\.\b(?:is_?(?:snake_?case))\(\)", "is_snake_case($varname)")
762
- if callable(getattr(KL_Py, "snake_case", None)):
763
- code = replace(code, r"(?<!\.)(?<varname>[\"\']{1,2}(?:[\-\.\w\"\' ](?:, *)?)+[\"\']{1,2}|[A-Za-z_]\w*)\.\b(?:snake_?case)\(\)", "snake_case($varname)")
764
- if callable(getattr(KL_Py, "lambai", None)):
765
- code = replace(code, r"(?<!\.)\blambai (?<iterable>[\[\{\"\']{1,2}(?:[\-\.\w\"\' ](?:, *)?)+[\]\}\"\']{1,2}|[A-Za-z_][\w\.]*)", "lambai($iterable)" if "lambai" in {**globals(), **locals()} and isinstance(lambai, Callable) else "len($iterable)")
755
+ code = replace(code, r"\b([A-Za-z_]\w*)\.(?:d(?:e{2})?p?)?copy\(\)", "KL_Py.copy($1)") #custom, comes from KL_Py
756
+ code = replace(code, r"(?<!\.)(?<varname>[\"\']{1,2}(?:[\-\.\w\"\' ](?:, *)?)+[\"\']{1,2}|[A-Za-z_]\w*)\.\b(?:starts_?with)\(", "startswith($varname, ") #custom, comes from KL_Py
757
+ code = replace(code, r"(?<!\.)(?<varname>[\"\']{1,2}(?:[\-\.\w\"\' ](?:, *)?)+[\"\']{1,2}|[A-Za-z_]\w*)\.\b(?:ends_?with)\(", "endswith($varname, ") #custom, comes from KL_Py
758
+ code = replace(code, r"(?<!\.)(?<varname>[\"\']{1,2}(?:[\-\.\w\"\' ](?:, *)?)+[\"\']{1,2}|[A-Za-z_]\w*)\.\b(?:is_?(?:sent(?:ence)?_?case|sentn?[cs]s?))\(\)", "is_sentence_case($varname)")
759
+ code = replace(code, r"(?<!\.)(?<varname>[\"\']{1,2}(?:[\-\.\w\"\' ](?:, *)?)+[\"\']{1,2}|[A-Za-z_]\w*)\.\b(?:sent(?:ence)?_?case|sentn?[cs]s?)\(\)", "sentence_case($varname)")
760
+ code = replace(code, r"(?<!\.)(?<varname>[\"\']{1,2}(?:[\-\.\w\"\' ](?:, *)?)+[\"\']{1,2}|[A-Za-z_]\w*)\.\b(?:is_?(?:snake_?case))\(\)", "is_snake_case($varname)")
761
+ code = replace(code, r"(?<!\.)(?<varname>[\"\']{1,2}(?:[\-\.\w\"\' ](?:, *)?)+[\"\']{1,2}|[A-Za-z_]\w*)\.\b(?:snake_?case)\(\)", "snake_case($varname)")
762
+ code = replace(code, r"(?<!\.)\blambai (?<iterable>[\[\{\"\']{1,2}(?:[\-\.\w\"\' ](?:, *)?)+[\]\}\"\']{1,2}|[A-Za-z_][\w\.]*)", "len($iterable)")
766
763
  # don't touch it
767
764
  # doesn't need a work boundary ^
768
765
  code = replace(code, r"(?<!\.)(?<varname>[\[\{\"\']{1,2}(?:[\-\.\w\"\' ](?:, *)?)+[\]\}\"\']{1,2}|[A-Za-z_]\w*)\.\b(?:ki_?)?(?:len(?:gth)?|lambai|size)\b(?! *\()", "lambai($varname)" if "lambai" in {**globals(), **locals()} and isinstance(lambai, Callable) else "len($varname)")
@@ -1044,7 +1041,7 @@ def KL_Py_pypi_exec_(code: str, eval_mode: bool = False) -> str:
1044
1041
  )
1045
1042
  msg = f"\n {msg} line {lineno} pe"
1046
1043
  if len(args) >= 2 and isinstance(args[1], tuple) and len(args[1]) >= 4:
1047
- msg += f"\n karib yaha: \"\n\t {args[1][3].strip()}\n \" ^^^\n\t\t\t |||"
1044
+ msg += f"\n karib yaha: \"\n\t {args[1][3].strip()}\n \" ^^^\n\t\t\t | |"
1048
1045
  msg = replace(
1049
1046
  msg,
1050
1047
  r"\bf(?=\-string\b|\"[^\"]*\")",
@@ -1327,7 +1324,7 @@ def KL_Py_pypi_exec_(code: str, eval_mode: bool = False) -> str:
1327
1324
  )
1328
1325
  msg = f"\n {msg} line {lineno} pe"
1329
1326
  if len(args) >= 2 and isinstance(args[1], tuple) and len(args[1]) >= 4:
1330
- msg += f"\n karib yaha: \"\n\t {args[1][3].strip()}\n \" ^^^\n\t\t\t |||"
1327
+ msg += f"\n karib yaha: \"\n\t {args[1][3].strip()}\n \" ^^^\n\t\t\t | |"
1331
1328
  msg = replace(
1332
1329
  msg,
1333
1330
  r"\bf(?=\-string\b|\"[^\"]*\")",
@@ -1504,6 +1501,7 @@ KL_Py.exec_ = KL_Py._exec =\
1504
1501
  exec_ = KL_Py.eval_ =\
1505
1502
  KL_Py._eval = eval_ =\
1506
1503
  _eval = run =\
1504
+ KL_Py.run =\
1507
1505
  _exec = KL_Py_pypi_exec_
1508
1506
  def translate_for_sql(text: str) -> str:
1509
1507
  if not isinstance(text, str)\
@@ -1528,11 +1526,12 @@ def translate_for_sql(text: str) -> str:
1528
1526
  "(?:ba?ra{0,2}ba?r )?he": "=",
1529
1527
  # sequence matters
1530
1528
  "gira{1,2}o": "drop",
1531
- "(?:saaf|kha{1,2}li)[_ ]*(?:karo|table)(?:[_ ]*table)?": "delete from",
1529
+ "(?:clea[rn]|sa{1,2}f|kha{1,2}li)[_ ]*(?:karo|table)(?:[_ ]*table)?": "delete from",
1532
1530
  "agar": "if",
1533
1531
  "na(?:hi)?(?= moj(?:u|oo)d)": "not",
1534
1532
  "tor": "as",
1535
1533
  "sath": "with",
1534
+ "inhe|vals?": "values",
1536
1535
  # sequence matters
1537
1536
  "moj(?:u|oo)d": "exists",
1538
1537
  # data types
@@ -1555,7 +1554,7 @@ def translate_for_sql(text: str) -> str:
1555
1554
  for k, v in dictionary.items():
1556
1555
  translation = replacei(translation, fr"\b{k}\b", v)
1557
1556
  translation = replacei(translation, r"(?<table_name>(?<!\w)`?[A-Za-z_]\w*`?) me[_ ]?se\b", "from ${table_name}")
1558
- translation = replacei(translation, r"\b(?:auto|khud) *(?:\+|barhti)(?!\w)", "autoincrement")
1557
+ translation = replacei(translation, r"\b(?:a(?:uto)?|khud)[_ ]*(?:\+|barh(?:ti|e))(?!\w)", "autoincrement")
1559
1558
  translation = replacei(translation, r" \b(not null)\?(?!\w)", "")
1560
1559
  translation = replacei(translation, r" *\| *(?<defaultval>\w*)\b", " default ${defaultval}")
1561
1560
  translation = replacei(translation, r"\b(?<dropping_this_to_prvt_a_lgcl_err>default false) (?<instead_keeping>(?:not null )?default [A-Za-z_]\w*)\b", "$instead_keeping")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: KL_Py
3
- Version: 0.3.0
3
+ Version: 0.3.2
4
4
  Summary: A Python simplification module
5
5
  Author-email: Abbaskhurram255 <abbaskhurram255@gmail.com>
6
6
  Classifier: Programming Language :: Python :: 3
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
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