[Templates] TT in Python
Sean McAfee
eefacm@gmail.com
Wed, 14 Mar 2007 16:58:29 -0700
------=_Part_43626_14930713.1173916709107
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi folks--
I posted here last year asking for information on a Python templating system
of comparable power to the Template Toolkit (as Perl is tragically a
non-starter at my workplace). No such system seems to exist.
Well, I recently pondered transforming a program that produces HTML output
programmatically into one that uses a template, and I blanched at the
thought of using Django or Clearsilver (the popular choices around these
parts), so I decided to bite the bullet and have a go at redoing the TT in
Python.
A couple of weeks later, and I've created a Python system that offers at
least the basic TT features. I've tested all the major directives at a
basic level (notable exceptions including PERL and RAW_PERL, of course).
Vmethods work, and I've ported a few of the plugins. I guess I'm about
ready to put a lot more eyes on it, if there's any interest. So, is there?
--Sean
------=_Part_43626_14930713.1173916709107
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi folks--<br>
<br>
I posted here last year asking for information on a Python templating
system of comparable power to the Template Toolkit (as Perl is tragically a non-starter at my workplace). No such
system seems to exist.<br>
<br>
Well, I recently pondered transforming a program that produces HTML
output programmatically into one that uses a template, and I blanched
at the thought of using Django or Clearsilver (the popular choices
around these parts), so I decided to bite the bullet and have a go at
redoing the TT in Python.<br>
<br>
A couple of weeks later, and I've created a Python system that offers
at least the basic TT features. I've tested all the major
directives at a basic level (notable exceptions including PERL and
RAW_PERL, of course). Vmethods work, and I've ported a few of the
plugins. I guess I'm about ready to put a lot more eyes on it, if
there's any interest. So, is there?<br>
<br>
<br>
--Sean<br>
------=_Part_43626_14930713.1173916709107--