Skip to content

App shows differences between two data structures (json, yaml)

Notifications You must be signed in to change notification settings

sayat-a/Difference-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

App shows differences between two data structures (json, yaml)

Resources

Stars

Watchers

Forks

Packages

No packages published