Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Computer Science is merely the post-Turing decline in formal systems theory.


devel / comp.lang.python / Cheetah 3.3.3.post1

SubjectAuthor
o Cheetah 3.3.3.post1Oleg Broytman

1
Cheetah 3.3.3.post1

<mailman.27.1709142257.3452.python-list@python.org>

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!paganini.bofh.team!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: phd@phdru.name (Oleg Broytman)
Newsgroups: comp.lang.python
Subject: Cheetah 3.3.3.post1
Date: Wed, 28 Feb 2024 18:40:08 +0300
Lines: 78
Message-ID: <mailman.27.1709142257.3452.python-list@python.org>
References: <Zd9T2PYWzWu0aR1X@phdru.name>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.uni-berlin.de Xg1i7wRYvU5arMO7acH2qQcKzSLjOw0orlukieYRBFaQ==
Cancel-Lock: sha1:pMm+LyJdwvZTwR3ffz3aTU8tCRg= sha256:VxF+X+Hc/6TD7D0Ik9IWSlnYOcDqjTYCMMjOJ9ng5Lk=
Return-Path: <phd@phdru.name>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=unknown (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.011
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'pip': 0.04; 'library.':
0.05; 'template': 0.07; 'python.': 0.08; '2.7': 0.09; 'fork':
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; '$person': 0.16; '3.3': 0.16; '=======': 0.16;
'changes:': 0.16; 'compiled': 0.16; 'practically': 0.16;
'url:project': 0.16; 'url:pypi': 0.16; 'python': 0.16;
'developer': 0.16; 'to:addr:python-list': 0.20; "what's": 0.22;
'version': 0.23; 'install': 0.23; 'code,': 0.31; 'programmers':
0.32; 'skip:= 30': 0.32; "i'm": 0.33; 'mailing': 0.33; 'release':
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; 'free': 0.72; 'received:94':
0.76; 'site:': 0.76; 'publish': 0.84; 'inherit': 0.84;
'url:sourceforge': 0.84; 'wheels': 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-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <Zd9T2PYWzWu0aR1X@phdru.name>
 by: Oleg Broytman - Wed, 28 Feb 2024 15:40 UTC

Hello!

I'm pleased to announce version 3.3.3.post1, the first post-release
of release 3.3.3 of branch 3.3 of CheetahTemplate3.

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

CI:

- GHActions: Build and publish wheels on Linux/aarch64.

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.3.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/

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.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor