latex2sympy
Demo¶This has local conda
packages of the build chain, with the latex2sympy
version built from from this PR.
from sympy import init_printing
from sympy.plotting import plot3d
from latex2sympy import process_sympy
%matplotlib inline
init_printing()
z = process_sympy("y ^ 2 + x ^ 3")
z
plot3d(z);
Note that antlr4
is not required at runtime:
# uncomment the next line to see installed packages
#!conda list
After that PR was merged, and the recipes were submitted to conda-forge/staged-recipes Linux, OSX, or Windows user would just have to:
conda install -c conda-forge latex2sympy
While a developer on any of those platforms could choose to use:
conda install -c conda-forge antlr4
To add new rules, run tests, etc. for example.