orchestrata_tools.dependency

Reference › orchestrata_tools › dependency

Dependency analysis: import graphs and cycle detection.

The dependency package analyses imports between the project's own modules. import_graph builds forward and reverse edges from an ASTCodebase and reports fan-in and fan-out. cycle_detector runs a depth-first search over that graph to list import cycles. The package __init__ re-exports both classes. Start with ImportGraph.

3 modules, 106 lines of code.

Modules

Module Summary LOC
__init__ Dependency analysis: import graphs and cycle detection. 6
cycle_detector Circular import detection using DFS. 45
import_graph Internal dependency graph builder. 55

Dependency diagram

Package dependency diagram orchestrata_tools.dependency