Package tdi
[frames] | no frames]

Source Code for Package tdi

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