Generative infrastructure for Python