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