{ "info": { "author": "Antti Haapala", "author_email": "antti@haapala.name", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Pyramid", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Text Processing :: Markup", "Topic :: Text Processing :: Markup :: HTML" ], "description": "Tonnikala\n=========\n\nTonnikala is the latest reincarnation among the Python templating \nlanguages that feed on Kid-inspired XML syntax. It rejects the Kid \nand Genshi notions of tagstreams and trees, and follows in \nfootsteps of Chameleon and Kajiki in making the template to compile \ninto Python bytecode directly. The syntax is very close to that of \nKajiki, but the internals are very different: Tonnikala writes code \nas Abstract Syntax Trees and optimizes the resulting trees \nextensively. In addition, there is an optional speed-up module \n(currently Python 3 only), that provides a specialized class used \nfor output buffering.\n\nExamples\n--------\n\n.. code-block:: python\n\n from tonnikala.loader import Loader\n\n template_source = u\"\"\"\n
| ${key} | ${literal(value)} |