Data analytics script for box output, written with Python