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
Make sure you have CPython 3.12 or above. GraalPy 25.0 or above is also acceptable. CPython free-threaded and debug builds are also supported. No setup is needed after installation. 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 v1.3.2.
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 and async generator related features, since their behaviours are central points of confusion and have troubled me greatly in the development of this library.
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):
- asyncio how-to
- Basic walkthrough
- Basic 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
| GitHub | Repo | Package | Uses | Status | Tests | |
|---|---|---|---|---|---|---|