ANN: EmPy 4.2 -- a powerful, robust and mature templating system for Python

2024-08-25 Thread Erik Max Francis via Python-list
are/empy/ANNOUNCE.html#changes> ## Introduction: Welcome to EmPy! [EmPy](http://www.alcyone.com/software/empy/) is a powerful, robust and mature templating system for inserting Python code in template text. EmPy takes a source document, processes it, and produces output. This is accom

Re: ANN: EmPy 4.1 -- a powerful, robust and mature templating system for Python

2024-03-25 Thread Barry via Python-list
r exist (in deference to configurations). > > For a comprehensive list of changes from 3._x_ to 4._x_, see: > <http://www.alcyone.com/software/empy/ANNOUNCE.html#changes> > > > ## Introduction: Welcome to EmPy! > > [EmPy](http://www.alcyone.com/software/empy/) is a powerful, ro

Getting clear error messages with a Python templating system?

2008-07-21 Thread Tom Machinski
Hi there, I'm developing web applications in Python, so I use a templating system to produce HTML. We're dealing with heavy traffic here, so my original choice was the fast and efficient Cheetah. The main problem is that Cheetah doesn't provide clear error messages. Even in the

Re: any Templating system help

2007-11-30 Thread Ravi Kumar
mply using publisher handler, i dont want to use any framework such > as > > DJango etc. > > > > so the main idea is, i made many python files which has several defs > inside, > > such as index, getList, submitForm etc > > now everything is working nice, means c

Re: any Templating system help

2007-11-29 Thread Yoram Hekma
work such as > DJango etc. > > so the main idea is, i made many python files which has several defs inside, > such as index, getList, submitForm etc > now everything is working nice, means calling them in url. I need a > templating system now. But not slow and complex. The only things

any Templating system help

2007-11-29 Thread Ravi Kumar
several defs inside, such as index, getList, submitForm etc now everything is working nice, means calling them in url. I need a templating system now. But not slow and complex. The only things in templating system i need is: fetching all the names of variables/placeholder in template. (i can then

A new text templating system for python!

2006-12-16 Thread Chris Withers
Hi All, I'm proud to announce that after almost a year's development, the first public release of Twiddler is available! Twiddler is a simple but flexible templating system for dynamically generating textual output. The key features are: - No need to learn a templating language. -

Re: Non-web-based templating system

2006-05-02 Thread Sybren Stuvel
[EMAIL PROTECTED] enlightened us with: > I'm creating a small application in Python that uses lists and > dictionaries to create a rudimentary database. I'd like to create > some "fill-in-the-blanks" reports from this data, ideally by taking > an RTF or plaintext file as a template and replacing pl

Re: Non-web-based templating system

2006-05-02 Thread Fuzzyman
[EMAIL PROTECTED] wrote: > Hi, > > I'm creating a small application in Python that uses lists and > dictionaries to create a rudimentary database. I'd like to create some > "fill-in-the-blanks" reports from this data, ideally by taking an RTF > or plaintext file as a template and replacing placeho

Re: Non-web-based templating system

2006-05-01 Thread John Hunter
> "Alex" == Alex Martelli <[EMAIL PROTECTED]> writes: Alex> I have a certain fondness for the first over-100-lines Alex> module I wrote for Python, which eventually resulted in: As well you should! YAPTU powers the entire matplotlib website (screenshots, FAQ, what's new, etc), as evi

Re: Non-web-based templating system

2006-04-28 Thread Erik Max Francis
[EMAIL PROTECTED] wrote: > Actually, that looks even better that EmPy for what I need. :-( -- Erik Max Francis && [EMAIL PROTECTED] && http://www.alcyone.com/max/ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis All bad poetry springs from genuine feeling. -- Oscar Wilde -- ht

Re: Non-web-based templating system

2006-04-28 Thread qscomputing
Actually, that looks even better that EmPy for what I need. I will try out these suggestions and then see what seems best. Thanks very much. -- http://mail.python.org/mailman/listinfo/python-list

Re: Non-web-based templating system

2006-04-28 Thread has
bruno at modulix wrote: > Else you may want to look at: > - http://www.python.org/doc/2.4.2/whatsnew/node5.html > - empy : http://www.alcyone.com/pyos/empy/ > - cheetah : http://www.cheetahtemplate.org/ Also texttemplate (one of mine): http://freespace.virgin.net/hamish.sanderson/texttemplate.ht

Re: Non-web-based templating system

2006-04-28 Thread Erik Max Francis
[EMAIL PROTECTED] wrote: > Thanks, it looks like empy is what I need. :-) -- Erik Max Francis && [EMAIL PROTECTED] && http://www.alcyone.com/max/ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis The object of war is not to die for your country but to make the other bastard die

Re: Non-web-based templating system

2006-04-28 Thread Alex Martelli
<[EMAIL PROTECTED]> wrote: > Hi, > > I'm creating a small application in Python that uses lists and > dictionaries to create a rudimentary database. I'd like to create some > "fill-in-the-blanks" reports from this data, ideally by taking an RTF > or plaintext file as a template and replacing plac

Re: Non-web-based templating system

2006-04-28 Thread Larry Bates
[EMAIL PROTECTED] wrote: > Hi, > > I'm creating a small application in Python that uses lists and > dictionaries to create a rudimentary database. I'd like to create some > "fill-in-the-blanks" reports from this data, ideally by taking an RTF > or plaintext file as a template and replacing placeho

Re: Non-web-based templating system

2006-04-28 Thread Brett g Porter
Diez B. Roggisch wrote: > [EMAIL PROTECTED] wrote: > > Maybe the built-in string interpolation is sufficient? > > print "Hello %(name)s" % dict(name="Peter Pan") Or in recent pythons, the built-in string templating system (see http://docs.python.org/lib/node

Re: Non-web-based templating system

2006-04-28 Thread qscomputing
Thanks, it looks like empy is what I need. -- http://mail.python.org/mailman/listinfo/python-list

Re: Non-web-based templating system

2006-04-28 Thread bruno at modulix
Diez B. Roggisch wrote: > [EMAIL PROTECTED] wrote: > > >>Hi, >> >>I'm creating a small application in Python that uses lists and >>dictionaries to create a rudimentary database. I'd like to create some >>"fill-in-the-blanks" reports from this data, ideally by taking an RTF >>or plaintext file as

Re: Non-web-based templating system

2006-04-28 Thread Diez B. Roggisch
[EMAIL PROTECTED] wrote: > Hi, > > I'm creating a small application in Python that uses lists and > dictionaries to create a rudimentary database. I'd like to create some > "fill-in-the-blanks" reports from this data, ideally by taking an RTF > or plaintext file as a template and replacing placeh

Non-web-based templating system

2006-04-28 Thread qscomputing
Hi, I'm creating a small application in Python that uses lists and dictionaries to create a rudimentary database. I'd like to create some "fill-in-the-blanks" reports from this data, ideally by taking an RTF or plaintext file as a template and replacing placeholder tags with my data. Are there any

Re: templating system

2005-04-14 Thread David Asorey ?lvarez
Ksenia Marasanova <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > Hi, > > I am looking for fast, simple templating system that will allow me to > do the following: > - embed Python code (or some templating code) in the template > - generate

Re: templating system

2005-04-13 Thread Ville Vainio
never had a need It would be interesting to see benchmarks comparing different templating system. I suppose a web templating system like PSP (of mod_python) would be optimized for speed. -- Ville Vainio http://tinyurl.com/2prnb -- http://mail.python.org/mailman/listinfo/python-list

Re: templating system

2005-04-13 Thread Ksenia Marasanova
On 4/13/05, James Carroll <[EMAIL PROTECTED]> wrote: > I've had fantastic results with SimpleTAL > http://www.owlfish.com/software/simpleTAL/ > > It uses the Zope Page Templates style markups (which are wysiwyg in > dreamweaver) and then pulls contents from python functions and > 'contexts' ve

Re: templating system

2005-04-13 Thread Ksenia Marasanova
> In the interests of full disclosure, I'm the author of EmPy. > Cool :) > All I meant by that note was that EmPy was not primarily designed for > blazing speed; that is, it could easily be made much more efficient in a > lot of ways. I've never had a need to do so, so it's always been low > pri

Re: templating system

2005-04-12 Thread Erik Max Francis
Ksenia Marasanova wrote: Thanks! I've read "Known issues and caveats" on the website: """ EmPy was primarily intended for static processing of documents, rather than dynamic use, and hence speed of processing was not the primary consideration in its design. """ Have you noticed any speed problem

Re: templating system

2005-04-11 Thread Ksenia Marasanova
> > > http://www.reportlab.org/preppy.html Looks very close to what I was looking for :) Thanks! -- Ksenia -- http://mail.python.org/mailman/listinfo/python-list

Re: templating system

2005-04-11 Thread Ksenia Marasanova
> In EmPy, your template would look something like this:: > > > @[for record in records]@ > @record.title > @[end for]@ > > > Batch expanding the template would look like something as simple as > (substituting in your example):: > > ... >

Re: templating system

2005-04-10 Thread Ron_Adam
On Sun, 10 Apr 2005 17:55:06 +0200, Ksenia Marasanova <[EMAIL PROTECTED]> wrote: >Hi, > >I am looking for fast, simple templating system that will allow me to >do the following: >- embed Python code (or some templating code) in the template >- generate text output (not o

Re: templating system

2005-04-10 Thread Erik Max Francis
Ksenia Marasanova wrote: I am looking for fast, simple templating system that will allow me to do the following: - embed Python code (or some templating code) in the template - generate text output (not only XML/HTML) I don't need a framework (already have it), but just simple templating

Re: templating system

2005-04-10 Thread Steve Holden
Ksenia Marasanova wrote: Hi, I am looking for fast, simple templating system that will allow me to do the following: - embed Python code (or some templating code) in the template - generate text output (not only XML/HTML) I don't need a framework (already have it), but just simple templating

templating system

2005-04-10 Thread Ksenia Marasanova
Hi, I am looking for fast, simple templating system that will allow me to do the following: - embed Python code (or some templating code) in the template - generate text output (not only XML/HTML) I don't need a framework (already have it), but just simple templating. The syntax I had in mi

Re: wanted: visual report templating system

2005-03-23 Thread Thomas Guettler
Am Tue, 22 Mar 2005 20:58:12 + schrieb robin: > I am looking for a client/server reporting tool to use with a web > application built in Python. > > It would consist of three parts: > 1. a data definition & retrieval engine that interfaces to RDBMS or > other data files > 2. a visual designe

wanted: visual report templating system

2005-03-22 Thread robin
I am looking for a client/server reporting tool to use with a web application built in Python. It would consist of three parts: 1. a data definition & retrieval engine that interfaces to RDBMS or other data files 2. a visual designer in which a nontechnical person can create a report layout tem