Latest / Developer tools

Tach

github.com · Package · Active

Python tool that defines module boundaries and enforces dependency rules

Visit github.com ↗Share

Stars
2.9k
Forks
101
Open issues
45
Last commit
Releases
≥ 143
Found
2 years ago

GitHub figures as of . They are context, not a ranking.

Tach is a pip-installable tool for Python projects that lets you declare module boundaries and detect cross-module dependencies. It validates those dependencies against your rules and supports strict module interfaces through __all__, with its static analysis written in Rust and adoptable one module at a time.

Repository description on GitHub: “A Python tool to visualize + enforce dependencies, using modular architecture 🌎 Open source 🐍 Installable via pip 🔧 Able to be adopted incrementally - ⚡ Implemented with no runtime impact ♾️ Interoperable with your existing systems 🦀 Written in rust”

What it does

  • Declares module boundaries for a Python project
  • Detects cross-module dependencies automatically
  • Enforces declared dependency rules
  • Strict module interfaces through __all__

Good for

  • Enforce module boundaries in a Python monolith in CI
  • Adopt dependency rules one module at a time

Suits: Engineering teams maintaining large Python codebases.

What you can try

Install it with pip and run it on your Python project.

Install

pip install tach

Taken from the project’s README. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Tach on , when the1024 posted it to Show HN. The oldest published release on GitHub is 0.3.1, dated . Tach had been shipping tagged releases for 201 days before it was found. 143 releases or more have been published in total; the latest is v0.35.3 ().

Day-7 and day-30 updates

Day 7 4 releases shipped

  • 4 releases in the first 7 days: v0.10.2 (27 Aug 2024), v0.10.3 (28 Aug 2024), v0.10.4 (29 Aug 2024), v0.10.5 (29 Aug 2024)
  • Show HN discussion at check time: 68 points, 12 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 9 releases shipped

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (30 in total, busiest month 7). Based on the most recent releases on record.
  1. Repository created on GitHub: gauge-sh/tach
  2. Release 0.3.1
  3. Found: the1024 posted it to Show HN. Show HN
  4. Also: the1024 posted it to Show HN. Show HN
  5. Release v0.34.0
  6. Release v0.34.1
  7. Release v0.35.0
  8. Release v0.35.1
  9. Release v0.35.2
  10. Release v0.35.3
  11. Day-7 check recorded by Kip (details)
  12. Day-30 check recorded by Kip (details)

Showing the first and the 6 latest of 143 releases. All releases on GitHub

Quick answers

When was Tach released?
Its first tagged release on GitHub is dated 7 Feb 2024. Kip found it on Show HN on 26 Aug 2024.
Is Tach open source?
Its source is public on GitHub at gauge-sh/tach under the MIT licence.
What does Tach run on?
Command line.
Is Tach free?
It is open source, so the code is free to read and run; check the licence for terms.
Is Tach still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
Show HNlisting
official API record
GitHub repositorygauge-sh/tach
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-41359181. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.