I've pushed up my Python Psycopg2 database wrapper to github after making some changes over lunch. I added “insert” and “dictinsert” methods that will automatically do insert statements based in either keyword arguments, or a dictionary of values passed. For example: