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
- AsyncDictionary - dictionary with waitable get and pop
- periodic - a periodic loop which accounts for its own execution time
- 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.1.1.tar.gz
(8.5 kB
view hashes)
Built Distribution
trio_util-0.1.1-py3-none-any.whl
(11.3 kB
view hashes)
Close
Hashes for trio_util-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af3354255d6664c9bb7880217f81af9ee73b779f084be00c1a96f8742ef2e811 |
|
MD5 | cee9532e0c20d0c409764b95ec29e4f0 |
|
BLAKE2b-256 | b3e5643341817b16b8c2ab8a9928b58156e79f10e20a16c432e335756edf4a76 |