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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
trio_util-0.5.0-py3-none-any.whl
(16.9 kB
view details)
File details
Details for the file trio_util-0.5.0.tar.gz.
File metadata
- Download URL: trio_util-0.5.0.tar.gz
- Upload date:
- Size: 14.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c19f0d16192e3b51abd69b86eef9fca158ffe3c6eb371292f95df088dec25ca1
|
|
| MD5 |
f0961fdfdbfdc95a0909281787d0747f
|
|
| BLAKE2b-256 |
0c7b1b3e5082b39470091b7a298e96c4d8724d88c2bc8c1f4e7bbb64c43b68d9
|
File details
Details for the file trio_util-0.5.0-py3-none-any.whl.
File metadata
- Download URL: trio_util-0.5.0-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01ccf3db503a1294321e07e02c9099565604c7947e9934d32d63aa07526c4289
|
|
| MD5 |
53ef7764d40a20df50b9c1ff2228923e
|
|
| BLAKE2b-256 |
916eaf1cd27353c9f3e00f29f00fa31e3541f2adb01e48b1480d2748e08cddb5
|