KL-Py 0.6.9__tar.gz → 0.7.1__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.
- {kl_py-0.6.9 → kl_py-0.7.1}/PKG-INFO +1 -1
- {kl_py-0.6.9 → kl_py-0.7.1}/pyproject.toml +1 -1
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/__init__.py +16 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/_translate.py +44 -8
- kl_py-0.7.1/src/KL_Py/tc/__init__.py +4 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py.egg-info/PKG-INFO +1 -1
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py.egg-info/SOURCES.txt +1 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/LICENSE +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/README.md +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/setup.cfg +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/_utils.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/base.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/button.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/calendar.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/canvas.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/checkbox.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/column.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/combo.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/error.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/frame.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/graph.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/helpers.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/image.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/input.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/list_box.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/menu.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/multiline.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/option_menu.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/pane.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/progress_bar.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/radio.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/separator.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/sizegrip.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/slider.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/spin.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/status_bar.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/stretch.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/tab.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/table.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/text.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/elements/tree.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/themes.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/tray.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/FreeSimpleGUI/window.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/KL_Py.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/_custom_pandas.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/_custom_sqlite.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/_custom_turtle.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/_error_classes.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/_filepaths.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/_klang_builtins.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/_web_translate.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/automl.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/dnd/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/drag_and_drop/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/export/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/export/__main__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/export/config.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/export/dialogs.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/export/packaging.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/export/shims.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/export/ui.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/export/utils.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/export/validation.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/fsgdnd/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/fsgui/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/_utils.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/base.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/button.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/calendar.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/canvas.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/center.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/checkbox.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/column.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/combo.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/error.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/frame.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/graph.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/helpers.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/image.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/input.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/list_box.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/menu.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/multiline.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/option_menu.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/pane.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/progress_bar.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/radio.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/separator.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/sizegrip.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/slider.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/spin.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/status_bar.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/stretch.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/tab.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/table.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/text.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/elements/tree.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/replace.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/tray.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/hindGui/window.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/k2exe/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/k2exe/__main__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/k2exe/config.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/k2exe/dialogs.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/k2exe/packaging.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/k2exe/shims.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/k2exe/ui.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/k2exe/utils.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/k2exe/validation.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/kexe/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/kexe/__main__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/kexe/config.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/kexe/dialogs.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/kexe/packaging.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/kexe/shims.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/kexe/ui.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/kexe/utils.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/kexe/validation.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/kl2exe/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/kl2exe/__main__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/kl2exe/config.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/kl2exe/dialogs.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/kl2exe/packaging.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/kl2exe/shims.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/kl2exe/ui.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/kl2exe/utils.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/kl2exe/validation.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klang2exe/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klang2exe/__main__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klang2exe/config.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klang2exe/dialogs.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klang2exe/packaging.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klang2exe/shims.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klang2exe/ui.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klang2exe/utils.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klang2exe/validation.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klangexe/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klangexe/__main__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klangexe/config.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klangexe/dialogs.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klangexe/packaging.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klangexe/shims.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klangexe/ui.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klangexe/utils.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klangexe/validation.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klexe/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klexe/__main__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klexe/config.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klexe/dialogs.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klexe/packaging.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klexe/shims.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klexe/ui.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klexe/utils.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/klexe/validation.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/ml.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/np/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/pd/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/plt/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/psgui/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/px/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/pyexe/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/pyexe/__main__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/pyexe/config.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/pyexe/dialogs.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/pyexe/packaging.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/pyexe/shims.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/pyexe/ui.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/pyexe/utils.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/pyexe/validation.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/pysgdnd/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/__version__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/_internal_utils.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/adapters.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/api.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/auth.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/__init__.pyi +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/_cffi/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/_cffi/_blocks_output_buffer.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/_cffi/_common.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/_cffi/buffer.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/_cffi/compressor.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/_cffi/decompressor.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/_cffi/zstddict.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/_compat.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/_shutil.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/_streams.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/_zstd.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/_zstdfile.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/py.typed +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/tarfile.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/tarfile.pyi +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/zipfile/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/zipfile/__init__.pyi +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/zipfile/__main__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/zipfile/_path/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/zipfile/_path/__init__.pyi +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/zipfile/_path/glob.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/backports/zstd/zipfile/_path/glob.pyi +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/certifi/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/certifi/__main__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/certifi/core.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/certifi/py.typed +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/certs.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/charset_normalizer/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/charset_normalizer/__main__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/charset_normalizer/api.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/charset_normalizer/cd.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/charset_normalizer/cli/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/charset_normalizer/cli/__main__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/charset_normalizer/constant.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/charset_normalizer/legacy.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/charset_normalizer/md.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/charset_normalizer/models.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/charset_normalizer/py.typed +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/charset_normalizer/utils.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/charset_normalizer/version.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/compat.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/cookies.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/exceptions.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/help.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/hooks.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/idna/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/idna/codec.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/idna/compat.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/idna/core.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/idna/idnadata.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/idna/intranges.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/idna/package_data.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/idna/py.typed +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/idna/uts46data.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/models.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/packages.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/sessions.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/compat.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/decoder.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/encoder.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/errors.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/ordered_dict.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/raw_json.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/scanner.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/_cibw_runner.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/_helpers.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_bigint_as_string.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_bitsize_int_as_string.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_check_circular.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_decimal.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_decode.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_default.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_dump.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_encode_basestring_ascii.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_encode_for_html.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_errors.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_fail.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_float.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_for_json.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_free_threading.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_indent.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_item_sort_key.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_iterable.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_namedtuple.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_pass1.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_pass2.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_pass3.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_raw_json.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_recursion.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_scanstring.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_separators.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_speedups.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_str_subclass.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_subclass.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_subinterpreters.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_tool.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_tuple.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tests/test_unicode.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/simplejson/tool.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/status_codes.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/structures.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/_base_connection.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/_collections.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/_request_methods.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/_version.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/connection.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/connectionpool.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/contrib/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/contrib/emscripten/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/contrib/emscripten/connection.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/contrib/emscripten/fetch.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/contrib/emscripten/request.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/contrib/emscripten/response.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/contrib/pyopenssl.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/contrib/socks.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/exceptions.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/fields.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/filepost.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/http2/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/http2/connection.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/http2/probe.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/poolmanager.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/py.typed +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/response.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/util/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/util/connection.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/util/proxy.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/util/request.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/util/response.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/util/retry.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/util/ssl_.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/util/ssl_match_hostname.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/util/ssltransport.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/util/timeout.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/util/url.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/util/util.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/urllib3/util/wait.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/requests/utils.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/sb/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/sk/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/sns/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/toexe/__init__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/toexe/__main__.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/toexe/config.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/toexe/dialogs.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/toexe/packaging.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/toexe/shims.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/toexe/ui.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/toexe/utils.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/toexe/validation.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py/when.py +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py.egg-info/dependency_links.txt +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py.egg-info/requires.txt +0 -0
- {kl_py-0.6.9 → kl_py-0.7.1}/src/KL_Py.egg-info/top_level.txt +0 -0
|
@@ -44,6 +44,22 @@ from KL_Py import psgui
|
|
|
44
44
|
from KL_Py import px
|
|
45
45
|
from KL_Py import pysgdnd
|
|
46
46
|
from KL_Py import sk
|
|
47
|
+
# optional dependency:
|
|
48
|
+
# torch
|
|
49
|
+
try:
|
|
50
|
+
from KL_Py.tc import (
|
|
51
|
+
t,
|
|
52
|
+
tc,
|
|
53
|
+
tn,
|
|
54
|
+
ten,
|
|
55
|
+
NN,
|
|
56
|
+
Module
|
|
57
|
+
)
|
|
58
|
+
torch = tc
|
|
59
|
+
except ImportError:
|
|
60
|
+
print(
|
|
61
|
+
f"{__name__}.missing_optional_dependency_warning: 'Torch'"
|
|
62
|
+
)
|
|
47
63
|
import KL_Py
|
|
48
64
|
# bug fix 1
|
|
49
65
|
sg = FreeSimpleGUI
|
|
@@ -1285,7 +1285,7 @@ def translate_for_jupyter(code: str) -> None:
|
|
|
1285
1285
|
# sequence matters!
|
|
1286
1286
|
code = replace(
|
|
1287
1287
|
code,
|
|
1288
|
-
r"^\b(?:main|start|(?:f[cn]|act|def|(?:static|direct) *(?:me?th?o?d)) +(?:main|start)) *(?:\([^\)\n\t]*\))?(?: *(?:->|return_kare) *[\w\?\[\]\|]+)?(?= *\:)",
|
|
1288
|
+
r"^\b(?:main|start|(?:f[cn]|how[_ ]*to|kese|act|def|(?:static|direct) *(?:me?th?o?d)) +(?:main|start)) *(?:\([^\)\n\t]*\))?(?: *(?:->|return_kare) *[\w\?\[\]\|]+)?(?= *\:)",
|
|
1289
1289
|
"if __name__ == '__main__'"
|
|
1290
1290
|
)
|
|
1291
1291
|
# key, value
|
|
@@ -1754,13 +1754,13 @@ def translate_for_jupyter(code: str) -> None:
|
|
|
1754
1754
|
# not supported for:
|
|
1755
1755
|
# `x ->`
|
|
1756
1756
|
code = replace(code, r"(?<=[\=,\(]|(?<=[\=,\(]|(?<=[\=,\(]|(?<=[\=,\(]) ) ) )(?<!\w)(?=[A-Za-z_\(\$\*\.])\$? *\(?(?<params>[^\n\(\)\{\}\[\]]+)?\)? *\->(?= *[^\:]+$)", "lambda $params:")
|
|
1757
|
-
code = replace(code, r"(?<=[\=,\(]|(?<=[\=,\(]|(?<=[\=,\(]|(?<=[\=,\(]) ) ) )\$?(?:\b(?:f[cn]|act|def|(?:static|direct) *(?:me?th?o?d))|\$) *\(?(?<params>[^\n\(\)\{\}\[\]]+)?\)? *(?=\: *[^\n]{2,})", "lambda $params")
|
|
1757
|
+
code = replace(code, r"(?<=[\=,\(]|(?<=[\=,\(]|(?<=[\=,\(]|(?<=[\=,\(]) ) ) )\$?(?:\b(?:f[cn]|how[_ ]*to|kese|act|def|(?:static|direct) *(?:me?th?o?d))|\$) *\(?(?<params>[^\n\(\)\{\}\[\]]+)?\)? *(?=\: *[^\n]{2,})", "lambda $params")
|
|
1758
1758
|
# the actual support for `x ->` :
|
|
1759
1759
|
# helps drop the parentheses if the function doesn't allow parameters
|
|
1760
1760
|
# fc log: -> fc log():
|
|
1761
|
-
code = replace(code, r"(?<![\=,\(]|(?<=[\=,\(]|(?<=[\=,\(]|(?<=[\=,\(]) ) ) )(?:\basync?|\${1,2}) *(?:f[cn]|act|def|(?:static|direct) *(?:me?th?o?d))\b(?= +[A-Za-z_])", "async def")
|
|
1762
|
-
code = replace(code, r"(?<![\=,\(]|(?<=[\=,\(]|(?<=[\=,\(]|(?<=[\=,\(]) ) ) )\b(?:f[cn]|act|def|(?:static|direct) *(?:me?th?o?d)) +(?<funcname_followed_not_by_parens>[A-Za-z_]\w*)(?=(?<could_have_a_return_type>[^\(\)\:]+)?\:\n+(?: {4}|\t{1,}))", "def $funcname_followed_not_by_parens()")
|
|
1763
|
-
code = replace(code, r"(?<![\=,\(]|(?<=[\=,\(]|(?<=[\=,\(]|(?<=[\=,\(]) ) ) )\b(?:f[cn]|act|def|(?:static|direct) *(?:me?th?o?d)) +(?<funcname_regular>[A-Za-z_]\w*)\((?<params>.+)?\)(?=(?<could_have_a_return_type>[^\(\)\:]+)?\:(?:\n+(?: {4}|\t{1,}))?)", "def $funcname_regular($params)")
|
|
1761
|
+
code = replace(code, r"(?<![\=,\(]|(?<=[\=,\(]|(?<=[\=,\(]|(?<=[\=,\(]) ) ) )(?:\basync?|\${1,2}) *(?:f[cn]|how[_ ]*to|kese|act|def|(?:static|direct) *(?:me?th?o?d))\b(?= +[A-Za-z_])", "async def")
|
|
1762
|
+
code = replace(code, r"(?<![\=,\(]|(?<=[\=,\(]|(?<=[\=,\(]|(?<=[\=,\(]) ) ) )\b(?:f[cn]|how[_ ]*to|kese|act|def|(?:static|direct) *(?:me?th?o?d)) +(?<funcname_followed_not_by_parens>[A-Za-z_]\w*)(?=(?<could_have_a_return_type>[^\(\)\:]+)?\:\n+(?: {4}|\t{1,}))", "def $funcname_followed_not_by_parens()")
|
|
1763
|
+
code = replace(code, r"(?<![\=,\(]|(?<=[\=,\(]|(?<=[\=,\(]|(?<=[\=,\(]) ) ) )\b(?:f[cn]|how[_ ]*to|kese|act|def|(?:static|direct) *(?:me?th?o?d)) +(?<funcname_regular>[A-Za-z_]\w*)\((?<params>.+)?\)(?=(?<could_have_a_return_type>[^\(\)\:]+)?\:(?:\n+(?: {4}|\t{1,}))?)", "def $funcname_regular($params)")
|
|
1764
1764
|
code = replace(code, r"\b(lambda) +lambda\b", "$1") # a bug fix
|
|
1765
1765
|
code = replace(code, r"@(redo|[Oo]ver(?:writ{1,2}e|rid{1,2}e)[sn]?|[Ee]xtends?|([Rr]e|[Nn]ot)_?[Ii]mplement(ed)?|dubara|nae_sire) ", "")
|
|
1766
1766
|
# sequence matters
|
|
@@ -2927,10 +2927,17 @@ def translate_for_sql(text: str) -> str:
|
|
|
2927
2927
|
r"sab(?:[_ ]*kuch)?": "*",
|
|
2928
2928
|
r"jaha{1,2}n?": "where",
|
|
2929
2929
|
r"(?:sirf|bas)(?= \d)": "limit",
|
|
2930
|
+
# sqlite >=, <=, >, <
|
|
2931
|
+
# negations first
|
|
2932
|
+
r'(?:nahi|not) +bar[ai](?: +he)?[_ ]+ya[_ ]+ba?ra{0,2}ba?r(?: +he)?': '<',
|
|
2933
|
+
r'(?:nahi|not) +chot[ai](?: +he)?[_ ]+ya[_ ]+ba?ra{0,2}ba?r(?: +he)?': '>',
|
|
2934
|
+
r'(?:nahi|not) +bar[ai](?: +he)?(?![_ ]+ya\b)': '<=',
|
|
2935
|
+
r'(?:nahi|not) +chot[ai](?: +he)?(?![_ ]+ya\b)': '>=',
|
|
2936
|
+
# regulars after
|
|
2930
2937
|
r'bar[ai](?: +he)?[_ ]+ya[_ ]+ba?ra{0,2}ba?r(?: +he)?': '>=',
|
|
2931
2938
|
r'chot[ai](?: +he)?[_ ]+ya[_ ]+ba?ra{0,2}ba?r(?: +he)?': '<=',
|
|
2932
|
-
r'bar[ai](?: +he)?': '>',
|
|
2933
|
-
r'chot[ai](?: +he)?': '<',
|
|
2939
|
+
r'bar[ai](?: +he)?(?![_ ]+ya\b)': '>',
|
|
2940
|
+
r'chot[ai](?: +he)?(?![_ ]+ya\b)': '<',
|
|
2934
2941
|
r'(?<=,)\s+\b(?:a(?:nd|ur)|(?:ke[_ ]*)?sath)\b': '',
|
|
2935
2942
|
r'aur': 'and',
|
|
2936
2943
|
r'ya': 'or',
|
|
@@ -3053,6 +3060,27 @@ def translate_for_sql(text: str) -> str:
|
|
|
3053
3060
|
r"(?<table_name>(?<!\w)`*[A-Za-z_]\w*`*|`[A-Za-z_][\w ]*`) me da{1,2}lo\b",
|
|
3054
3061
|
"insert into $table_name"
|
|
3055
3062
|
)
|
|
3063
|
+
# <, <=, >, >= negations + symbol forms
|
|
3064
|
+
translation = replacei(
|
|
3065
|
+
translation,
|
|
3066
|
+
r'\b(?:nahi|not) +(?:bar[ai](?: +he)?[_ ]+ya[_ ]+ba?ra{0,2}ba?r(?: +he)?\b|>=)',
|
|
3067
|
+
"<"
|
|
3068
|
+
)
|
|
3069
|
+
translation = replacei(
|
|
3070
|
+
translation,
|
|
3071
|
+
r'\b(?:nahi|not) +(?:chot[ai](?: +he)?[_ ]+ya[_ ]+ba?ra{0,2}ba?r(?: +he)?\b|<=)',
|
|
3072
|
+
">"
|
|
3073
|
+
)
|
|
3074
|
+
translation = replacei(
|
|
3075
|
+
translation,
|
|
3076
|
+
r'\b(?:nahi|not) +(?:bar[ai](?: +he)?\b|>)(?![_ ]+ya\b)',
|
|
3077
|
+
"<="
|
|
3078
|
+
)
|
|
3079
|
+
translation = replacei(
|
|
3080
|
+
translation,
|
|
3081
|
+
r'\b(?:nahi|not) +(?:chot[ai](?: +he)?\b|<)(?![_ ]+ya\b)',
|
|
3082
|
+
">="
|
|
3083
|
+
)
|
|
3056
3084
|
# the right spot for this is ^
|
|
3057
3085
|
# has to come BEFORE
|
|
3058
3086
|
# key-value replacements
|
|
@@ -4192,9 +4220,17 @@ plaindict = {
|
|
|
4192
4220
|
"name": "Mike",
|
|
4193
4221
|
"age": 51 years,
|
|
4194
4222
|
"nestedkey": {
|
|
4195
|
-
4.2
|
|
4223
|
+
4.2: ?
|
|
4196
4224
|
}
|
|
4197
4225
|
}
|
|
4226
|
+
|
|
4227
|
+
kese add(x, y) -> nr:
|
|
4228
|
+
lotao x+y
|
|
4229
|
+
|
|
4230
|
+
howto _sum(x, y):
|
|
4231
|
+
return x+y
|
|
4232
|
+
|
|
4233
|
+
bolo add(3, 2)
|
|
4198
4234
|
"""
|
|
4199
4235
|
)
|
|
4200
4236
|
)
|
|
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
|
|
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
|
|
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
|
|
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
|