trailofbits/graphtage
Some data may be outdated — see provenance labels.
A semantic diff utility and library for tree-like files such as JSON, JSON5, XML, HTML, YAML, and CSV. observed · 2026-10-01
Health v2 · maintenance only
96/100
- Activity 96
- Release rhythm 95
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 7
- age_days: 2373
- days_rel: 34
- days_push: 26
- n_releases_24m: 2
Adoption not part of the score
2488 stars · 61 forks observed · 2026-10-01
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-10-01 · a761989e8d27
- registry_pypi: https://pypi.org/pypi/graphtage/json · fetched 2026-08-29 · 027bf56c1f28
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| trailofbits/graphtage | main | 96 |
For agents
markdown · JSON · MCP: product_card(name="trailofbits/graphtage")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem