8 Currently unreleased on PyPi_.
10 `git tagged` version and `master branch` should be stable though.
12 * Doc: https://kaliko.gitlab.io/sid/
13 * git: https://gitlab.com/kaliko/sid.git
14 * Issue: https://gitlab.com/kaliko/sid/-/issues
17 Get the source with git::
19 git clone git://git.kaliko.me/sid.git
21 Install/update master from git::
23 pip install -U git+https://gitlab.com/kaliko/sid.git@master#egg=sid
28 Here is a plain example::
30 #!/usr/bin/env python3
31 # -*- coding: utf-8 -*-
34 from sid.sid import MUCBot
35 from sid.ping import Ping
37 JID = 'bot@example.org'
38 ROOM = 'room@conf.example.org'
39 # Pay attention: if you join the room with the same account/nick,
40 # For instance with a regular interactive client, the bot will
41 # not answer you, it ignores its own messages for obvious reasons.
43 PASS = getpass.getpass(f'Password for "{JID}": ')
46 xmpp = MUCBot(JID, PASS, ROOM, NICK)
48 xmpp.register_bot_plugin(Ping)
50 # Connect to the XMPP server and start processing XMPP stanzas.
54 except KeyboardInterrupt:
55 xmpp.shutdown_plugins()
61 The current maintainer can be found on xmpp chat room <kaliko.me⊘conf.azylum.org>
62 or you can contact him by email/xmpp <kaliko⊘azylum.org>.
64 .. _PyPI: https://pypi.org