Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/asyncgui/asyncgui

A minimalistic async library that focuses on fast reaction
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 reaction

Awesome Lists containing this project

README

        

# AsyncGui

A minimalistic async library that:

- doesn't provide features involving system calls, such as I/O, timers, or threads.
- has no external dependencies when using Python 3.11 or later.
- doesn't own an event loop, but is designed to integrate with an existing one.
- avoids global state.
- focuses on fast reaction, allowing immediate task start or 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/).

[Documentation](https://asyncgui.github.io/asyncgui/)

## Installation

Pin the minor version.

```text
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 (3.12.1 or later)
- 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)