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

[](https://app.fossa.io/projects/git%2Bgithub.com%2Fjithurjacob%2FWindows-10-Toast-Notifications?ref=badge_shield)
## 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)
```
## License
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fjithurjacob%2FWindows-10-Toast-Notifications?ref=badge_large)
An easy-to-use Python library for displaying Windows 10 Toast Notifications which is useful for Windows GUI development.

[](https://app.fossa.io/projects/git%2Bgithub.com%2Fjithurjacob%2FWindows-10-Toast-Notifications?ref=badge_shield)
## 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)
```
## License
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fjithurjacob%2FWindows-10-Toast-Notifications?ref=badge_large)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file win10toast-0.9-py2.py3-none-any.whl
.
File metadata
- Download URL: win10toast-0.9-py2.py3-none-any.whl
- Upload date:
- Size: 21.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44e5afa1001de88a0ee533872231521fa67c7d144f39974089af242d9c4620a4 |
|
MD5 | ea282a2fa94ae1ada0afaa74a2828b97 |
|
BLAKE2b-256 | d4ba95c0ea87d9bcad68b90d8cb130a313b939c88d8338a2fed7c11eaee972fe |