Simple Python3 module for displaying desktop notifications on Windows, Linux and MacOS.
$ pip install py-notifier
win10toast
- Python module
libnotify-bin
CLI tool (manual installation is required). For Ubuntu run:
sudo apt-get install libnotify-bin
pync
- Python module
from pynotifier import Notification
Notification(
title='Notification Title',
description='Notification Description',
icon_path='/absolute/path/to/image/icon.png', # On Windows .ico is required, on Linux - .png
duration=5, # Duration in seconds
urgency='normal'
).send()
$ make
ci Lint and Test
clean Remove Python file artifacts and virtualenv
lint Lint source
test Run tests
venv Creates the virtualenv and installs tox
The project is licensed under the terms of the MIT License, see the LICENSE file for more information.