BOUML works wonderfully, except the default indentation of docstrings.<div><br></div><div>So, if we get PyUMLGraph to reverse engineer Python code, then we have a good Python &lt;=&gt; UML &lt;=&gt; Python path.</div><div>
<br></div><div>cool :))<br><br><div class="gmail_quote">On Mon, Mar 9, 2009 at 11:34 AM, Vishal <span dir="ltr">&lt;<a href="mailto:vsapre80@gmail.com">vsapre80@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<div><br></div><div>I found out that BOUML now generates python code !!</div><div><br></div><div>Also there&#39;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 &lt;=&gt; Python &lt;=&gt; 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"><div class="im">On Mon, Mar 9, 2009 at 10:33 AM, Anand Balachandran Pillai <span dir="ltr">&lt;<a href="mailto:abpillai@gmail.com" target="_blank">abpillai@gmail.com</a>&gt;</span> wrote:<br>

</div><div><div></div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Sun, Mar 8, 2009 at 3:25 AM, Vishal &lt;<a href="mailto:vsapre80@gmail.com" target="_blank">vsapre80@gmail.com</a>&gt; wrote:<br>


</div><div>&gt; Hi,<br>
&gt; Does anyone know of a tool that can produce Python code from UML diagrams?<br>
&gt; Is something of this sort being added to NetBeans?<br>
&gt; Or is it that the ease of programming in Python acts as a deterrent in the<br>
&gt; way of having to create something in UML and then covert that model into<br>
&gt; Python.<br>
&gt; it would be good to have a tool of that sort (Python to UML and UML to<br>
&gt; 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 &amp; 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><br>
&gt; Also, is there a way to find Python call graphs (something like Doxygen),<br>
&gt; but not just the typical static code structure...instead something that can<br>
&gt; tell execution paths while a certain function is called.<br>
&gt; I came across &#39;pycallgraph&#39;. Its good. except two things, its slow for big<br>
&gt; projects, and it goes all the way into tracing every single call...that<br>
&gt; means if I am using a COM library underneath, it traces that as well. What I<br>
&gt; was interested in is figuring out only part of the trace...may be specifying<br>
&gt; exclusions in the trace tree.<br>
<br>
</div>You might also want to look at Stani&#39;s Python Editor (SPE) which<br>
produces UML diagrams directly from Python code without needing<br>
any other tool or plugin.<br>
<div><br>
<br>
&gt; Thanks and best regards,<br>
&gt; Vishal Sapre<br>
&gt;<br>
&gt;<br>
</div><div>&gt; _______________________________________________<br>
&gt; BangPypers mailing list<br>
&gt; <a href="mailto:BangPypers@python.org" target="_blank">BangPypers@python.org</a><br>
&gt; <a href="http://mail.python.org/mailman/listinfo/bangpypers" target="_blank">http://mail.python.org/mailman/listinfo/bangpypers</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div>--<br>
<font color="#888888">-Anand<br>
</font><div><div></div><div>_______________________________________________<br>
BangPypers mailing list<br>
<a href="mailto:BangPypers@python.org" target="_blank">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></div></div><br><br clear="all"><br>-- <br>&quot;So say...Day by day, in every way, I am getting better, better and better !!!&quot;<br>&quot;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&quot;<br>

&quot;Diamond is another piece of coal that did well under pressure”<br>&quot;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.....&quot;<br>


</div>
</blockquote></div><br><br clear="all"><br>-- <br>&quot;So say...Day by day, in every way, I am getting better, better and better !!!&quot;<br>&quot;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&quot;<br>
&quot;Diamond is another piece of coal that did well under pressure”<br>&quot;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.....&quot;<br>

</div>