Platform Supported
Deployments
Python module to trigger OS-agnostic notification/messagebox.
python -m pip install pynotificationfrom pynotification import pynotifier
pynotifier(title="Test title", message="Test message")- 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
LinuxandWindowsoperating systems.- Linux: Choose any pre-defined icons or a
.pngfile as icon. - Windows: Choose any
.icofile as icon. Defaults to notification.ico
- Linux: Choose any pre-defined icons or a
- destroy: Boolean value to destroy the notification box on
Windowsoperating system after notifying. - debug: Display logs in the form of
info,warningsanderrorsmessages. - logger: Bring your own
Loggerfor custom logging.
Docstring format: Google
Styling conventions: PEP 8
Clean code with pre-commit hooks: flake8 and
isort
Requirement
python -m pip install gitverseUsage
gitverse-release reverse -f release_notes.rst -t 'Release Notes'PreCommit will ensure linting, and the doc creation are run on every commit.
Requirement
pip install sphinx==5.1.1 pre-commit recommonmarkUsage
pre-commit run --all-fileshttps://pypi.org/project/pynotification/
https://thevickypedia.github.io/pynotification/
© Vignesh Rao
Licensed under the MIT License