我知道有几个库可以连接到XMPP服务器,但是在某个地方用Python编写的XMPP服务器库吗?
A quick google search reveals:
http://code.google.com/p/pretzel/
An XMPP server written on the Twisted Python framework
http://code.google.com/p/pjabberd/
Jabber/XMPP Server in Python
Both seem a bit unmaintained, but you might be able to get them up and running.
It seems like that there is a new project on github:
An XMPP Server written in Python.
Personally I'm modifying it to provide an XMPP interface to the service I'm building, and I found it fairly easy to achieve this by modifying the "chat-server" example. You can write your own handlers for presence notification, roster requests, and other events.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.