https://github.com/asyncgui/asyncgui
A minimalistic async library that focuses on fast responsiveness
https://github.com/asyncgui/asyncgui
async async-await python python3
Last synced: about 2 months ago
JSON representation
A minimalistic async library that focuses on fast responsiveness
- Host: GitHub
- URL: https://github.com/asyncgui/asyncgui
- Owner: asyncgui
- License: mit
- Created: 2020-10-25T05:34:25.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-29T19:46:50.000Z (3 months ago)
- Last Synced: 2025-04-04T22:33:18.878Z (3 months ago)
- Topics: async, async-await, python, python3
- Language: Python
- Homepage: https://asyncgui.github.io/asyncgui/
- Size: 784 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AsyncGui
...is a minimalistic async library that:
- does not provide features involving system calls, such as I/O, time retrieval, thread suspension, or thread spawning.
- has no external dependencies when using Python 3.11 or later.
- does not own a main loop, but is designed to integrate with an existing one.
- avoids global state.
- focuses on fast responsiveness, allowing immediate task start and resumption.
- offers powerful structured concurrency APIs inspired by [Trio](https://trio.readthedocs.io/en/stable/) and [trio-util](https://trio-util.readthedocs.io/en/latest/).
- has nothing to do with GUIs, even though it has 'gui' in its name. (Yes, I should rename it at some point.)[Documentation](https://asyncgui.github.io/asyncgui/)
## Installation
Pin the minor version.
```text
poetry add asyncgui@~0.8
pip install "asyncgui>=0.8,<0.9"
```## Tested on
- CPython 3.9
- CPython 3.10
- CPython 3.11
- CPython 3.12
- CPython 3.13
- PyPy 3.10## Async libraries that rely on this
- [asynckivy](https://github.com/asyncgui/asynckivy)
- [asynctkinter](https://github.com/asyncgui/asynctkinter)
- [asyncpygame](https://github.com/asyncgui/asyncpygame)