Also included is also my xbmceulator.py module. It is a simple module that stubs out the xbmc, xbmcplugin, and xbmcgui functions that I use in my plugins. This enables me to execute my plugin both from the command line and from within the XBMC interface without having to change the code each time. When troubleshooting from the command line, the standin xbmc modules simply print the list items to the console, so I can verify my URLs are being scraped correctly by using simple print statements.
The plugins and the scripts can be found here:
git clone git://github.com/jbeluch/xbmc-video-plugin-generator.git
There's more detailed information in the README on the github page.