A minimalistic async library that focuses on fast responsiveness


Keywords
async, async-await, python, python3
License
MIT
Install
pip install asyncgui==0.8.0

Documentation

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 and trio-util.
  • has nothing to do with GUIs, even though it has 'gui' in its name. (Yes, I should rename it at some point.)

Documentation

Installation

Pin the minor version.

poetry add asyncgui@~0.7
pip install "asyncgui>=0.7,<0.8"

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