dearpygui-async


Namedearpygui-async JSON
Version 0.1.2 PyPI version JSON
download
home_pageNone
SummaryAn async helper for dearpygui
upload_time2024-03-10 04:01:13
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords async asyncio dearpygui desktop gui python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # dearpygui_async

[![PyPI - Version](https://img.shields.io/pypi/v/dearpygui-async.svg)](https://pypi.org/project/dearpygui-async)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/dearpygui-async.svg)](https://pypi.org/project/dearpygui-async)

A simple way to integrate some async functionality into your dearpygui application.

## Key Features

* Ease of use
* Async callbacks
* Setup & Teardown functions for use with other async applications

## Installation

```console
pip install dearpygui-async
```
### Note: you will need to install dearpygui separately in order to use this!


## Simple Example

```py
import asyncio
import dearpygui.dearpygui as dpg
from dearpygui_async import DearPyGuiAsync # import

dpg_async = DearPyGuiAsync() # initialize

async def save_callback():
    await asyncio.sleep(3)
    print("Save Clicked")

dpg.create_context()
dpg.create_viewport()
dpg.setup_dearpygui()

with dpg.window(label="Example Window"):
    dpg.add_text("Hello world")
    dpg.add_button(label="Save", callback=save_callback)
    dpg.add_input_text(label="string")
    dpg.add_slider_float(label="float")

dpg.show_viewport()
dpg_async.run() # run; replaces `dpg.start_dearpygui()`
dpg.destroy_context()

```

## License

`dearpygui-async` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "dearpygui-async",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "async,asyncio,dearpygui,desktop,gui,python",
    "author": null,
    "author_email": "CasuallyCalm <void@some.where>",
    "download_url": "https://files.pythonhosted.org/packages/13/3b/716729a79d7fb76457a57f4d4453bb4762e0731fe12061adb85932d713f7/dearpygui_async-0.1.2.tar.gz",
    "platform": null,
    "description": "# dearpygui_async\n\n[![PyPI - Version](https://img.shields.io/pypi/v/dearpygui-async.svg)](https://pypi.org/project/dearpygui-async)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/dearpygui-async.svg)](https://pypi.org/project/dearpygui-async)\n\nA simple way to integrate some async functionality into your dearpygui application.\n\n## Key Features\n\n* Ease of use\n* Async callbacks\n* Setup & Teardown functions for use with other async applications\n\n## Installation\n\n```console\npip install dearpygui-async\n```\n### Note: you will need to install dearpygui separately in order to use this!\n\n\n## Simple Example\n\n```py\nimport asyncio\nimport dearpygui.dearpygui as dpg\nfrom dearpygui_async import DearPyGuiAsync # import\n\ndpg_async = DearPyGuiAsync() # initialize\n\nasync def save_callback():\n    await asyncio.sleep(3)\n    print(\"Save Clicked\")\n\ndpg.create_context()\ndpg.create_viewport()\ndpg.setup_dearpygui()\n\nwith dpg.window(label=\"Example Window\"):\n    dpg.add_text(\"Hello world\")\n    dpg.add_button(label=\"Save\", callback=save_callback)\n    dpg.add_input_text(label=\"string\")\n    dpg.add_slider_float(label=\"float\")\n\ndpg.show_viewport()\ndpg_async.run() # run; replaces `dpg.start_dearpygui()`\ndpg.destroy_context()\n\n```\n\n## License\n\n`dearpygui-async` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "An async helper for dearpygui",
    "version": "0.1.2",
    "project_urls": {
        "Documentation": "https://github.com/CasuallyCalm/dearpygui-async#readme",
        "Issues": "https://github.com/CasuallyCalm/dearpygui-async/issues",
        "Source": "https://github.com/CasuallyCalm/dearpygui-async"
    },
    "split_keywords": [
        "async",
        "asyncio",
        "dearpygui",
        "desktop",
        "gui",
        "python"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "9e7d32f45a5aba9e00a79859234f0323134fdd515e91b335bab8ec18ce801093",
                "md5": "7df91a5dd396bbe31df598100cddd60f",
                "sha256": "7f4d5fe416e2cf39f6d380cb60865f6c262492d55b232f77c324f4e240e9834b"
            },
            "downloads": -1,
            "filename": "dearpygui_async-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7df91a5dd396bbe31df598100cddd60f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 4230,
            "upload_time": "2024-03-10T04:01:11",
            "upload_time_iso_8601": "2024-03-10T04:01:11.760511Z",
            "url": "https://files.pythonhosted.org/packages/9e/7d/32f45a5aba9e00a79859234f0323134fdd515e91b335bab8ec18ce801093/dearpygui_async-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "133b716729a79d7fb76457a57f4d4453bb4762e0731fe12061adb85932d713f7",
                "md5": "790010b8806ffccbb5e4f47084c4a227",
                "sha256": "e6f241a949f6c321e88a8efb65f3ce50a22b1c63bbe0e86da15f5aaefb00d226"
            },
            "downloads": -1,
            "filename": "dearpygui_async-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "790010b8806ffccbb5e4f47084c4a227",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 5758,
            "upload_time": "2024-03-10T04:01:13",
            "upload_time_iso_8601": "2024-03-10T04:01:13.338708Z",
            "url": "https://files.pythonhosted.org/packages/13/3b/716729a79d7fb76457a57f4d4453bb4762e0731fe12061adb85932d713f7/dearpygui_async-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-10 04:01:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "CasuallyCalm",
    "github_project": "dearpygui-async#readme",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "dearpygui-async"
}
        
Elapsed time: 0.20295s