web2py app for creating analysis scripts for Lagrange (Python version)