cheetah-compile

text-based template engine and Python code generator (Python 2)

Install

All systems
curl cmd.cat/cheetah-compile.sh
Debian Debian
apt-get install python-cheetah
Ubuntu
apt-get install python-cheetah
Arch Arch Linux
pacman -S python2-cheetah
image/svg+xml Kali Linux
apt-get install python-cheetah
CentOS
yum install python-cheetah
Fedora
dnf install python-cheetah
Windows (WSL2)
sudo apt-get update sudo apt-get install python-cheetah
Raspbian
apt-get install python-cheetah

python-cheetah

text-based template engine and Python code generator (Python 2)

Cheetah can be used as a standalone templating utility or referenced as a library from other Python applications. It has many potential uses, but web developers looking for a viable alternative to ASP, JSP, PHP and PSP are expected to be its principle user group. Features: * Generates HTML, SGML, XML, SQL, Postscript, form email, LaTeX, or any other text-based format. * Cleanly separates content, graphic design, and program code. * Blends the power and flexibility of Python with a simple template language that non-programmers can understand. * Gives template writers full access to any Python data structure, module, function, object, or method in their templates. * Makes code reuse easy by providing an object-orientated interface to templates that is accessible from Python code or other Cheetah templates. One template can subclass another and selectively reimplement sections of it. * Provides a simple, yet powerful, caching mechanism that can dramatically improve the performance of a dynamic website. * Compiles templates into optimized, yet readable, Python code. This package contains the Python 2 module.

python3-cheetah

text-based template engine and Python code generator (Python 3)

Cheetah can be used as a standalone templating utility or referenced as a library from other Python applications. It has many potential uses, but web developers looking for a viable alternative to ASP, JSP, PHP and PSP are expected to be its principle user group. Features: * Generates HTML, SGML, XML, SQL, Postscript, form email, LaTeX, or any other text-based format. * Cleanly separates content, graphic design, and program code. * Blends the power and flexibility of Python with a simple template language that non-programmers can understand. * Gives template writers full access to any Python data structure, module, function, object, or method in their templates. * Makes code reuse easy by providing an object-orientated interface to templates that is accessible from Python code or other Cheetah templates. One template can subclass another and selectively reimplement sections of it. * Provides a simple, yet powerful, caching mechanism that can dramatically improve the performance of a dynamic website. * Compiles templates into optimized, yet readable, Python code. This package contains the Python 3 module.

python2-cheetah

Cheetah is an open source template engine and code generation

tool, written in Python. It can be used standalone or combined with other tools and frameworks. Web development is its principal use, but Cheetah is very flexible and is also being used to generate C++ code, Java, SQL, form emails and even Python code.