Python linux shaper