a simple python mysql db module from web_py db module