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.0.tar.gz
(13.0 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.4.0-py3-none-any.whl
(15.4 kB
view details)
File details
Details for the file trio_util-0.4.0.tar.gz.
File metadata
- Download URL: trio_util-0.4.0.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4b1db87191e56dfce3e6bc244d3232fa9f28ed4ec829c8ba22304f81400fe89
|
|
| MD5 |
4c80ea379097f427e9ee220a7d7071cd
|
|
| BLAKE2b-256 |
5316c59ba658a04d12bae7b69a959d604a57e9102cf812841968761d61fa18cd
|
File details
Details for the file trio_util-0.4.0-py3-none-any.whl.
File metadata
- Download URL: trio_util-0.4.0-py3-none-any.whl
- Upload date:
- Size: 15.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e34aa629cef02f8a653ed4ae2ecbda0acb5000bd9d6ff48e95b64d8ca7b2c9a2
|
|
| MD5 |
47ebc6bbfdf97b1a1ed7b3143afa0387
|
|
| BLAKE2b-256 |
e64aae2eaddfdeb5adc28b96b9f06ddd366ce4b41c7b71a3faa6ca12c810a726
|