A minimalistic async library that focuses on fast responsiveness
Project description
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.)
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 (3.12.1 or later)
- CPython 3.13
- PyPy 3.10
Async libraries that rely on this
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
asyncgui-0.7.1.tar.gz
(9.9 kB
view details)
Built Distribution
File details
Details for the file asyncgui-0.7.1.tar.gz
.
File metadata
- Download URL: asyncgui-0.7.1.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.4 Linux/5.4.0-198-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d339f0c9ebc824c8c92c1878d833624b19b4cca3c1ea7039056225374f823a5b |
|
MD5 | 6c52662d74f19cfbb1c798f7b22bab86 |
|
BLAKE2b-256 | 530a4c666189e0c5f908fab9bcc682133b6f0ae1f297cfb1b331b8ffafa78349 |
File details
Details for the file asyncgui-0.7.1-py3-none-any.whl
.
File metadata
- Download URL: asyncgui-0.7.1-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.4 Linux/5.4.0-198-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ffa451b60455153e11a214db6bad9d4ae719fa810499f491b0fd25f65252eee |
|
MD5 | 896a16fecab364ac3134910f763f5305 |
|
BLAKE2b-256 | 0e1eea1bb123c43844ad2c5433502d680be798984b9e1ec5d899aa2329c8e966 |