writing IM bots

A

Amit Khemka

Hello,
I am trying to write an IM Bot, which automatically replies to a
message, in Python.
I was wondering If there are python modules for connecting to Yahoo!,
msn networks ...
ideally I would like to have a multithreaded module.

This is one I found for msn, if anyone has used it please comment,
- http://users.auriga.wearlab.de/~alb/msnlib/

cheers,
amit.


--
 
J

Josef Meile

Hi,
I am trying to write an IM Bot, which automatically replies to a
message, in Python.
I was wondering If there are python modules for connecting to Yahoo!,
msn networks ...
ideally I would like to have a multithreaded module.

This is one I found for msn, if anyone has used it please comment,
- http://users.auriga.wearlab.de/~alb/msnlib/
I haven't used that, but it looks cool ;-)

If you are interested in yahoo, then here is another python application
to connect to the yahoo messenger:

http://www.nongnu.org/curphoo/

Again, I haven't tried that one, but perhaps you could just test it.

I have other links to tools based in the libyahoo2[1] package, but
unfortunately all are written in C or java. Perhaps you could find a
python wrapper in google.

Regards,
Josef


[1] http://libyahoo2.sourceforge.net
 
D

David Wahler

Amit said:
Hello,
I am trying to write an IM Bot, which automatically replies to a
message, in Python.
I was wondering If there are python modules for connecting to Yahoo!,
msn networks ...
ideally I would like to have a multithreaded module.

I have found that the best solution is to use the Jabber protocol via
xmpppy (http://xmpppy.sourceforge.net/). It's very easy to use; once
you have it working with Jabber, you can use a Jabber to Yahoo/MSN/AIM
gateway to access all the different networks without writing code for
each one.

-- David
 
J

Jarek Zgoda

David Wahler napisa³(a):
I have found that the best solution is to use the Jabber protocol via
xmpppy (http://xmpppy.sourceforge.net/). It's very easy to use; once
you have it working with Jabber, you can use a Jabber to Yahoo/MSN/AIM
gateway to access all the different networks without writing code for
each one.

Don't use this library, avoid it if you can. It is not actively
maintained and has numerous bugs. Guys from Gajim team can tell you
that. Patches are not even reviewed.

Use pyxmpp (http://pyxmpp.jabberstudio.org/) -- author is JSF member and
knows XMPP like noone.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,045
Latest member
DRCM

Latest Threads

Top