ODM2 / ODM2

An information model for spatially-discrete, feature-based earth observations.
Other
58 stars 18 forks source link

Create UML diagrams directly from Python/SQLAlchemy code in ODM2 API #55

Open aufdenkampe opened 10 years ago

aufdenkampe commented 10 years ago

On our ODM2 conference call today we discussed the huge benefits of creating UML diagrams directly from the API code that Jeff's group has been working on. Here are links to a few approaches to do that directly from Python:

https://pypi.python.org/pypi/sadisplay https://bitbucket.org/estin/sadisplay/wiki/Home

http://www.sqlalchemy.org/trac/wiki/UsageRecipes/SchemaDisplay

aufdenkampe commented 10 years ago

At the end of our discussion on Friday about ODM2 naming conventions (partially recorded in Issue #19), @sreeder and @Castronova mentioned that they use sqlacodegn Python library (https://pypi.python.org/pypi/sqlacodegen) to help with the Relational to Object mapping for their API effort. This should make it even easier to use SQLAlchemy & sadisplay to automatically generate UML diagrams for all the work that is being done under the ODM2 API effort.