One of the UML tools for python includes the option of displaying the generated UML class diagrams (obtained by doing reverse engineering from the python code) in ASCII so that they can be easily integrated in the code itself as documentation. The Java Ascii Versatile Editor can be used to “beautify” the created UML ascii diagrams if needed.
Here is one example of what you can get:
More info in the tool page . And of course, if you want to know other textual-based approaches for UML check this full list of textual UML tools
If you enjoyed this post you can subscribe to this Software Modeling blog , follow me on twitter and/or subscribe to the portal’s mailing list . And if you really liked it help me pass it on to others by sharing the post using the links below. Don’t forget to check our consulting and sponsorship opportunities either!