v 3.0.0
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/