gendiff — a program that determines the difference between two data structures. Utility features:
- Support for different input formats: yaml, json,
- Generating a report in plain text, stylish, and json format.
Demo gendiff on asciinema with JSON-files:
Demo gendiff on asciinema with YAML-files:
Demo gendiff on asciinema with nested files:
Demo gendiff on asciinema with plain-format:
Final demo gendiff on asciinema:
Use the following commands to install gendiff:
make build
make package-install
make install
Use the following command to test the package:
make lint
$ gendiff -h
usage: gendiff [-h] [-f {stylish,plain,json}] first_file second_file
Generate diff
positional arguments:
first_file
second_file
optional arguments:
-h, --help show this help message and exit
-f {stylish,plain,json}, --format {stylish,plain,json}
set format of output (default: "stylish")
If you have questions you can email me to yudaev1@gmail.com
This project was built using these tools:
Tool | Description |
---|---|
poetry | "Python dependency management and packaging made easy" |
flake8 | "The tool for style guide enforcement" |
code climate | "Actionable metrics for engineering" |
github actions | "Automatization software workflows with CI/CD" |