Skip to main content

A small, elegant templating system for Python.

Features

  • Simple, well-tested and well-documented.

  • Integrates tightly with Python - pass arbitrary Python objects into a template, walk sequences and iterators, evaluate expressions.

  • Default escaping helps to prevent common classes of Cross-Site Scripting vulnerabilities.

  • Encourages separation of interface and program logic by disallowing statements in templates.

  • Tiny - only ~ 170 SLOC. There are many large, over-designed Python templating systems out there. Cubictemp proves that a templating sytem can be complete, elegant, powerful, fast and remain compact.

Cubictemp requires Python 2.4 or newer.

Metadata

Release files for cubictemp 2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cubictemp 2.0
File Size Uploaded
cubictemp-2.0.tar.gz 8.5 kB Details

Release files / cubictemp-2.0.tar.gz

Download URL cubictemp-2.0.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
efa770c130679ba6e895396d7f7b9f775bc94e1284420e747e26ae4f287a5a5b
BLAKE2b-256 checksum
How to use checksums
6a8586b01675c4ce54a3b6289eb417ef7ac31e33de50261c4d797d0543296bfc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

2.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page