winbox


Namewinbox JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
SummaryA lightweight helper for creating windows message boxes.
upload_time2024-08-04 18:05:34
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Winbox

![image](https://img.shields.io/github/languages/code-size/hazyfossa/winbox?style=flat&label=size)
[![image](https://img.shields.io/pypi/v/winbox.svg)](https://pypi.python.org/pypi/winbox)
[![image](https://img.shields.io/pypi/l/winbox.svg)](https://pypi.python.org/pypi/winbox)
[![image](https://img.shields.io/pypi/pyversions/winbox.svg)](https://pypi.python.org/pypi/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

```py
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...")
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "winbox",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "hazyfossa <hazyfossa@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/c2/f0/32b7e231b062354991eb16932c7b0198cdd15b3d5b12c5bc11a749942dd7/winbox-0.2.0.tar.gz",
    "platform": null,
    "description": "# Winbox\n\n![image](https://img.shields.io/github/languages/code-size/hazyfossa/winbox?style=flat&label=size)\n[![image](https://img.shields.io/pypi/v/winbox.svg)](https://pypi.python.org/pypi/winbox)\n[![image](https://img.shields.io/pypi/l/winbox.svg)](https://pypi.python.org/pypi/winbox)\n[![image](https://img.shields.io/pypi/pyversions/winbox.svg)](https://pypi.python.org/pypi/winbox)\n\nA lightweight helper for creating windows message boxes.\nBuilt to be as slim as possible. No dependencies, except Python itself!\n\nUseful when you:\n\n- only need a message-box notification in your app, nothing more.\n- want a simple GUI for your script, without the complexity of a full framework.\n- are writing a background service and need to notify the user, without unexpectedly opening a terminal.\n\n# Example\n\n```py\nfrom winbox import Box, Type, Response, Icon\n\nbox = Box(\"Example App\", type=Type.YESNO, icon=Icon.QUESTION)\n\nresponse = box.send(\"Is this example working?\")\n\nmatch response:\n    case Response.YES:\n        print(\"Great!\")\n    case Response.NO:\n        print(\"Uh-oh...\")\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A lightweight helper for creating windows message boxes.",
    "version": "0.2.0",
    "project_urls": {
        "Homepage": "https://github.com/hazyfossa/winbox",
        "Issues": "https://github.com/hazyfossa/winbox/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ef1e9255d8af06ef96b8584f0391fd5fb5dbc5fe5a34eb0b42ab8d444195b2ea",
                "md5": "256de565f51c0fc6df9a98030d17bb7d",
                "sha256": "e78cef79c15e5e26a1fe9660364b62eee2cefe9675792e1f5b748341ed4dc10c"
            },
            "downloads": -1,
            "filename": "winbox-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "256de565f51c0fc6df9a98030d17bb7d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 3515,
            "upload_time": "2024-08-04T18:05:33",
            "upload_time_iso_8601": "2024-08-04T18:05:33.244945Z",
            "url": "https://files.pythonhosted.org/packages/ef/1e/9255d8af06ef96b8584f0391fd5fb5dbc5fe5a34eb0b42ab8d444195b2ea/winbox-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "c2f032b7e231b062354991eb16932c7b0198cdd15b3d5b12c5bc11a749942dd7",
                "md5": "596754e38bfdd4daf520467ce4488cf1",
                "sha256": "46dbe764f30a9a634f09fd27826c0df8b0fc21779ecead1b5dfc922bbe32ea49"
            },
            "downloads": -1,
            "filename": "winbox-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "596754e38bfdd4daf520467ce4488cf1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 4491,
            "upload_time": "2024-08-04T18:05:34",
            "upload_time_iso_8601": "2024-08-04T18:05:34.934308Z",
            "url": "https://files.pythonhosted.org/packages/c2/f0/32b7e231b062354991eb16932c7b0198cdd15b3d5b12c5bc11a749942dd7/winbox-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-04 18:05:34",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hazyfossa",
    "github_project": "winbox",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "winbox"
}
        
Elapsed time: 0.30386s