{"id":24467,"library":"pythondialog","title":"pythondialog","description":"A Python interface to the UNIX dialog utility (and mostly-compatible programs like whiptail). Current version 3.5.3, requires Python >=3. Stable, infrequent releases.","status":"active","version":"3.5.3","language":"python","source_language":"en","source_url":"https://github.com/pythondialog/pythondialog","tags":["dialog","terminal","TUI","whiptail","ncurses"],"install":[{"cmd":"pip install pythondialog","lang":"bash","label":"PyPI"}],"dependencies":[],"imports":[{"note":"Importing dialog imports the module, but `Dialog` is the class.","wrong":"import dialog","symbol":"Dialog","correct":"from dialog import Dialog"}],"quickstart":{"code":"from dialog import Dialog\nd = Dialog(dialog=\"dialog\")\nd.msgbox(\"Hello, world!\")","lang":"python","description":"Initialize Dialog and show a message box."},"warnings":[{"fix":"Install dialog from your package manager (e.g., `sudo apt install dialog` or `brew install dialog`).","message":"The `dialog` backend must be installed separately (e.g., `apt install dialog`). pythondialog wraps the system utility.","severity":"gotcha","affected_versions":"all"},{"fix":"Use Python 3.4+ (preferably 3.6+).","message":"The `setup.py` no longer supports Python 2. Python 2 support was dropped in version 3.5.0.","severity":"breaking","affected_versions":">=3.5.0"},{"fix":"Replace `common_args_screen_size=True` with `autowidgetsize=True` in Dialog constructor.","message":"The `common_args_screen_size` parameter (used to force size calculation) is deprecated; use `autowidgetsize` instead.","severity":"deprecated","affected_versions":">=3.5.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run `pip install pythondialog` and use `from dialog import Dialog`.","cause":"pythondialog is not installed or the import path is wrong.","error":"ModuleNotFoundError: No module named 'dialog'"},{"fix":"Install dialog: `sudo apt install dialog` (Linux) or `brew install dialog` (macOS).","cause":"The underlying dialog utility is missing.","error":"dialog: command not found"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}