All libraries related wheezy.web and wheezy.template have been recently migrated from bitbucket to github.
Showing posts with label wheezy.template. Show all posts
Showing posts with label wheezy.template. Show all posts
Saturday, August 29, 2020
Saturday, April 4, 2015
wheezy template: static website generator
Sometimes you need a quick way to generate a static web site and put it up on a server. Here is how you can generate a static website with wheezy.template.
Let's suppose the following structure of the site:
content/
`- index.html
- main.html
shared/
`- master.html
snippet/
`- script.html
- widget.html
Labels:
python
,
wheezy.template
Tuesday, October 23, 2012
Python Templates Benchmark
Python template engines offer high reusability of markup code and the following features are used by content developers most of the time:
- Includes: useful to incorporate some snippets of content that in most cases are common to the site, e.g. footer, scripts, styles, etc.
- Extends: useful to define a master layout for the majority of the site content with placeholders, e.g. sidebar, horizontal menu, content, etc. The content developers extend the master layout by substituting available placeholders.
- Widgets: usually small snippets of highly reusable markup, e.g. list item, button, etc. The content developers use widgets to increase readability and enforce consistency of design.
Labels:
benchmark
,
django
,
python
,
wheezy.template
Thursday, July 19, 2012
Python Fastest Template Engine
What is the fastest template system for Python? See also:
- Comprehensive benchmarks for various template include, extends and widget directives are here.
- bottle 0.12.8
- chameleon 2.22
- cheetah 2.4.4
- django 1.8
- jinja2 2.7.3
- mako 1.0.1
- durusworks qpy 1.2
- spitfire 0.7.15
- tenjin 1.1.1
- tornado 4.1
- web2py 2.0.9
- wheezy.template 0.1.159
virtualenv env env/bin/easy_install -O2 bottle chameleon cheetah django \ jinja2 mako tenjin webext tornado wheezy.html \ wheezy.templateDownload bigtable.py test:
wget https://bitbucket.org/akorn/wheezy.template/raw/tip/demos/bigtable/bigtable.pyAnd run it:
env/bin/python bigtable.py
Labels:
benchmark
,
django
,
python
,
wheezy.template
Subscribe to:
Posts
(
Atom
)


