Cross-platform desktop push-notifications.
Project description
Desktop Notifications
Simple cross-platform (Windows/Linux) Python3 module for displaying desktop notifications.
Installation
$ pip install py-notifier
Requirements
If running on Windows: win10toast
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=Notification.URGENCY_CRITICAL
).send()
Author
License
The project is licensed under the terms of the GNU General Public License v3.0, 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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file py_notifier-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: py_notifier-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
cf9360a2cdba71cbd33ce0d96ff88ca388256aab1b8c20427b5d32c37d192e1d
|
|
MD5 |
87aea59175fa067748b7699609e17b12
|
|
BLAKE2b-256 |
857761f7c8cee91e36f7d4845a4334c14e969a0da38c46d776215d56e047e72e
|