 <p><code>sqllite3</code> will probably be the easiest way forward. It's lightweight and doesn't need to be installed by users. To access it though, consider using an ORM (Object Relational Mapper) to simplify things. <a href="http://www.sqlalchemy.org/" rel="nofollow">SQL Alchemy</a> and <a href="https://storm.canonical.com/" rel="nofollow">Storm</a> are both good tools.</p> <p>An ORM deals with the nitty-gritty of writing SQL code and so forth. If you want to hop between databases, it's often just a matter of changing a single line of code.</p>