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
- RepeatedEvent - 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.5.0.tar.gz
(14.2 kB
view hashes)
Built Distribution
trio_util-0.5.0-py3-none-any.whl
(16.9 kB
view hashes)
Close
Hashes for trio_util-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01ccf3db503a1294321e07e02c9099565604c7947e9934d32d63aa07526c4289 |
|
MD5 | 53ef7764d40a20df50b9c1ff2228923e |
|
BLAKE2b-256 | 916eaf1cd27353c9f3e00f29f00fa31e3541f2adb01e48b1480d2748e08cddb5 |