Skip to content
Sections
>> Trisquel >> Packages >> xolotl (13.0) >> python >> python3-minijinja
[  xolotl  ]
[ Source: python-minijinja  ]

Package: python3-minijinja (2.12.0-1)

Experimental Python binding of the Rust MiniJinja template engine

MiniJinja is a powerful but minimal dependency template engine for Rust which is based on the syntax and behavior of the Jinja2 template engine for Python. It’s implemented on top of serde. The goal is to be able to render a large chunk of the Jinja2 template ecosystem from Rust with a minimal engine and to leverage an already existing ecosystem of editor integrations. minijinja-py (packaged as python3-minijinja) is an experimental binding of MiniJinja (https://github.com/mitsuhiko/minijinja) to Python. It has somewhat limited functionality compared to the Rust version. These bindings use maturin (https://www.maturin.rs/) and pyo3 (https://pyo3.rs/).

You might want to use MiniJinja instead of Jinja2 when the full feature set of Jinja2 is not required and you want to have the same rendering experience of a data set between Rust and Python.

With these bindings MiniJinja can render some Python objects and values that are passed to templates, but there are clear limitations with regards to what can be done.

This package provides Python bindings for the Rust MiniJinja template engine.

Other Packages Related to python3-minijinja

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.34) [not ppc64el]
    Package not available
    dep: libc6 (>= 2.39) [ppc64el]
  • dep: libgcc-s1 (>= 4.2) [not armhf]
    GCC support library
    dep: libgcc-s1 (>= 4.3) [armhf]
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
    dep: python3 (>= 3~)

Download python3-minijinja

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 825.4 kB2573 kB [list of files]
arm64 781.3 kB2473 kB [list of files]
armhf 774.6 kB2151 kB [list of files]
ppc64el 898.6 kB3113 kB [list of files]
riscv64 847.8 kB2561 kB [list of files]