Skip to main content

An easy-to-use Python library for displaying rich notifications on Windows 10/11

Project description

Windows Rich Notifications for Python (winrichnotify)

made-with-python MIT license

An easy-to-use Python library for displaying notifications for Windows 10 and Windows 11.

o7ja4 1

Installation

pip install winrichnotify

Build Setup

  1. Install Poetry
  2. Navigate to the root directory of the project and run poetry install. This will install the dependencies for the project
  3. 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


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)

Uploaded Source

Built Distribution

winrichnotify-0.1.0-py3-none-any.whl (21.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page