Skip to main content

Growl

Growl is a Python interface for the Growl (GNTP) protocol. It can be used to build registration and notification packets for sending over a socket connection.

>>> from growl import Registration, Notification, GROWL_UDP_PORT
>>> from socket import socket, AF_INET, SOCK_DGRAM
>>> addr = ("localhost", GROWL_UDP_PORT)
>>> s = socket(AF_INET, SOCK_DGRAM)
>>> p = Registration()
>>> p.add_notification()
>>> s.sendto(p.payload(), addr)
>>>
>>> p = Notification()
>>> s.sendto(p.payload(), addr)

Installation

To install Growl, simply:

$ pip install growl

You should have either the open-source version of Growl (1.2.2) or the commercial version of Growl (2.1.2). In the Network pane of the Growl preferences, check both:

  • Listen for incoming notifications

  • Allow remote application registration

If you set a server password (which you should), include the password in all packets sent.

Contributions

Forked to Github from Rui Carmo’s netgrowl.py: https://the.taoofmac.com/space/projects/netgrowl

Ingmar J Stein (Growl Team) and John Morrissey both contributed to netgrowl.py

The goal of this fork is to provide compatability with both the commerical and open-source versions of Growl, improve PEP-8 support and encourage contributions by hosting on Github.

Metadata

Release files for Growl 0.7.1

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

Source distribution (sdist)

Source distribution for Growl 0.7.1
File Size Uploaded Provenance Actions
Growl-0.7.1.tar.gz 3.3 kB Without provenance Details for Growl-0.7.1.tar.gz

Release files / Growl-0.7.1.tar.gz

Download URL Growl-0.7.1.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
233a159cbb6e03a8430b32a0df7a3593a9347fb4bced1483a3deeabf337f09e3
BLAKE2b-256 checksum
How to use checksums
fb72bbc84819bcafa3d84509fe5d222ad493cc4e48046d1cda12c681ca47757b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for Growl 0.7.1

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.

Release history Release notifications | RSS feed

This release

0.7.1 This release

1 release file No provenance

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