-
Silvana
Hello, Can someone recommend me a Python3 library that could allow me to initialize an XMPP connection in the background and send XMPP messages whenever I want to? I would like to do something like this: client = ClientXMPP(jid, password) client.connect() /// somewhere else in my code... client.send_message(..) I tried with Slixmpp but when I call process(), my program gets stuck there and does not continue.
-
eta
python-nbxmpp or the aioxmpp one?
-
Silvana
I'm going to take a look, is for a Flask website. Thank you
-
Zash
I imagine it would need to be hooked into the Flask main loop somehow.
-
lovetox
then aioxmpp, nbxmpp does need its own mainloop
-
lovetox
or rather a GLib mainloop not a python