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 - 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


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

Uploaded Source

File details

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

File metadata

  • Download URL: trio_util-0.3.0.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.2

File hashes

Hashes for trio_util-0.3.0.tar.gz
Algorithm Hash digest
SHA256 3c1d5c736bbe3c4a62de469b282298fe39a72e612eb63c19a874e47b44331298
MD5 fba941b9510b2dec0a9ee260e555c376
BLAKE2b-256 7e0251fb25caede0f7598316f39ee71be24bc0b9795e24ac7b2d3a43fe988ff6

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