python interface to ejabberd