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/removing users?
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Evil ctypes hack in python
- Correctly parse PDF paragraphs with Python
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/
You need to have an implementation of XEP-0077: In-Band Registration. xmpppy does appear to support this: