trailofbits/graphtage
A semantic diff utility and library for tree-like files such as JSON, JSON5, XML, HTML, YAML, and CSV. observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 96
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2325
- days_rel: n/a
- days_push: 29
- n_releases_24m: 0
Adoption not part of the score
2478 stars · 56 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Graphtage is a command-line utility and Python library for semantically diffing and merging tree-structured files like JSON, YAML, XML, HTML, TOML, and CSV. It works on a file-format-agnostic intermediate representation, allowing cross-format diffs and customizable output formatting.
Use cases
- diff two files semantically
- compare a file against a yaml file
- show structured edits between xml documents
- merge changes between tree-like config files
- print a concise digest of edits between structured files
- reformat a diff output in a different file format
When to choose
- you need semantic diffs of structured data rather than line-based text diffs
- you want to compare files in different formats like JSON vs YAML
- you need a programmable diff library for tree structures in Python
When to avoid
- you only need plain line-by-line text diffing of source code
- you need to diff very large files where the tree-edit-distance computation is too slow
- you need binary or non-tree file format comparison
Facets
cli-tool · maturity stable
cli parser serialization developer-tools developer-tools files apis python cli cross-platform semantic-diff yaml xml tree-diff file-comparison command-line
2 sources
- readme: https://github.com/trailofbits/graphtage · fetched 2026-08-28 · a761989e8d27
- registry_pypi: https://pypi.org/pypi/graphtage/json · fetched 2026-08-29 · 027bf56c1f28
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| trailofbits/graphtage | main | 66 |
For agents
markdown · JSON · MCP: product_card(name="trailofbits/graphtage")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem