A simple bot which exposes HTTP verbs over XMPP. Currently only
really useful for HTTP debugging. I plan to add a few new features as time permits:
- Adding a custom header to the request for user agent detection
- Allow sending of data for relevant methods
- Provide access to headers as well as content
- Provide a mechanism to register processors for responses, for instance validation routines or test searches
You’ll need a couple of external libraries to make everything work correctly and deal with the low level XMPP bits.
- xmpppy – http://xmpppy.sourceforge.net/
- JabberBot – http://thpinfo.com/2007/python-jabberbot/
- Python REST Client – http://code.google.com/p/python-rest-client/
Either place these in the same directory as the included files or elsewhere on your Python Path.
- Specify your username and password in the settings.py file.
- Run the daemon.py command without any arguments.
python daemon.py
XMPPY is Copyright Alexey Nezhdanov <[email protected]> and released under the GNU General Public License.
The JabberBot framework is Copyright © 2007 Thomas Perl <[email protected]> and released under the GNU General Public License.
The Python REST Client is released under the terms of the GNU General Public License.
This code is licenced under the GNU General Public License. http://www.gnu.org/licenses/gpl.html