asyncui


Nameasyncui JSON
Version 1.0.0 PyPI version JSON
download
home_pageNone
SummaryLibrary for asynchronous GUI programming
upload_time2025-07-21 16:50:59
maintainerNone
docs_urlNone
authorNone
requires_python>=3.6
licenseNone
keywords wxpython gui asyncio tk tkinter
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # AsyncUI

[![CI](https://github.com/eumis/asyncui/actions/workflows/ci.yml/badge.svg?branch=dev)](https://github.com/eumis/asyncui/actions/workflows/ci.yml)

Library for asynchronous GUI programming.
Runs async event loop in a separate thread.

## Installation

```
pip install asyncui
```

## Usage

For complete examples see [demo](demo) folder.

### wxpython

```python
import asyncio
import asyncui
import wx

app = wx.App()
frame = wx.Frame(None, title="Async wxPython")
frame.Show()

with asyncui.run_loop():
    app.MainLoop()
```

### Tkinter Example

```python
import asyncio
import asyncui
import tkinter as tk

root = tk.Tk()
root.title("Async Tkinter")

with asyncui.run_loop():
    root.mainloop()
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "asyncui",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "wxpython, gui, asyncio, tk, tkinter",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/d0/85/bac86119ff4bc95a48891d750957e00f60b7fc541d5901322881d9de8453/asyncui-1.0.0.tar.gz",
    "platform": null,
    "description": "# AsyncUI\n\n[![CI](https://github.com/eumis/asyncui/actions/workflows/ci.yml/badge.svg?branch=dev)](https://github.com/eumis/asyncui/actions/workflows/ci.yml)\n\nLibrary for asynchronous GUI programming.\nRuns async event loop in a separate thread.\n\n## Installation\n\n```\npip install asyncui\n```\n\n## Usage\n\nFor complete examples see [demo](demo) folder.\n\n### wxpython\n\n```python\nimport asyncio\nimport asyncui\nimport wx\n\napp = wx.App()\nframe = wx.Frame(None, title=\"Async wxPython\")\nframe.Show()\n\nwith asyncui.run_loop():\n    app.MainLoop()\n```\n\n### Tkinter Example\n\n```python\nimport asyncio\nimport asyncui\nimport tkinter as tk\n\nroot = tk.Tk()\nroot.title(\"Async Tkinter\")\n\nwith asyncui.run_loop():\n    root.mainloop()\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Library for asynchronous GUI programming",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://github.com/eumis/asyncui"
    },
    "split_keywords": [
        "wxpython",
        " gui",
        " asyncio",
        " tk",
        " tkinter"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "c5325a3f13fc8f45e83aea0ce638c92a4643cf2ae04f413f596f2515dd3dc662",
                "md5": "1d2ffbbcb05dc0c1a856a48994945f1a",
                "sha256": "fbb40b1dc2bde49e03a6fcac94c8f89ffc694ccfe97f2819866ee85a13887ad8"
            },
            "downloads": -1,
            "filename": "asyncui-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1d2ffbbcb05dc0c1a856a48994945f1a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 4882,
            "upload_time": "2025-07-21T16:50:58",
            "upload_time_iso_8601": "2025-07-21T16:50:58.217098Z",
            "url": "https://files.pythonhosted.org/packages/c5/32/5a3f13fc8f45e83aea0ce638c92a4643cf2ae04f413f596f2515dd3dc662/asyncui-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "d085bac86119ff4bc95a48891d750957e00f60b7fc541d5901322881d9de8453",
                "md5": "6fb0427286f1e614789c6704649be599",
                "sha256": "db88d0ecede453d7dbf09db735b6ad38dd749cd59aea2cd8ecbaec1bfd95288e"
            },
            "downloads": -1,
            "filename": "asyncui-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "6fb0427286f1e614789c6704649be599",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 4693,
            "upload_time": "2025-07-21T16:50:59",
            "upload_time_iso_8601": "2025-07-21T16:50:59.210331Z",
            "url": "https://files.pythonhosted.org/packages/d0/85/bac86119ff4bc95a48891d750957e00f60b7fc541d5901322881d9de8453/asyncui-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-21 16:50:59",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "eumis",
    "github_project": "asyncui",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "asyncui"
}
        
Elapsed time: 1.94383s