def get_installed_pypackages():
    return {p.project_name.lower(): p for p in pkg_resources.working_set}
async def print_debug(loop):
    while True:
        print(chr(27) + "[2J")  # clear screen
        loop.print_debug_info()
        await asyncio.sleep(0.5)