Skip to main content

Cross-platform desktop push-notifications.

Project description

Desktop Notifications

Simple Python3 module for displaying desktop notifications on Windows and Linux.

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='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.2.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

py_notifier-0.2.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py-notifier-0.2.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

Hashes for py-notifier-0.2.0.tar.gz
Algorithm Hash digest
SHA256 bb26286812742d9adab5f31128bfda33ddc3a552ac6c5942412414b196797698
MD5 15afea19143319f3f96b26a725e3c6b5
BLAKE2b-256 83b20164345597c8ddd3b0a6a01f92fa986b887565332ada6d2b0a65e03e8394

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_notifier-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d72b993179f52c4bd0b55fbded0e19c2723aacd06a230adfb20145959668bd34
MD5 8850800a83019bc8a485914ac5a2a389
BLAKE2b-256 eaf5a2e79a7a41e60eded611fb4ba9bade14fd8d4aeea5614730015b3ea225e8

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