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
  • 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.5.0.tar.gz (14.2 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.5.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

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

Hashes for trio_util-0.5.0.tar.gz
Algorithm Hash digest
SHA256 c19f0d16192e3b51abd69b86eef9fca158ffe3c6eb371292f95df088dec25ca1
MD5 f0961fdfdbfdc95a0909281787d0747f
BLAKE2b-256 0c7b1b3e5082b39470091b7a298e96c4d8724d88c2bc8c1f4e7bbb64c43b68d9

See more details on using hashes here.

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

Hashes for trio_util-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 01ccf3db503a1294321e07e02c9099565604c7947e9934d32d63aa07526c4289
MD5 53ef7764d40a20df50b9c1ff2228923e
BLAKE2b-256 916eaf1cd27353c9f3e00f29f00fa31e3541f2adb01e48b1480d2748e08cddb5

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