# 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 TEXT
positional arguments:
APP_NAME App name as registered/registering
EVENT_NAME Event name
TITLE Title name
TEXT Message/Text to be sending
options:
-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:cumulus13@gmail.com)
[](https://www.buymeacoffee.com/cumulus13)
[](https://ko-fi.com/cumulus13)
[Support me on Patreon](https://www.patreon.com/cumulus13)
Raw data
{
"_id": null,
"home_page": "https://github.com/cumulus13/sendgrowl",
"name": "sendgrowl",
"maintainer": "cumulus13 Team",
"docs_url": null,
"requires_python": ">=3.0",
"maintainer_email": "cumulus13@gmail.com",
"keywords": "growl windows linux gntp gntplib 23053",
"author": "Hadi Cahyadi LD",
"author_email": "cumulus13@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/ad/56/b64ebb0a598a0bbd7e888d808189fe1baeb89d65a7bf7fe5a7c96ddd34cb/sendgrowl-0.73.tar.gz",
"platform": null,
"description": "# sendgrowl\r\nSend notification to growl with multiple host and port\r\n\r\n## Installing\r\n\r\nInstall and update using [pip](https://pip.pypa.io/en/stable/quickstart/):\r\n\r\n```bash\r\n$ pip install sendgrowl\r\n```\r\n\r\n## Example\r\n\r\n```python\r\n>>> from sendgrowl import Growl\r\n>>> Growl().send(\"TEST\", \"test\", \"test title\", \"test message\", host = ['127.0.0.1', '192.168.43.236'], icon = icon)\r\n```\r\n\r\nrun on terminal/cmd\r\n\r\n```bash\r\n$ 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 TEXT\r\n\r\npositional arguments:\r\n APP_NAME App name as registered/registering\r\n EVENT_NAME Event name\r\n TITLE Title name\r\n TEXT Message/Text to be sending\r\n\r\noptions:\r\n -h, --help show this help message and exit\r\n -H [HOST ...], --host [HOST ...]\r\n host growl server\r\n -P PORT, --port PORT port growl server\r\n -t TIMEOUT, --timeout TIMEOUT\r\n Timeout message display default: 20\r\n -i ICON, --icon ICON Image icon path, default growl icon\r\n -s, --sticky Sticky notification\r\n -p PRIORITY, --priority PRIORITY\r\n Priority number, default 0\r\n -c CALLBACK, --callback CALLBACK\r\n Call back function\r\n -gc GNTP_CALLBACK, --gntp-callback GNTP_CALLBACK\r\n GNTP Call back function\r\n -x CUSTOM_HEADERS, --custom-headers CUSTOM_HEADERS\r\n Custom Headers\r\n -ax APP_HEADERS, --app-headers APP_HEADERS\r\n Custom Headers for app\r\n -gC GNTP_CLIENT_CLASS, --gntp-client-class GNTP_CLIENT_CLASS\r\n GNTP client Class\r\n -id ID, --id ID ID\r\n -cd COALESCING_ID, --coalescing-id COALESCING_ID\r\n Coalescing Id\r\n -v, --verbose Verbose\r\n```\r\n\r\n## Support\r\n\r\n- Python 3.x\r\n\r\n## Author\r\n[Hadi Cahyadi](mailto:cumulus13@gmail.com)\r\n\r\n[](https://www.buymeacoffee.com/cumulus13)\r\n\r\n[](https://ko-fi.com/cumulus13)\r\n\r\n[Support me on Patreon](https://www.patreon.com/cumulus13)\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "simple send notify to growl with multiple host and port",
"version": "0.73",
"project_urls": {
"Code": "https://github.com/cumulus13/sendgrowl",
"Documentation": "https://github.com/cumulus13/sendgrowl",
"Download": "https://github.com/cumulus13/sendgrowl/tarball/master",
"Homepage": "https://github.com/cumulus13/sendgrowl"
},
"split_keywords": [
"growl",
"windows",
"linux",
"gntp",
"gntplib",
"23053"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "63a9a8414d26b0a13dc5b6e28ca49ff0b70731260d103ddd502b76192a3ae2a2",
"md5": "cd31f12d34157feac14bc3d1ea849f10",
"sha256": "2a8af7fd8ef7255a10e8268dea71727284d0fbb64e3c13c446f24acaf61a2e31"
},
"downloads": -1,
"filename": "sendgrowl-0.73-py3-none-any.whl",
"has_sig": false,
"md5_digest": "cd31f12d34157feac14bc3d1ea849f10",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.0",
"size": 34920,
"upload_time": "2025-02-03T03:16:39",
"upload_time_iso_8601": "2025-02-03T03:16:39.232913Z",
"url": "https://files.pythonhosted.org/packages/63/a9/a8414d26b0a13dc5b6e28ca49ff0b70731260d103ddd502b76192a3ae2a2/sendgrowl-0.73-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ad56b64ebb0a598a0bbd7e888d808189fe1baeb89d65a7bf7fe5a7c96ddd34cb",
"md5": "851f651ea124180ecde811f51ca40591",
"sha256": "7cf038afe3438eb48619822452bb7dbe93ca8fae3b60df69b23bb41de1a4eb85"
},
"downloads": -1,
"filename": "sendgrowl-0.73.tar.gz",
"has_sig": false,
"md5_digest": "851f651ea124180ecde811f51ca40591",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.0",
"size": 38427,
"upload_time": "2025-02-03T03:16:41",
"upload_time_iso_8601": "2025-02-03T03:16:41.728803Z",
"url": "https://files.pythonhosted.org/packages/ad/56/b64ebb0a598a0bbd7e888d808189fe1baeb89d65a7bf7fe5a7c96ddd34cb/sendgrowl-0.73.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-03 03:16:41",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "cumulus13",
"github_project": "sendgrowl",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "sendgrowl"
}