Is there any python xmpp library that supports adding/removing users?

前端 未结 2 1684
甜味超标
甜味超标 2021-02-06 17:13

Right now I have a python class that creates user/deletes users by executing \"ejabberdctl register/unregister\" commands. Is there a python xmpp library that supports adding/re

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-06 17:44

    xmpppy looks to have all the various methods for manipulating a client's roster.

    Never used this myself, but the API documentation for the Roster class lists: delItem(self, jid) and setItem(self, jid) that remove and add the specified jid to the roster.

    http://xmpppy.sourceforge.net/

    http://xmpppy.sourceforge.net/apidocs/

提交回复
热议问题