Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Save yourself from the 'Gates' of hell, use Linux." -- like that one. -- The_Kind @ LinuxNet


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

SubjectAuthor
o [Python-announce] Cheetah 3.3.3Oleg Broytman

1
[Python-announce] Cheetah 3.3.3

<ZTT23buqh3YEDW8p@phdru.name>

  copy mid

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

  copy link   Newsgroups: comp.lang.python.announce
Path: i2pn2.org!i2pn.org!news.swapon.de!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.3
Date: Sun, 22 Oct 2023 13:18:05 +0300
Lines: 89
Approved: python-announce-list@python.org
Message-ID: <ZTT23buqh3YEDW8p@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 hix3udeA03or3CWCtiCCYAOxr8n5d3JChdJsC4X0Y3pg==
Cancel-Lock: sha1:8mJwz2Ato1Faj3UxM2r75pgJ+/U= sha256:KZ7bEvJiaBCcqfdm9advOmsYRnwzjjiFYz0YNZE67O8=
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=unknown (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'url-ip:140.82.114.3/32':
0.03; 'url-ip:140.82.114/24': 0.03; 'url-ip:140.82/16': 0.03;
'3.7': 0.03; 'pip': 0.04; 'library.': 0.05; 'template': 0.07;
'tests': 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; '3.7.': 0.16; '=======': 0.16; 'changes:': 0.16; 'compiled':
0.16; 'fourth': 0.16; 'incompatible': 0.16; 'practically': 0.16;
'url:project': 0.16; 'url:pypi': 0.16; 'problem': 0.16; 'python':
0.16; 'developer': 0.16; 'to:addr:python-list': 0.20; "what's":
0.22; 'version': 0.23; 'install': 0.23; 'run': 0.23; 'brings':
0.26; 'wrong': 0.28; '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; 'inherit': 0.84; 'minor': 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: 4O5N3MTVOXYUIYXXT25YVG4ARYM67Y7X
X-Message-ID-Hash: 4O5N3MTVOXYUIYXXT25YVG4ARYM67Y7X
X-Mailman-Approved-At: Sun, 22 Oct 2023 07:03:36 -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/4O5N3MTVOXYUIYXXT25YVG4ARYM67Y7X/>
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 - Sun, 22 Oct 2023 10:18 UTC

Hello!

I'm pleased to announce version 3.3.3, the fourth release
of branch 3.3 of CheetahTemplate3.

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

Minor features:

- Protect ``import cgi`` in preparation to Python 3.13.

Tests:

- Run tests with Python 3.12.

CI:

- GHActions: Ensure ``pip`` only if needed

This is to work around a problem in conda with Python 3.7 -
it brings in wrong version of ``setuptools`` incompatible with Python 3.7.

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

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.81
clearnet tor