Tera

screenshot of Tera
django

A template engine for Rust based on Jinja2/Django

Overview

Tera is a template engine that draws inspiration from Jinja2 and the Django template language. While it may not strive for complete compatibility with these frameworks, it offers a wide range of Jinja2/Django filters and testers.

Features

  • Template compatibility: Tera aims to provide compatibility with Jinja2 and the Django template language, allowing users to leverage their existing knowledge and codebase.
  • Documentation: Tera offers comprehensive documentation, including an API documentation available on docs.rs and additional Tera-specific documentation on its website.
  • SemVer Support: Tera adheres to Semantic Versioning (SemVer) for its public API. This means that functions appearing in the documentation follow SemVer, ensuring stability and predictability for users.
  • Access to AST: Tera also provides the ability to access the Abstract Syntax Tree (AST), enabling users to manipulate and analyze templates at a deeper level.

Summary

Tera is a powerful template engine that combines the best features of Jinja2 and the Django template language. It offers compatibility with these frameworks while also providing additional functionality and comprehensive documentation. By adhering to SemVer and allowing access to the AST, Tera ensures stability and flexibility for developers.

django
Django

Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. It follows the model-view-controller (MVC) architectural pattern, providing an extensive set of built-in tools and conventions to streamline the creation of robust and scalable web applications.