Either sqllite3 or a Relational Mapper object, such as SQLAlchemy .
sqllite3 very easy to configure and works just like a SQL database (for prototyping purposes, of course, not for production).
SQLAlchemy is a great way to work with a real database engine (which could be sqllite3), as if it were a collection of objects. For example, creating a table looks something like this (from the tutorial ):
from sqlalchemy import * db = create_engine('sqlite:///tutorial.db') metadata = BoundMetaData(db) users = Table('users', metadata, Column('user_id', Integer, primary_key=True), Column('name', String(40)), Column('age', Integer), Column('password', String), ) users.create()
Similarly, it has simple functions and classes that allow you to insert elements, create relationships, and everything else you can do in the database.
ETA: I understand that you are not actually using Python with the database. However, working with ORM, such as SQLAlchemy, allows you to treat relational data as objects. It's about as simple as any form of prototyping, with the added benefit of being closer to what you end up doing.
source share