Tag : (Yaptu
![]() |
Title | User | Language | Tags | Description | Date |
|---|---|---|---|---|---|---|
|
Yaptoo (Yaptu outrageously obfuscated) - or yet yet another templating utility | Michael Palmer | python | Yaptoo (Yaptu outrageously obfuscated) another templating utility web |
An enhanced version of yaptu, with the following changes - separated parsing from execution - added caching of parsed templates - added some error reporting - added a choice of template syntaxes - added comment syntax - added Cheetah-style variable substitution with optional caching of the equivalent Python expression - limited flow control to 'for' and 'if' Reasonably small, no external dependencies, pretty fast. |
December 27, 2005 |
|
Yet Another Python Templating Utility (YAPTU) | Alex Martelli | python | Another Python Templating Utility (YAPTU) text |
"Templating" (copying an input file to output, on the fly inserting Python expressions and statements) is a frequent need, and YAPTU is a small but complete Python module for that; expressions and statements are identified by arbitrary user-chosen regular-rexpressions. |
March 26, 2001 |

