adding a python sqlite3 interface