Cli2gui

Latest version: v2024.3

Safety actively analyzes 722491 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

2024.3

- Code improvements

2024.2

- Add `freesimplegui`
- Update docs

2024.1

- Add `dearpygui` support as default, (download the `psg` extra for `pysimplegui` support)
- fix types for `argparse..add_mutually_exclusive_group()`

2024 - 2024/01/20

- Update deps
- Code improvements

2023 - 2023/08/31

- Update deps

2022.3

- Feature, support defaults https://github.com/FHPythonUtils/Cli2Gui/issues/11
- Use full module namespace in-place of relative imports
- Use `Enum` for widget types. eg. `types.ItemType.Bool`
- Update internal types
- Add more supported types for other parsers. e.g `click`
- Argparse supports: Bool, Int, Choice, File, Text
- Click supports: Bool, Int, Choice, Text
- DocOpt supports: Bool, Text
- GetOpt supports: Bool, Text
- Optparse supports: Bool, Int, Choice, Text

2022.2.1

- Fix https://github.com/FHPythonUtils/Cli2Gui/issues/13

2022.2

- Fix https://github.com/FHPythonUtils/Cli2Gui/issues/10, basic support for subparsers. `parser.add_subparsers()`

py
parser = argparse.ArgumentParser(description="this is an example parser")
subparsers = parser.add_subparsers(help='types of A')
parser.add_argument("-v",)

a_parser = subparsers.add_parser("A")
b_parser = subparsers.add_parser("B")

a_parser.add_argument("something", choices=['a1', 'a2'])

args = parser.parse_args()

Page 1 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.