KL-Py 0.6.6__tar.gz → 0.6.7__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.6 → kl_py-0.6.7}/PKG-INFO +1 -1
- {kl_py-0.6.6 → kl_py-0.6.7}/pyproject.toml +1 -1
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/KL_Py.py +452 -31
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/_custom_pandas.py +145 -26
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/_klang_builtins.py +8 -2
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/_translate.py +560 -5
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/sk/__init__.py +39 -27
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py.egg-info/PKG-INFO +1 -1
- {kl_py-0.6.6 → kl_py-0.6.7}/LICENSE +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/README.md +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/setup.cfg +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/_utils.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/base.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/button.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/calendar.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/canvas.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/checkbox.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/column.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/combo.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/error.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/frame.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/graph.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/helpers.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/image.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/input.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/list_box.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/menu.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/multiline.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/option_menu.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/pane.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/progress_bar.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/radio.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/separator.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/sizegrip.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/slider.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/spin.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/status_bar.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/stretch.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/tab.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/table.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/text.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/elements/tree.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/themes.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/tray.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/FreeSimpleGUI/window.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/_custom_sqlite.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/_custom_turtle.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/_error_classes.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/_filepaths.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/_web_translate.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/automl.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/dnd/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/drag_and_drop/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/export/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/export/__main__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/export/config.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/export/dialogs.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/export/packaging.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/export/shims.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/export/ui.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/export/utils.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/export/validation.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/fsgdnd/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/fsgui/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/_utils.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/base.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/button.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/calendar.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/canvas.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/center.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/checkbox.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/column.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/combo.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/error.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/frame.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/graph.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/helpers.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/image.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/input.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/list_box.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/menu.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/multiline.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/option_menu.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/pane.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/progress_bar.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/radio.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/separator.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/sizegrip.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/slider.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/spin.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/status_bar.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/stretch.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/tab.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/table.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/text.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/elements/tree.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/replace.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/tray.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/hindGui/window.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/k2exe/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/k2exe/__main__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/k2exe/config.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/k2exe/dialogs.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/k2exe/packaging.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/k2exe/shims.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/k2exe/ui.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/k2exe/utils.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/k2exe/validation.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/kexe/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/kexe/__main__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/kexe/config.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/kexe/dialogs.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/kexe/packaging.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/kexe/shims.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/kexe/ui.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/kexe/utils.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/kexe/validation.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/kl2exe/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/kl2exe/__main__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/kl2exe/config.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/kl2exe/dialogs.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/kl2exe/packaging.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/kl2exe/shims.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/kl2exe/ui.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/kl2exe/utils.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/kl2exe/validation.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klang2exe/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klang2exe/__main__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klang2exe/config.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klang2exe/dialogs.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klang2exe/packaging.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klang2exe/shims.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klang2exe/ui.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klang2exe/utils.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klang2exe/validation.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klangexe/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klangexe/__main__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klangexe/config.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klangexe/dialogs.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klangexe/packaging.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klangexe/shims.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klangexe/ui.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klangexe/utils.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klangexe/validation.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klexe/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klexe/__main__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klexe/config.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klexe/dialogs.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klexe/packaging.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klexe/shims.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klexe/ui.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klexe/utils.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/klexe/validation.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/ml.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/np/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/pd/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/plt/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/psgui/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/px/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/pyexe/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/pyexe/__main__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/pyexe/config.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/pyexe/dialogs.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/pyexe/packaging.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/pyexe/shims.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/pyexe/ui.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/pyexe/utils.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/pyexe/validation.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/pysgdnd/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/__version__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/_internal_utils.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/adapters.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/api.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/auth.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/__init__.pyi +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/_cffi/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/_cffi/_blocks_output_buffer.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/_cffi/_common.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/_cffi/buffer.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/_cffi/compressor.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/_cffi/decompressor.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/_cffi/zstddict.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/_compat.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/_shutil.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/_streams.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/_zstd.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/_zstdfile.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/py.typed +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/tarfile.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/tarfile.pyi +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/zipfile/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/zipfile/__init__.pyi +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/zipfile/__main__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/zipfile/_path/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/zipfile/_path/__init__.pyi +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/zipfile/_path/glob.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/backports/zstd/zipfile/_path/glob.pyi +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/certifi/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/certifi/__main__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/certifi/core.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/certifi/py.typed +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/certs.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/charset_normalizer/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/charset_normalizer/__main__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/charset_normalizer/api.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/charset_normalizer/cd.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/charset_normalizer/cli/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/charset_normalizer/cli/__main__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/charset_normalizer/constant.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/charset_normalizer/legacy.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/charset_normalizer/md.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/charset_normalizer/models.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/charset_normalizer/py.typed +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/charset_normalizer/utils.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/charset_normalizer/version.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/compat.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/cookies.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/exceptions.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/help.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/hooks.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/idna/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/idna/codec.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/idna/compat.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/idna/core.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/idna/idnadata.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/idna/intranges.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/idna/package_data.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/idna/py.typed +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/idna/uts46data.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/models.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/packages.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/sessions.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/compat.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/decoder.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/encoder.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/errors.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/ordered_dict.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/raw_json.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/scanner.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/_cibw_runner.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/_helpers.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_bigint_as_string.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_bitsize_int_as_string.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_check_circular.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_decimal.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_decode.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_default.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_dump.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_encode_basestring_ascii.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_encode_for_html.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_errors.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_fail.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_float.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_for_json.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_free_threading.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_indent.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_item_sort_key.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_iterable.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_namedtuple.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_pass1.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_pass2.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_pass3.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_raw_json.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_recursion.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_scanstring.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_separators.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_speedups.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_str_subclass.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_subclass.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_subinterpreters.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_tool.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_tuple.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tests/test_unicode.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/simplejson/tool.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/status_codes.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/structures.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/_base_connection.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/_collections.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/_request_methods.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/_version.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/connection.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/connectionpool.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/contrib/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/contrib/emscripten/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/contrib/emscripten/connection.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/contrib/emscripten/fetch.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/contrib/emscripten/request.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/contrib/emscripten/response.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/contrib/pyopenssl.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/contrib/socks.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/exceptions.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/fields.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/filepost.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/http2/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/http2/connection.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/http2/probe.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/poolmanager.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/py.typed +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/response.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/util/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/util/connection.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/util/proxy.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/util/request.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/util/response.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/util/retry.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/util/ssl_.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/util/ssl_match_hostname.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/util/ssltransport.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/util/timeout.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/util/url.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/util/util.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/urllib3/util/wait.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/requests/utils.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/sb/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/sns/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/toexe/__init__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/toexe/__main__.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/toexe/config.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/toexe/dialogs.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/toexe/packaging.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/toexe/shims.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/toexe/ui.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/toexe/utils.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/toexe/validation.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py/when.py +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py.egg-info/SOURCES.txt +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py.egg-info/dependency_links.txt +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py.egg-info/requires.txt +0 -0
- {kl_py-0.6.6 → kl_py-0.6.7}/src/KL_Py.egg-info/top_level.txt +0 -0
|
@@ -37,6 +37,7 @@ Akhri = Musalsal = musalsal = final = Final
|
|
|
37
37
|
Option = Optional
|
|
38
38
|
koi_na = None
|
|
39
39
|
KoiNa = type(None)
|
|
40
|
+
Kism = Class = Type = type
|
|
40
41
|
home_path_obj: Path = Path.home()
|
|
41
42
|
USER_HOME =\
|
|
42
43
|
USER_HOME_DIR =\
|
|
@@ -119,7 +120,7 @@ he_mail = hemail = he_email = heemail = is_mail
|
|
|
119
120
|
catch_mail = catch_email = catchmail = catchemail = pakro_mail = pakromail = pakro_email = pakroemail = lambda s: __rgx_catch__(MAIL_RE, s)
|
|
120
121
|
dhundo_emails = dhundo_email = dhundoemails = dhundoemail = find_emails = find_email = findemails = findemail = catch_emails = catchemails = catchemail = catch_mail
|
|
121
122
|
dhundo_mails = dhundo_mail = dhundomails = dhundomail = find_mails = find_mail = findmails = findmail = catch_mails = catchmails = catchmail = catch_mail
|
|
122
|
-
has_mail = has_email = hasmail = hasemail = lambda s: catch_mail(s) != []
|
|
123
|
+
has_mail = has_email = hasmail = hasemail = meemail = me_email = meemails = me_emails = lambda s: catch_mail(s) != []
|
|
123
124
|
me_he_mail = mehemail = me_he_email = meheemail = has_mail
|
|
124
125
|
is_strict_pwd = is_strictpwd = isstrict_pwd = isstrictpwd = lambda s: __rgx_is_full_match__(STRICT_PWD_RE, s)
|
|
125
126
|
he_strict_pwd = he_strictpwd = hestrict_pwd = hestrictpwd = is_strict_pwd
|
|
@@ -132,7 +133,7 @@ pakro_phone = pakrophone = pakro_phone_number = pakrophonenumber = pakro_phone_n
|
|
|
132
133
|
dhundo_phones = dhundo_phone = dhundophones = dhundophone = find_phones = find_phone = findphones = findphone = catch_phones = catchphones = catchphone = catch_phone
|
|
133
134
|
dhundo_phone_nums = dhundo_phone_num = dhundophonenums = dhundophonenum = find_phone_nums = find_phone_num = findphonenums = findphonenum = catch_phone_nums = catchphonenums = catchphonenum = catch_phone
|
|
134
135
|
has_phone = hasphone = has_phone_nr = hasphonenr = has_phone_number = hasphonenumber = lambda s: catch_phone(s) != []
|
|
135
|
-
me_he_phone = mehephone = me_he_phone_nr = mehephonenr = me_he_phone_number = mehephonenumber = has_phone
|
|
136
|
+
me_he_phone = mehephone = me_he_phone_nr = mehephonenr = me_he_phone_number = mehephonenumber = me_phone = mephone = me_phone_nr = mephonenr = me_phone_number = mephonenumber = has_phone
|
|
136
137
|
is_html = ishtml = he_html = hehtml = lambda s: __rgx_is_full_match__(HTML_RE, s)
|
|
137
138
|
catch_html = catchhtml = pakro_html = pakrohtml = lambda s: __rgx_catch__(HTML_RE, s)
|
|
138
139
|
dhundo_html = dhundohtml = find_html = findhtml = pakro_html = pakrohtml = catch_html
|
|
@@ -143,7 +144,7 @@ dhundo_css = dhundocss = find_css = findcss = pakro_css = pakrocss = catch_css
|
|
|
143
144
|
has_css = hascss = lambda s: catch_css(s) != []
|
|
144
145
|
is_url = isurl = he_url = heurl = lambda s: __rgx_is_full_match__(URL_RE, s)
|
|
145
146
|
catch_url = catchurl = pakro_url = pakrourl = dhundo_url = dhundourl = dhundo_urls = dhundourls = dhundo_links = dhundo_link = lambda s: __rgx_catch__(URL_RE, s)
|
|
146
|
-
has_url = hasurl = me_he_url = mehe_url = meheurl = lambda s: catch_url(s) != []
|
|
147
|
+
has_url = hasurl = me_he_url = mehe_url = meheurl = me_urls = me_url = meurl = me_hen_urls = mehen_urls = mehenurls = lambda s: catch_url(s) != []
|
|
147
148
|
is_title_cased_word = is_titlecasedword = lambda s: __rgx_is_full_match__(TITLE_CASED_WORD_RE, s)
|
|
148
149
|
catch_title_cased_word = catchtitle_cased_word = lambda s: __rgx_catch__(TITLE_CASED_WORD_RE, s)
|
|
149
150
|
has_title_cased_word = hastitle_cased_word = lambda s: catch_title_cased_word(s) != []
|
|
@@ -3783,6 +3784,33 @@ he_sub_class =\
|
|
|
3783
3784
|
x,
|
|
3784
3785
|
y
|
|
3785
3786
|
)
|
|
3787
|
+
isclass =\
|
|
3788
|
+
is_class =\
|
|
3789
|
+
heclass =\
|
|
3790
|
+
he_class =\
|
|
3791
|
+
lambda x, y=None:\
|
|
3792
|
+
isinstance(
|
|
3793
|
+
y,
|
|
3794
|
+
x
|
|
3795
|
+
)\
|
|
3796
|
+
if y is not None\
|
|
3797
|
+
else\
|
|
3798
|
+
isinstance(
|
|
3799
|
+
x,
|
|
3800
|
+
type
|
|
3801
|
+
)
|
|
3802
|
+
# DIFFEREN
|
|
3803
|
+
# FROM
|
|
3804
|
+
# he_kism
|
|
3805
|
+
# this one
|
|
3806
|
+
# is for pure
|
|
3807
|
+
# class
|
|
3808
|
+
# checks
|
|
3809
|
+
# and does not
|
|
3810
|
+
# support
|
|
3811
|
+
# subscripted
|
|
3812
|
+
# type checks
|
|
3813
|
+
# like list[str], tuple[int]
|
|
3786
3814
|
get_parents =\
|
|
3787
3815
|
get_hierarchy =\
|
|
3788
3816
|
get_tree =\
|
|
@@ -5106,8 +5134,12 @@ def try_luck(*args, default=None) -> Optional[Any]:
|
|
|
5106
5134
|
high = args[0]
|
|
5107
5135
|
low = default
|
|
5108
5136
|
return random.choice([high, low])
|
|
5109
|
-
Re = re.Re = re.compile
|
|
5110
|
-
re.repl = re.sub
|
|
5137
|
+
Re = re.re = re.Re = Rx = re.Rx = re.rx = re.compile
|
|
5138
|
+
re.repl = re.bdl = re.badl = re.badlo = re.sub
|
|
5139
|
+
re.dhundo = re.talash = re.drmyn = re.darmyan = re.darmyaan = bich = beech = re.search
|
|
5140
|
+
es = esc = re.choro = re.churao = re.es = re.esc = re.escape
|
|
5141
|
+
rx = re
|
|
5142
|
+
# keep the sequence
|
|
5111
5143
|
def th(n: Number) -> str:
|
|
5112
5144
|
if not isinstance(n, Number):
|
|
5113
5145
|
return "0th"
|
|
@@ -5831,28 +5863,68 @@ class Arr(__old_list__):
|
|
|
5831
5863
|
self[:] = filtered_lst
|
|
5832
5864
|
if fixed:
|
|
5833
5865
|
self.length_is_final = True
|
|
5866
|
+
@classmethod
|
|
5867
|
+
def of(cls, *args, **kwargs) -> Self:
|
|
5868
|
+
return_obj = cls(
|
|
5869
|
+
*args,
|
|
5870
|
+
**kwargs
|
|
5871
|
+
)
|
|
5872
|
+
if not return_obj:
|
|
5873
|
+
return self
|
|
5874
|
+
try:
|
|
5875
|
+
return_obj = Arr(
|
|
5876
|
+
return_obj[0]
|
|
5877
|
+
)
|
|
5878
|
+
except Exception:
|
|
5879
|
+
pass
|
|
5880
|
+
return return_obj
|
|
5881
|
+
make = from_ = barae = of
|
|
5834
5882
|
def filter_out(self, fn):
|
|
5835
5883
|
if not callable(fn):
|
|
5836
5884
|
return self
|
|
5837
|
-
|
|
5838
|
-
|
|
5885
|
+
new_list: Arr = Arr(
|
|
5886
|
+
[
|
|
5887
|
+
x\
|
|
5888
|
+
for x in self\
|
|
5889
|
+
if not fn(x)
|
|
5890
|
+
]
|
|
5891
|
+
)
|
|
5892
|
+
return new_list
|
|
5893
|
+
hatao_agar = nikalo_agar = nikaalo_agar = filter_out
|
|
5839
5894
|
def keep_if(self, fn):
|
|
5840
5895
|
if not callable(fn):
|
|
5841
5896
|
return self
|
|
5842
|
-
|
|
5843
|
-
|
|
5897
|
+
new_list: Arr = Arr(
|
|
5898
|
+
[
|
|
5899
|
+
x\
|
|
5900
|
+
for x in self\
|
|
5901
|
+
if fn(x)
|
|
5902
|
+
]
|
|
5903
|
+
)
|
|
5904
|
+
return new_list
|
|
5905
|
+
rakho_agar = keep_if
|
|
5844
5906
|
def map(self, fn):
|
|
5845
5907
|
if not callable(fn):
|
|
5846
5908
|
return self
|
|
5847
|
-
|
|
5848
|
-
|
|
5909
|
+
new_list: Arr = Arr(
|
|
5910
|
+
[
|
|
5911
|
+
fn(x)\
|
|
5912
|
+
for x in self
|
|
5913
|
+
]
|
|
5914
|
+
)
|
|
5915
|
+
return new_list
|
|
5916
|
+
badlo_sab = sab_badlo = map
|
|
5849
5917
|
def unique(self):
|
|
5850
|
-
self[:] =
|
|
5918
|
+
self[:] = Arr(
|
|
5919
|
+
dict.fromkeys(
|
|
5920
|
+
self
|
|
5921
|
+
)
|
|
5922
|
+
)
|
|
5851
5923
|
return self
|
|
5924
|
+
unq = mukhtlf = mukhtalif = unique
|
|
5852
5925
|
def has(self, x):
|
|
5853
5926
|
return x in self
|
|
5854
|
-
|
|
5855
|
-
return self.has(x)
|
|
5927
|
+
includes = contains = me = me_he = has
|
|
5856
5928
|
def i(self, i, default=None):
|
|
5857
5929
|
if not isinstance(i, int):
|
|
5858
5930
|
return self
|
|
@@ -6372,7 +6444,7 @@ class Arr(__old_list__):
|
|
|
6372
6444
|
if not self.contains(x):
|
|
6373
6445
|
return -1
|
|
6374
6446
|
return self.index(x)
|
|
6375
|
-
find = find_index = index_of
|
|
6447
|
+
find = find_index = idx = index_of
|
|
6376
6448
|
no_of = counts_of = __old_list__.count
|
|
6377
6449
|
def print_map(self):
|
|
6378
6450
|
print(self)
|
|
@@ -8200,6 +8272,7 @@ class obj(dict):
|
|
|
8200
8272
|
traceback
|
|
8201
8273
|
) -> bool:
|
|
8202
8274
|
return False
|
|
8275
|
+
badlo = dict.update
|
|
8203
8276
|
def keys(self) -> list[Union[str, int, float]]:
|
|
8204
8277
|
return list(
|
|
8205
8278
|
super()\
|
|
@@ -8379,7 +8452,7 @@ def reverse(x: Iterable) -> str | list | tuple | dict:
|
|
|
8379
8452
|
return reversed_kvs
|
|
8380
8453
|
return x[::-1]
|
|
8381
8454
|
def shuffle(x: Iterable) -> str | list | tuple:
|
|
8382
|
-
if
|
|
8455
|
+
if not isinstance(x, (str, list, tuple)):
|
|
8383
8456
|
return x
|
|
8384
8457
|
was_a_string: bool = False
|
|
8385
8458
|
was_a_tuple: bool = False
|
|
@@ -8400,7 +8473,7 @@ def shuffle(x: Iterable) -> str | list | tuple:
|
|
|
8400
8473
|
return final_x
|
|
8401
8474
|
shuffled = shuffle
|
|
8402
8475
|
def shuffle_mutate(x: Iterable) -> str | list | tuple:
|
|
8403
|
-
if
|
|
8476
|
+
if not isinstance(x, (str, list, tuple)):
|
|
8404
8477
|
return x
|
|
8405
8478
|
was_a_string: bool = False
|
|
8406
8479
|
was_a_tuple: bool = False
|
|
@@ -9008,15 +9081,17 @@ def json_load(filename: str) -> Obj | list:
|
|
|
9008
9081
|
contents = Obj(contents)
|
|
9009
9082
|
return contents
|
|
9010
9083
|
load_json = loadjson = jsonload = json_load
|
|
9011
|
-
def replace(src: str, to_replace: str|dict|None = None, replacement: str|Callable = "", ignore_case: bool = False,
|
|
9084
|
+
def replace(src: str, to_replace: str|dict|None = None, replacement: str|Callable = "", ignore_case: bool = False, i: bool = False, count: Optional[int] = None, kul: Optional[int] = None, max: Optional[int] = None, flags: Optional[int] = None, regex: bool = True, rx: bool = True) -> str:
|
|
9012
9085
|
if not src or not isinstance(src, str) or not ((isinstance(to_replace, str)) or (isinstance(to_replace, dict) and not replacement) or isinstance(replacement, (str, Callable))):
|
|
9013
9086
|
# allow empty replacement for removals
|
|
9014
9087
|
return ""
|
|
9015
|
-
ignore_case = ignore_case or
|
|
9016
|
-
if not ignore_case
|
|
9088
|
+
ignore_case = ignore_case or i
|
|
9089
|
+
if not ignore_case:
|
|
9017
9090
|
ignore_case = False
|
|
9018
|
-
|
|
9019
|
-
|
|
9091
|
+
count = count or kul or max
|
|
9092
|
+
if not isinstance(count, int)\
|
|
9093
|
+
or count < 0:
|
|
9094
|
+
count = IntInfinity
|
|
9020
9095
|
if isinstance(to_replace, str):
|
|
9021
9096
|
if not len(to_replace):
|
|
9022
9097
|
return src
|
|
@@ -9040,7 +9115,7 @@ def replace(src: str, to_replace: str|dict|None = None, replacement: str|Callabl
|
|
|
9040
9115
|
):
|
|
9041
9116
|
all_flags |= flags
|
|
9042
9117
|
result: str = ""
|
|
9043
|
-
if
|
|
9118
|
+
if isinstance(to_replace, dict):
|
|
9044
9119
|
result = src
|
|
9045
9120
|
# for now
|
|
9046
9121
|
for key, value in to_replace.items():
|
|
@@ -9049,12 +9124,21 @@ def replace(src: str, to_replace: str|dict|None = None, replacement: str|Callabl
|
|
|
9049
9124
|
result = replace(
|
|
9050
9125
|
result,
|
|
9051
9126
|
key,
|
|
9052
|
-
value
|
|
9127
|
+
value,
|
|
9128
|
+
ignore_case=ignore_case,
|
|
9129
|
+
i=i,
|
|
9130
|
+
count=count,
|
|
9131
|
+
max=max,
|
|
9132
|
+
flags=flags,
|
|
9133
|
+
regex=regex,
|
|
9134
|
+
rx=rx
|
|
9053
9135
|
)
|
|
9054
9136
|
return result
|
|
9055
9137
|
if not isinstance(to_replace, str):
|
|
9056
9138
|
to_replace = ""
|
|
9057
9139
|
try:
|
|
9140
|
+
if not all([rx, regex]):
|
|
9141
|
+
raise Exception()
|
|
9058
9142
|
result = re.sub(
|
|
9059
9143
|
to_replace,
|
|
9060
9144
|
replacement,
|
|
@@ -9062,18 +9146,118 @@ def replace(src: str, to_replace: str|dict|None = None, replacement: str|Callabl
|
|
|
9062
9146
|
flags=all_flags,
|
|
9063
9147
|
count=count
|
|
9064
9148
|
)
|
|
9149
|
+
return result
|
|
9065
9150
|
except re.error as e:
|
|
9066
9151
|
src_trunc: str = f"{src[:30]}... ..."\
|
|
9067
9152
|
if len(src) > 30\
|
|
9068
9153
|
else src
|
|
9069
9154
|
print(
|
|
9070
|
-
f"re.warning:\n * Bad regex, or replacement pattern '{to_replace}'.
|
|
9155
|
+
f"re.warning:\n * Bad regex, or replacement pattern '{to_replace}'. Trying the escaped way instead, as fallback. *Reason*: {str(e).capitalize()}."
|
|
9071
9156
|
)
|
|
9072
|
-
|
|
9157
|
+
except Exception as e:
|
|
9158
|
+
pass
|
|
9159
|
+
if callable(replacement):
|
|
9160
|
+
return src
|
|
9161
|
+
result = re.sub(
|
|
9162
|
+
re.escape(
|
|
9163
|
+
to_replace
|
|
9164
|
+
),
|
|
9165
|
+
replacement,
|
|
9166
|
+
src,
|
|
9167
|
+
flags=all_flags,
|
|
9168
|
+
count=count
|
|
9169
|
+
)
|
|
9073
9170
|
return result
|
|
9074
9171
|
replacei = ireplace = replace_i = i_replace = functools.partial(replace, ignore_case=True)
|
|
9075
9172
|
replaceone = replace_one = functools.partial(replace, count=1)
|
|
9076
9173
|
replace_i_one = replace_one_i = replace_ione = replace_onei = replace_ins_first = replace_first_ins = replace_insfirst = functools.partial(replace, ignore_case=True, count=1)
|
|
9174
|
+
def badlo(src, *args, **kwargs) -> object:
|
|
9175
|
+
if src is None:
|
|
9176
|
+
return None
|
|
9177
|
+
if len(args) < 2:
|
|
9178
|
+
if len(args) == 1\
|
|
9179
|
+
and all(
|
|
9180
|
+
isinstance(
|
|
9181
|
+
item,
|
|
9182
|
+
dict
|
|
9183
|
+
)\
|
|
9184
|
+
for item\
|
|
9185
|
+
in (
|
|
9186
|
+
src,
|
|
9187
|
+
args[0]
|
|
9188
|
+
)
|
|
9189
|
+
):
|
|
9190
|
+
kwargs = args[0]
|
|
9191
|
+
if not isinstance(src, dict)\
|
|
9192
|
+
and kwargs:
|
|
9193
|
+
return src
|
|
9194
|
+
args = flatten(
|
|
9195
|
+
list(
|
|
9196
|
+
kwargs\
|
|
9197
|
+
.items()
|
|
9198
|
+
)
|
|
9199
|
+
)
|
|
9200
|
+
if len(args) < 2:
|
|
9201
|
+
# if still
|
|
9202
|
+
# return the
|
|
9203
|
+
# original object
|
|
9204
|
+
# untouched
|
|
9205
|
+
return src
|
|
9206
|
+
a, b, *args = args
|
|
9207
|
+
if isinstance(src, str):
|
|
9208
|
+
return replace(
|
|
9209
|
+
src,
|
|
9210
|
+
str(a),
|
|
9211
|
+
str(b),
|
|
9212
|
+
*args,
|
|
9213
|
+
**kwargs
|
|
9214
|
+
)
|
|
9215
|
+
if isinstance(
|
|
9216
|
+
src,
|
|
9217
|
+
(
|
|
9218
|
+
list,
|
|
9219
|
+
tuple,
|
|
9220
|
+
dict
|
|
9221
|
+
)
|
|
9222
|
+
):
|
|
9223
|
+
if isinstance(src, (list, tuple))\
|
|
9224
|
+
and a in src:
|
|
9225
|
+
src[
|
|
9226
|
+
src.index(
|
|
9227
|
+
a
|
|
9228
|
+
)
|
|
9229
|
+
] = b
|
|
9230
|
+
return src
|
|
9231
|
+
if not (
|
|
9232
|
+
isinstance(
|
|
9233
|
+
src,
|
|
9234
|
+
dict
|
|
9235
|
+
)\
|
|
9236
|
+
and kwargs
|
|
9237
|
+
):
|
|
9238
|
+
src[a] = b
|
|
9239
|
+
return src
|
|
9240
|
+
src.update(
|
|
9241
|
+
**kwargs
|
|
9242
|
+
)
|
|
9243
|
+
if isinstance(
|
|
9244
|
+
src,
|
|
9245
|
+
type
|
|
9246
|
+
)\
|
|
9247
|
+
and hasattr(
|
|
9248
|
+
src,
|
|
9249
|
+
str(
|
|
9250
|
+
a
|
|
9251
|
+
)
|
|
9252
|
+
):
|
|
9253
|
+
setattr(
|
|
9254
|
+
src,
|
|
9255
|
+
str(
|
|
9256
|
+
a
|
|
9257
|
+
),
|
|
9258
|
+
b
|
|
9259
|
+
)
|
|
9260
|
+
return src
|
|
9077
9261
|
def find_matches(src: str, to_find: str) -> list[str]:
|
|
9078
9262
|
if not src or not isinstance(src, str) or not to_find or not isinstance(to_find, str):
|
|
9079
9263
|
return []
|
|
@@ -9294,12 +9478,228 @@ def ignore_case(s: str) -> str:
|
|
|
9294
9478
|
)
|
|
9295
9479
|
return s
|
|
9296
9480
|
any_case = bina_case = reject_case = ignore_case
|
|
9481
|
+
class KlangyString(str):
|
|
9482
|
+
gino =\
|
|
9483
|
+
ginti =\
|
|
9484
|
+
dafa =\
|
|
9485
|
+
str.count
|
|
9486
|
+
guna =\
|
|
9487
|
+
duhrao =\
|
|
9488
|
+
repeat =\
|
|
9489
|
+
lambda self, n:\
|
|
9490
|
+
self * n
|
|
9491
|
+
me =\
|
|
9492
|
+
me_he =\
|
|
9493
|
+
mehe =\
|
|
9494
|
+
ke_bich =\
|
|
9495
|
+
ke_beech =\
|
|
9496
|
+
lambda self, s:\
|
|
9497
|
+
str(s) in self
|
|
9498
|
+
me_i =\
|
|
9499
|
+
me_he_i =\
|
|
9500
|
+
mehe_i =\
|
|
9501
|
+
me_ic =\
|
|
9502
|
+
me_he_ic =\
|
|
9503
|
+
mehe_ic =\
|
|
9504
|
+
me_bc =\
|
|
9505
|
+
me_he_bc =\
|
|
9506
|
+
mehe_bc =\
|
|
9507
|
+
ke_bich_i =\
|
|
9508
|
+
ke_bich_ic =\
|
|
9509
|
+
ke_bich_bc =\
|
|
9510
|
+
ke_beech_i =\
|
|
9511
|
+
ke_beech_ic =\
|
|
9512
|
+
ke_beech_bc =\
|
|
9513
|
+
lambda self, s:\
|
|
9514
|
+
str(s).lower() in self.lower()
|
|
9515
|
+
if callable(
|
|
9516
|
+
globals()\
|
|
9517
|
+
.get("replace")
|
|
9518
|
+
):
|
|
9519
|
+
replace =\
|
|
9520
|
+
badlo =\
|
|
9521
|
+
badl =\
|
|
9522
|
+
bdl = \
|
|
9523
|
+
lambda self, *args, **kwargs:\
|
|
9524
|
+
replace(
|
|
9525
|
+
self,
|
|
9526
|
+
*args,
|
|
9527
|
+
**kwargs
|
|
9528
|
+
)
|
|
9529
|
+
else:
|
|
9530
|
+
replace = badlo = badl = bdl = str.replace
|
|
9531
|
+
ht = hatao = mt = mitao = lambda self, x, *args, **kwargs: replace(self, x, "", *args, **kwargs)
|
|
9532
|
+
shuru_me = shurwat_me = ki_shurwat = shuru_sath = str.startswith
|
|
9533
|
+
shuru_me_i = shurwat_me_i = ki_shurwat_i = shuru_sath_i = shuru_me_ic = shurwat_me_ic = ki_shurwat_ic = shuru_sath_ic = shuru_me_bc = shurwat_me_bc = ki_shurwat_bc = shuru_sath_bc = lambda self, s: self.lower().startswith(str(s).lower())
|
|
9534
|
+
shuru_me_ht = shuru_me_hatao = shuru_me_mt = shuru_me_mitao = shuru_se_ht = shuru_se_hatao = shuru_se_mt = shuru_se_mitao = shurwat_me_ht = shurwat_me_hatao = shurwat_me_mt = shurwat_me_mitao = shurwat_se_ht = shurwat_se_hatao = shurwat_se_mt = shurwat_se_mitao = str.removeprefix
|
|
9535
|
+
akhir_me = ka_khatma = ki_akhir = khatm_sath = str.endswith
|
|
9536
|
+
akhir_me_i = ka_khatma_i = ki_akhir_i = khatm_sath_i = akhir_me_ic = ka_khatma_ic = ki_akhir_ic = khatm_sath_ic = akhir_me_bc = ka_khatma_bc = ki_akhir_bc = khatm_sath_bc = lambda self, s: self.lower().endswith(str(s).lower())
|
|
9537
|
+
akhir_me_ht = akhir_me_hatao = akhir_me_mt = akhir_me_mitao = akhir_se_ht = akhir_se_hatao = akhir_se_mt = akhir_se_mitao = str.removesuffix
|
|
9538
|
+
dhundo =\
|
|
9539
|
+
talash =\
|
|
9540
|
+
drmyn = \
|
|
9541
|
+
darmyan = \
|
|
9542
|
+
darmyaan = \
|
|
9543
|
+
bich =\
|
|
9544
|
+
beech =\
|
|
9545
|
+
search = \
|
|
9546
|
+
lambda self, s:\
|
|
9547
|
+
re.compile(self)\
|
|
9548
|
+
.search(str(s))\
|
|
9549
|
+
or False
|
|
9550
|
+
up = upr = bara = bare = bari = str.upper
|
|
9551
|
+
lw = lwr = low = chota = chote = choti = str.lower
|
|
9552
|
+
tt = tit = ttl = str.title
|
|
9553
|
+
heup = heupr = heupper = hebara = henbare = hebari = he_up = he_upr = he_upper = he_bara = hen_bare = he_bari = str.isupper
|
|
9554
|
+
helw = helwr = helow = helower = hechota = henchote = hechoti = he_lw = he_lwr = he_low = he_lower = he_chota = hen_chote = he_choti = str.islower
|
|
9555
|
+
hett = hetit = hettl = he_tt = he_tit = he_ttl = str.istitle
|
|
9556
|
+
jaga = idx = str.find
|
|
9557
|
+
rjaga = r_jaga = sjaga = s_jaga = rhjaga = rh_jaga = shjaga = sh_jaga = ridx = r_idx = str.rfind
|
|
9558
|
+
def lambai_(self) -> int:
|
|
9559
|
+
return len(self)
|
|
9560
|
+
@property
|
|
9561
|
+
def lambai(self) -> int:
|
|
9562
|
+
return self.lambai_()
|
|
9563
|
+
lb = lmb = lambai
|
|
9564
|
+
khali = khaali = hekhali = hekhaali = he_khali = he_khaali = khalihe = khaalihe = khali_he = khaali_he = lambda self: len(self) == 0
|
|
9565
|
+
he = lambda self: not self.khali()
|
|
9566
|
+
p_he = pakka_he = p_mojud = pakka_mojud = phe = pakkahe = pmojud = pakkamojud = lambda self: not self.pkhali()
|
|
9567
|
+
nahi = lambda self: not self.he()
|
|
9568
|
+
pkhali = pkhaali = p_khali = p_khaali = hepkhali = hepkhaali = he_pkhali = he_pkhaali = puri_khali = puri_khaali = pura_khali = pura_khaali = hepuri_khali = hepuri_khaali = hepura_khali = hepura_khaali = he_puri_khali = he_puri_khaali = he_pura_khali = he_pura_khaali = lambda self: len(self.strip()) == 0
|
|
9569
|
+
hen_nums_or_letters = hen_numbers_or_letters = hennums_or_letters = hennumbers_or_letters = henums_or_letters = henumbers_or_letters = hen_nums_ya_letters = hen_numbers_ya_letters = hennums_ya_letters = hennumbers_ya_letters = henums_ya_letters = henumbers_ya_letters = str.isalnum
|
|
9570
|
+
hen_nums = hen_numbers = hennums = hennumbers = henums = henumbers = hen_nums = hen_numbers = hennums = hennumbers = henums = henumbers = hen_nums = hen_numbers = hennums = hennumbers = henums = henumbers = he_num = he_number = henum = henumber = he_n = henumbers = str.isdigit
|
|
9571
|
+
hespace = he_space = hespc = he_spc = hesp = he_sp = str.isspace
|
|
9572
|
+
mehespace = me_he_space = mehespc = me_he_spc = mehesp = me_he_sp = mespace = me_space = mespc = me_spc = mesp = me_sp = lambda self: " " in self
|
|
9573
|
+
jumle_me_he = lafz_me_he = jumle_me = lafz_me = darmyan_jumla = darmyaan_jumla = darmyan_lafz = darmyaan_lafz = bich_jumla = beech_jumla = bich_lafz = beech_lafz = dhundo_lafz = dhundo_jumla = jumle_me_he
|
|
9574
|
+
is_mail = is_email = ismail = isemail = is_mail
|
|
9575
|
+
he_mail = hemail = he_email = heemail = is_mail
|
|
9576
|
+
catch_mail = catch_email = catchmail = catchemail = pakro_mail = pakromail = pakro_email = pakroemail = catch_mail
|
|
9577
|
+
dhundo_emails = dhundo_email = dhundoemails = dhundoemail = find_emails = find_email = findemails = findemail = catch_emails = catchemails = catchemail = catch_mail
|
|
9578
|
+
dhundo_mails = dhundo_mail = dhundomails = dhundomail = find_mails = find_mail = findmails = findmail = catch_mails = catchmails = catchmail = catch_mail
|
|
9579
|
+
has_mail = has_email = hasmail = hasemail = has_mail
|
|
9580
|
+
me_he_mail = mehemail = me_he_email = meheemail = has_mail
|
|
9581
|
+
is_strict_pwd = is_strictpwd = isstrict_pwd = isstrictpwd = is_strict_pwd
|
|
9582
|
+
he_strict_pwd = he_strictpwd = hestrict_pwd = hestrictpwd = is_strict_pwd
|
|
9583
|
+
catch_strict_pwd = catch_strictpwd = catchstrict_pwd = catchstrictpwd = pakro_strict_pwd = pakro_strictpwd = pakrostrict_pwd = pakrostrictpwd = catch_strict_pwd
|
|
9584
|
+
has_strict_pwd = has_strictpwd = hasstrict_pwd = hasstrictpwd = has_strict_pwd
|
|
9585
|
+
is_phone = isphone = is_phone_number = isphonenumber = is_phone_nr = isphonenr = is_phone
|
|
9586
|
+
he_phone = hephone = he_phone_number = hephonenumber = he_phone_nr = hephonenr = is_phone
|
|
9587
|
+
catch_phone = catchphone = catch_phone_number = catchphonenumber = catch_phone_nr = catchphonenr = catch_phone
|
|
9588
|
+
pakro_phone = pakrophone = pakro_phone_number = pakrophonenumber = pakro_phone_nr = pakrophonenr = catch_phone
|
|
9589
|
+
dhundo_phones = dhundo_phone = dhundophones = dhundophone = find_phones = find_phone = findphones = findphone = catch_phones = catchphones = catchphone = catch_phone
|
|
9590
|
+
dhundo_phone_nums = dhundo_phone_num = dhundophonenums = dhundophonenum = find_phone_nums = find_phone_num = findphonenums = findphonenum = catch_phone_nums = catchphonenums = catchphonenum = catch_phone
|
|
9591
|
+
has_phone = hasphone = has_phone_nr = hasphonenr = has_phone_number = hasphonenumber = has_phone
|
|
9592
|
+
me_he_phone = mehephone = me_he_phone_nr = mehephonenr = me_he_phone_number = mehephonenumber = has_phone
|
|
9593
|
+
is_html = ishtml = he_html = hehtml = is_html
|
|
9594
|
+
catch_html = catchhtml = pakro_html = pakrohtml = catch_html
|
|
9595
|
+
dhundo_html = dhundohtml = find_html = findhtml = pakro_html = pakrohtml = catch_html
|
|
9596
|
+
has_html = hashtml = me_he_html = mehehtml = has_html
|
|
9597
|
+
is_css = iscss = he_css = hecss = is_css
|
|
9598
|
+
catch_css = catchcss = catch_css
|
|
9599
|
+
dhundo_css = dhundocss = find_css = findcss = pakro_css = pakrocss = catch_css
|
|
9600
|
+
has_css = hascss = has_css
|
|
9601
|
+
is_url = isurl = he_url = heurl = is_url
|
|
9602
|
+
catch_url = catchurl = pakro_url = pakrourl = dhundo_url = dhundourl = dhundo_urls = dhundourls = dhundo_links = dhundo_link = catch_url
|
|
9603
|
+
has_url = hasurl = me_he_url = mehe_url = meheurl = has_url
|
|
9604
|
+
is_title_cased_word = is_titlecasedword = is_title_cased_word
|
|
9605
|
+
catch_title_cased_word = catchtitle_cased_word = catch_title_cased_word
|
|
9606
|
+
has_title_cased_word = hastitle_cased_word = has_title_cased_word
|
|
9607
|
+
is_alpha = isalpha = is_letter = isletter = is_alpha
|
|
9608
|
+
catch_alpha = catchalpha = catch_letter = catchletter = catch_alpha
|
|
9609
|
+
has_alpha = hasalpha = has_letter = hasletter = has_alpha
|
|
9610
|
+
is_num_like = isnumlike = he_num_jesa = henumjesa = he_num_jesi = henumjesi = he_number_jesa = henumberjesa = he_number_jesi = henumberjesi = he_parsable_num = heparsablenum = is_num_like
|
|
9611
|
+
catch_num = catchnum = pakro_num = pakronum = pakro_nums = pakronums = catch_num
|
|
9612
|
+
dhundo_nums = dhundo_num = dhundonums = dhundonum = find_nums = find_num = findnums = findnum = catch_nums = catchnums = catchnum = catch_num
|
|
9613
|
+
has_num = hasnum = me_he_num = mehenum = has_num
|
|
9614
|
+
catch_non_num = catchnonnum = pakro_non_num = pakrononnum = catch_non_num
|
|
9615
|
+
has_non_num = hasnonnum = me_he_non_num = mehenonnum = has_non_num
|
|
9616
|
+
catch_int = catchint = pakro_int = pakroint = pakro_ints = pakroints = catch_int
|
|
9617
|
+
dhundo_ints = dhundo_int = dhundoints = dhundoint = find_ints = find_int = findints = findint = catch_ints = catchints = catchint = catch_int
|
|
9618
|
+
has_int = hasint = me_he_int = meheint = me_hen_ints = mehenints = has_int
|
|
9619
|
+
is_word = isword = is_word
|
|
9620
|
+
catch_word = catchword = pakro_word = pakroword = catch_word
|
|
9621
|
+
has_word = hasword = has_word
|
|
9622
|
+
is_non_word = isnon_word = isnonword = he_non_word = henon_word = henonword = is_non_word
|
|
9623
|
+
catch_non_word = catchnon_word = catchnonword = pakro_non_word = pakronon_word = pakrononword = catch_non_word
|
|
9624
|
+
has_non_word = hasnonword = me_he_non_word = mehenonword = has_non_word
|
|
9625
|
+
is_hex = ishex = he_hex = hehex = is_hex
|
|
9626
|
+
catch_hex = catchhex = pakro_hex = pakrohex = catch_hex
|
|
9627
|
+
has_hex = hashex = me_he_hex = mehehex = has_hex
|
|
9628
|
+
is_pin = ispin = he_pin = hepin = is_pin
|
|
9629
|
+
catch_pin = catchpin = pakro_pin = pakropin = catch_pin
|
|
9630
|
+
has_pin = haspin = me_he_pin = mehepin = has_pin
|
|
9631
|
+
ht_l_ghera = mt_l_ghera = hatao_l_ghera = mitao_l_ghera = ht_l = mt_l = hatao_l = mitao_l = ht_l_space = mt_l_space = hatao_l_space = mitao_l_space =\
|
|
9632
|
+
ht_lh_ghera = mt_lh_ghera = hatao_lh_ghera = mitao_lh_ghera = ht_lh = mt_lh = hatao_lh = mitao_lh = ht_lh_space = mt_lh_space = hatao_lh_space = mitao_lh_space =\
|
|
9633
|
+
ht_u_ghera = mt_u_ghera = hatao_u_ghera = mitao_u_ghera = ht_u = mt_u = hatao_u = mitao_u = ht_u_space = mt_u_space = hatao_u_space = mitao_u_space =\
|
|
9634
|
+
ht_uh_ghera = mt_uh_ghera = hatao_uh_ghera = mitao_uh_ghera = ht_uh = mt_uh = hatao_uh = mitao_uh = ht_uh_space = mt_uh_space = hatao_uh_space = mitao_uh_space = str.lstrip
|
|
9635
|
+
ht_r_ghera = mt_r_ghera = hatao_r_ghera = mitao_r_ghera = ht_r = mt_r = hatao_r = mitao_r = ht_r_space = mt_r_space = hatao_r_space = mitao_r_space =\
|
|
9636
|
+
ht_rh_ghera = mt_rh_ghera = hatao_rh_ghera = mitao_rh_ghera = ht_rh = mt_rh = hatao_rh = mitao_rh = ht_rh_space = mt_rh_space = hatao_rh_space = mitao_rh_space =\
|
|
9637
|
+
ht_s_ghera = mt_s_ghera = hatao_s_ghera = mitao_s_ghera = ht_s = mt_s = hatao_s = mitao_s = ht_s_space = mt_s_space = hatao_s_space = mitao_s_space =\
|
|
9638
|
+
ht_sh_ghera = mt_sh_ghera = hatao_sh_ghera = mitao_sh_ghera = ht_sh = mt_sh = hatao_sh = mitao_sh = ht_sh_space = mt_sh_space = hatao_sh_space = mitao_sh_space = str.rstrip
|
|
9639
|
+
ht_ghera = mt_ghera = hatao_ghera = mitao_ghera = ht_gherti = mt_gherti = hatao_gherti = mitao_gherti = ht_gherti_space = mt_gherti_space = hatao_gherti_space = mitao_gherti_space = str.strip
|
|
9640
|
+
darmyan_me_lao = str.center
|
|
9641
|
+
def joro(self=" ", *args) -> str:
|
|
9642
|
+
sep = self
|
|
9643
|
+
if not isinstance(sep, str):
|
|
9644
|
+
sep = " "
|
|
9645
|
+
if len(args) == 1\
|
|
9646
|
+
and isinstance(
|
|
9647
|
+
args[0],
|
|
9648
|
+
(
|
|
9649
|
+
list,
|
|
9650
|
+
tuple,
|
|
9651
|
+
set,
|
|
9652
|
+
frozenset
|
|
9653
|
+
)
|
|
9654
|
+
):
|
|
9655
|
+
args = args[0]
|
|
9656
|
+
args = [
|
|
9657
|
+
str(arg)\
|
|
9658
|
+
for arg\
|
|
9659
|
+
in args
|
|
9660
|
+
]
|
|
9661
|
+
return sep.join(args)
|
|
9662
|
+
fruit = __call__ = lambda self, start, end=None, step=None: self.__getitem__(slice(start, end, step))
|
|
9663
|
+
semilao = se_milao = jodo = joro
|
|
9664
|
+
rtoro = rtodo = r_toro = r_todo = rhtoro = rhtodo = rh_toro = rh_todo = storo = stodo = s_toro = s_todo = shtoro = shtodo = sh_toro = sh_todo = str.rsplit
|
|
9665
|
+
toroline = todoline = torolines = todolines = toro_line = todo_line = toro_lines = todo_lines = str.splitlines
|
|
9666
|
+
toro = todo = str.split
|
|
9667
|
+
rbato = rbaato = r_bato = r_baato = rhbato = rhbaato = rh_bato = rh_baato = sbato = sbaato = s_bato = s_baato = shbato = shbaato = sh_bato = sh_baato = str.rpartition
|
|
9668
|
+
bato = baato = str.partition
|
|
9669
|
+
cap = capt = str.capitalize
|
|
9670
|
+
hecap = he_cap = hecapt = he_capt = he_capital = hecapital = lambda self: self.capitalize() == self
|
|
9671
|
+
list = lambda self: list(self)
|
|
9672
|
+
tuple = lambda self: tuple(self)
|
|
9673
|
+
set = lambda self: set(self)
|
|
9674
|
+
frozenset = lambda self: frozenset(self)
|
|
9675
|
+
int = lambda self: globals().get("Int", lambda *args: ...)(self) if callable(globals().get("Int")) else int(self)
|
|
9676
|
+
flt = float = lambda self: globals().get("Flt", lambda *args: ...)(self) if callable(globals().get("Flt")) else float(self)
|
|
9677
|
+
ignore_case = ignorecase = any_case = anycase = bina_case = binacase = ignore_case
|
|
9678
|
+
KS = KlangyString
|
|
9679
|
+
class KlangMutable(Obj):
|
|
9680
|
+
def __setattr__(self, k, v) -> None:
|
|
9681
|
+
raise AttributeError(
|
|
9682
|
+
"Kism 'KlangMutable' items ki tabdeeli bardasht nahi karta"
|
|
9683
|
+
)
|
|
9684
|
+
def __setitem__(self, k, v) -> None:
|
|
9685
|
+
raise KeyError(
|
|
9686
|
+
"Kism 'KlangMutable' items ki tabdeeli bardasht nahi karta"
|
|
9687
|
+
)
|
|
9688
|
+
KlangMutables = KM = KlangMutable(
|
|
9689
|
+
KlangyString=KlangyString,
|
|
9690
|
+
KS=KlangyString
|
|
9691
|
+
)
|
|
9692
|
+
KM = KlangMutables
|
|
9297
9693
|
class Money:
|
|
9298
9694
|
def __init__(self, amount=0, currency="Rs. "):
|
|
9299
|
-
self.amount = amount
|
|
9300
|
-
|
|
9695
|
+
self.amount = Flt(amount)\
|
|
9696
|
+
if isinstance(amount, Number) and amount >= 0\
|
|
9697
|
+
else 0.0
|
|
9698
|
+
self.currency = currency\
|
|
9699
|
+
if isinstance(currency, str) and len(currency) <= 4\
|
|
9700
|
+
else "Rs. "
|
|
9301
9701
|
def set_currency(self, currency):
|
|
9302
|
-
if currency and len(currency) <= 4:
|
|
9702
|
+
if isinstance(currency, str) and len(currency) <= 4:
|
|
9303
9703
|
self.currency = currency
|
|
9304
9704
|
return self
|
|
9305
9705
|
def set_amount(self, new_amount):
|
|
@@ -10261,7 +10661,7 @@ if __name__ == "__main__":
|
|
|
10261
10661
|
print(Date(13)())
|
|
10262
10662
|
print(Flt(True))
|
|
10263
10663
|
print(Flt("hello worl200.4e-2d"))
|
|
10264
|
-
print(Flt("
|
|
10664
|
+
print(Flt(" 4.3e5 t hee e "))
|
|
10265
10665
|
print(Int("400.5e-1"))
|
|
10266
10666
|
|
|
10267
10667
|
arr = numlist(None, "hey", 1.1, 3, 5)
|
|
@@ -10364,4 +10764,25 @@ if __name__ == "__main__":
|
|
|
10364
10764
|
print(Number)
|
|
10365
10765
|
|
|
10366
10766
|
print(ki_shurwat(["hello", "world"], ["hello", "world", "over-driven cars"]))
|
|
10367
|
-
print(ki_shurwat("h", "hello"))
|
|
10767
|
+
print(ki_shurwat("h", "hello"))
|
|
10768
|
+
|
|
10769
|
+
print(heclass(Kism, kism("h")))
|
|
10770
|
+
print(he_kism(Kism, kism(obj({"name": "Haiden", "age": "36"}))))
|
|
10771
|
+
print(KM.KS)
|
|
10772
|
+
print(KM.KS(f"@").joro(['1', '3', 5, 0, None]))
|
|
10773
|
+
|
|
10774
|
+
print(rx.dhundo(KM.KS(f"^h"), KM.KS(f"hello")))
|
|
10775
|
+
print(re.compile("^h").search(KM.KS(f"hello")))
|
|
10776
|
+
print(kism(KM.KS("h")) == jumla)
|
|
10777
|
+
username = KM.KS(f"Jackson Mickelson")
|
|
10778
|
+
print(kism(username) == KM.KS)
|
|
10779
|
+
print(isinstance(username, str))
|
|
10780
|
+
print(kism(username) == str)
|
|
10781
|
+
print(isinstance(username, KM.KS))
|
|
10782
|
+
|
|
10783
|
+
print(replace("^h(ellHh(o", r"h(", "m", i=1))
|
|
10784
|
+
|
|
10785
|
+
user = obj(name=f"Mike", age=51)
|
|
10786
|
+
badlo(user, **{"name": f"Kyle"})
|
|
10787
|
+
print(user)
|
|
10788
|
+
print(badlo([1, 5, 8], 2, 10, i=1))
|