Package tdi
[frames] | no frames]

Source Code for Package tdi

 1  # -*- coding: ascii -*- 
 2  r""" 
 3  :Copyright: 
 4   
 5   Copyright 2006 - 2015 
 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  if __doc__: 
29      # pylint: disable = redefined-builtin 
30      __doc__ = __doc__.encode('ascii').decode('unicode_escape') 
31  __author__ = r"Andr\xe9 Malo".encode('ascii').decode('unicode_escape') 
32  __docformat__ = "restructuredtext en" 
33  __license__ = "Apache License, Version 2.0" 
34  __version__ = ('0.9.9.9', False, 4810) 
35   
36  from tdi import _util 
37  from tdi import _version 
38  if 1: 
39      # pylint: disable = redefined-builtin 
40      # pylint: disable = wildcard-import 
41      from tdi._exceptions import *  # noqa 
42  del reraise  # noqa 
43  from .markup import factory as _factory 
44   
45  #: Version of the TDI package 
46  #: 
47  #: :Type: `tdi.util.Version` 
48  version = _version.Version(*__version__) 
49   
50  #: HTML Template factory 
51  #: 
52  #: :Type: `tdi.factory.Factory` 
53  html = _factory.html 
54   
55  #: XML Template factory 
56  #: 
57  #: :Type: `tdi.factory.Factory` 
58  xml = _factory.xml 
59   
60  #: Text Template factory 
61  #: 
62  #: :Type: `tdi.factory.Factory` 
63  text = _factory.text 
64   
65  __all__ = _util.find_public(globals()) 
66  del _factory 
67   
68  from tdi import _deprecations  # noqa 
69