Dialite
Dialite is a lightweight Python package to show dialogs. It provides a
handful of functions, each a verb, that can be used to inform(), warn()
or fail() the user, or to ask_ok(), ask_retry() or ask_yesno().
Dialite is pure Python, has no dependencies, and is written to work on Python 3.6+. It works on Windows (from at least XP), Linux (most ones anyway, including Raspbian) and OS X.
Dialite provides a way to communicate with the user without needing a fancy (and heavy) GUI library. It's also much easier to package with tools like cx_Freeze and PyInstaller.
Example:
import dialite
res = dialite.ask_yesno('Troll question', 'Do you prefer VI over Emacs?')
if dialite.ask_ok('Confirm download', 'Will now download the resources.'):
...
Installation
pip install dialite
License
BSD 2-clause. See LICENSE for details.
Metadata
Release files for dialite 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dialite-0.6.0.tar.gz | 17.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dialite-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.6 kB
Release files / dialite-0.6.0.tar.gz
| Download URL | dialite-0.6.0.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d36c144f5c2388431b9e00a5eae817648df9277e22b5cac29c678663c7cf52f
|
|
BLAKE2b-256 checksum How to use checksums |
8f842ce7a7b35fc5fbf6d39f465b8e7f617d0e15b04d9a644f6e09cdf31faa43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.3
|
Release files / dialite-0.6.0-py3-none-any.whl
| Download URL | dialite-0.6.0-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f599e0da13f2865b48571cb11954d57dc1151379de6ecbc3697cf3e406b4bc44
|
|
BLAKE2b-256 checksum How to use checksums |
bec7a414138a13a72191614d434d373ab1d83fede1304c18b7ba7ffbf2c6d172
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.3
|