Metadata-Version: 2.1
Name: wheezy.template
Version: 0.1.167
Summary: A lightweight template library
Home-page: https://bitbucket.org/akorn/wheezy.template
Author: Andriy Kornatskyy
Author-email: andriy.kornatskyy at live.com
License: MIT
Keywords: html markup template preprocessor
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.4
Classifier: Programming Language :: Python :: 2.5
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: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Widget Sets
Classifier: Topic :: Text Processing :: Markup :: HTML
Provides-Extra: dev
License-File: LICENSE

`wheezy.template`_ is a `python`_ package written in pure Python
code. It is a lightweight template library. The design goals achived:

* **Compact, Expressive, Clean:** Minimizes the number of keystrokes required
  to build a template. Enables fast and well read coding. You do not need to
  explicitly denote statement blocks within HTML (unlike other template
  systems), the parser is smart enough to understand your code. This enables
  a compact and expressive syntax which is really clean and just pleasure
  to type.
* **Intuitive, No time to Learn:** Basic Python programming skills
  plus HTML markup. You are productive just from start. Use full power
  of Python with minimal markup required to denote python statements.
* **Do Not Repeat Yourself:** Master layout templates for inheritance;
  include and import directives for maximum reuse.
* **Blazingly Fast:** Maximum rendering performance: ultimate speed and
  context preprocessor features.

Simple template::

    @require(user, items)
    Welcome, @user.name!
    @if items:
        @for i in items:
            @i.name: @i.price!s.
        @end
    @else:
        No items found.
    @end

It is optimized for performance, well tested and documented.

Resources:

* `source code`_, `examples`_ and `issues`_ tracker are available
  on `bitbucket`_
* `documentation`_, `readthedocs`_
* `eggs`_ on `pypi`_

Install
-------

`wheezy.template`_ requires `python`_ version 2.4 to 2.7 or 3.2+.
It is independent of operating system. You can install it from `pypi`_
site using `setuptools`_::

    $ easy_install wheezy.template

If you are using `virtualenv`_::

    $ virtualenv env
    $ env/bin/easy_install wheezy.template

If you run into any issue or have comments, go ahead and add on
`bitbucket`_.

.. _`bitbucket`: http://bitbucket.org/akorn/wheezy.template
.. _`doctest`: http://docs.python.org/library/doctest.html
.. _`documentation`: http://packages.python.org/wheezy.template
.. _`eggs`: http://pypi.python.org/pypi/wheezy.template
.. _`examples`: http://bitbucket.org/akorn/wheezy.template/src/tip/demos
.. _`issues`: http://bitbucket.org/akorn/wheezy.template/issues
.. _`pypi`: http://pypi.python.org/pypi/wheezy.template
.. _`python`: http://www.python.org
.. _`readthedocs`: http://readthedocs.org/builds/wheezytemplate
.. _`setuptools`: http://pypi.python.org/pypi/setuptools
.. _`source code`: http://bitbucket.org/akorn/wheezy.template/src
.. _`virtualenv`: http://pypi.python.org/pypi/virtualenv
.. _`wheezy.template`: http://pypi.python.org/pypi/wheezy.template


