Registry / devops / pythondialog

pythondialog

JSON →
library3.5.3pypypi✓ verified 86d ago

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.

pip install pythondialog
INSTALL
IMPORT
SIG · PYTHONDIALOG
P
pythondialog
devopspythonv3.5.3
Install
1.5s avg
Import
25ms
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v3.5.3 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.026s · 18.1MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.5s · import 0.024s · 19MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Dialog
from dialog import Dialog
import dialog
Importing dialog imports the module, but `Dialog` is the class.

Initialize Dialog and show a message box.

from dialog import Dialog d = Dialog(dialog="dialog") d.msgbox("Hello, world!")
Debug
Known issues
gotchaThe `dialog` backend must be installed separately (e.g., `apt install dialog`). pythondialog wraps the system utility.
fix
Install dialog from your package manager (e.g., `sudo apt install dialog` or `brew install dialog`).
affects: all
breakingThe `setup.py` no longer supports Python 2. Python 2 support was dropped in version 3.5.0.
fix
Use Python 3.4+ (preferably 3.6+).
affects: >=3.5.0
deprecatedThe `common_args_screen_size` parameter (used to force size calculation) is deprecated; use `autowidgetsize` instead.
fix
Replace `common_args_screen_size=True` with `autowidgetsize=True` in Dialog constructor.
affects: >=3.5.0
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'dialog'
pythondialog is not installed or the import path is wrong.
fix
Run `pip install pythondialog` and use `from dialog import Dialog`.
dialog: command not found
The underlying dialog utility is missing.
fix
Install dialog: `sudo apt install dialog` (Linux) or `brew install dialog` (macOS).
Upgrade
Version history
3.5.3latest on PyPI · released Nov 26, 2021
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
pythondialog — pip install pythondialog · libregistry