Skip to main content

A lightweight helper for creating windows message boxes.

Project description

Winbox

image image image image

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


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)

Uploaded Source

Built Distribution

winbox-0.2.0-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page