PythonTeX https://github.com/gpoore/pythontex https://tug.org/tug2013/slides/Mertz-A_Gentle_Introduction_to_PythonTeX.pdf