Skip to content
Sections
>> Trisquel >> Packages >> ecne (12.0LTS) >> python >> python3-yte
[  ecne  ] [  xolotl  ]
[ Source: yte  ]

Package: python3-yte (1.5.1-2)

YAML template engine with Python expressions

YTE is a template engine for YAML format that utilizes the YAML structure in combination with Python expressions for enabling to dynamically build YAML documents.

The key idea of YTE is to rely on the YAML structure to enable conditionals, loops and other arbitrary Python expressions to dynamically render YAML files. Python expressions are thereby declared by prepending them with a ? anywhere in the YAML. Any such value will be automatically evaluated by YTE, yielding plain YAML as a result. Importantly, YTE templates are still valid YAML files (for YAML, the ? expressions are just strings).

Other Packages Related to python3-yte

  • depends
  • recommends
  • suggests
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-dpath
    filesystem-like pathing and searching for dictionaries
  • dep: python3-plac
    Smartest command line arguments parser in the world
  • dep: python3-yaml
    YAML parser and emitter for Python3

Download python3-yte

Download for all available architectures
Architecture Package Size Installed Size Files
all 11.5 kB52 kB [list of files]