KL-Py 0.4.8__tar.gz → 0.4.9__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.4.8 → kl_py-0.4.9}/PKG-INFO +1 -1
- {kl_py-0.4.8 → kl_py-0.4.9}/pyproject.toml +1 -1
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/_custom_pandas.py +1 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/_translate.py +31 -5
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/_web_translate.py +40 -39
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py.egg-info/PKG-INFO +1 -1
- {kl_py-0.4.8 → kl_py-0.4.9}/LICENSE +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/README.md +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/setup.cfg +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/_utils.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/base.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/button.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/calendar.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/canvas.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/checkbox.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/column.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/combo.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/error.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/frame.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/graph.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/helpers.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/image.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/input.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/list_box.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/menu.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/multiline.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/option_menu.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/pane.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/progress_bar.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/radio.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/separator.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/sizegrip.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/slider.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/spin.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/status_bar.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/stretch.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/tab.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/table.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/text.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/elements/tree.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/themes.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/tray.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/FreeSimpleGUI/window.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/KL_Py.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/_custom_sqlite.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/_custom_turtle.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/_error_classes.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/_filepaths.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/_klang_builtins.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/automl.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/dnd/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/drag_and_drop/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/export/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/export/__main__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/export/config.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/export/dialogs.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/export/packaging.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/export/shims.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/export/ui.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/export/utils.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/export/validation.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/fsgdnd/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/fsgui/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/_utils.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/base.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/button.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/calendar.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/canvas.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/center.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/checkbox.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/column.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/combo.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/error.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/frame.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/graph.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/helpers.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/image.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/input.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/list_box.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/menu.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/multiline.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/option_menu.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/pane.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/progress_bar.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/radio.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/separator.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/sizegrip.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/slider.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/spin.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/status_bar.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/stretch.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/tab.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/table.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/text.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/elements/tree.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/replace.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/tray.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/hindGui/window.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/k2exe/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/k2exe/__main__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/k2exe/config.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/k2exe/dialogs.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/k2exe/packaging.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/k2exe/shims.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/k2exe/ui.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/k2exe/utils.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/k2exe/validation.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/kexe/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/kexe/__main__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/kexe/config.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/kexe/dialogs.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/kexe/packaging.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/kexe/shims.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/kexe/ui.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/kexe/utils.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/kexe/validation.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/kl2exe/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/kl2exe/__main__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/kl2exe/config.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/kl2exe/dialogs.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/kl2exe/packaging.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/kl2exe/shims.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/kl2exe/ui.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/kl2exe/utils.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/kl2exe/validation.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klang2exe/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klang2exe/__main__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klang2exe/config.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klang2exe/dialogs.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klang2exe/packaging.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klang2exe/shims.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klang2exe/ui.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klang2exe/utils.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klang2exe/validation.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klangexe/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klangexe/__main__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klangexe/config.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klangexe/dialogs.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klangexe/packaging.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klangexe/shims.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klangexe/ui.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klangexe/utils.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klangexe/validation.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klexe/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klexe/__main__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klexe/config.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klexe/dialogs.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klexe/packaging.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klexe/shims.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klexe/ui.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klexe/utils.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/klexe/validation.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/ml.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/np/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/pd/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/plt/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/psgui/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/px/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/pyexe/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/pyexe/__main__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/pyexe/config.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/pyexe/dialogs.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/pyexe/packaging.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/pyexe/shims.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/pyexe/ui.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/pyexe/utils.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/pyexe/validation.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/pysgdnd/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/__version__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/_internal_utils.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/adapters.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/api.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/auth.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/__init__.pyi +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/_cffi/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/_cffi/_blocks_output_buffer.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/_cffi/_common.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/_cffi/buffer.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/_cffi/compressor.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/_cffi/decompressor.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/_cffi/zstddict.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/_compat.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/_shutil.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/_streams.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/_zstd.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/_zstdfile.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/py.typed +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/tarfile.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/tarfile.pyi +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/zipfile/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/zipfile/__init__.pyi +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/zipfile/__main__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/zipfile/_path/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/zipfile/_path/__init__.pyi +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/zipfile/_path/glob.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/backports/zstd/zipfile/_path/glob.pyi +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/certifi/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/certifi/__main__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/certifi/core.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/certifi/py.typed +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/certs.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/charset_normalizer/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/charset_normalizer/__main__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/charset_normalizer/api.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/charset_normalizer/cd.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/charset_normalizer/cli/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/charset_normalizer/cli/__main__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/charset_normalizer/constant.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/charset_normalizer/legacy.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/charset_normalizer/md.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/charset_normalizer/models.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/charset_normalizer/py.typed +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/charset_normalizer/utils.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/charset_normalizer/version.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/compat.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/cookies.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/exceptions.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/help.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/hooks.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/idna/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/idna/codec.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/idna/compat.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/idna/core.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/idna/idnadata.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/idna/intranges.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/idna/package_data.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/idna/py.typed +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/idna/uts46data.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/models.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/packages.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/sessions.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/compat.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/decoder.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/encoder.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/errors.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/ordered_dict.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/raw_json.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/scanner.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/_cibw_runner.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/_helpers.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_bigint_as_string.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_bitsize_int_as_string.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_check_circular.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_decimal.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_decode.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_default.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_dump.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_encode_basestring_ascii.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_encode_for_html.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_errors.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_fail.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_float.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_for_json.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_free_threading.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_indent.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_item_sort_key.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_iterable.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_namedtuple.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_pass1.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_pass2.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_pass3.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_raw_json.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_recursion.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_scanstring.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_separators.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_speedups.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_str_subclass.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_subclass.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_subinterpreters.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_tool.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_tuple.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tests/test_unicode.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/simplejson/tool.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/status_codes.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/structures.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/_base_connection.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/_collections.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/_request_methods.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/_version.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/connection.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/connectionpool.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/contrib/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/contrib/emscripten/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/contrib/emscripten/connection.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/contrib/emscripten/fetch.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/contrib/emscripten/request.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/contrib/emscripten/response.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/contrib/pyopenssl.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/contrib/socks.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/exceptions.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/fields.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/filepost.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/http2/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/http2/connection.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/http2/probe.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/poolmanager.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/py.typed +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/response.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/util/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/util/connection.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/util/proxy.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/util/request.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/util/response.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/util/retry.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/util/ssl_.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/util/ssl_match_hostname.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/util/ssltransport.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/util/timeout.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/util/url.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/util/util.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/urllib3/util/wait.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/requests/utils.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/sb/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/sk/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/sns/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/toexe/__init__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/toexe/__main__.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/toexe/config.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/toexe/dialogs.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/toexe/packaging.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/toexe/shims.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/toexe/ui.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/toexe/utils.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/toexe/validation.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py/when.py +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py.egg-info/SOURCES.txt +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py.egg-info/dependency_links.txt +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py.egg-info/requires.txt +0 -0
- {kl_py-0.4.8 → kl_py-0.4.9}/src/KL_Py.egg-info/top_level.txt +0 -0
|
@@ -103,7 +103,7 @@ def translate_for_ai(text: str) -> str:
|
|
|
103
103
|
return output
|
|
104
104
|
|
|
105
105
|
|
|
106
|
-
SEMICOLON_SUBINDEX_ACCESSOR_RE: Final[str] = r"(?<=\[|(?<=\[|(?<=\[)
|
|
106
|
+
SEMICOLON_SUBINDEX_ACCESSOR_RE: Final[str] = r"(?<=\[|(?<=\[|(?<=\[)\s)\s)(?P<first_index>\-?\d+)(?:\;(?P<second_index>\-?\d+))(?P<rest>[\-\d;]+)*(?=\s*\])"
|
|
107
107
|
SEMICOLON_SUBINDEX_ACCESSOR_RE_COMPILED: Final[re.Pattern] = re.compile(SEMICOLON_SUBINDEX_ACCESSOR_RE)
|
|
108
108
|
|
|
109
109
|
def translate_for_jupyter(code: str) -> None:
|
|
@@ -877,11 +877,12 @@ def translate_for_jupyter(code: str) -> None:
|
|
|
877
877
|
# KEY-VALUE replacement
|
|
878
878
|
for key, value in keys.items():
|
|
879
879
|
code = replace(code, r"(?<!\.)\b(" + key + r"(?! ?\: ?\w+))\b", value)
|
|
880
|
-
code = replace(code, r"(?<type>[A-Za-z]*\w*\.?[A-Za-z]\w*)(?:\[\]|<list>)", "list[$type]")
|
|
880
|
+
code = replace(code, r"(?!\b(?:type|kism)\b)\b(?<type>[A-Za-z]*\w*\.?[A-Za-z]\w*)(?:\[\]|<list>)", "list[$type]")
|
|
881
|
+
code = replace(code, r"\b([A-Za-z_]\w*) *\[\d+[Dd]\]", "$1[$1]")
|
|
881
882
|
# int[] -> list[int]
|
|
882
883
|
# int<list> -> list[int]
|
|
883
884
|
# comes before
|
|
884
|
-
code = replace(code, r"(?<!\w )(?:type|kism) ?\< ?(?<type>[A-Za-z_\?][\w\[\]\|\?\. ]*) ?\>", "$type")
|
|
885
|
+
code = replace(code, r"(?<!\w )\b(?:type|kism) ?\< ?(?<type>[A-Za-z_\?][\w\[\]\|\?\. ]*) ?\>", "$type")
|
|
885
886
|
# SEQUENCE
|
|
886
887
|
# this comes after
|
|
887
888
|
# similar, but different
|
|
@@ -1223,7 +1224,7 @@ def KL_Py_pypi_exec_(code: str, eval_mode: bool = False) -> str:
|
|
|
1223
1224
|
msg = replace(
|
|
1224
1225
|
msg,
|
|
1225
1226
|
r"\bNo module named (?<module>[\"\'][\w\.]*[\"\'])",
|
|
1226
|
-
"$module naam ki koi library mojud nahi\nTip: Is library ko install karne ke lie 'install {{library_ka_naam}}' likhen."
|
|
1227
|
+
"$module naam ki koi library mojud nahi\nTip: Is library ko install karne ke lie '!install {{library_ka_naam}}' likhen."
|
|
1227
1228
|
)
|
|
1228
1229
|
raise LibraryNaMojudError(
|
|
1229
1230
|
msg
|
|
@@ -1354,6 +1355,16 @@ def KL_Py_pypi_exec_(code: str, eval_mode: bool = False) -> str:
|
|
|
1354
1355
|
"if os.path.exists('klang.exe'): run_process(['start', 'klang.exe'], non_blocking=True, shell=True)",
|
|
1355
1356
|
""
|
|
1356
1357
|
)
|
|
1358
|
+
translated = replace(
|
|
1359
|
+
translated,
|
|
1360
|
+
r"(?<!\S|(?<=\S|(?<=\S) ) )%(pip install (?<packages>[^\n]+))$",
|
|
1361
|
+
"import subprocess; subprocess.Popen('python -m $1', shell=True)"
|
|
1362
|
+
)
|
|
1363
|
+
translated = replace(
|
|
1364
|
+
translated,
|
|
1365
|
+
r"(?<!\S|(?<=\S|(?<=\S) ) )%(pip uninstall (?<packages>[^\n]+))$",
|
|
1366
|
+
"import subprocess; subprocess.Popen('python -m $1', shell=True)"
|
|
1367
|
+
)
|
|
1357
1368
|
translated = translated.replace(
|
|
1358
1369
|
"%matplotlib inline",
|
|
1359
1370
|
""
|
|
@@ -1524,7 +1535,7 @@ def KL_Py_pypi_exec_(code: str, eval_mode: bool = False) -> str:
|
|
|
1524
1535
|
msg = replace(
|
|
1525
1536
|
msg,
|
|
1526
1537
|
r"\bNo module named (?<module>[\"\'][\w\.]*[\"\'])",
|
|
1527
|
-
"$module naam ki koi library mojud nahi\nTip: Is library ko install karne ke lie 'install {{library_ka_naam}}' likhen."
|
|
1538
|
+
"$module naam ki koi library mojud nahi\nTip: Is library ko install karne ke lie '!install {{library_ka_naam}}' likhen."
|
|
1528
1539
|
)
|
|
1529
1540
|
raise LibraryNaMojudError(
|
|
1530
1541
|
msg
|
|
@@ -2380,6 +2391,21 @@ data kism<dict> = {
|
|
|
2380
2391
|
kaho data.calories
|
|
2381
2392
|
|
|
2382
2393
|
bolo "${user ka name = }"
|
|
2394
|
+
"""
|
|
2395
|
+
)
|
|
2396
|
+
)
|
|
2397
|
+
print(
|
|
2398
|
+
translate_for_jupyter(
|
|
2399
|
+
"""
|
|
2400
|
+
x kism<list[2d]> = [
|
|
2401
|
+
[1 3 5]
|
|
2402
|
+
[2 4 6]
|
|
2403
|
+
]
|
|
2404
|
+
arr kism<tuple[3d]> = [
|
|
2405
|
+
[]
|
|
2406
|
+
[]
|
|
2407
|
+
]
|
|
2408
|
+
kaho x[0;1;2]
|
|
2383
2409
|
"""
|
|
2384
2410
|
)
|
|
2385
2411
|
)
|
|
@@ -372,28 +372,27 @@ def translate_for_css(code: str, copy: bool = False) -> str:
|
|
|
372
372
|
code = replace(code, r"\$ *(?<varname>[A-Za-z_][\w\-]*)", "var(--$varname)")
|
|
373
373
|
code = replace(code, r" *\\ *$", "")
|
|
374
374
|
# ^ now that we're done, let's remove the line continuation character '\\'(?=$)
|
|
375
|
+
WARNING_MSG: str = "WARNING:"\
|
|
376
|
+
+ "\nkcss is experimental"\
|
|
377
|
+
+ "\nand should not"\
|
|
378
|
+
+ "\nbe used in"\
|
|
379
|
+
+ "\nproduction\n\n"
|
|
380
|
+
print(
|
|
381
|
+
WARNING_MSG,
|
|
382
|
+
end=""
|
|
383
|
+
)
|
|
375
384
|
if copy:
|
|
376
|
-
WARNING_MSG: str = "WARNING:"\
|
|
377
|
-
+ "\nkcss is experimental"\
|
|
378
|
-
+ "\nand should not"\
|
|
379
|
-
+ "\nbe used in"\
|
|
380
|
-
+ "\nproduction\n\n"
|
|
381
385
|
try:
|
|
382
386
|
import pyperclip
|
|
383
387
|
pyperclip.copy(
|
|
384
388
|
code
|
|
385
389
|
)
|
|
386
390
|
print(
|
|
387
|
-
WARNING_MSG,
|
|
388
391
|
"Output copied to"\
|
|
389
|
-
+ " clipboard"
|
|
390
|
-
sep=""
|
|
392
|
+
+ " clipboard"
|
|
391
393
|
)
|
|
392
|
-
except
|
|
393
|
-
|
|
394
|
-
ImportError
|
|
395
|
-
):
|
|
396
|
-
pass
|
|
394
|
+
except Exception:
|
|
395
|
+
pass
|
|
397
396
|
return code
|
|
398
397
|
kcss_translate =\
|
|
399
398
|
css_translate =\
|
|
@@ -1044,28 +1043,27 @@ import {BrowserRouter as Router, Routes, Route, Link} from "react-router-dom";
|
|
|
1044
1043
|
""" + """Object.assign(window, React);
|
|
1045
1044
|
|
|
1046
1045
|
""" + code
|
|
1046
|
+
WARNING_MSG: str = "WARNING:"\
|
|
1047
|
+
+ "\nkreact is experimental"\
|
|
1048
|
+
+ "\nand should not"\
|
|
1049
|
+
+ "\nbe used in"\
|
|
1050
|
+
+ "\nproduction\n\n"
|
|
1051
|
+
print(
|
|
1052
|
+
WARNING_MSG,
|
|
1053
|
+
end=""
|
|
1054
|
+
)
|
|
1047
1055
|
if copy:
|
|
1048
|
-
WARNING_MSG: str = "WARNING:"\
|
|
1049
|
-
+ "\nkreact is experimental"\
|
|
1050
|
-
+ "\nand should not"\
|
|
1051
|
-
+ "\nbe used in"\
|
|
1052
|
-
+ "\nproduction\n\n"
|
|
1053
1056
|
try:
|
|
1054
1057
|
import pyperclip
|
|
1055
1058
|
pyperclip.copy(
|
|
1056
1059
|
code
|
|
1057
1060
|
)
|
|
1058
1061
|
print(
|
|
1059
|
-
WARNING_MSG,
|
|
1060
1062
|
"Output copied to"\
|
|
1061
|
-
+ " clipboard"
|
|
1062
|
-
sep=""
|
|
1063
|
+
+ " clipboard"
|
|
1063
1064
|
)
|
|
1064
|
-
except
|
|
1065
|
-
|
|
1066
|
-
ImportError
|
|
1067
|
-
):
|
|
1068
|
-
pass
|
|
1065
|
+
except Exception:
|
|
1066
|
+
pass
|
|
1069
1067
|
return code
|
|
1070
1068
|
translate_for_kreact =\
|
|
1071
1069
|
translate_for_react
|
|
@@ -1264,28 +1262,27 @@ def translate_for_khtml(code: str, mode: str="", copy: bool = True) -> str:
|
|
|
1264
1262
|
not in code.lower():
|
|
1265
1263
|
code = f"""<!doctype html>
|
|
1266
1264
|
{code}"""
|
|
1265
|
+
WARNING_MSG: str = "WARNING:"\
|
|
1266
|
+
+ "\nkhtml is experimental"\
|
|
1267
|
+
+ "\nand should not"\
|
|
1268
|
+
+ "\nbe used in"\
|
|
1269
|
+
+ "\nproduction\n\n"
|
|
1270
|
+
print(
|
|
1271
|
+
WARNING_MSG,
|
|
1272
|
+
end=""
|
|
1273
|
+
)
|
|
1267
1274
|
if copy:
|
|
1268
|
-
WARNING_MSG: str = "WARNING:"\
|
|
1269
|
-
+ "\nkhtml is experimental"\
|
|
1270
|
-
+ "\nand should not"\
|
|
1271
|
-
+ "\nbe used in"\
|
|
1272
|
-
+ "\nproduction\n\n"
|
|
1273
1275
|
try:
|
|
1274
1276
|
import pyperclip
|
|
1275
1277
|
pyperclip.copy(
|
|
1276
1278
|
code
|
|
1277
1279
|
)
|
|
1278
1280
|
print(
|
|
1279
|
-
WARNING_MSG,
|
|
1280
1281
|
"Output copied to"\
|
|
1281
|
-
+ " clipboard"
|
|
1282
|
-
sep=""
|
|
1282
|
+
+ " clipboard"
|
|
1283
1283
|
)
|
|
1284
|
-
except
|
|
1285
|
-
|
|
1286
|
-
ImportError
|
|
1287
|
-
):
|
|
1288
|
-
pass
|
|
1284
|
+
except Exception:
|
|
1285
|
+
pass
|
|
1289
1286
|
return code
|
|
1290
1287
|
translate_for_kht =\
|
|
1291
1288
|
translate_for_khtm =\
|
|
@@ -1293,6 +1290,9 @@ translate_for_kht =\
|
|
|
1293
1290
|
khtml_translate =\
|
|
1294
1291
|
translate_for_khtml
|
|
1295
1292
|
|
|
1293
|
+
'''
|
|
1294
|
+
|
|
1295
|
+
|
|
1296
1296
|
def main() -> None:
|
|
1297
1297
|
print(translate_for_js("kaho 'hi ${2+5 is:}'"))
|
|
1298
1298
|
print(translate_for_js("""
|
|
@@ -1774,3 +1774,4 @@ p beech body:
|
|
|
1774
1774
|
|
|
1775
1775
|
if __name__ == "__main__":
|
|
1776
1776
|
main()
|
|
1777
|
+
'''
|
|
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
|