Skip to main content

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


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.7.0.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trio_util-0.7.0-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file trio_util-0.7.0.tar.gz.

File metadata

  • Download URL: trio_util-0.7.0.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for trio_util-0.7.0.tar.gz
Algorithm Hash digest
SHA256 8dc5014dd00e6a24d0f048f8b723f2804c61ddc08ace9555db10fb7e1fee704a
MD5 5fd081906fe14707d94303cfea9696a6
BLAKE2b-256 a29facc5ca737cf522ebaf54f7cfa7b42a69f24619b487ff28a0d7aedb4e8b9a

See more details on using hashes here.

File details

Details for the file trio_util-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: trio_util-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for trio_util-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a02b3daaf4996d7363f3fdfdc64157ef13d3d3725dff0dcaa0b47f4a6b5af4af
MD5 f06c899fa1f3aaf843ac98bcc768da01
BLAKE2b-256 ca83ab06f90eec7352c59e89570597ddd28499222fdc417dd8d51fbb27fe03b5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page