SymPyCore.jl
Documentation for SymPyCore.jl, a package allowing the use of Python's SymPy library from within a Julia session.
SymPy is Python library for symbolic mathematics.
As there are two means to call Python code from Julia, two packages have been developed to call into SymPy:
- SymPy.jl is a - Juliapackage using- PyCall.jlto provide a "- Julian" interface to SymPy.
- SymPyPythonCall.jl is a - Juliapackage using- PythonCall.jlto provide a "- Julian" interface to SymPy providing a nearly identical experience as- SymPy.jl.
The SymPyCore package aims to unify the underlying code, leaving only a small amount of glue code in the primary packages. The most recent versions of the above use this backend.
While both glue packages provide a means to interact directly with the sympy library in Python, SymPyCore adds some conveniences, including many Julian idioms for easier use within Julia.
The SympyCore introduction page shows basic usages. The Julia translation of the SymPy Tutorial is more extensive.
Alternatives
Julia provides a few alternatives to SymPy for symbolic math. Two that are more performant though not as feature rich are: