headstockXMPP implementation using the Kamaelia library | |
Download |
headstock Ranking & Summary
Advertisement
- License:
- BSD License
- Price:
- FREE
- Publisher Name:
- Sylvain Hellegouarch
- Publisher web site:
- http://trac.defuze.org/
headstock Tags
headstock Description
XMPP implementation using the Kamaelia library headstock is a Python library to handle the XMPP protocol and extensions.Example:headstock source code comes with a simple chat example that illustrates the usage of headstock. It's not GUI bound as it just demonstrates how to setup headstock.To run that example and assuming you've installed the requirements:# Registering a new user (if the server supports XEP-0077 of in-band registration)python simplechat.py -u username -p password -d XMPPdomain -a hostname:port --register # Signing inpython simplechat.py -u username -p password -d XMPPdomain -a hostname:portYou ought to install ejabberd before hand if you don't have an XMPP server at hand. I run it as a regular user in my home directory.You might want to try to connect to Google Talk:python simplechat.py -u gmail_user -p gmail_password -d gmail.com -a talk.google.com:5222 --usetlsTo send a message to a contact type in the console:contact_email a message Requirements: · Python · bridge · Axon · Kamaelia
headstock Related Software