An easy-to-use Python library for displaying rich notifications on Windows 10/11
Project description
Windows Rich Notifications for Python (winrichnotify)
An easy-to-use Python library for displaying notifications for Windows 10 and Windows 11.
Installation
pip install winrichnotify
Build Setup
- 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.
Example
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)
Contributing
Contributions are very welcome! To find a list of current contributors go here
License
This project is protected under the MIT license, available in the LICENSE file.
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
winrichnotify-0.1.0.tar.gz
(21.7 kB
view hashes)
Built Distribution
Close
Hashes for winrichnotify-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20969bf77894017404d52f97eb73334cc8f65c309e413db6dad0fff1b93d571c |
|
MD5 | 54b52933031e8999c72f1fde8e322bff |
|
BLAKE2b-256 | 8b447a28c10d926303f9243b01b5018ad0cc4f7ce5d3bdc38f77be56e252d541 |