Skip to content

o4rz3l/Windows-10-Toast-Notifications

 
 

Repository files navigation

Windows 10 Toast Notifications

made-with-python FOSSA Status HitCount MIT license

An easy-to-use Python library for displaying Windows 10 Toast Notifications which is useful for Windows GUI development.

o7ja4 1

Installation

pip install win10toast

Requirements

Installation of pywin32

pypiwin32
setuptools

Example

from win10toast import ToastNotifier
toaster = ToastNotifier()
toaster.show_toast("Hello World!!!",
                   "Python is 10 seconds awsm!",
                   icon_path="custom.ico",
                   duration=10)

toaster.show_toast("Example two",
                   "This notification is in it's own thread!",
                   icon_path=None,
                   duration=5,
                   threaded=True)
# Wait for threaded notification to finish
while toaster.notification_active(): time.sleep(0.1)

Contributors contributions welcome

License

FOSSA Status

About

Python library to display Windows 10 Toast Notifications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%