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, move_on_when - 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.8.0.tar.gz
(22.3 kB
view details)
Built Distribution
trio_util-0.8.0-py3-none-any.whl
(18.8 kB
view details)
File details
Details for the file trio_util-0.8.0.tar.gz
.
File metadata
- Download URL: trio_util-0.8.0.tar.gz
- Upload date:
- Size: 22.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b95030a9976a7a8ed8f61c24cafbc682ecdde76d1bca1b8b42c74df074adc16d |
|
MD5 | ff1ecf6e4d70f634e9c495689ffb4507 |
|
BLAKE2b-256 | b7565bf634bf42c453dc2cac9c11c3feb5ca11064d101e5167fabb7224f18482 |
File details
Details for the file trio_util-0.8.0-py3-none-any.whl
.
File metadata
- Download URL: trio_util-0.8.0-py3-none-any.whl
- Upload date:
- Size: 18.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ba4a2bc02934b4d756eaadb861a0aa045f0fd1bf8060f17bd5273c52780099a |
|
MD5 | 887f12d5c3466feb83057f2e83a21df0 |
|
BLAKE2b-256 | 4a700821df8254ea7b11857d56133dc7dceb0400832e4ca8d64ebffd9ba966b3 |