PyArchInsight

PyArchInsight Used AI

1 devlog
4m
Created by GiantNut

PyArchInsight is a powerful command-line utility designed to help developers understand and visualize the architectural structure of Python codebases. It scans project directories to identify module-level dependencies, class relationships, and function call graphs, presenting this information in an easily digestible format. The tool can generate various insights, including detecting circular imports, identifying isolated components, and mapping the overall flow of control within an application. Its primary goal is to aid in code review, refactoring efforts, and onboarding new team members by providing a clear, interactive overview of complex Python projects directly in the terminal or as exportable graph definitions (e.g., Graphviz DOT). This makes it easier to pinpoint architectural smells and improve maintainability.

Timeline

Version 1 of PyArchInsight is finally out! I'm really excited that you can now generate module dependency graphs, and it even flags those pesky circular imports, all exportable to Graphviz DOT from the command line. Getting the DOT export just right was a fun little challenge, but seeing the whole project structure laid out makes it totally worth it.

Update attachment