ANN: Breve template engine renderer for Pyramid just released

45 views
Skip to first unread message

askel

unread,
Sep 11, 2012, 6:15:27 PM9/11/12
to pylons-discuss
Hello everybody,

I used Breve template engine for most of my Pylons projects and I
missed it when I switched to Pyramid so I wrote small module that
makes my life little easier.

It can be installed from PyPi as following:

easy_install pyramid_breve
or
pip install pyramid_breve

Once installed simply call config.include('pyramid_breve') during your
WSGI application configuration or add pyramid_breve to
pyramid.includes of your INI file. Then use breve templates for
rendering:

@view_config(renderer='my_app:templates/mytemplate.b')
def my_view(request):
return {}

It's also available for hacking at http://github.com/momyc/pyramid-breve.

This is very first version of it and I wouldn't recommend it for
production environment. Despite its small size there are bugs in it :)

- Alex K
Reply all
Reply to author
Forward
0 new messages