Platform Supported
Deployments
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
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.
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
https://pypi.org/project/pynotification/
Runbook
https://thevickypedia.github.io/pynotification/
License & copyright
© Vignesh Rao
Licensed under the MIT License
Metadata
Release files for pynotification 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pynotification-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for pynotification-0.1.3-py3-none-any.whl |
Release files / pynotification-0.1.3-py3-none-any.whl
| Download URL | pynotification-0.1.3-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5305b158e5f335d486ee6a66ebb7c54d9f1339627bfa4aa90f765376b3a2752e
|
|
BLAKE2b-256 checksum How to use checksums |
4b47f71325975dec8d5c3dcd0e61e22b3b611025b79b52116648683d9e061b61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for pynotification 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.