v 2.5.1
Cog is a code generation tool. It lets you use pieces of Python code as generators in your source files to generate whatever code you need.
https://nedbatchelder.com/code/cog/