title: Template extraction in python/php
body: <p>Are there existing template extract libraries in either python or php? Perl has <a href="http://metacpan.org/pod/Template::Extract" rel="nofollow noreferrer">Template::Extract</a>, but I haven't been able to find a similar implementation in either python or php. </p>
  
  <p>The only thing close in python that I could find is TemplateMaker (<a href="http://code.google.com/p/templatemaker/" rel="nofollow noreferrer">http://code.google.com/p/templatemaker/</a>), but that's not really a template extraction library.</p>