As we discussed on the concall, take a look at pydoc to do automated code generation. Good sample is on [SO](http://stackoverflow.com/a/13050049/2797780) Another possibility is [sphinx](http://www.sphinx-doc.org/en/stable/). I'm not a pythonista, so perhaps asking in the Python channel in the [code community](http://community.emccode.com/) would be a good start.