pyrexmacro (pypi): Text Macro Preprocessor, especially good for javascript, etc.
Keywords: templates|python server pages