title: Send an xmpp message using a python library
body: <p>How can I send an XMPP message using one of the following Python libraries: wokkel, xmpppy, or jabber.py ?</p>
  
  <p>I think I am aware of the pseudo-code, but so far have not been able to get one running correctly.  This is what I have tried so far:</p>
  
  <ul>
  <li>Call some API and pass the servername and port number to connect to that server. </li>
  <li>Call some API and pass the username, password to construct a JID object.  </li>
  <li>Authenticate with that JID.      </li>
  <li>Construct a Message object and call some API and pass that message obj in the argument.</li>
  <li>Call some send API.</li>
  </ul>
  
  <p>It seems easy enough in concept, but the devil is somewhere in the details.  Please show a sample snippet if that's possible.</p>