simple send notify to growl with multiple host and port
Project description
sendgrowl
Send notification to growl with multiple host and port
Installing
Install and update using pip:
$ pip install sendgrowl
Example
>>> 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
$ 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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sendgrowl-0.73.tar.gz
(38.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
sendgrowl-0.73-py3-none-any.whl
(34.9 kB
view details)
File details
Details for the file sendgrowl-0.73.tar.gz.
File metadata
- Download URL: sendgrowl-0.73.tar.gz
- Upload date:
- Size: 38.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cf038afe3438eb48619822452bb7dbe93ca8fae3b60df69b23bb41de1a4eb85
|
|
| MD5 |
851f651ea124180ecde811f51ca40591
|
|
| BLAKE2b-256 |
ad56b64ebb0a598a0bbd7e888d808189fe1baeb89d65a7bf7fe5a7c96ddd34cb
|
File details
Details for the file sendgrowl-0.73-py3-none-any.whl.
File metadata
- Download URL: sendgrowl-0.73-py3-none-any.whl
- Upload date:
- Size: 34.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a8af7fd8ef7255a10e8268dea71727284d0fbb64e3c13c446f24acaf61a2e31
|
|
| MD5 |
cd31f12d34157feac14bc3d1ea849f10
|
|
| BLAKE2b-256 |
63a9a8414d26b0a13dc5b6e28ca49ff0b70731260d103ddd502b76192a3ae2a2
|