Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

I THINK MAN INVENTED THE CAR by instinct. -- Jack Handey, The New Mexican, 1988.


devel / comp.lang.python.announce / [Python-announce] Cheetah 3.3.2

SubjectAuthor
o [Python-announce] Cheetah 3.3.2Oleg Broytman

1
[Python-announce] Cheetah 3.3.2

<ZNKFSj40XOTipHho@phdru.name>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10052&group=comp.lang.python.announce#10052

  copy link   Newsgroups: comp.lang.python.announce
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: phd...@phdru.name (Oleg Broytman)
Newsgroups: comp.lang.python.announce
Subject: [Python-announce] Cheetah 3.3.2
Date: Tue, 8 Aug 2023 21:11:22 +0300
Lines: 84
Approved: python-announce-list@python.org
Message-ID: <ZNKFSj40XOTipHho@phdru.name>
Reply-To: python-list@python.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.uni-berlin.de KMS4rVHImQPHP84gv4UMHgCKgKZDw9H8H7X3J5APfGnw==
Cancel-Lock: sha1:y4Jb10dqhvFh9cqx/sePcflpDFI= sha256:4N2OOHhDdp6gudmK/kox2gKJWdZh1771ZOS5Mam2OQg=
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=unknown (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.002
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'url-ip:140.82/16': 0.03;
'pip': 0.04; 'library.': 0.05; 'template': 0.07; 'python.': 0.08;
'2.7': 0.09; 'fork': 0.09; 'skip:` 10': 0.09; 'to:addr:python-
announce-list': 0.09; 'url-ip:151.101.0.223/32': 0.09; 'url-
ip:151.101.128.223/32': 0.09; 'url-ip:151.101.192.223/32': 0.09;
'url-ip:151.101.64.223/32': 0.09; 'url:github': 0.14; 'import':
0.15; 'url:mailman': 0.15; 'announce': 0.15; 'url-ip:140/8': 0.15;
'$person': 0.16; '3.3': 0.16; '=======': 0.16; 'changes:': 0.16;
'compiled': 0.16; 'practically': 0.16; 'stdout': 0.16;
'url:project': 0.16; 'url:pypi': 0.16; 'python': 0.16;
'developer': 0.16; 'bug': 0.19; 'to:addr:python-list': 0.20;
"what's": 0.22; 'version': 0.23; 'install': 0.23; 'thanks!': 0.24;
'code,': 0.31; 'programmers': 0.32; 'skip:= 30': 0.32; "i'm":
0.33; 'mailing': 0.33; 'release': 0.34; 'printing': 0.34;
'source': 0.36; "it's": 0.37; 'branch': 0.39; 'hello!': 0.39;
'methods': 0.39; 'define': 0.40; 'skip:$ 10': 0.40; 'url-
ip:151.101.0/24': 0.62; 'url-ip:151.101.128/24': 0.62; 'url-
ip:151.101.192/24': 0.62; 'url-ip:151.101.64/24': 0.62;
'url:name': 0.64; 'your': 0.64; 'news': 0.65; 'pleased': 0.67;
'url-ip:104.18/16': 0.67; 'url:net': 0.68; 'templates': 0.69;
'url:news': 0.69; 'below': 0.69; '2nd': 0.70; 'free': 0.72;
'received:94': 0.76; 'site:': 0.76; 'inherit': 0.84;
'url:sourceforge': 0.84; 'url:p': 0.88; 'return.': 0.91
Content-Disposition: inline
X-Attribution: phd
X-Face: "4chVP^f8;3Bi>x"ic0%DuP(ZLyn:;kzQ1njs]5,GRZG<{<\~`|Shxi7|)d|8uO~HFRfyym
{[xs@OYG]2Q]0#}0sjJp`1^1+B6]A2+{9fW=S<O7^"hul]^|AGtiI7SkYF-2VD?UH*h_!zuCIf+^F7
c0x8?W,UfhCAx^YY#1ALhvG\2yG}LW:)zw#1;Yajq"hK~S
X-Operating-System: Debian GNU/Linux
X-Url: https://phdru.name/
Mail-Followup-To: Oleg Broytman <phd@phdru.name>, Python Mailing List
<python-list@python.org>
X-Skip-DKIM-Sig: mailing list
X-MailFrom: phd@phdru.name
X-Mailman-Rule-Hits: emergency
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved
Message-ID-Hash: C2EWOPQCAIDGPAEKZQGVVZRV6HLOEOQ3
X-Message-ID-Hash: C2EWOPQCAIDGPAEKZQGVVZRV6HLOEOQ3
X-Mailman-Approved-At: Tue, 08 Aug 2023 15:00:17 -0400
X-Mailman-Version: 3.3.9b1
Precedence: list
List-Id: Announcement-only list for the Python programming language <python-announce-list.python.org>
Archived-At: <https://mail.python.org/archives/list/python-announce-list@python.org/message/C2EWOPQCAIDGPAEKZQGVVZRV6HLOEOQ3/>
List-Archive: <https://mail.python.org/archives/list/python-announce-list@python.org/>
List-Help: <mailto:python-announce-list-request@python.org?subject=help>
List-Owner: <mailto:python-announce-list-owner@python.org>
List-Post: <mailto:python-announce-list@python.org>
List-Subscribe: <mailto:python-announce-list-join@python.org>
List-Unsubscribe: <mailto:python-announce-list-leave@python.org>
 by: Oleg Broytman - Tue, 8 Aug 2023 18:11 UTC

Hello!

I'm pleased to announce version 3.3.2, the 2nd bug-fix
of branch 3.3 of CheetahTemplate3.

What's new in CheetahTemplate3
==============================

The contributor for this release is nate.k. Thanks!

Bug fixes:

- Fixed printing to stdout in ``CheetahWrapper``.

CI:

- CI(GHActions): Install all Python and PyPy versions from ``conda-forge``.

What is CheetahTemplate3
========================

Cheetah3 is a free and open source (MIT) Python template engine.
It's a fork of the original CheetahTemplate library.

Python 2.7 or 3.4+ is required.

Where is CheetahTemplate3
=========================

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/

Development:
https://github.com/CheetahTemplate3

Developer Guide:
https://cheetahtemplate.org/dev_guide/

Example
=======

Install::

$ pip install CT3 # (or even "ct3")

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 Python
module, since that's what your Cheetah templates are compiled to :) ::

#from Cheetah.Template import Template
#extends Template

#set $people = [{'name' : 'Tom', 'mood' : 'Happy'}, {'name' : 'Dick',
'mood' : 'Sad'}, {'name' : 'Harry', 'mood' : 'Hairy'}]

<strong>How are you feeling?</strong>
<ul>
#for $person in $people
<li>
$person['name'] is $person['mood']
</li>
#end for
</ul>

Oleg.
--
Oleg Broytman https://phdru.name/ phd@phdru.name
Programmers don't die, they just GOSUB without RETURN.


devel / comp.lang.python.announce / [Python-announce] Cheetah 3.3.2

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor