Skip to content

jonathandung/asyncutils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

311 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

asyncutils (unfortunately py-asyncutils on pip)

PyPI - Python Version PyPI version Coverage Tests Build Publish pre-commit.ci Docs

A python library abstracting all the common patterns I 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

I am not sure how this package would work on alternate python implementations. However, it is set to be extensively tested on CPython.

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.27.

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.)

See this page for the currently available tags.

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:

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
GitHub release Project stars Conda version Ruff Pytest Maintenance
GitHub release date GitHub forks Noarch Pre-commit Sphinx-lint Contributions Welcome
GitHub last commit GitHub watchers PyPI - Wheel Mypy Read the Docs PRs Welcome
GitHub commit activity GitHub PyPI - Format SemVer Actionlint Alpha
GitHub issues User stars PyPI - License Sphinx setuptools
GitHub pull requests Repo creation PyPI - Downloads doc8 PyPI
GitHub contributors GitHub repo size Stubtest Conda
Commits since last release detect-secrets conda-forge