Python 2.6+/3.1+ XMPP Library
Find a file
Lance Stout 9fdd85d9f1 I've seen people complain about Sleek taking so long to disconnect.
Added logging to say that we're waiting for the server to end the stream
from its end.
2011-08-13 08:58:07 -07:00
conn_tests My hunch is that these should also be updated. 2011-01-23 02:08:29 +08:00
docs Start of docs for 1.0 2011-08-12 17:33:32 -07:00
examples Update XEP-0050 to use new IQ exceptions. 2011-08-13 00:10:06 -07:00
sleekxmpp I've seen people complain about Sleek taking so long to disconnect. 2011-08-13 08:58:07 -07:00
tests Add tests for setting a form's type to 'submit' or 'cancel'. 2011-08-13 01:28:18 -07:00
.gitignore Update .gitignore 2011-08-12 17:22:27 -07:00
ez_setup.py moved seesmic branch to trunk 2009-06-03 22:56:51 +00:00
INSTALL Updated the client and component examples. 2010-09-01 18:18:30 -04:00
LICENSE Fix typo. 2011-08-13 00:16:25 -07:00
README Actually, we can work around needing dateutil. 2011-08-04 20:22:07 -07:00
setup.py Include new XEP-0004 directories in setup.py 2011-08-12 23:56:14 -07:00
testall.py capture SIGHUP and SIGTERM (windows) and disconnect; also testall no longer loads string26 with python3 2010-10-20 17:30:12 -07:00

SleekXMPP is an XMPP library written for Python 3.1+ (with 2.6 compatibility).
Hosted at http://wiki.github.com/fritzy/SleekXMPP/

Featured in examples in XMPP: The Definitive Guide by Kevin Smith, Remko Tronçon, and Peter Saint-Andre
If you're coming here from The Definitive Guide, please read http://wiki.github.com/fritzy/SleekXMPP/xmpp-the-definitive-guide

Requirements:
We try to keep requirements to a minimum, but we suggest that you install http://dnspython.org although it isn't strictly required.
If you do not install this library, you may need to specify the server/port for services that use SRV records (like GTalk).
"sudo pip install dnspython" on a *nix system with pip installed.

SleekXMPP has several design goals/philosophies:
- Low number of dependencies.
- Every XEP as a plugin.
- Rewarding to work with.

The goals for 1.0 include (and we're getting close):
- Nearly Full test coverage of stanzas.
- Wide range of functional tests.
- Stanza objects for all interaction with the stream
- Documentation on using and extending SleekXMPP.
- Complete documentation on all implemented stanza objects
- Documentation on all examples used in XMPP: The Definitive Guide

1.1 will include:
- More functional and unit tests
- PEP-8 compliance
- XEP-225 support

Since 0.2, here's the Changelog:
- MANY bugfixes
- Re-implementation of handlers/threading to greatly simplify and remove bugs (no more spawning threads in handlers)
- Stanza objects for jabber:client and all implemented XEPs
- Raising XMPPError for jabber:client and extended errors in handlers
- Robust error handling and better insurance of iq responses
- Stanza objects have made life a lot easier!
- Massive audit/cleanup.

Credits
----------------
Main Author: Nathan Fritz fritz@netflint.net
Contributors: Kevin Smith & Lance Stout
Patches: Remko Tronçon

Dave Cridland, for his Suelta SASL library.


Feel free to add fritzy@netflint.net to your roster for direct support and comments.
Join sleekxmpp-discussion@googlegroups.com / http://groups.google.com/group/sleekxmpp-discussion for email discussion.
Join sleek@conference.jabber.org for groupchat discussion.