1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 """Convenience module containing most important objects from pyxmpp package.
20
21 Suggested usage::
22 import pyxmpp.all
23
24 (imports all important names into pyxmpp namespace)"""
25
26 """PyXMPP - Jabber/XMPP protocol implementation"""
27
28 __revision__="$Id: __init__.py 477 2004-12-29 13:25:42Z jajcus $"
29 __docformat__="restructuredtext en"
30
31 import pyxmpp
32
33 from pyxmpp.stream import Stream
34 from pyxmpp.streambase import StreamError,FatalStreamError,StreamParseError
35 from pyxmpp.streamtls import StreamEncryptionRequired,tls_available,TLSSettings
36 from pyxmpp.clientstream import ClientStream,ClientStreamError
37 from pyxmpp.client import Client,ClientError
38 from pyxmpp.iq import Iq
39 from pyxmpp.presence import Presence
40 from pyxmpp.message import Message
41 from pyxmpp.jid import JID,JIDError
42 from pyxmpp.roster import Roster,RosterItem
43 from pyxmpp.exceptions import *
44
45 for name in dir():
46 if not name.startswith("_") and name != "pyxmpp":
47 setattr(pyxmpp,name,globals()[name])
48
49
50