aiomonitor’s documentation!

aiomonitor is Python 3.8+ module that adds monitor and cli capabilities for asyncio application. Idea and code borrowed from curio project. Task monitor that runs concurrently to the asyncio loop (or fast drop in replacement uvloop) in a separate thread. This can inspect the loop and provide debugging capabilities.

aiomonitor provides an python console using aioconsole library, it is possible to execute asynchronous command inside your running application.

As of 0.6.0, it also provides a GUI to inspect and cancel asyncio tasks like below:

_images/webui-demo1.gif

Features

  • Telnet server that provides insides of operation of you app

  • Supportes several commands that helps to list, cancel and trace running asyncio tasks

  • Provides python REPL capabilities, that is executed in the running event loop; helps to inspect state of your asyncio application.

  • Extensible with you own commands using click.

Contents

Indices and tables