asyncgui
A minimalistic async library that focuses on fast responsiveness
What it is and what it does
AsyncGui is a minimal async library designed to work alongside existing event loops rather than replace them. It provides structured concurrency primitives inspired by Trio and trio-util, focusing on fast task responsiveness without handling system I/O or managing its own main loop. The library avoids global state and is designed for integration into frameworks that already manage event dispatch.
On Python 3.11 and later, it has no external dependencies; earlier versions require exceptiongroup. The package is actively maintained, tested across modern Python versions (3.10–3.14 and PyPy 3.10), and used as a foundation by downstream async GUI and game libraries (asynckivy, asynctkinter, asyncpygame).
Use it for:
- Integrate async task coordination into an existing GUI framework or event loop without replacing the loop itself.
- Build structured concurrency patterns (nurseries, cancellation scopes) on top of a custom or third-party event dispatcher.
- Add responsive async task scheduling to game engines or interactive applications that manage their own main loop.
- Coordinate multiple async tasks with cancellation and exception handling in a framework-agnostic way.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
AsyncGui provides structured concurrency primitives for async Python code that integrates with existing event loops, without performing system I/O or managing a main loop itself.
Yes, if you need structured concurrency primitives for an existing event loop and want a lightweight, dependency-free (on Python 3.11+) library. The active maintenance, broad Python version support, and permissive MIT license make it low-risk. Not suitable if you need a standalone async runtime or system I/O handling.
Install
asyncgui on PyPI
pip
pip install asyncguiuv
uv add asyncguipoetry
poetry add asyncguiInstalling asyncgui
Before you install
Low friction: pure Python wheel with a single runtime dependency (exceptiongroup on Python <3.11). Actively maintained with recent commits and tested across CPython 3.10–3.14 and PyPy 3.10.
License in practice
MIT license (permissive) allows use in commercial and proprietary projects with minimal restrictions.
Quickstart
pip install "asyncgui>=0.11,<0.12"
import asyncgui
# Use structured concurrency primitives with your existing event loop
Requires Python 3.10 or later; exceptiongroup dependency on Python <3.11.
Verify before relying
- Whether the package's 'structured concurrency' features are comparable in scope to Trio or trio-util, or represent a lighter subset.
- What 'fast responsiveness' and 'immediate task start' mean quantitatively in benchmarks or use cases.
- Whether integration with specific event loops (asyncio, etc.) is documented or requires custom glue code.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — exceptiongroup |
| Maintenance | actively maintained — 106 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 91,146/month — #13,536 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: asyncgui-0.11.1-py3-none-any.whl
Keywords: async
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
asynckivyAsyncKivy replaces Kivy's callback-based event…
permissive · top 15,000 on PyPI
duetDuet is a lightweight async library that wraps…
permissive · top 15,000 on PyPI
trioTrio is an async I/O library that lets you…
permissive · top 1,000 on PyPI
anyioAnyIO provides a unified asynchronous API that…
permissive · top 100 on PyPI
greenbackAllows you to call async functions from…
permissive · top 5,000 on PyPI
aiologicaiologic provides thread-aware and async-aware…
permissive · top 5,000 on PyPI
multitaskingConverts Python methods into non-blocking,…
permissive · top 1,000 on PyPI
aioprocessingProvides asyncio-compatible wrappers around…
permissive · top 15,000 on PyPI
eventletEventlet provides concurrent network…
permissive · top 5,000 on PyPI
aiomultiprocessCombines AsyncIO and multiprocessing to run…
permissive · top 5,000 on PyPI