Skip to main content

asyncutils

PyPI - Python Version PyPI version Coverage Build CodeQL Publish GitHub Pages Dependabot prek AI ticket management AI PR management OpenSSF Best Practices Read the Docs: stable Read the Docs: latest conda version conda-forge feedstock Contributor Covenant

A Python library abstracting many common async patterns.

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
  • ease of bug reporting in the form of an optionally interactive subcommand

Setup

Make sure you have CPython 3.12 or above; even a release candidate 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.

No setup is needed after installation. 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.3.0.

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 zizmor Maintenance Tests
GitHub release date GitHub forks Noarch ruff markdownlint Issues Welcome Warnings
Commits since last release GitHub watchers PyPI - Downloads ty shellcheck PRs Welcome Expected failures
GitHub commit activity GitHub PyPI - Format SemVer shfmt Free-threaded support Duration
GitHub issues GitHub Downloads PyPI - License Sphinx betterleaks Blazingly fast Skipped
GitHub pull requests Repo creation Language count sphinx-lint Last test run
GitHub contributors GitHub repo size Top language CSpell
GitHub last commit Code size Visits Pytest

Metadata

Release files for py-asyncutils 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-asyncutils 1.3.0
File Size Uploaded
py_asyncutils-1.3.0.tar.gz 220.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-asyncutils 1.3.0
File Interpreter ABI Platform
py_asyncutils-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 483.0 kB

Release files / py_asyncutils-1.3.0.tar.gz

Download URL py_asyncutils-1.3.0.tar.gz
Size 220.2 kB
Tags Source
SHA-256 checksum
How to use checksums
01a61fcef3bd29f1ec1ea972449defa54cd40663e2c764744b5de1bb2140e42f
BLAKE2b-256 checksum
How to use checksums
4e190b050c9e890647d46942fde7eec0efc0fd91cabb7be097a2d99dcc537836
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","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}

Release files / py_asyncutils-1.3.0-py3-none-any.whl

Download URL py_asyncutils-1.3.0-py3-none-any.whl
Size 262.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
62490c186b93d6e18448d9d6362a26f8e69314abf5275aed31533701ba3aae3f
BLAKE2b-256 checksum
How to use checksums
cd3b5718c106236be36484efb87d0c7fae741e103e29b84dd660a35a50b7c6d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","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}

Release history Release notifications | RSS feed

1.3.1

2 release files

This release

1.3.0 This release

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

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