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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file winrichnotify-0.1.0.tar.gz.

File metadata

  • Download URL: winrichnotify-0.1.0.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.11.1 Windows/10

File hashes

Hashes for winrichnotify-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0c671ca07c228f8d7547d3ea337df1bb54a0f26623d522251691ca90e50b8400
MD5 72f775e2a7fff8a768937c210c3800b2
BLAKE2b-256 7f004df8d6369d03592c149a5c6e6a71d888f2e0913ce429a55b485e9b091593

See more details on using hashes here.

File details

Details for the file winrichnotify-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: winrichnotify-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.11.1 Windows/10

File hashes

Hashes for winrichnotify-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 20969bf77894017404d52f97eb73334cc8f65c309e413db6dad0fff1b93d571c
MD5 54b52933031e8999c72f1fde8e322bff
BLAKE2b-256 8b447a28c10d926303f9243b01b5018ad0cc4f7ce5d3bdc38f77be56e252d541

See more details on using hashes here.

Supported by

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