aiomonitor’s documentation!

aiomonitor is Python 3.9+ module that adds monitor and cli capabilitiesforasyncio application. Idea and code borrowed fromcurio project.Task monitor that runs concurrently to theasyncio loop (or fast drop inreplacementuvloop) in a separate thread. This can inspect the loop andprovide debugging capabilities.

aiomonitor provides an python console usingaioconsole library, it is possibleto 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 runningasyncio tasks

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

  • Extensible with you own commands usingclick.

Contents

Indices and tables