genpy offers a simple abstract syntax tree for Python to allow structured code generation from Python.
Places on the web related to genpy:
Python package index (download releases)
Documentation (read how things work)
Github (get latest source code, file bugs)
genpy is licensed under the liberal MIT license and free for commercial, academic, and private use. All of genpy's dependencies can be automatically installed from the package index after using:
pip install genpy