Package sabx10 :: Package templating
[hide private]
[frames] | no frames]

Source Code for Package sabx10.templating

 1  ############################################################################### 
 2  # 
 3  # sabx10 - an SABX file manipulation library 
 4  # Copyright (C) 2009, 2010 Jay Farrimond (jay@sabikerides.com) 
 5  # 
 6  # This file is part of sabx10. 
 7  # 
 8  # sabx10 is free software: you can redistribute it and/or modify it under the 
 9  # terms of the GNU General Public License as published by the Free Software 
10  # Foundation, either version 3 of the License, or (at your option) any later 
11  # version. 
12  # 
13  # sabx10 is distributed in the hope that it will be useful, but WITHOUT ANY 
14  # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 
15  # A PARTICULAR PURPOSE.  See the GNU General Public License for more details. 
16  # 
17  # You should have received a copy of the GNU General Public License along with 
18  # sabx10.  If not, see <http://www.gnu.org/licenses/>. 
19  # 
20  ############################################################################### 
21  """ 
22  Overview 
23  ======== 
24   
25  The C{templating} package provides various classes and routines to make it 
26  easier to use Jinja2 templates.  It assumes that the C{jinja2} package is 
27  available. 
28   
29  Copyright 
30  ========= 
31   
32  The sabx10.templating package is part of sabx10. 
33   
34  sabx10 - an SABX file manipulation library 
35  Copyright (C) 2009, 2010 Jay Farrimond (jay@sabikerides.com) 
36   
37  sabx10 is free software: you can redistribute it and/or modify it under the 
38  terms of the GNU General Public License as published by the Free Software 
39  Foundation, either version 3 of the License, or (at your option) any later 
40  version. 
41   
42  sabx10 is distributed in the hope that it will be useful, but WITHOUT ANY 
43  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
44  PARTICULAR PURPOSE.  See the GNU General Public License for more details. 
45   
46  You should have received a copy of the GNU General Public License along with 
47  sabx10.  If not, see U{http://www.gnu.org/licenses/}. 
48  """ 
49  from generic import TemplateProcessor 
50  from sabx import SabxProcessor 
51  from utils import strip_end_slash 
52