Metadata-Version: 2.0
Name: backslant
Version: 0.0.1
Summary: Python template engine.
Home-page: https://github.com/Deepwalker/backslant/
Author: Deepwalker
Author-email: krivushinme@gmail.com
License: BSD
Keywords: template ast jinja2 mako
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3

Backslant
=========

Is a template engine built in completely other way then before.

First - you can use all python and more - you must use it if you want somwthing more
then just tags.

Second - it completely iterative. You can feed iterators or generators as input and get iterative output.

Third - it works through imports. If you want to get template just import it and use. If you want include
other template - import it. If you want template in some dir, import it! Like ```from . import other_template```.

So, with this principles in mind, you can try this proof of concept thing, due it is not complete:

    import backslant


    sys.meta_path.insert(0, backslant.PymlFinder('./templates'))
    from home import index

    for chunk in index.render():
        print(chunk)


I will complete feture set soon, stay tuned. Pssst, we will have ruby-like blocks, dont tell anyone.


