Plyer is a platform-independent api to use features commonly found on various platforms, notably mobile ones, in Python.
The project can be found on this GitHub project.
import time
from plyer import notification
if __name__ == "__main__":
while True:
notification.notify(title="Test",message="Text message",timeout=10)
time.sleep(3000)
Let's see the most simple example with this python module.