Skip to content

Midnight95/difference-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Actions Status Maintainability Test Coverage Github Actions Status

Difference generator

Installation

Clone the repo and use Makefile or just install the package with pip using pip3 install git+https://github.com/Midnight95/python-project-50.git command.

Description

A Python package that allows users to compare differences between two files.

Supported file formats: yml and json

Usage

Show help: gendiff -h

Compare files: gendiff -f FORMAT first_file second_file

To choose formatters use -f --format flag with:plain stylish json

The default formatter is stylish

Usage examples

On linear yml files

asciicast

Nested json file

asciicast

Plain formatter

asciicast

Json formatter

asciicast

About

Simple python package to compare json or yml files

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published