Description:
This is a utility that compares two json/yml files and shows the result in three different formats: stylish, plain or json
git clone https://github.com/CyberWarrior91/python-project-50.git
Requirements:
- python >= 3.7
- Poetry >= 1.14
In order to use commands from Makefile, you need to have poetry installed
Firstly, check your current pip version and upgrade it, if needed:
python -m pip --version
python -m pip install --upgrade pip
Then install Poetry via this link:
After successful installation, you need to initiate new poetry package using this command:
poetry init
make install
install poetry packages
make build
build poetry package and create dist directories
make package-install
install built package to start using simple shell commands
make publish
publish the project to PyPI after making a build
Example of work with flat types(json):
Example of work with flat types(yaml):
Example of work with nested types(json and yaml) - stylish:
Example of work with nested types(json and yaml) - plain: