Python utility for module creation