def __eq__(self, other):
        return (isinstance(other, self.__class__) and
                other.package == self.package)
async def print_debug(loop):
    while True:
        print(chr(27) + "[2J")  # clear screen
        loop.print_debug_info()
        await asyncio.sleep(0.5)