Skip to content

The result of the script is a line with the differences found in the files.

Notifications You must be signed in to change notification settings

SergeiNaum/Difference-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexlet tests and linter status:

Actions Status Maintainability Test Coverage .github/workflows/pyci-check.yml


Installation and first start

clone from repository - git clone git@github.com:SergeiNaum/python-project-50.git

installing dependencies - make install

build - make build

install package - make package-install

uninstall package - make package-uninstall


Instructions

Help Running :

gendiff -h

Running the script with the default settings:

gendiff <file_path1> <file_path2>

Running the script with the selection of the output format:

gendiff -f {stylish, plain, json} <file_path1> <file_path2>

Examples of the "Difference Calculator" script


Comparing two flat files: JSON.

asciicast


A comparison of two flat files: YAML(YML).

asciicast


Comparison of two files with recursive structure: YAML(YML) or JSON.

asciicast


Plain format - compare two files with recursive YAML(YML) or JSON structure.

asciicast


Output the result of the comparison in JSON format.

asciicast


About

The result of the script is a line with the differences found in the files.

Resources

Stars

Watchers

Forks

Packages

No packages published