A database-abstraction package?

Brian Kelley bkelley at wi.mit.edu
Sun Feb 29 18:46:44 EST 2004


Thomas Weholt wrote:
> Hi,
> 
> I need to make my project work with SQLite, MySQL and Postgresql, but I
> don't want to create and maintain a set of table-schemas for all of them.
> I'd rather specify this information in a common format and then let some
> piece of code generate and run the sql-statements to create the tables in
> the database. When I insert, update or delete records I also want a common
> interface. In my project I use alot of auto-increment primary keys so this
> would have to be handled as well.
> 
You might consider sqlobject

http://sqlobject.org/

I think it will handle what you want, I have used it with some success.

Brian




More information about the Python-list mailing list