?

Log in

No account? Create an account

xmpppy vs pyxmpp

« previous entry | next entry »
Jun. 16th, 2007 | 10:08 pm

There was little documentation about what the differences are between the two of the python xmpp (jabber) libraries. So here's a few notes.

pyxmpp seems to more complete (or its at least slightly easier to browse the API docs to see what features it supports) but has more requirements for installation. It needs libxml2 and its python bindings, dnspython and M2Crypto.

Xmpppy will work with nothing extra installed, though will take advantage of dnspython or pydns if available. xmpppy can be told to use the ssl support in python socket.

Pyxmpp also has a fair number of unittests, whereas I couldn't find any testing code for xmpppy. On the other hand installing pyxmpp required using make (to get to those tests), xmpppy just needs distutils. (And can be easily tweaked to use setuptools).

Both of them seem to support everything needed for the core jabber/xmpp protocols (and many of the common additional extensions).

Since I wanted something that'll run on my cell phone as well as larger computers, I went with the the lighter-weight package, xmpppy. Especially after I stumbled on a more thorough introduction for xmpppy at xmpppy-guide.berlios.de/

Link | Leave a comment | Share

Comments {2}

Hey hi

from: baboonlogic
date: Sep. 23rd, 2007 06:04 pm (UTC)
Link

Nice journal. Why don't you allow openid in the comments section? I had to register just to leave a comment.

Anyhow, I am planning to write a googletalk bot for fun and was looking around for good jabber libraries. Thanks for the round up. Out of curiosity, what did you do or are planning to do with xmpppy. Is it be something open source?

Reply | Thread

laurentfashion

Re: Hey hi

from: laurentfashion
date: Jun. 27th, 2010 11:19 am (UTC)
Link

Well done!

Reply | Parent | Thread