Hi,<div><br></div><div>I found out that BOUML now generates python code !!</div><div><br></div><div>Also there's something called as LUMPY which generates runtime call graphs and shows execution paths. Need to try that out.</div>
<div><br></div><div>Came across many others:<br>Dia - for drawing UML diagrams, Dia2Code - for converting the DIA diagrams to code</div><div>PyNSource - reverse engineering python code into UML diagrams (not impressive...the images are not good)</div>
<div>Umbrello - This one looks real promising. Its available in the KDE for Windows distribution. Docs say it does full roundtrip UML <=> Python <=> UML</div><div>PyUML - is a plugging for Eclipse, built on PyDev and UML2Tools</div>
<div>PyUt - need to try this one out.</div><div><br></div><div>Thanks and best regards,</div><div>Vishal<br><br><div class="gmail_quote">On Mon, Mar 9, 2009 at 10:33 AM, Anand Balachandran Pillai <span dir="ltr"><<a href="mailto:abpillai@gmail.com">abpillai@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Sun, Mar 8, 2009 at 3:25 AM, Vishal <<a href="mailto:vsapre80@gmail.com">vsapre80@gmail.com</a>> wrote:<br>
</div><div class="im">> Hi,<br>
> Does anyone know of a tool that can produce Python code from UML diagrams?<br>
> Is something of this sort being added to NetBeans?<br>
> Or is it that the ease of programming in Python acts as a deterrent in the<br>
> way of having to create something in UML and then covert that model into<br>
> Python.<br>
> it would be good to have a tool of that sort (Python to UML and UML to<br>
> Python)?<br>
<br>
</div>For Python to UML try PyUMLGraph. It does the reverse engineering for you, i.e<br>
produces UML diagrams (remember, not call graphs but UML diagrams<br>
with relationships among classes/modules etc) by inspecting live<br>
Python objects.<br>
<br>
<a href="http://pypi.python.org/pypi/PyUMLGraph" target="_blank">http://pypi.python.org/pypi/PyUMLGraph</a><br>
<br>
I am not sure if the latter makes sense, since Python is<br>
meant for quick programming & development. How much<br>
does UML-code and UML-design help in Python projects ?<br>
I am not sure. I think it might even slow down the Python<br>
development cycle.<br>
<div class="im"><br>
> Also, is there a way to find Python call graphs (something like Doxygen),<br>
> but not just the typical static code structure...instead something that can<br>
> tell execution paths while a certain function is called.<br>
> I came across 'pycallgraph'. Its good. except two things, its slow for big<br>
> projects, and it goes all the way into tracing every single call...that<br>
> means if I am using a COM library underneath, it traces that as well. What I<br>
> was interested in is figuring out only part of the trace...may be specifying<br>
> exclusions in the trace tree.<br>
<br>
</div>You might also want to look at Stani's Python Editor (SPE) which<br>
produces UML diagrams directly from Python code without needing<br>
any other tool or plugin.<br>
<div class="im"><br>
<br>
> Thanks and best regards,<br>
> Vishal Sapre<br>
><br>
><br>
</div><div class="im">> _______________________________________________<br>
> BangPypers mailing list<br>
> <a href="mailto:BangPypers@python.org">BangPypers@python.org</a><br>
> <a href="http://mail.python.org/mailman/listinfo/bangpypers" target="_blank">http://mail.python.org/mailman/listinfo/bangpypers</a><br>
><br>
><br>
<br>
<br>
<br>
</div>--<br>
<font color="#888888">-Anand<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
BangPypers mailing list<br>
<a href="mailto:BangPypers@python.org">BangPypers@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/bangpypers" target="_blank">http://mail.python.org/mailman/listinfo/bangpypers</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>"So say...Day by day, in every way, I am getting better, better and better !!!"<br>"A Strong and Positive attitude creates more miracles than anything else. Because...Life is 10% how you make it, and 90% how you take it"<br>
"Diamond is another piece of coal that did well under pressure”<br>"Happiness keeps u Sweet, Trials keep u Strong, <br>Sorrow keeps u Human, Failure Keeps u Humble, <br>Success keeps u Glowing, But only God Keeps u Going.....Keep Going....."<br>
</div>