A Python tool to maintain a modular package architecture.
Actively maintained. Last release 8 weeks ago, commits in 7 of the last 26 weeks. A safe choice.
pip install tachTach
Tach is a Python tool to enforce dependencies and interfaces, written in Rust.
Tach is inspired by the modular monolith architecture.
https://github.com/user-attachments/assets/11eec4a1-f80a-4f13-9ff3-91a9760133b6
Tach can enforce:
- 📋 Imports only come from declared dependencies
- 🤝 Cross-module calls use the public interface
- ⛓️💥 No cycles in the dependency graph
Tach is:
- 🌎 Open source
- 🐍 Installable via pip
- 🔧 Able to be adopted incrementally
- ⚡ Implemented with no runtime impact
- ♾️ Interoperable with your existing systems
