Tach – Visualize and untangle your Python codebase

Tach Tach is a Python tool written in Rust that enforces dependencies and interfaces, inspired by modular monolith architecture. It can validate imports, cross-module calls, and prevent cycles in the dependency graph. Tach is open source, installable via pip, and has no runtime impact. It guides you through project setup with an interactive interface and enforces boundaries with a CLI command. The tool generates dependency graphs, supports public interfaces, deprecating dependencies, and more. Tach logs anonymized usage statistics and welcomes feedback. It is easily integrated with CI/CD, pre-commit hooks, and VS Code.

https://github.com/gauge-sh/tach

To top