Metadata-Version: 1.1
Name: document-template
Version: 0.0.1
Summary: Generate documents according to the template.
Home-page: https://github.com/liying2008/document-template
Author: liying
Author-email: liruoer2008@yeah.net
License: MIT
Description: =====================
        document-template
        =====================
        
        Python解析文档模版
        =====================
        
        使用方法见 *test.py*
        ::
        
            from template import DocumentTemplate
        
            if __name__ == '__main__':
                id_dict = {"title": "标题", "head": "正文标题", "url": "https://github.com/liying2008", "large_font": "大号字体"}
                id_dict['show_span'] = True
                # id_dict['contents'] = 'Hello World'
                id_dict['contents'] = ('A', 'B', 'C', 'D', 'E', 'F', 'G')
                temp = DocumentTemplate()
                temp.load("test.html")
                temp.set_identifier_dict(id_dict)
                temp.save_document("new_test.html")
        
Keywords: Template document
Platform: UNKNOWN
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Utilities
