Transformation on Python module