A simple single-file database class for Python