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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py-notifier-0.3.0.tar.gz.
File metadata
- Download URL: py-notifier-0.3.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d8996431731b03080e645957d25e5139c16c3aedf60e2168d6d0e5886181a73
|
|
| MD5 |
12d49409938f246affb6a903d2718528
|
|
| BLAKE2b-256 |
c390d0acc35902e8c2ff3ae7570c3a370bada65fe5fb300ca9f79e7ef52c95cc
|
File details
Details for the file py_notifier-0.3.0-py3.6.egg.
File metadata
- Download URL: py_notifier-0.3.0-py3.6.egg
- Upload date:
- Size: 5.3 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ec0c7f9d98eac4941fa6652a07a7ff519cafb9ebec4875922a302097853573e
|
|
| MD5 |
21f414fd8fae74b48f94d0e91c3e9efc
|
|
| BLAKE2b-256 |
6d8f7441f997b7c5f6f1ea3c1524268121dc67dd9597d381fbec4678718f5c91
|
File details
Details for the file py_notifier-0.3.0-py3-none-any.whl.
File metadata
- Download URL: py_notifier-0.3.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48f2bd8c325dfc1410eefae60f28e493be9829475993d2a85639508012d5c59a
|
|
| MD5 |
cb88cbd4fcac527df790b62e6cc3fc95
|
|
| BLAKE2b-256 |
bd0f07d479d36bff0df743adc02bfc91ee0daaf24087291525b7b771fd760fd7
|