Cheetah 3.3.3.post1

2024-02-28 Thread Oleg Broytman via Python-list
.post1 News and changes: https://cheetahtemplate.org/news.html StackOverflow: https://stackoverflow.com/questions/tagged/cheetah Mailing lists: https://sourceforge.net/p/cheetahtemplate/mailman/ Development: https://github.com/CheetahTemplate3 Developer Guide: https://cheetahtemplate.org/dev_guide

[Python-announce] Cheetah 3.3.3

2023-10-22 Thread Oleg Broytman
://stackoverflow.com/questions/tagged/cheetah Mailing lists: https://sourceforge.net/p/cheetahtemplate/mailman/ Development: https://github.com/CheetahTemplate3 Developer Guide: https://cheetahtemplate.org/dev_guide/ Example === Install:: $ pip install CT3 # (or even "ct3&quo

Cheetah 3.3.3

2023-10-22 Thread Oleg Broytman via Python-list
://stackoverflow.com/questions/tagged/cheetah Mailing lists: https://sourceforge.net/p/cheetahtemplate/mailman/ Development: https://github.com/CheetahTemplate3 Developer Guide: https://cheetahtemplate.org/dev_guide/ Example === Install:: $ pip install CT3 # (or even "ct3&quo

[Python-announce] Cheetah 3.3.2

2023-08-08 Thread Oleg Broytman
= Site: https://cheetahtemplate.org/ Download: https://pypi.org/project/CT3/3.3.2 News and changes: https://cheetahtemplate.org/news.html StackOverflow: https://stackoverflow.com/questions/tagged/cheetah Mailing lists: https://sourceforge.net/p/cheetahtemplate/mailman

Cheetah 3.3.2

2023-08-08 Thread Oleg Broytman via Python-list
= Site: https://cheetahtemplate.org/ Download: https://pypi.org/project/CT3/3.3.2 News and changes: https://cheetahtemplate.org/news.html StackOverflow: https://stackoverflow.com/questions/tagged/cheetah Mailing lists: https://sourceforge.net/p/cheetahtemplate/mailman

[Python-announce] Cheetah 3.3.0.post1

2022-11-26 Thread Oleg Broytman
://stackoverflow.com/questions/tagged/cheetah Mailing lists: https://sourceforge.net/p/cheetahtemplate/mailman/ Development: https://github.com/CheetahTemplate3 Developer Guide: https://cheetahtemplate.org/dev_guide/ Example === Install:: $ pip install CT3 # (or even "ct3&quo

Cheetah 3.3.0.post1

2022-11-26 Thread Oleg Broytman
://stackoverflow.com/questions/tagged/cheetah Mailing lists: https://sourceforge.net/p/cheetahtemplate/mailman/ Development: https://github.com/CheetahTemplate3 Developer Guide: https://cheetahtemplate.org/dev_guide/ Example === Install:: $ pip install CT3 # (or even "ct3&quo

[Python-announce] Re: Cheetah 3.3.0

2022-10-10 Thread Oleg Broytman
Python 3.4 at GH Actions tests are not run and wheels are not built. Installation from sources should work. Due to GH Actions lacking old compilers for w32/w64 releases for old Python versions (currently 2.7) are packaged without compiled _namemapper.pyd extension. Cheetah can be us

Re: Cheetah 3.3.0

2022-10-10 Thread Oleg Broytman
Python 3.4 at GH Actions tests are not run and wheels are not built. Installation from sources should work. Due to GH Actions lacking old compilers for w32/w64 releases for old Python versions (currently 2.7) are packaged without compiled _namemapper.pyd extension. Cheetah can be us

Cheetah 3.2.4

2019-09-22 Thread Oleg Broytman
is CheetahTemplate3 = Site: https://cheetahtemplate.org/ Development: https://github.com/CheetahTemplate3 Download: https://pypi.org/project/Cheetah3/3.2.4 News and changes: https://cheetahtemplate.org/news.html StackOverflow: https://stackoverflow.com/questions/tagged/cheetah

Cheetah 3.2.4

2019-09-22 Thread Oleg Broytman
is CheetahTemplate3 = Site: https://cheetahtemplate.org/ Development: https://github.com/CheetahTemplate3 Download: https://pypi.org/project/Cheetah3/3.2.4 News and changes: https://cheetahtemplate.org/news.html StackOverflow: https://stackoverflow.com/questions/tagged/cheetah

Cheetah 3.1.0

2018-03-06 Thread Oleg Broytman
Hello! I'm pleased to announce version 3.1.0, the first stable release of branch 3.1 of CheetahTemplate3. What's new in CheetahTemplate3 == Contributors for this release is Mathias Stearn. Features: - Fix Cheetah to work with PyPy. Pull request by Mathias Stearn

Cheetah 3.1.0

2018-03-03 Thread Oleg Broytman
Hello! I'm pleased to announce version 3.1.0, the first stable release of branch 3.1 of CheetahTemplate3. What's new in CheetahTemplate3 == Contributors for this release is Mathias Stearn. Features: - Fix Cheetah to work with PyPy. Pull request by Mathias Stearn

Cheetah 3.0.1

2018-02-27 Thread Oleg Broytman
/3.0.1 News and changes: http://cheetahtemplate.org/news.html StackOverflow: https://stackoverflow.com/questions/tagged/cheetah Example === Below is a simple example of some Cheetah code, as you can see it's practically Python. You can import, inherit and define methods just like in a regular

Cheetah 3.0

2017-05-07 Thread Oleg Broytman
RECOMPILATION OF ALL COMPILED CHEETAH TEMPLATES!!! - Stop supporting Python older than 2.7. - Update code to work with Python 3.3+. Tested with 3.3, 3.4, 3.5 and 3.6. Minor features: - Use '/usr/bin/env python' for scripts; this allows eggs/wheels to be installed into virtual environments

Cheetah 3.0

2017-05-07 Thread Oleg Broytman
RECOMPILATION OF ALL COMPILED CHEETAH TEMPLATES!!! - Stop supporting Python older than 2.7. - Update code to work with Python 3.3+. Tested with 3.3, 3.4, 3.5 and 3.6. Minor features: - Use '/usr/bin/env python' for scripts; this allows eggs/wheels to be installed into virtual environments

Cheetah 3.0.0a1

2017-04-05 Thread Oleg Broytman
Hello! I'm happy to announce I revived development of Cheetah. Unfortunately I have to fork the project. I'm pleased to announce version 3.0.0a1, the first alpha of the upcoming release of branch 3.0 of CheetahTemplate3. What's new in CheetahTemplate3

Cheetah 3.0.0a1

2017-04-02 Thread Oleg Broytman
Hello! I'm happy to announce I revived development of Cheetah. Unfortunately I have to fork the project. I'm pleased to announce version 3.0.0a1, the first alpha of the upcoming release of branch 3.0 of CheetahTemplate3. What's new in CheetahTemplate3

[ANN]: circuits 2.0.0 [cheetah] (Lightweight Event driven Asynchronous Application Framework)

2012-11-24 Thread James Mills
Hi, I'm pleased to announce the release of circuits 2.0.0 [cheetah] This is a major release which includes breaking API changes from the previous release 1.6. Some of the highlights of this release include: * Enhanced internal Event Generation for I/O components. * Re-Implementation of call

Re: problem with cheetah

2010-01-10 Thread Aahz
In article 0fd84b05-cf12-485b-a14e-608e47679...@s20g2000yqd.googlegroups.com, mlowicki mlowi...@gmail.com wrote: Hi!, i get such error when I try to install cheetah: Probably better to ask on the Cheetah list: https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss -- Aahz

problem with cheetah

2009-12-20 Thread mlowicki
Hi!, i get such error when I try to install cheetah: sudo easy_install cheetah Searching for cheetah Reading http://pypi.python.org/simple/cheetah/ Reading http://www.CheetahTemplate.org/ Reading http://sourceforge.net/project/showfiles.php?group_id=28961 Reading http://www.cheetahtemplate.org

Re: problem with cheetah

2009-12-20 Thread Diez B. Roggisch
mlowicki schrieb: Hi!, i get such error when I try to install cheetah: sudo easy_install cheetah Searching for cheetah Reading http://pypi.python.org/simple/cheetah/ Reading http://www.CheetahTemplate.org/ Reading http://sourceforge.net/project/showfiles.php?group_id=28961 Reading http

Re: problem with cheetah

2009-12-20 Thread mlowicki
On Dec 20, 4:54 pm, Diez B. Roggisch de...@nospam.web.de wrote: mlowicki schrieb: Hi!, i get such error when I try to install cheetah: sudo easy_install cheetah Searching for cheetah Readinghttp://pypi.python.org/simple/cheetah/ Readinghttp://www.CheetahTemplate.org/ Readinghttp

unified way or cookbook to access cheetah from other frameworks django/webpy/pylons

2009-06-05 Thread mobiledreamers
can you or tavis or one of the cheetah masters please show us how to use cheetah from webpy the only useful thing webpy cheetah.py does is replace the #include with the content of the files Can you share a simple snippet/cookbook example on how to hook up cheetah from other frameworks

How do you serve Cheetah in production? webpy+cheetah

2009-05-29 Thread mobiledreamers
How do you serve *Cheetah* in *production*? Guys can you share the setup on how to precompile and serve cheetah in production Since we dont compile templates in webpy it is getting upstream time out errors. If you could share a good best practise it would help * Jeremy jeremy.ja...@gmail.com

problems with Cheetah base class being in templates directory

2009-05-28 Thread mobiledreamers
*How do we setup Cheetah so it runs with all templates in the templates directory and all code in the .. directory code.py* production=True if not production: try:web.render('mafbase.tmpl', None, True, 'mafbase') except:pass else: from templates import mafbase templates/mafbase.tmpl

Re: Cheetah and hungarian charset...

2009-02-10 Thread durumdara
írta: Hi! I wanna ask that have anyone some exp. with Cheetah and the non-ascii chars? I have a site. The html template documents are saved in ansi format, psp liked them. But the cheetah parser makes ParseError on hungarian characters, like á, é, í, etc. When I remove them, I got good result

Cheetah and hungarian charset...

2009-02-05 Thread durumdara
Hi! I wanna ask that have anyone some exp. with Cheetah and the non-ascii chars? I have a site. The html template documents are saved in ansi format, psp liked them. But the cheetah parser makes ParseError on hungarian characters, like á, é, í, etc. When I remove them, I got good result

Re: Cheetah and hungarian charset...

2009-02-05 Thread Diez B. Roggisch
durumdara schrieb: Hi! I wanna ask that have anyone some exp. with Cheetah and the non-ascii chars? I have a site. The html template documents are saved in ansi format, psp liked them. But the cheetah parser makes ParseError on hungarian characters, like á, é, í, etc. When I remove them, I

Re: Cheetah

2008-12-30 Thread Tim Roberts
sopherf...@gmail.com wrote: 1. In Cheetah 2.0.1, both from python 2.5.2 and 2.6, after I do a #from datetime import date, most of the datetime objects seem to work fine. For example, $date(2008, 12, 15) works. However $date.today() does not work and I get an exception required argument year

Cheetah

2008-12-28 Thread sopherfish
1. In Cheetah 2.0.1, both from python 2.5.2 and 2.6, after I do a #from datetime import date, most of the datetime objects seem to work fine. For example, $date(2008, 12, 15) works. However $date.today() does not work and I get an exception required argument year not found. In Python both 2.5.2

Re: Cheetah

2008-12-28 Thread Gabriel Genellina
En Sun, 28 Dec 2008 15:01:14 -0200, sopherf...@gmail.com escribió: 1. In Cheetah 2.0.1, both from python 2.5.2 and 2.6, after I do a [...] 2. In reportlab 2.2, when I generate a PDF, no matter how many nbsps [...] Better to report those problems to each product authors. -- Gabriel

Re: Mako vs. Cheetah?

2008-07-02 Thread Bruno Desthuilliers
and be productive with TAL, and I'll keep on being productive with Cheetah. Yes, TAL is a bit more hard and require some added learning, but tal templates are very powerful and well structured, and they have a real advantage over all other templating system, they are valid xhtml, So are Kid and Genshi

Re: Mako vs. Cheetah?

2008-06-28 Thread mario
A small and ultra-lightweight system, with all the power of any fully featured text-based templating system (such as mako or cheetah) and then some (no constraints on template file names or formats, restricted execution, automatic XSS protection, ...) that can be used in a web context

Re: Mako vs. Cheetah?

2008-06-28 Thread John Salerno
Tim Roberts wrote: John Salerno [EMAIL PROTECTED] wrote: Is it correct to say that Mako allows you to embed Python code within HTML, whereas Cheetah requires a certain amount of tweaking of Python code so that it isn't really code you could just run independently in the interpreter? I'm

Re: Mako vs. Cheetah?

2008-06-27 Thread Tim Roberts
John Salerno [EMAIL PROTECTED] wrote: Is it correct to say that Mako allows you to embed Python code within HTML, whereas Cheetah requires a certain amount of tweaking of Python code so that it isn't really code you could just run independently in the interpreter? I'm getting that impression

Re: Mako vs. Cheetah?

2008-06-27 Thread Maric Michaud
, and I'll keep on being productive with Cheetah. Yes, TAL is a bit more hard and require some added learning, but tal templates are very powerful and well structured, and they have a real advantage over all other templating system, they are valid xhtml, thus an html editor could modify them without

Re: Mako vs. Cheetah?

2008-06-26 Thread John Salerno
deciding between them, in terms of features, for example? Do they do all the same things? Is it correct to say that Mako allows you to embed Python code within HTML, whereas Cheetah requires a certain amount of tweaking of Python code so that it isn't really code you could just run independently

Re: Mako vs. Cheetah?

2008-06-26 Thread Michael Mabin
Cheetah also allows you to embed Python code in the HTML. On Thu, Jun 26, 2008 at 11:10 AM, John Salerno [EMAIL PROTECTED] wrote: John Salerno [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I always have the desire to learn one thing well instead of split my attention between

Mako vs. Cheetah?

2008-06-25 Thread John Salerno
I always have the desire to learn one thing well instead of split my attention between several options, so I'm trying to decide which of these two to start learning. Are there any particular things I should look at when deciding between them, in terms of features, for example? Do they do all

Re: Compile Cheetah Template on Windows

2007-11-29 Thread Tim Roberts
brianrpsgt1 [EMAIL PROTECTED] wrote: Tim, thank you very much for the reply. The 'cheetah' function is now working! I am still having a problem creating the file. I continually get errors. I am sure that it is something very simple. Below is the code, please guide me in the right direction

Re: Compile Cheetah Template on Windows

2007-11-28 Thread brianrpsgt1
Tim, thank you very much for the reply. The 'cheetah' function is now working! I am still having a problem creating the file. I continually get errors. I am sure that it is something very simple. Below is the code, please guide me in the right direction :: import psycopg2, psycopg2

Re: Compile Cheetah Template on Windows

2007-11-25 Thread Tim Roberts
brianrpsgt1 [EMAIL PROTECTED] wrote: I have been able to successful pull info from a MySQL DB, get the results and output them in an HTML format using Cheetah to the screen using IDLE. I am doing this on a Windows Laptop, running WinXP, Python 2.5 and the latest version of Cheetah. I have two

Compile Cheetah Template on Windows

2007-11-24 Thread brianrpsgt1
Newbie here I have been able to successful pull info from a MySQL DB, get the results and output them in an HTML format using Cheetah to the screen using IDLE. I am doing this on a Windows Laptop, running WinXP, Python 2.5 and the latest version of Cheetah. I have two questions: 1. How

recover/extract content from html with help of cheetah templates

2006-12-01 Thread [EMAIL PROTECTED]
Hello, currently i am developing a very small cms using python and cheetah. very early i have noticed that i was lacking the method to extract/recover the contents (html,text) from the html that is generated by cheetah and delivered to the site viewer. to explain it further: during the output

silent processing with python+modpython+cheetah

2006-10-21 Thread Sai Krishna M
Hi, I have been working for some time developing web pages using python, modpython, cheetah. I find that this method has come inherent difficulties in it like if we want to generate a single page we have to write two separate files ( py tmpl). Is there any other better way of doing things

Re: silent processing with python+modpython+cheetah

2006-10-21 Thread Bruno Desthuilliers
Sai Krishna M a écrit : Hi, I have been working for some time developing web pages using python, modpython, cheetah. I find that this method has come inherent difficulties in it like if we want to generate a single page we have to write two separate files ( py tmpl). Is there any other

Re: silent processing with python+modpython+cheetah

2006-10-21 Thread Steve Holden
Sai Krishna M wrote: Hi, I have been working for some time developing web pages using python, modpython, cheetah. I find that this method has come inherent difficulties in it like if we want to generate a single page we have to write two separate files ( py tmpl). Is there any other

Re: silent processing with python+modpython+cheetah

2006-10-21 Thread grahamd
Sai Krishna M wrote: Hi, I have been working for some time developing web pages using python, modpython, cheetah. I find that this method has come inherent difficulties in it like if we want to generate a single page we have to write two separate files ( py tmpl). Is there any other

Behavior on non definded name in Cheetah

2006-08-02 Thread Paolo Pantaleo
[I hope I am posting to the right place] I have a cheetah template something like this: x is: $x y is: $y z is: $z [Actually more complicated] If for example $y is not defined I get an exception and the parsing of the template stops. Is there any way to substitute $y with an emty string

Re: Behavior on non definded name in Cheetah

2006-08-02 Thread Stephan Diehl
Paolo Pantaleo wrote: [I hope I am posting to the right place] I have a cheetah template something like this: x is: $x y is: $y z is: $z [Actually more complicated] If for example $y is not defined I get an exception and the parsing of the template stops. Is there any way

Re: Behavior on non definded name in Cheetah

2006-08-02 Thread Paolo Pantaleo
2006/8/2, Stephan Diehl [EMAIL PROTECTED]: Paolo Pantaleo wrote: [I hope I am posting to the right place] I have a cheetah template something like this: x is: $x y is: $y z is: $z [Actually more complicated] If for example $y is not defined I get an exception

Re: Behavior on non definded name in Cheetah

2006-08-02 Thread Peter Otten
Paolo Pantaleo wrote: 2006/8/2, Stephan Diehl [EMAIL PROTECTED]: Paolo Pantaleo wrote: [I hope I am posting to the right place] I have a cheetah template something like this: x is: $x y is: $y z is: $z [Actually more complicated] If for example $y is not defined I get

Re: Behavior on non definded name in Cheetah

2006-08-02 Thread Paolo Pantaleo
2006/8/2, Peter Otten [EMAIL PROTECTED]: Paolo Pantaleo wrote: 2006/8/2, Stephan Diehl [EMAIL PROTECTED]: Paolo Pantaleo wrote: [I hope I am posting to the right place] I have a cheetah template something like this: x is: $x y is: $y z is: $z [Actually more

Re: cheetah.

2006-07-10 Thread Tavis . Rudd
Hi Chun, you should post this to the cheetah mailing list rather than here. https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss Cheers, Tavis chun ping wang wrote: I am having trouble using cheetah and getting it to work the way i want (mvc) I have the following file

cheetah.

2006-07-01 Thread chun ping wang
I am having trouble using cheetah and getting it to work the way i want (mvc) I have the following file. index.py : # imports BibleController and setting. BibleController.py that includes the Bible.py model to database (those works). At the end of it i have. print Template ( file

how do i use refreshCache with cheetah

2006-06-28 Thread a
how do i use refreshCache with cheetah -- http://mail.python.org/mailman/listinfo/python-list

cheetah - how do i use .refreshcaceh() in cheetah

2006-06-28 Thread a
cheetah - how do i use .refreshcaceh() in cheetah the doc is skimpy and doesnt tell more than you can use refreshcache with id to refresh a cache my code in html has #cache 30m, id =cachei #end cache -- http://mail.python.org/mailman/listinfo/python-list

cheetah templating: place holders needed in a template

2006-04-12 Thread [EMAIL PROTECTED]
the list ['name', 'num'] Is there anything in cheetah which does this? At present, I am sending a fake dictionary into the searchList to do this. This is coded as. fake = Generic() t = Template(file=absFileName, searchList=[fake]) print fake.calledAtts

web.py + cheetah delivering incomplete pages

2006-02-03 Thread [EMAIL PROTECTED]
hi, yesterday i started with web.py / flup / cheetah, and managed to get a first webpage to diaplay on my windows box running apache. unfortunately, the following code import web urls = ( '(.*)', 'view' ) class view: def GET( self, name ): web.render( 'view.html

Re: web.py + cheetah delivering incomplete pages

2006-02-03 Thread Guyon Morée
hi, i think you'd have better luck at http://groups.google.com/group/webpy -- http://mail.python.org/mailman/listinfo/python-list

Re: web.py + cheetah delivering incomplete pages

2006-02-03 Thread [EMAIL PROTECTED]
yeah, posted it there too, but, you see, there are but 95 members in that group -- guess it's more productive to ask this right here. we'll see. _w. -- http://mail.python.org/mailman/listinfo/python-list

Re: web.py + cheetah delivering incomplete pages

2006-02-03 Thread Peter Hansen
[EMAIL PROTECTED] wrote: yeah, posted it there too, but, you see, there are but 95 members in that group -- guess it's more productive to ask this right here. we'll see. There's a good chance that about 80 of those 95 people read this newsgroup regularly, and that this newsgroup has only a

Re: Cheetah template driven object output? Pythonically?

2006-01-30 Thread bruno at modulix
Fried Egg wrote: This may be trivial or stupid or both, but does anyone have a recipe for gracefully using Cheetah to generate a text representation of an object, but embedded in the object (so that it can be pickled, unpickled, and told to display itself)? Here is what I am thinking

Cheetah template driven object output? Pythonically?

2006-01-29 Thread Fried Egg
This may be trivial or stupid or both, but does anyone have a recipe for gracefully using Cheetah to generate a text representation of an object, but embedded in the object (so that it can be pickled, unpickled, and told to display itself)? Here is what I am thinking: pre import

Would cgi be the only option if my webhosting doesn't have psp, zpt, cheetah or mod_python?

2005-11-23 Thread Mohammad Jeffry
If an webhosting doen't have these feature. Can I install them ? Any experiences on this? I'm assuming that asking the webhosting system admin. to install these framworks in not an option for now.-- And whoever does an atom's weight of evil will see it. --

Re: Would cgi be the only option if my webhosting doesn't have psp, zpt, cheetah or mod_python?

2005-11-23 Thread jepler
You might benefit some from scgi. From the httpd side, you can either use mod_scgi in the server or cgi2scgi if can't install mod_scgi. cgi2scgi doesn't have all the performance benefit of mod_scgi, but cgi2scgi is a fairly lightweight C program.