https://github.com/cumulus13/sendgrowl
Send notification to growl with multiple host and port
https://github.com/cumulus13/sendgrowl
gntp growl growl-notifications
Last synced: 2 months ago
JSON representation
Send notification to growl with multiple host and port
- Host: GitHub
- URL: https://github.com/cumulus13/sendgrowl
- Owner: cumulus13
- Created: 2022-11-05T08:57:47.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-02-03T03:16:03.000Z (4 months ago)
- Last Synced: 2025-04-09T20:05:27.559Z (2 months ago)
- Topics: gntp, growl, growl-notifications
- Language: Python
- Homepage: https://github.com/cumulus13/sendgrowl
- Size: 1.03 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sendgrowl
Send notification to growl with multiple host and port## Installing
Install and update using [pip](https://pip.pypa.io/en/stable/quickstart/):
```bash
$ pip install sendgrowl
```## Example
```python
>>> from sendgrowl import Growl
>>> Growl().send("TEST", "test", "test title", "test message", host = ['127.0.0.1', '192.168.43.236'], icon = icon)
```run on terminal/cmd
```bash
$ usage: sendgrowl [-h] [-H [HOST ...]] [-P PORT] [-t TIMEOUT] [-i ICON] [-s] [-p PRIORITY] [-c CALLBACK] [-gc GNTP_CALLBACK] [-x CUSTOM_HEADERS] [-ax APP_HEADERS] [-gC GNTP_CLIENT_CLASS] [-id ID] [-cd COALESCING_ID] [-v] APP_NAME EVENT_NAME TITLE TEXTpositional arguments:
APP_NAME App name as registered/registering
EVENT_NAME Event name
TITLE Title name
TEXT Message/Text to be sendingoptions:
-h, --help show this help message and exit
-H [HOST ...], --host [HOST ...]
host growl server
-P PORT, --port PORT port growl server
-t TIMEOUT, --timeout TIMEOUT
Timeout message display default: 20
-i ICON, --icon ICON Image icon path, default growl icon
-s, --sticky Sticky notification
-p PRIORITY, --priority PRIORITY
Priority number, default 0
-c CALLBACK, --callback CALLBACK
Call back function
-gc GNTP_CALLBACK, --gntp-callback GNTP_CALLBACK
GNTP Call back function
-x CUSTOM_HEADERS, --custom-headers CUSTOM_HEADERS
Custom Headers
-ax APP_HEADERS, --app-headers APP_HEADERS
Custom Headers for app
-gC GNTP_CLIENT_CLASS, --gntp-client-class GNTP_CLIENT_CLASS
GNTP client Class
-id ID, --id ID ID
-cd COALESCING_ID, --coalescing-id COALESCING_ID
Coalescing Id
-v, --verbose Verbose
```## Support
- Python 3.x
## Author
[Hadi Cahyadi](mailto:[email protected])[](https://www.buymeacoffee.com/cumulus13)
[](https://ko-fi.com/cumulus13)
[Support me on Patreon](https://www.patreon.com/cumulus13)