An easy-to-use Python library for displaying notifications for Windows 10 and Windows 11.
pip install winrichnotify
- Install Poetry
- Navigate to the root directory of the project and run
poetry install
. This will install the dependencies for the project - Run
poetry build
to generate built releases of the library.
from winrichnotify import WindowsNotifier
notifier = WindowsNotifier()
notifier.notify("This is an example notification!",
"With an example title!",
icon_path="custom.ico",
duration=10)
notifier.notify("Another notification!",
"With yet another title!",
icon_path=None,
duration=5,
threaded=True)
# Wait for the threaded notification to finish
while notifier.is_notification_active(): time.sleep(0.1)
Contributions are very welcome! To find a list of current contributors go here
This project is protected under the MIT license, available in the LICENSE file.