26 Feb

How to send a message over Jabber from Python

Sending a message over Jabber from Python is a simple task. Let’s install Python Jabber/XMPP implementation called pyxmpp2:

python-pip install pyxmpp2

Now download client example:

wget https://raw.github.com/Jajcus/pyxmpp2/master/examples/send_message_client.py

And run:

python send_message_client.py

After you enter all data a message will be sent.



Leave a Reply

Your email address will not be published. Required fields are marked *