pylatexenc
Simple LaTeX parser providing latex-to-unicode and unicode-to-latex
...The pylatexenc.latexencode module provides a function unicode_to_latex() which converts a Unicode string into LaTeX text and escape sequences. It should recognize accented characters and most math symbols. A couple of switches allow you to alter how this function behaves.