XMPP server for Python [closed]

2019-03-13 17:22发布

问题:

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?

回答1:

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.



标签: python xmpp