XMPP server for Python [closed]

2019-03-13 17:16发布

I am interested in developing a chat engine using XMPP and I want to use Python for my web development. Although, XMPP will be independent of this Python work but in case I want to write wrapper, then I will have to use that language.

So, I want to know which XMPP server (preferably open source) should I go with?

And which python libraries are good for using XMPP service?

标签: python xmpp
1条回答
beautiful°
2楼-- · 2019-03-13 17:22

The only (maintained) effort for an XMPP server is wokkel which builds upon Twisted. That said, wokkel lacks a ton of features that other non-python servers give. Additionally wokkel aims at providing the library to build a server and it would require a non-trivial amount of effort to actually build a fully functional XMPP server providing support for common XEPs.

On the good side: You don't really need a python server. You can use a ejabberd, tigase, openfire (name here your preference). You can write all your custom logic/protocols and components in python and connect them seamlessly to that server. For that particular use wokkel and Twisted are an excellent choice. Another great library is SleekXMPP.

查看更多
登录 后发表回答