diff_pricing.py

Use the diff_pricing.py script to display the differences between two specified pricing ZIP files.

The diff_pricing.py script is installed with MATRIXX Engine.

Pricing ZIP files are created by clicking Schedule Compilation (Development) or Schedule Compilation (Production) in Pricing Construction / Loading. The script can also display basic header information from the XML configuration files and verbose information that includes more differences between the pricing objects used to compile the pricing XML configuration files.

Syntax

/opt/mtx/bin/diff_pricing.py [-h] [-s] [-v] [-z] filename1.zip [filename2.zip]

Options

-h, --help
Prints help information about this script.
-s
Shows the changes side by side.
-v
Verbose mode. Prints status information and the pricing objects used to compile the pricing XML configuration file for the specified ZIP file. If two ZIP files are specified, the script prints the differences between this information. Running this script in non-verbose mode lists the files that have changed. Running this script in verbose mode lists exactly how the files have been changed.
-z
Performs a file size-based (instead of signature-based) diff.

Display Differences Between Two Pricing Files

diff_pricing.py mtx_pricing_Sample_20141024_111610.zip mtx_pricing_Sample_guest_20141024_111648.zip