A library containing versatile tools to well complement the asyncio framework. Not as performant as C extensions, but startup speed is great considering the features it provides.
Project description
asyncutils (unfortunately py-asyncutils on pip)
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
Setup
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.
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 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.)
Environment variables and 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 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
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
Have fun!
| GitHub | Repo | Package | Uses | Status | |
|---|---|---|---|---|---|
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_asyncutils-0.8.24.tar.gz.
File metadata
- Download URL: py_asyncutils-0.8.24.tar.gz
- Upload date:
- Size: 152.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6923fe24e9aee00e50dde6e84bb07025623364c3e769493729c909cc8cc3429
|
|
| MD5 |
d0e40e5ba088d6bce13396767c1c19a3
|
|
| BLAKE2b-256 |
c188c4a0b7dc9f6b30e85e3ef64522e9be451854ebe317759fcbc8af6c2173b2
|
File details
Details for the file py_asyncutils-0.8.24-py3-none-any.whl.
File metadata
- Download URL: py_asyncutils-0.8.24-py3-none-any.whl
- Upload date:
- Size: 176.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0c799ab71aab4cab4ac9a0b5d7785f30d4e03f8b9710ab0a7c4fe634c273cc9
|
|
| MD5 |
098390f7acd6cfee7b223b0e96457520
|
|
| BLAKE2b-256 |
acab3f25e05b696ef9216cd6ea9f824108feec8bc92f8b436f9353a638f1786e
|