aiomonitor’s documentation!

aiomonitor is Python 3.5+ 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.

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

_images/tty.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, in the style of the standard library’s cmd module

Indices and tables