Hudson River Trading

Building a Dependency Graph of Our Python Codebase

Jun 5, 2023ndepalo
Building a Dependency Graph of Our Python Codebase
SummaryAI, from the source post

Developed and deployed 'Tangle Tools', a toolkit for analyzing the dependency graph of the Python codebase. This toolkit parses Python source code using the `ast` library, parallelizes parsing with `concurrent.futures`, uses `networkx` for graph algorithms (specifically flow algorithms), and `libcst` for automated source code refactoring. It provides command-line and browser interfaces for users to discover, navigate, and refactor dependencies, and includes dependency validation rules checked in CI.

More from the Python Lazy Imports trail