asynciorun
asynciorun is a lightweight Python library that provides a convenient mechanism for executing top‑level asynchronous coroutines in a synchronous context. The package was created to address the limitations of the standard library’s asyncio.run function, particularly around compatibility with older Python releases and the need for custom event‑loop handling. It is distributed under an open‑source license and is available on PyPI and GitHub.
The primary interface offered by asynciorun is the function run, which accepts a coroutine object and optional
asynciorun is designed for compatibility with Python 3.7 and newer, and it mimics the behaviour of asyncio.run
The library has received positive feedback from the Python community for its simplicity and reliability. Users
Future updates to asynciorun focus on expanding compatibility with different asynchronous frameworks and improving type‑hinting support.