Graphtage is a command-line utility and underlying library for semantically comparing and merging tree-like structures, such as JSON, XML, HTML, YAML, plist, and CSS files. Its name is a portmanteau of “graph” and “graftage”, the latter being the horticultural practice of joining two trees together such that they grow as one. Graphtage performs an analysis on an intermediate representation of the trees that is divorced from the filetypes of the input files. This means, for example, that you can diff a JSON file against a YAML file. Also, the output format can be different from the input format(s). By default, Graphtage will format the output diff in the same file format as the first input file. But one could, for example, diff two JSON files and format the output in YAML. There are several command-line arguments to specify these transformations, such as --format; please check the --help output for more information.

Features

  • Command Line Usage
  • Graphtage performs an analysis on an intermediate representation of the trees that is divorced from the filetypes of the input files
  • The output format can be different from the input format(s)
  • Documentation available
  • Examples available
  • Graphtage tries to match all possible pairs of elements in a dictionary

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

GNU Library or Lesser General Public License version 3.0 (LGPLv3)

Follow Graphtage

Graphtage Web Site

Other Useful Business Software
Orchestrate Your AI Agents with Zenflow Icon
Orchestrate Your AI Agents with Zenflow

The multi-agent workflow engine for modern teams. Zenflow executes coding, testing, and verification with deep repo awareness

Zenflow orchestrates AI agents like a real engineering system. With parallel execution, spec-driven workflows, and deep multi-repo understanding, agents plan, implement, test, and verify end-to-end. Upgrade to AI workflows that work the way your team does.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Graphtage!

Additional Project Details

Programming Language

Python

Related Categories

Python Libraries

Registered

2024-05-20