Python library for creating code templates