simpletex: Simple LaTeX Documents
simpletex is a Python library for automatically generating LaTeX documents. It is extremely easy to use:
from simpletex import write, save from simpletex.document import Document, Section, Subsection with Document(size='11pt'): with Section('Section Name'): with Subsection('Subsection Name'): write('Hello World!') save('filename.tex')
Full documentation can be found at http://simpletex.readthedocs.io/.