Skip to main content

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

PyPI - Python Version PyPI version Coverage Build CodeQL Publish GitHub Pages pre-commit.ci OpenSSF Best Practices Docs Conda version conda-forge feedstock Contributor Covenant

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

This package probably wouldn't work on alternate Python implementations. Make sure you have CPython 3.12 or above (even 3.15 will do), and at least one of many Python package managers you're comfortable with.

Discounting the installation, no extra setup is usually 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.9.10.

This library is currently in the beta stage, meaning the public API is subject to change even between patch versions, and changes made may be backward-incompatible. See the compatibility page.

See this page for the version tags up to now.

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

Regarding .markdownlint.json, even though there is no longer a pre-commit or workflow step requiring it, it contains the most basic ignores suitable for this project's files and should be respected. It will be auto-detected by relevant IDE extensions and allows running the linter locally.

It is strongly recommended that you read the asyncio docs thoroughly if using event loop related features.

Resources

Here are some resources if you're new to the world of async. They were of great assistance on my async journey:

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 uv Pytest Maintenance Tests
GitHub release date GitHub forks Noarch ruff Sphinx-lint Contributions Welcome Warnings
Commits since last release GitHub watchers PyPI - Wheel ty Read the Docs PRs Welcome Expected failures
GitHub commit activity GitHub PyPI - Format SemVer Dependabot Beta Duration
GitHub issues GitHub Downloads (all assets, all releases) PyPI - License Sphinx setuptools Blazingly fast Skipped
GitHub pull requests Repo creation PyPI - Downloads GitHub Pages
GitHub contributors GitHub repo size Pre-commit
GitHub last commit Top language detect-secrets

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_asyncutils-0.9.10.tar.gz (195.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_asyncutils-0.9.10-py3-none-any.whl (234.4 kB view details)

Uploaded Python 3

File details

Details for the file py_asyncutils-0.9.10.tar.gz.

File metadata

  • Download URL: py_asyncutils-0.9.10.tar.gz
  • Upload date:
  • Size: 195.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for py_asyncutils-0.9.10.tar.gz
Algorithm Hash digest
SHA256 fb4fd2a7cc9af5117f448983e485e01b3e9462302b14db422f2e0c5334959830
MD5 903579807b22253952d8c4ea877d19e5
BLAKE2b-256 6c907db1af15ef3a53c53c559d95b089378231054943f489bb723804795be258

See more details on using hashes here.

File details

Details for the file py_asyncutils-0.9.10-py3-none-any.whl.

File metadata

  • Download URL: py_asyncutils-0.9.10-py3-none-any.whl
  • Upload date:
  • Size: 234.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for py_asyncutils-0.9.10-py3-none-any.whl
Algorithm Hash digest
SHA256 d11116fe79bac5d77663268e56662a03d07d80b8647d7c92544a753a1a45a596
MD5 376f14f3d1ab37bfad1dc98971d2dedc
BLAKE2b-256 a6e5d05ac251ad85b49f3a29eca1b62a56b39bafc27463cfc00763adf26244c3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page