A lightweight helper for creating windows message boxes.
Project description
Winbox
A lightweight helper for creating windows message boxes. Built to be as slim as possible. No dependencies, except Python itself!
Useful when you:
- only need a message-box notification in your app, nothing more.
- want a simple GUI for your script, without the complexity of a full framework.
- are writing a background service and need to notify the user, without unexpectedly opening a terminal.
Example
from winbox import Box, Type, Response, Icon
box = Box("Example App", type=Type.YESNO, icon=Icon.QUESTION)
response = box.send("Is this example working?")
match response:
case Response.YES:
print("Great!")
case Response.NO:
print("Uh-oh...")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
winbox-0.2.0.tar.gz
(4.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file winbox-0.2.0.tar.gz.
File metadata
- Download URL: winbox-0.2.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46dbe764f30a9a634f09fd27826c0df8b0fc21779ecead1b5dfc922bbe32ea49
|
|
| MD5 |
596754e38bfdd4daf520467ce4488cf1
|
|
| BLAKE2b-256 |
c2f032b7e231b062354991eb16932c7b0198cdd15b3d5b12c5bc11a749942dd7
|
File details
Details for the file winbox-0.2.0-py3-none-any.whl.
File metadata
- Download URL: winbox-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e78cef79c15e5e26a1fe9660364b62eee2cefe9675792e1f5b748341ed4dc10c
|
|
| MD5 |
256de565f51c0fc6df9a98030d17bb7d
|
|
| BLAKE2b-256 |
ef1e9255d8af06ef96b8584f0391fd5fb5dbc5fe5a34eb0b42ab8d444195b2ea
|