@carlton nanodjango is good for this - configure with Django(), define models, just don't call app.run().