Installation¶
Simply use pip:
$ pip install gntplib
There are the following optional prerequisites.
pycrypto- to usegntplib.ciphersmodule for message encryptiontornado- to usegntplib.asyncmodule for asynchronous processing
Let’s send a simple notification to test installation.
Use gntplib.publish():
>>> import gntplib
>>> gntplib.publish('App', 'Event', 'Hello, Growl!')