Skip to main content

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

Hadi Cahyadi

Buy Me a Coffee

Donate via Ko-fi

Support me on Patreon

Metadata

Release files for sendgrowl 0.73

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sendgrowl 0.73
File Size Uploaded
sendgrowl-0.73.tar.gz 38.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sendgrowl 0.73
File Interpreter ABI Platform
sendgrowl-0.73-py3-none-any.whl Python 3 none any Details

Total release size: 73.3 kB

Release files / sendgrowl-0.73.tar.gz

Download URL sendgrowl-0.73.tar.gz
Size 38.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7cf038afe3438eb48619822452bb7dbe93ca8fae3b60df69b23bb41de1a4eb85
BLAKE2b-256 checksum
How to use checksums
ad56b64ebb0a598a0bbd7e888d808189fe1baeb89d65a7bf7fe5a7c96ddd34cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / sendgrowl-0.73-py3-none-any.whl

Download URL sendgrowl-0.73-py3-none-any.whl
Size 34.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a8af7fd8ef7255a10e8268dea71727284d0fbb64e3c13c446f24acaf61a2e31
BLAKE2b-256 checksum
How to use checksums
63a9a8414d26b0a13dc5b6e28ca49ff0b70731260d103ddd502b76192a3ae2a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.73 This release

2 release files

0.72

2 release files

0.71

2 release files

0.69

2 release files

0.68

2 release files

0.61

2 release files

0.49

3 release files

0.45

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page