Skip to main content

asyncutils

PyPI - Python Version PyPI version Coverage Build CodeQL Publish GitHub Pages Dependabot Prek OpenSSF Best Practices Read the Docs: stable Read the Docs: latest Conda version conda-forge feedstock Contributor Covenant

A Python library abstracting all the common patterns I can think of that somehow always pop up in async code.

Takes pride in:

  • being as fast as can be in terms of import time
  • providing detailed type checking via stub files included in the distribution
  • having a well-equipped command line interface taking many flags and options

Setup

Make sure you have CPython 3.12 or above; even a pre-release of 3.15 will do. GraalPy 25.0 or above is also acceptable. You should have at least one Python package manager you are comfortable with. CPython free-threaded and debug builds are also supported. There are plans to support PyPy, but PyPy is currently lagging behind the releases of the reference implementation and a 3.11 backport would be required, which is not going to happen.

Discounting the installation, no extra setup is needed. See the installation guide for more.

Usage

This package is very resourceful, containing everything from higher-order error handling functions to network protocols. See the usage guide for some basic examples.

Version

This is asyncutils v1.2.0, with all stable version tags up to now attached for your reference.

Configuration

Besides using command line arguments to change console settings, the behaviour of this module as a library can be customized as well. See the configuration guide.

Remarks

It is strongly recommended that you read the asyncio docs thoroughly if using event loop and async generator related features, since their behaviours are central points of confusion and have troubled me greatly in the development of this library.

Resources

Here are some resources if you're new to the world of async. They were of great assistance when I was learning async (I still am):

Contributing

If you have suggestions for how asyncutils could be improved, or want to report a bug, do open an issue! All contributions are welcome. For more, check out the contributing guide.

License

MIT © 2026 Jonathan Dung

Badges

GitHub Repo Package Uses Status Tests
GitHub release Project stars PyPI - Implementation Build backend Maintenance Tests
GitHub release date GitHub forks Noarch ruff Issues Welcome Warnings
Commits since last release GitHub watchers PyPI - Downloads ty PRs Welcome Expected failures
GitHub commit activity GitHub PyPI - Format SemVer betterleaks Duration
GitHub issues GitHub Downloads PyPI - License Sphinx Blazingly fast Skipped
GitHub pull requests Repo creation Language count Sphinx-lint Free-threaded support Last test run
GitHub contributors GitHub repo size Top language CSpell
GitHub last commit Code size Visits Pytest

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_asyncutils-1.2.0.tar.gz (218.2 kB view details)

Uploaded Source

Built Distribution

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

py_asyncutils-1.2.0-py3-none-any.whl (258.7 kB view details)

Uploaded Python 3

File details

Details for the file py_asyncutils-1.2.0.tar.gz.

File metadata

  • Download URL: py_asyncutils-1.2.0.tar.gz
  • Upload date:
  • Size: 218.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for py_asyncutils-1.2.0.tar.gz
Algorithm Hash digest
SHA256 230c85ae46ee7b604a2e7bb57944b6dc7b80786b97fe0fce9514c55244e2d06e
MD5 b1f37a823b3d3f1232a20b85edac256c
BLAKE2b-256 63c3e911143d4edd4ec00b0095aeb0e5da8d01466903263868bc63d85bf30e44

See more details on using hashes here.

File details

Details for the file py_asyncutils-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: py_asyncutils-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 258.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for py_asyncutils-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 800aba35ed990d33811dd1e7b78f345e11d326756b3e68a74f40995b8609b5dd
MD5 336ffea1fc9ff366c299545f5c342227
BLAKE2b-256 dafe3b7d151f6c8f80346939138195264f1cc5368dcdafd2bf14b84be582d5c4

See more details on using hashes here.

Release history Release notifications | RSS feed

1.2.4

2 files

1.2.3

2 files

1.2.2

2 files

1.2.1

2 files

This release

1.2.0 This release

2 files

1.1.4

2 files

1.1.3

2 files

1.1.2

2 files

1.1.0

2 files

1.0.1

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page