On Mon, Mar 9, 2009 at 10:39 AM, Banibrata Dutta <banibrata.du...@gmail.com> wrote: > > On Mon, Mar 9, 2009 at 10:33 AM, Anand Balachandran Pillai > <abpil...@gmail.com> wrote: >> >> On Sun, Mar 8, 2009 at 3:25 AM, Vishal <vsapr...@gmail.com> wrote: >> > Hi, >> > Does anyone know of a tool that can produce Python code from UML >> > diagrams? >> > Is something of this sort being added to NetBeans? >> > Or is it that the ease of programming in Python acts as a deterrent in >> > the >> > way of having to create something in UML and then covert that model into >> > Python. >> > it would be good to have a tool of that sort (Python to UML and UML to >> > Python)? >> >> For Python to UML try PyUMLGraph. It does the reverse engineering for >> you, i.e >> produces UML diagrams (remember, not call graphs but UML diagrams >> with relationships among classes/modules etc) by inspecting live >> Python objects. >> >> http://pypi.python.org/pypi/PyUMLGraph > > Is the project is dead and gone! Atleast, the project URL > (http://www.pobox.com/~adamf/software/PyUMLGraph/) seems to be.
Yes, the main project site seems to have disappeared. The new project URL is http://adamfeuer.com/~adamf/software/PyUMLGraph/ but it led me to some parking page. See if you have luck with it. If you don't you can download the package from this mirror site. http://cvsup1.theplanet.com/distfiles/PyUMLGraph-0.1.10.tar.gz For good measure, I have taken a backup on my own site here. http://harvestmanontheweb.com/programming/PyUMLGraph-0.1.10.tar.gz >> >> I am not sure if the latter makes sense, since Python is >> meant for quick programming & development. How much >> does UML-code and UML-design help in Python projects ? >> I am not sure. I think it might even slow down the Python >> development cycle. > > Reverse engineering complex but well-structured/designed Python code, that > has stuck to some "by-the-book" OOAD, might make it easier for new enggs > taking it up for sustenence / enhancement. >> >> > Also, is there a way to find Python call graphs (something like >> > Doxygen), >> > but not just the typical static code structure...instead something that >> > can >> > tell execution paths while a certain function is called. >> > I came across 'pycallgraph'. Its good. except two things, its slow for >> > big >> > projects, and it goes all the way into tracing every single call...that >> > means if I am using a COM library underneath, it traces that as well. >> > What I >> > was interested in is figuring out only part of the trace...may be >> > specifying >> > exclusions in the trace tree. >> >> You might also want to look at Stani's Python Editor (SPE) which >> produces UML diagrams directly from Python code without needing >> any other tool or plugin. >> > > -- > regards, > Banibrata > http://www.linkedin.com/in/bdutta > > _______________________________________________ > BangPypers mailing list > BangPypers@python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- -Anand _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers