2009-06-03 22:56:51 +00:00
|
|
|
"""
|
|
|
|
SleekXMPP: The Sleek XMPP Library
|
2010-03-26 21:32:16 +00:00
|
|
|
Copyright (C) 2010 Nathanael C. Fritz
|
2009-06-03 22:56:51 +00:00
|
|
|
This file is part of SleekXMPP.
|
|
|
|
|
2010-07-20 15:19:49 +00:00
|
|
|
See the file LICENSE for copying permission.
|
2009-06-03 22:56:51 +00:00
|
|
|
"""
|
2010-10-06 18:03:19 +00:00
|
|
|
|
2013-08-10 17:34:18 +00:00
|
|
|
import logging
|
|
|
|
if hasattr(logging, 'NullHandler'):
|
|
|
|
NullHandler = logging.NullHandler
|
|
|
|
else:
|
|
|
|
class NullHandler(logging.Handler):
|
|
|
|
def handle(self, record):
|
|
|
|
pass
|
|
|
|
logging.getLogger(__name__).addHandler(NullHandler())
|
|
|
|
del NullHandler
|
|
|
|
|
|
|
|
|
2010-10-06 18:03:19 +00:00
|
|
|
from sleekxmpp.stanza import Message, Presence, Iq
|
2012-07-24 04:45:24 +00:00
|
|
|
from sleekxmpp.jid import JID, InvalidJID
|
2013-07-30 18:46:04 +00:00
|
|
|
from sleekxmpp.xmlstream.stanzabase import ET, ElementBase, register_stanza_plugin
|
2010-10-06 18:20:32 +00:00
|
|
|
from sleekxmpp.xmlstream.handler import *
|
2010-10-06 18:03:19 +00:00
|
|
|
from sleekxmpp.xmlstream import XMLStream, RestartStream
|
|
|
|
from sleekxmpp.xmlstream.matcher import *
|
2013-08-06 22:54:02 +00:00
|
|
|
from sleekxmpp.basexmpp import BaseXMPP
|
|
|
|
from sleekxmpp.clientxmpp import ClientXMPP
|
|
|
|
from sleekxmpp.componentxmpp import ComponentXMPP
|
2011-04-08 20:39:39 +00:00
|
|
|
|
2011-08-25 04:54:36 +00:00
|
|
|
from sleekxmpp.version import __version__, __version_info__
|