Skip to main content

Dialite

CI Documentation Status

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)

Source distribution for dialite 0.6.0
File Size Uploaded
dialite-0.6.0.tar.gz 17.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dialite 0.6.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.3

2 release files

0.5.2

1 release file

0.5.1

1 release file

0.5.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page