Python XMPP server library

杀马特。学长 韩版系。学妹 提交于 2019-12-19 04:21:45

问题


I know there are several libraries to connect to XMPP servers, but is there an XMPP server library somewhere written in Python?


回答1:


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.




回答2:


It seems like that there is a new project on github:

python-xmpp-server

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.



来源:https://stackoverflow.com/questions/2389751/python-xmpp-server-library

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!