root/xmppony/__init__.py @ 0:2b766784ee99

Revision 0:2b766784ee99, 1.8 kB (checked in by elghinn, 18 months ago)

* initial import

Line 
1# $Id: __init__.py,v 1.9 2005/03/07 09:34:51 snakeru Exp $
2
3"""
4All features of xmpppy library contained within separate modules.
5At present there are modules:
6simplexml - XML handling routines
7protocol - jabber-objects (I.e. JID and different stanzas and sub-stanzas) handling routines.
8debug - Jacob Lundquist's debugging module. Very handy if you like colored debug.
9auth - Non-SASL and SASL stuff. You will need it to auth as a client or transport.
10transports - low level connection handling. TCP and TLS currently. HTTP support planned.
11roster - simple roster for use in clients.
12dispatcher - decision-making logic. Handles all hooks. The first who takes control over fresh stanzas.
13features - different stuff that didn't worths separating into modules
14browser - DISCO server framework. Allows to build dynamic disco tree.
15filetransfer - Currently contains only IBB stuff. Can be used for bot-to-bot transfers.
16
17Most of the classes that is defined in all these modules is an ancestors of
18class PlugIn so they share a single set of methods allowing you to compile
19a featured XMPP client. For every instance of PlugIn class the 'owner' is the class
20in what the plug was plugged. While plugging in such instance usually sets some
21methods of owner to it's own ones for easy access. All session specific info stored
22either in instance of PlugIn or in owner's instance. This is considered unhandy
23and there are plans to port 'Session' class from xmppd.py project for storing all
24session-related info. Though if you are not accessing instances variables directly
25and use only methods for access all values you should not have any problems.
26
27"""
28
29import simplexml,protocol,debug,auth,transports,roster,dispatcher,features,browser,filetransfer,commands
30from client import *
31from protocol import *
Note: See TracBrowser for help on using the browser.