Creating database structures in a portable way

Samuel knipknap at gmail.com
Mon Sep 18 11:46:59 EDT 2006


Hi,

I am looking for a library that takes an XML file that specifies a
table structure, and generates the CREATE/DROP/ALTER SQL statements to
create the tables in the database.

In particular, I am trying to port a PHP application that currently
uses the AdoDB XML schema:

> http://phplens.com/lens/adodb/docs-datadict.htm#xmlschema

Is there a way to do something similar with the DB-API modules in
Python?

Thanks,
-Samuel




More information about the Python-list mailing list