Utility library for the Trio async/await framework
Project description
An assortment of utilities for the Trio async/await framework, including:
- wait_any, wait_all - avoid nursery blocks for simple cases
- AsyncBool, AsyncValue - value wrappers with the ability to wait for a specific value or transition
- periodic - periodic loop which accounts for its own execution time
- @trio_async_generator - decorator which adapts a generator containing Trio constructs for safe use
- azip, azip_longest - async zip with parallel iteration
- UnqueuedRepeatedEvent, MailboxRepeatedEvent - if you really, really want to reuse an event
- and more (... obscure stuff you probably don't need)!
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
trio_util-0.4.1.tar.gz
(13.2 kB
view hashes)
Built Distribution
trio_util-0.4.1-py3-none-any.whl
(15.6 kB
view hashes)
Close
Hashes for trio_util-0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e01d99ce7a9aa7c7da80c067a7ba48daaa6e142ad53a7e859cf070fdc8e643a8 |
|
MD5 | 6c7e6270c83b57098f437891db5da7b6 |
|
BLAKE2b-256 | 506d5ea885962074e2510cf07a5237d1fe5234421029e900b965db39e18a30fd |