https://github.com/jithurjacob/Windows-10-Toast-Notifications
Python library to display Windows 10 Toast Notifications
https://github.com/jithurjacob/Windows-10-Toast-Notifications
desktop-application python python-library pywin32 win32 windows
Last synced: 24 days ago
JSON representation
Python library to display Windows 10 Toast Notifications
- Host: GitHub
- URL: https://github.com/jithurjacob/Windows-10-Toast-Notifications
- Owner: jithurjacob
- License: mit
- Created: 2015-12-08T08:17:04.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-08-02T07:08:59.000Z (over 1 year ago)
- Last Synced: 2025-03-16T22:05:57.294Z (30 days ago)
- Topics: desktop-application, python, python-library, pywin32, win32, windows
- Language: Python
- Homepage:
- Size: 41 KB
- Stars: 982
- Watchers: 20
- Forks: 167
- Open Issues: 72
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- my-awesome-github-stars - jithurjacob/Windows-10-Toast-Notifications - Python library to display Windows 10 Toast Notifications (Python)
README
# Windows 10 Toast Notifications
[](https://www.python.org/) [](https://app.fossa.io/projects/git%2Bgithub.com%2Fjithurjacob%2FWindows-10-Toast-Notifications?ref=badge_shield) [](http://hits.dwyl.io/jithurjacob/Windows-10-Toast-Notifications) [](https://lbesson.mit-license.org/)An easy-to-use Python library for displaying Windows 10 Toast Notifications which is useful for Windows GUI development.

## 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 [](https://github.com/jithurjacob/Windows-10-Toast-Notifications/issues)
+ [sidc9](https://github.com/sidc9)
+ [sakurai-youhei](https://github.com/sakurai-youhei)
+ [BroderickCarlin](https://github.com/BroderickCarlin)
+ [florianluediger](https://github.com/florianluediger)
+ [eric-wieser](https://github.com/eric-wieser)
+ [Guts](https://github.com/Guts)## License
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fjithurjacob%2FWindows-10-Toast-Notifications?ref=badge_large)