The question is not the same as What’s the best way to generate a UML diagram from Python source code?, but the other way around.
Topcoder UML tool automatically generates code in only Java or C#. Since I need to create a very depended data structure at a point, I am hesitant to turn to Java. I want to use Python. So:
-
Is there an UML-like tool that
automatically generates Python code
from your diagram? -
If there is, is it possible to generate it from the Topcoder UML tool?
-
Can you shortly compare the tools?
Enterprise Architect is able to generate python code code from UML diagrams.
It is also able to also perform some reverse engineering, and therefore maintain the two versions (UML and python) synchronized together.
However, I have never used it in that way, except for some small tests just to see it in action. I personally find productivity in Python so high, that even if I am really satisfied with EA, I prefer it just to document the design.