import desktop_notify import asyncio async def test(): notify = desktop_notify.aio.Notify('summary', 'body') await notify.show() if __name__ == "__main__": asyncio.run(test())