pynsource
« Back to VersTracker
Description:
Reverse engineer Python source code into UML
Type: Cask  |  Latest Version: 1.84@0  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: uml visualization python diagram reverse-engineering developer-tools
Install: brew install --cask pynsource
About:
Pynsource is a visualization tool that scans Python source code and automatically generates UML class diagrams. It helps developers understand complex codebases by providing a graphical representation of classes, their attributes, methods, and relationships. This reverse engineering capability makes it invaluable for analyzing legacy code or unfamiliar projects.
Key Features:
  • Automatic UML diagram generation from Python source code
  • Support for Python 2 and Python 3
  • Visual editing and diagram customization
  • Export diagrams to image formats (PNG, JPG)
  • Ability to parse and visualize entire project directories
Use Cases:
  • Understanding and documenting legacy Python codebases
  • Visualizing class relationships in complex software projects
  • Generating architectural documentation for team collaboration
  • Learning how a new codebase is structured
Alternatives:
  • PyReverse – Part of pylint, generates UML diagrams but with less visual editing capabilities
  • Code2Flow – Focuses on call graphs rather than class UML diagrams
  • VizTracer – Traces execution flow instead of static code structure visualization
Version History
Detected Version Rev Change Commit
Aug 5, 2025 2:22pm 1.84 0 VERSION_BUMP 6f0a8d1b
Jul 28, 2024 1:22pm 1.84 0 VERSION_BUMP d5b0a4f4