skillfed

asyncgui

A minimalistic async library that focuses on fast responsiveness

asyncgui v0.11.1 91.1K downloads/30d#13,536 on PyPI9
Permissive license MIT Active released

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 asyncgui

uv

uv add asyncgui

poetry

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 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries

Tags

structured concurrency libraryasync task coordinationevent loop integrationasync primitivesconcurrency without iotask schedulingasync framework integration
async-primitivesevent-loop-agnosticstructured-concurrency

More Libraries packages