A python library abstracting all the common patterns the creator can think of that somehow always pop up in async code.
Includes a wide range of submodules tailored for specific usages, though concrete low-level implementations are lacking.
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
Since the name asyncutils was somehow unavailable on PyPI, py-asyncutils was chosen instead.
This package is also available on anaconda via the conda-forge channel.
You can install using either conda or pip, or directly from roughly fortnightly GitHub releases; no extra setup is needed.
See the installation guide for more.
This package is very resourceful, containing everything from higher-order error handling functions to network protocols.
See the usage guide for some basic examples.
This is asyncutils v0.8.24.
This library is currently in the alpha stage, meaning the public API is subject to change even between patch versions, and changes made may be backward-incompatible. (Of course, this isn't a significant issue, seeing as though nobody currently uses it.)
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.
It is strongly recommended that you read the asyncio docs thoroughly if using event loop related features.
Other resources if you're new to the world of async:
- asyncio HOWTO
- Real Python's Async IO Tutorial
- Python Async Basics Video Guide
- asyncio, threading, multiprocessing
- Event loop
- In-depth tutorial
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.
MIT © 2026 Jonathan Dung
Have fun!
| GitHub | Repo | Package | Uses | Status | |
|---|---|---|---|---|---|