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 hashes)
Built Distribution
winbox-0.2.0-py3-none-any.whl
(3.5 kB
view hashes)