A LaTeX API written in Python