Skip to content

sidnnov/difference-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexlet tests and linter status:

Actions Status my-ci-app Maintainability Test Coverage Code style: black

Tutorial:


This utility allows you to detect exceptions for .json and .yaml files, as well as display the result in a convenient format. There is a format to choose from: 'stylish', 'plain', 'json'. The default format is 'stylish'.

Launch example:

gendiff -f json puthfile1.json puthfile2.json

Installation:


python 3.8+ is required to install hexlet-code. And also need poetry for the assembly of the project.

$ git clone git@github.com:sidnnov/python-project-50.git
$ poetry build

$ python3 -m pip install --user dist/*.whl

Make commands:

make install     # poetry install

make build       # poetry build

package-install  # python3 -m pip install --user dist/*.whl

Work examples:


Diff json:

asciicast

Diff yaml:

asciicast

Diff format 'stylish':

asciicast

Diff format 'plain':

asciicast

Diff format 'json':

asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published