/usr/lib/python2.7/dist-packages/Kajiki-0.5.3.egg-info/PKG-INFO is in python-kajiki 0.5.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 | Metadata-Version: 1.1
Name: Kajiki
Version: 0.5.3
Summary: Fast XML-based template engine with Genshi syntax and Jinja blocks
Home-page: https://github.com/nandoflorestan/kajiki
Author: Nando Florestan
Author-email: nandoflorestan@gmail.com
License: MIT
Description: Kajiki provides fast well-formed XML templates
==============================================
Because Kajiki's input is XML, it can ensure that your HTML/XML output is
well-formed. The Genshi-like syntax, based on XML attributes or tags, is simply
beautiful and easily understood (or ignored) by web designers.
But instead of the slow performance of Genshi_, Kajiki compiles
templates to Python code that renders with blazing-fast speed, so Kajiki can
compete with the speed of Jinja_, Mako_, Chameleon_ and others.
Also, one of Genshi's misfeatures -- py:match -- is replaced with blocks which
work like Jinja's blocks.
By combining the best ideas out there -- XML input,
Genshi's syntax and features, Jinja's template inheritance and final
compilation to Python --, Kajiki is ready to become
the most widely used templating engine for web development in Python.
And more features are coming soon; stay tuned!
Example
=======
.. code:: python
>>> import kajiki
>>> Template = kajiki.XMLTemplate('''<html>
... <head><title>$title</title></head>
... <body>
... <h1>$title</h1>
... <ul>
... <li py:for="x in range(repetitions)">$title</li>
... </ul>
... </body>
... </html>''')
>>> print(Template(dict(title='Kajiki is teh awesome!', repetitions=3)).render())
<html>
<head><title>Kajiki is teh awesome!</title></head>
<body>
<h1>Kajiki is teh awesome!</h1>
<ul>
<li>Kajiki is teh awesome!</li><li>Kajiki is teh awesome!</li><li>Kajiki is teh awesome!</li>
</ul>
</body>
</html>
Links
=====
Documentation_
Kajiki is licensed under an MIT-style license_.
The git repository and `issue tracker`_ are at GitHub_. Previously the project
used SourceForge_ for the hg repository, issue tracker and forums.
We use Travis_ for continuous integration.
.. _Documentation: http://pythonhosted.org/Kajiki/
.. _license: https://github.com/nandoflorestan/kajiki/blob/master/LICENSE.rst
.. _`issue tracker`: https://github.com/nandoflorestan/kajiki/issues
.. _GitHub: https://github.com/nandoflorestan/kajiki
.. _SourceForge: http://sourceforge.net/p/kajiki/
.. _Travis: https://travis-ci.org/nandoflorestan/kajiki
.. _Genshi: https://pypi.python.org/pypi/Genshi
.. _Jinja: https://pypi.python.org/pypi/Jinja2
.. _Mako: https://pypi.python.org/pypi/Mako
.. _Chameleon: https://pypi.python.org/pypi/Chameleon
CHANGES
=======
0.5.3 (2016-01-25)
------------------
* ``py:with`` statement now keeps order of variables, so that variables can depend from each other.
* Babel is no longer a dependency unless you want to use the message extractor.
0.5.2 (2015-10-13)
------------------
* TranslatableTextNodes are now only generated for non-empty strings
* ``py:with`` statement now accepts multiple variables separated by semicolon
* Babel message extractor fixed on Python2
0.5.1 (2015-07-26)
------------------
* Fix crash on PyPy
0.5.0 (2015-07-25)
------------------
* CDATA sections created by the user are now properly preserved
* ``cdata_scripts=False`` option in ``XMLTemplate`` allows disabling automatic CDATA for script and style tags.
* Autoblocks experimental feature automatically creates blocks from specified tag names.
0.4.4 (2013-09-07)
------------------
* Also accept "$." without erroring out. In fact, accept anything.
* Add integration plugin for TurboGears 1
0.4.3 (2013-08-12)
------------------
* Accept "$(" without erroring out. Easier to write jQuery stuff.
0.4.2 (2013-08-01)
------------------
* There was a showstopper regression in FileLoader. Fixes #1
0.4.0 (2013-07-29)
------------------
* Support Python versions 2.6, 2.7, 3.2, 3.3 in a single codebase
using the *nine* library.
* Support HTML entities as well as XML entities in input templates.
* py:include fixed, can see global variables.
* Genshi compatibility: support built-in functions:
defined(), value_of() and Markup().
* ``py:def``: Do not crash if a function has no content.
* ``py:strip=''`` is the same as ``py:strip='True'``.
* Correctness: escape HTML attribute values.
* Correctness: Always close script tags, even in XML mode.
* Add integration module for the Pyramid web framework.
* Give the FileLoader a *path*, not just a base *directory*.
* Documentation improvements, including the need to write CDATA sections.
* Move from Sourceforge to Github.
* Use Travis for continuous integration.
* The whole codebase is formatted according to PEP8.
0.3.5 (2012-05-07)
------------------
* Several bugfixes
* Output HTML attributes in alphabetical order (for testability)
0.3.4 (2011-06-01)
------------------
* Make Kajiki work on Python 2.4
0.3.2 (2010-11-26)
------------------
* Fix Python 2.5 syntax error
0.3.1 (2010-11-24)
------------------
* Add support for py:with
* Remove unused babel import that was breaking pip/easy_install
* Python 2.5 fixes
* Correctly strip None attributes and expressions
* Turn off autoescaping in text templates
0.3 (2010-10-10)
----------------
* Adds i18n support
* Fixes several bugs: [#7], [#9], [#10]
Keywords: templating engine template genshi jinja jinja2 mako chameleon xml html xhtml
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing :: Markup :: HTML
Classifier: Topic :: Text Processing :: Markup :: XML
|