Skip to content

CyberWarrior91/python-project-50

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexlet tests and linter status:

Actions Status Github Actions Status

Getting started

Description:

This is a utility that compares two json/yml files and shows the result in three different formats: stylish, plain or json

Clone the repository using this command:

git clone https://github.com/CyberWarrior91/python-project-50.git

Requirements:

  • python >= 3.7
  • Poetry >= 1.14

Makefile

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:

Poetry installation

After successful installation, you need to initiate new poetry package using this command:

poetry init

Makefile commands:

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

Videos with examples of utility work

Example of work with flat types(json): asciicast

Example of work with flat types(yaml): asciicast

Example of work with nested types(json and yaml) - stylish: asciicast

Example of work with nested types(json and yaml) - plain: asciicast

Example of work with json formatting(flat): asciicast

Example of work with json formatting(nested): asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published