Cross-platform desktop push-notifications.
Project description
Desktop Notifications
Simple Python3 module for displaying desktop notifications on Windows, Linux and MacOS.
Installation
$ pip install py-notifier
Requirements
Windows:
win10toast
- Python module
Linux:
libnotify-bin
CLI tool (manual installation is required). For Ubuntu run:
sudo apt-get install libnotify-bin
MacOS:
pync
- Python module
Example
from pynotifier import Notification
Notification(
title='Notification Title',
description='Notification Description',
icon_path='path/to/image/file/icon.png', # On Windows .ico is required, on Linux - .png
duration=5, # Duration in seconds
urgency='normal'
).send()
Author
License
The project is licensed under the terms of the MIT License, see the LICENSE file for more information.
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
py-notifier-0.3.0.tar.gz
(3.8 kB
view hashes)
Built Distributions
py_notifier-0.3.0-py3.6.egg
(5.3 kB
view hashes)
Close
Hashes for py_notifier-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48f2bd8c325dfc1410eefae60f28e493be9829475993d2a85639508012d5c59a |
|
MD5 | cb88cbd4fcac527df790b62e6cc3fc95 |
|
BLAKE2b-256 | bd0f07d479d36bff0df743adc02bfc91ee0daaf24087291525b7b771fd760fd7 |