Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 2.03 KB

README.md

File metadata and controls

32 lines (24 loc) · 2.03 KB

Hexlet tests and linter status:

Actions Status Actions Status Maintainability Test Coverage

Description

A difference calculator is a program that shows the differences between two data structures (input format - yaml, json). This is a popular task, for which there are many online services, such as jsondiff.

Installation

pip install --user git+https://github.com/sayat-a/difference-calculator

Usage:

gendiff [-h] [-f FORMAT] first_file second_file

Demonstration

Comparing JSON files (flat file):

asciicast

Comparing YAML files (flat file):

asciicast

Comparing JSON files (nested file):

asciicast

Comparing YAML files (nested file):

asciicast

Comparing JSON files in --format PLAIN:

asciicast

Comparing JSON files in --format JSON:

asciicast