PyLaTeX is a Python library for creating and compiling LaTeX files or snippets. The goal of this library is being an easy, but extensible interface between Python and LaTeX.
Simply install using pip
:
pip install pylatex
And then install a relevant LaTeX processor and other dependencies. Examples:
sudo apt-get install texlive-pictures texlive-science texlive-latex-extra latexmk
- For more details on how to use the library take a look at the documentation.
Read the How to contribute page for tips and rules when you want to contribute.
The documentation contains a lot of examples that show the functionality. To give an impression of what can be generated see this picture:
Copyright 2014 Jelte Fennema, under the MIT license