py2tex is an IPython (notebook) extension to provide a conversion of python mathematical expressions to TeX