Alternatives§
magic_call
is not the only Python library to execute external commands.
There are a lot of tools that do similar things.
Most, however, are less generic than magic_call
.
The following list is in alphabetic order. If you know further projects to add here, please add them with a PR or create an issue.
diagmagic.py
§
Magics for using blockdiag.com modules with IPython Notebook The module provides magics:
%%actdiag
,%%blockdiag
,%%nwdiag
,%%seqdiag
Related to https://bitbucket.org/vladf/ipython-diags
(dead link)?
Graphviz§
This package facilitates the creation and rendering of graph descriptions in the DOT language of the Graphviz graph drawing software from Python. … Graphs can also be rendered and displayed within Jupyter notebooks
IPlantUML§
A Python package which defines a PlantUML cell magic for IPython.
ipy_magics§
The enclosed Python 3 modules define a number of “cell magics” for use in an IPython notebook. …
%%csound
[Csound] …%%ps
[PostScript] …%%rman
[RenderMan]
ipython-asymptote§
IPython extension for rendering and displaying asymptote in an IPython notebook
ipython-hierarchymagic§
%hierarchy
and%%dot
magics for IPython
IPython.lib.latextools
§
Tools for handling LaTeX.
https://ipython.readthedocs.io/en/stable/api/generated/IPython.lib.latextools.html
ipython-magic§
Graphviz Magics
ipython-tikzmagic§
IPython magics for generating figures with TikZ. You can select the output format as svg, png or jpg, define the image size, specify a scale factor, load TikZ packages, and save to external files.
itikz§
Cell magic for PGF/TikZ-to-SVG rendering in Jupyter
jupyter_abc§
latex
§
Allows calling LaTeX from Python without leaving a mess.
latex_fragment
§
render a latex fragment as a PNG in jupyter notebooks
plasTeX§
plasTeX is a LaTeX document processing framework written entirely in Python. It currently comes bundled with an XHTML renderer (including multiple themes), as well as a way to simply dump the document to a generic form of XML. Other renderers can be added as well and are planned for future releases.
PyLaTeX§
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.
PyTeX§
We’ve given TeX a Python callable function interface, with the TeX daemon running behind the scenes. This is proof of concept, but might already be useful.
PyX§
PyX is a Python package for the creation of PostScript, PDF, and SVG files. It combines an abstraction of the PostScript drawing model with a TeX/LaTeX interface. Complex tasks like 2d and 3d plots in publication-ready quality are built out of these primitives.
ReportLab§
ReportLab is the time-proven, ultra-robust open-source engine for creating complex, data-driven PDF documents and custom vector graphics. It’s free, open-source, and written in Python.
runlatex§
Routines to help run LaTeX builds.
https://github.com/brendano/runlatex
https://github.com/brendano/runlatex/blob/master/runlatex.py
Sage LaTeX printing support§
https://doc.sagemath.org/html/en/reference/misc/sage/misc/latex.html
https://github.com/sagemath/sage/blob/master/src/sage/misc/latex.py
Texcaller§
Texcaller is a convenient interface to the TeX command line tools.
https://vog.github.io/texcaller/
Successor to the obsolete Python-tex package (https://pypi.org/project/tex/).