perf/scripts: Add Python scripting engine