Skip to main content

Python module to trigger OS-agnostic notification/messagebox

Project description

Platform Supported

Generic badge

Deployments

pages-build-deployment pypi-publish

PyNotification

Python module to trigger OS-agnostic notification/messagebox.

Installation

python -m pip install pynotification

Usage

from pynotification import pynotifier

pynotifier(title="Test title", message="Test message")

Optional arguments

  • dialog: Boolean flag to trigger notification as a dialog in a popup window. Blocks process until user has pressed OK
  • icon: Custom icon to be used for Linux and Windows operating systems.
  • destroy: Boolean value to destroy the notification box on Windows operating system after notifying.
  • debug: Display logs in the form of info, warnings and errors messages.
  • logger: Bring your own Logger for custom logging.

Coding Standards

Docstring format: Google
Styling conventions: PEP 8
Clean code with pre-commit hooks: flake8 and isort

Release Notes

Requirement

python -m pip install gitverse

Usage

gitverse-release reverse -f release_notes.rst -t 'Release Notes'

Linting

PreCommit will ensure linting, and the doc creation are run on every commit.

Requirement

pip install sphinx==5.1.1 pre-commit recommonmark

Usage

pre-commit run --all-files

Pypi Package

pypi-module

https://pypi.org/project/pynotification/

Runbook

made-with-sphinx-doc

https://thevickypedia.github.io/pynotification/

License & copyright

© Vignesh Rao

Licensed under the MIT License

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

If you're not sure about the file name format, learn more about wheel file names.

pynotification-0.1.3-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pynotification-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pynotification-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5305b158e5f335d486ee6a66ebb7c54d9f1339627bfa4aa90f765376b3a2752e
MD5 98372af9a4f9e5c672349731a1beb479
BLAKE2b-256 4b47f71325975dec8d5c3dcd0e61e22b3b611025b79b52116648683d9e061b61

See more details on using hashes here.

Supported by

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