Announcing Clabate 0.5.0: minimalistic class-based templates for Python
Axy
axy at declassed.art
Sat Dec 10 01:36:01 EST 2022
Hi there,
although it's quite old my side project, it has reached the point where
I don't want to add anything more.
It's a simple template system based on standard string formatting. You
declare your template strings as class attributes and they are formatted
in the right order. For dynamic content you can use class properties,
and inline invocations, such as 'hello, {my_db:get_name({person_id!r})}'
https://github.com/declassed-art/clabate
Axy
More information about the Python-list
mailing list