Tayra

Latest version: v0.45dev

Safety actively analyzes 638388 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.3dev

------

``Sat Jan 05, 2013``

- Migrating tayra to pluggdapps component system.
- Migrating tayra to python 3.2
- Updated test cases and benchmarks to this revision.

0.2dev

------

``Tue Dec 06, 2011``

- Documentation

0.1dev

------

``Sat Nov 05, 2011``

Initial version of tayra. A non-exhaustive list of features and functions
available from tayra.

- ``expression substitution``, substitute dynamic content anywhere in your
document using python expression.

- ``escaping text``, while substituting text, it can be escaped with one or
more filters. While escape-filters themselves can be added as plugins to
tayra.

- ``filter blocks``, process non-template text and substitute the filter block
with processed text (optional). One such example can be a block of python code
that need to do some ``view`` related processing. And ofcourse one can
create any many types of filter-blocks (plugins !!)

- ``control blocks``, make use of control blocks like ``if-elif-else``, to
conditionally select portions of templates. And ``for/while`` loop to repeate
blocks of template text.

- ``functions``, abstract re-usable blocks of templates into functions with its
own local scope and local-context.

- ``import templates``, import templates from other parts of the source tree
into the current template's namespace and access their function blocks.

- ``inheritance``, there is a simple yet powerful idea of inheritance, whereby
templates can have a long chain of inheritance from the base layout. A
template module in the chain can access any other inheriting or inherited
templates using the ``parent`` and ``next`` namespace, while ``self``
namespace provides you the magic of overriding.

- ``how to use``, Can be used via its well-defined API or from command line.

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.