This is a Python utility to calculate the rolling median index for a given data set
find_median.py: The basic class/module. Can be invoked as a standalone script.
This app requires & has been tested on Python 2.7.
python find_median.py <input_filename> <output_filename>
(or)
./run.sh
The few Python libraries this utility uses are:
- json
- datetime
- copy
- filecmp
The folder tests has Python unit tests, each of these tests try to run on a specific data set and checks if the file gets created and the content matches the artifacts.
Artifacts are test artifacts that the unit tests try to compare its generated data.