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
pip install dearpygui-async
Note: you will need to install dearpygui separately in order to use this!
Simple Example
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 license.
Metadata
Release files for dearpygui-async 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dearpygui_async-0.1.2.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dearpygui_async-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.0 kB
Release files / dearpygui_async-0.1.2.tar.gz
| Download URL | dearpygui_async-0.1.2.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e6f241a949f6c321e88a8efb65f3ce50a22b1c63bbe0e86da15f5aaefb00d226
|
|
BLAKE2b-256 checksum How to use checksums |
133b716729a79d7fb76457a57f4d4453bb4762e0731fe12061adb85932d713f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.0
|
Release files / dearpygui_async-0.1.2-py3-none-any.whl
| Download URL | dearpygui_async-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f4d5fe416e2cf39f6d380cb60865f6c262492d55b232f77c324f4e240e9834b
|
|
BLAKE2b-256 checksum How to use checksums |
9e7d32f45a5aba9e00a79859234f0323134fdd515e91b335bab8ec18ce801093
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.0
|