Windows-Toasts
Windows-Toasts is a Python library used to send toast notifications on Windows machines. Check out the documentation.
Installation
Windows-Toasts supports Windows 10 and 11. While toast notifications do work on Windows 8.1 and below, Microsoft added features in Windows 10 that were never backported.
Windows-Toasts is available through PyPI:
$ python -m pip install windows-toasts
Usage
Simple usage:
>>> from windows_toasts import Toast, WindowsToaster
>>> toaster = WindowsToaster("Python")
>>> newToast = Toast()
>>> newToast.text_fields = ["Hello, world!"]
>>> newToast.on_activated = lambda _: print("Toast clicked!")
>>> toaster.show_toast(newToast)
Full documentation is available at readthedocs.io
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.
Using WinRT may come with its own limitations. However, the only issue I've encountered compared to using pywin32 bindings is not being able to select the duration in seconds, but rather as short/long.
Credits
The code is adapted from mohabouje's wonderful C++ WinToasts library
Big thanks to dlech for his recently created winrt fork
Metadata
Release files for Windows-Toasts 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| windows_toasts-1.4.0.tar.gz | 51.3 kB | With provenance | Details for windows_toasts-1.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| windows_toasts-1.4.0-py3-none-any.whl | Python 3 | none | any | Details for windows_toasts-1.4.0-py3-none-any.whl |
Total release size: 94.1 kB
Release files / windows_toasts-1.4.0.tar.gz
| Download URL | windows_toasts-1.4.0.tar.gz |
|---|---|
| Size | 51.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb61e2e7f6c8fa7bee50305c64fc0b4c51e02b0c0cb987c9d708ba56cbb82b5d
|
|
BLAKE2b-256 checksum How to use checksums |
c23fdfdb6dc847769cb98e5509626d9d48a64a6b74665a26d1e75363cc487971
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logRelease files / windows_toasts-1.4.0-py3-none-any.whl
| Download URL | windows_toasts-1.4.0-py3-none-any.whl |
|---|---|
| Size | 42.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8df23de55c384658525d4c4111523dcab94158dffdd129fe6a8c6bf0ab226572
|
|
BLAKE2b-256 checksum How to use checksums |
05314ac75f0f1113a7051cad20113fd00dd2379c3fccd097c0db3ef303bba509
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logSecurity for Windows-Toasts 1.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for windows_toasts-1.4.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.