Optionally, you can also use pyxtuml, which sorts the schema by key letter and association id, and works without the prebuilder:
pip install ply –user
pip install pyxtuml –user
Example usage on ooaofooa (which takes a few seconds to parse):
python -m bridgepoint.gen_sql_schema \
-o ooaofooa.schema.sql \
Note: the schema generator in pyxtuml ignores the “export directives” encoded in descriptions on classes and so on, so the resulting sql file may differ from other schema generators.