--- id: asyncgui version: "0.11.1" license: MIT license_treatment: permissive maintenance: active --- # asyncgui — A minimalistic async library that focuses on fast responsiveness License: permissive · Maintenance: active · Downloads: 91.1K/mo ## 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 above — 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 pip install asyncgui uv add asyncgui poetry add asyncgui ## Installing 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_current - Install friction: low - Maintenance: active - Downloads: 91.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags structured concurrency library, async task coordination, event loop integration, async primitives, concurrency without io, task scheduling, async framework integration, async-primitives, event-loop-agnostic, structured-concurrency [View on SkillFed](https://skillfed.io/packages/asyncgui) · [View on PyPI](https://pypi.org/project/asyncgui/)