Skip to main content

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

Windows:

win10toast - Python library (will be installed automatically)

Linux:

libnotify-bin CLI tool (manual installation is required). For Ubuntu run:

sudo apt-get install libnotify-bin

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 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.1.3.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

py_notifier-0.1.3-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file py-notifier-0.1.3.tar.gz.

File metadata

  • Download URL: py-notifier-0.1.3.tar.gz
  • Upload date:
  • Size: 3.9 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

Hashes for py-notifier-0.1.3.tar.gz
Algorithm Hash digest
SHA256 1058b8ec588a9d0a73bf20e9d3a08fac223c3c9a863b5212d5a14426183cbd00
MD5 46654185838a4bf8e721690603850af6
BLAKE2b-256 8f46dbd87767592430911329b87b4ffb01e2e1c6b89cbbc8ee8bb1398a8bb86c

See more details on using hashes here.

File details

Details for the file py_notifier-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: py_notifier-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.5 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

Hashes for py_notifier-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d3fe671cc987592b0b01766f82d814bcbe56ae5b5632765248ea1fba4a7e9518
MD5 7c596e5a238d84d1e8b31e118709e85f
BLAKE2b-256 45f40d26a4226ea1d8f0cb6a4c55e1d85f79f5810fbaf3d382badc8ea5c661bb

See more details on using hashes here.

Supported by

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