[Twisted-Python] MSN client code preview
![](https://secure.gravatar.com/avatar/9bd49d5d6e7a2e7c0eb54474dd288526.jpg?s=120&d=mm&r=g)
Hi all, I did some heavy refactoring on my python MSN code this weekend. If anyone is interested in taking a sneak preview at the code (and comment on the API, etc), feel free to download some code at: http://ivo.freezope.org/pymsn200203250.tgz There's no docs (except for an msn protocol description), but there are two sample programs included: 'client.py' which is a very simple gtk/glade interface, and 'msntxttest.py' which basically echoes back anything that's sent to the client. The code is at this moment still very incomplete, and still needs loads of work, but you should be able to login using an existing msn handle/password, and send/receive messages. At this moment, I've only tested with everybuddy at the other end of the session - it may be that MS's msn client sends more noise that confuses the clients - I'll test this later. Patches, remarks, suggestions are welcome. Cheers, Ivo (VladDrac @ OPN) -- Drs. I.R. van der Wijk -=- Brouwersgracht 132 Amaze Internet Services V.O.F. 1013 HA Amsterdam, NL -=- Tel: +31-20-4688336 Linux/Web/Zope/SQL/MMBase Fax: +31-20-4688337 Network Solutions Web: http://www.amaze.nl/ Consultancy Email: ivo@amaze.nl -=-
![](https://secure.gravatar.com/avatar/e1554622707bedd9202884900430b838.jpg?s=120&d=mm&r=g)
Hi ivo: I'd like to create a mechanism for making plugins (registered in plugins.tml) for twisted.im... it seems like wasted effort to develop an MSN-specific client, when we're working on a "universal messaging" client ourselves to demo Twisted's capabilities. I realize that the IM code is not exactly "mature" at this point :-) but it does have some design ideas that I'd really like others to adopt; such as making a standard, pluggable interface for loading PB clients, similar to the way that mktap and coil load PB services. On Sun, 2002-03-24 at 18:09, Ivo van der Wijk wrote:
![](https://secure.gravatar.com/avatar/9bd49d5d6e7a2e7c0eb54474dd288526.jpg?s=120&d=mm&r=g)
On Sat, Mar 30, 2002 at 02:03:31AM -0600, Glyph Lefkowitz wrote:
I'd be definately interested in those ideas - I'm trying to write my code in a generic way, but due to the nature of MSN, I can't put everything in a single layer (there are multiple connections involved, that are created on the fly, etc, and the main connection may change as well) Do you have any docs on this? Cheers, Ivo -- Drs. I.R. van der Wijk -=- Brouwersgracht 132 Amaze Internet Services V.O.F. 1013 HA Amsterdam, NL -=- Tel: +31-20-4688336 Linux/Web/Zope/SQL/MMBase Fax: +31-20-4688337 Network Solutions Web: http://www.amaze.nl/ Consultancy Email: ivo@amaze.nl -=-
![](https://secure.gravatar.com/avatar/e1554622707bedd9202884900430b838.jpg?s=120&d=mm&r=g)
Hi ivo: I'd like to create a mechanism for making plugins (registered in plugins.tml) for twisted.im... it seems like wasted effort to develop an MSN-specific client, when we're working on a "universal messaging" client ourselves to demo Twisted's capabilities. I realize that the IM code is not exactly "mature" at this point :-) but it does have some design ideas that I'd really like others to adopt; such as making a standard, pluggable interface for loading PB clients, similar to the way that mktap and coil load PB services. On Sun, 2002-03-24 at 18:09, Ivo van der Wijk wrote:
![](https://secure.gravatar.com/avatar/9bd49d5d6e7a2e7c0eb54474dd288526.jpg?s=120&d=mm&r=g)
On Sat, Mar 30, 2002 at 02:03:31AM -0600, Glyph Lefkowitz wrote:
I'd be definately interested in those ideas - I'm trying to write my code in a generic way, but due to the nature of MSN, I can't put everything in a single layer (there are multiple connections involved, that are created on the fly, etc, and the main connection may change as well) Do you have any docs on this? Cheers, Ivo -- Drs. I.R. van der Wijk -=- Brouwersgracht 132 Amaze Internet Services V.O.F. 1013 HA Amsterdam, NL -=- Tel: +31-20-4688336 Linux/Web/Zope/SQL/MMBase Fax: +31-20-4688337 Network Solutions Web: http://www.amaze.nl/ Consultancy Email: ivo@amaze.nl -=-
participants (2)
-
Glyph Lefkowitz
-
Ivo van der Wijk