Package tdi
[frames] | no frames]

Source Code for Package tdi

 1  # -*- coding: ascii -*- 
 2  # 
 3  # Copyright 2006 - 2012 
 4  # Andr\xe9 Malo or his licensors, as applicable 
 5  # 
 6  # Licensed under the Apache License, Version 2.0 (the "License"); 
 7  # you may not use this file except in compliance with the License. 
 8  # You may obtain a copy of the License at 
 9  # 
10  #     http://www.apache.org/licenses/LICENSE-2.0 
11  # 
12  # Unless required by applicable law or agreed to in writing, software 
13  # distributed under the License is distributed on an "AS IS" BASIS, 
14  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
15  # See the License for the specific language governing permissions and 
16  # limitations under the License. 
17  """ 
18  =============================== 
19   Template Data Interface (TDI) 
20  =============================== 
21   
22  Template Data Interface (TDI). 
23  """ 
24  __author__ = u"Andr\xe9 Malo" 
25  __docformat__ = "restructuredtext en" 
26  __license__ = "Apache License, Version 2.0" 
27  __version__ = ('0.9.9.7', False, 4807) 
28   
29  from tdi import util as _util 
30  from tdi._exceptions import * # pylint: disable = W0401, W0614, W0622 
31  from tdi.markup import factory as _factory 
32   
33  #: Version of the TDI package 
34  #: 
35  #: :Type: `tdi.util.Version` 
36  version = _util.Version(*__version__) 
37   
38  #: HTML Template factory 
39  #: 
40  #: :Type: `tdi.factory.Factory` 
41  html = _factory.html 
42   
43  #: XML Template factory 
44  #: 
45  #: :Type: `tdi.factory.Factory` 
46  xml = _factory.xml 
47   
48  #: Text Template factory 
49  #: 
50  #: :Type: `tdi.factory.Factory` 
51  text = _factory.text 
52   
53  __all__ = _util.find_public(globals()) 
54  del _util, _factory 
55   
56  from tdi import _deprecations # pylint: disable = W0611 
57