Skip to main content

A Growl Notification Transport Protocol (GNTP) client library in Python

Project description

gntplib is a Growl Notification Transport Protocol (GNTP) client library in Python.

gntplib is tested on Python 2.7/3.2, Growl 1.3.3 and Growl for Windows 2.0.9.

Installation

Simply use pip:

$ pip install gntplib

There are the following optional prerequisites.

  • pycrypto - to use gntplib.ciphers module for message encryption

  • tornado - to use gntplib.async module for asynchronous processing

Documentation

Release version: http://packages.python.org/gntplib/ (ja)

Development version: http://gntplib.readthedocs.org/en/latest/

History

0.5 (2012-04-13)

  • Support SUBSCRIBE request.

    • Add gntplib.subscribe(), gntplib.Subscriber and gntplib.async.AsyncSubscriber.

  • Support Custom Headers and App-Specific Headers.

  • Deprecate gntplib.notify(), gntplib.Notifier() and gntplib.AsyncNotifier() in favor of gntplib.publish(), gntplib.Publisher() and gntplib.async.AsyncPublisher().

  • Deprecate gntplib.RawIcon and gntplib.async.AsyncIcon in favor of gntplib.Resource and gntplib.async.AsyncResource.

0.4 (2012-04-07)

  • Support password and encryption

  • Support Growl for Windows

0.3 (2012-03-30)

  • Support Python 3

0.2 (2012-03-18)

  • Add support for asynchronous processing built on Tornado.

    • Add gntplib.async.AsyncNotifier and gntplib.async.AsyncIcon.

  • Imporve usability of callback.

    • SocketCallback: Now SocketCallback is not a abstract class, but represents a socket callback. Its if_clicked, if_closed and if_timedout methods are replaced with on_click, on_close and on_timeout methods respectively, which can be set at the constructor.

    • Notifier.notify(): Redefine callback argument as for the callback to run after closing the connection with the GNTP server. Add gntp_callback argument for url callback (as string) and socket callback (as SocketCallback instance). Add context, context_type, on_click, on_close and on_timeout arguments to define a socket callback easily.

  • Remove callback argument from gntplib.notify().

  • Rename gntplib.Icon to gntplib.RawIcon.

0.1 (2012-03-12)

  • Initial release.

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

gntplib-0.66.2.tar.gz (145.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gntplib-0.66.2-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file gntplib-0.66.2.tar.gz.

File metadata

  • Download URL: gntplib-0.66.2.tar.gz
  • Upload date:
  • Size: 145.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for gntplib-0.66.2.tar.gz
Algorithm Hash digest
SHA256 e3aac251316327ff78bd6a514176f6b6e58abd02d9c386fcb43a9c9fd1849ccb
MD5 e7787cbb8221ba4d7c7f87c2e4d3e0a4
BLAKE2b-256 5826e690676c470d7971b7b6fe474a0edf8597d2013bf2bef99065afea9d0727

See more details on using hashes here.

File details

Details for the file gntplib-0.66.2-py3-none-any.whl.

File metadata

  • Download URL: gntplib-0.66.2-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for gntplib-0.66.2-py3-none-any.whl
Algorithm Hash digest
SHA256 69d7db69740f42a5ea84f78495bba435cc230a7bb9713806a83dbd6f54f02592
MD5 30dd9794d742201066c857c416571d8f
BLAKE2b-256 572947ec58ccae02ca3eb6b9cee4b1c9f892344c16898a216e1578957ca8ea26

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page