pidgin privacy please is a pidgin plugin to stop spammers from annoying you. You can block messages from certain users, block messages from people who are not on your contact list, and suppress repeated authorization requests. Optionally, senders of blocked messages can be notified with an auto-reply.
python-jabberbot is a Jabber bot framework for Python that makes it easy to write simple Jabber bots. One can use these Jabber bots to provide information about running systems, to make Web sites interact with Jabber-enabled visitors, or notify the bot owner about updates or changes that are monitored with custom Python scripts.