Windows toast notifications sender
Project description
Windows-Toasts
Windows-Toasts is a Python library used to send toast notifications on Windows machines.
Usage
>>> from windows_toasts import WindowsToaster, AudioSource, ToastAudio, ToastDuration, ToastText1
>>> wintoaster = WindowsToaster('Python')
>>> newToast = ToastText1()
>>> newToast.SetBody('Hello, world!')
>>> newToast.on_activated = lambda _: print('Toast clicked!')
>>> wintoaster.show_toast(newToast)
But I already saw this package three times on PyPI!
I created this library since the other Windows toast notification libraries were all but abandoned, lacked features, and were using pywin32 bindings.
Credits
The code is adapted from mohabouje's wonderful C++ WinToasts library
Big thanks to dlech for his recently created winrt fork
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 Distribution
windows-toasts-0.1.3.tar.gz
(8.6 kB
view hashes)
Built Distribution
Close
Hashes for windows_toasts-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 501cda2c74fb767ce79549ae0b5bc3dfbf22394ade107346a6ca74691393e167 |
|
MD5 | 73f46dbd97045d86e7dc47619b57845f |
|
BLAKE2b-256 | b1426bbac42857af7d6977724b9a4161c8702d4787d4b7726d8794c25d3ecd9f |