{"categories":[{"label":"Mathematics","url":"https://skillfed.io/packages/category/scientific-engineering-mathematics"}],"enrichment":{"capability":"Parses LaTeX math expressions and converts them to SymPy symbolic form, supporting arithmetic, functions, calculus, linear algebra, and set operations.","skillfed_tags":["latex-parsing","symbolic-math","math-conversion"],"use_cases":["Convert handwritten or scanned LaTeX math formulas into SymPy for symbolic computation and manipulation.","Parse mathematical expressions from documents or user input to enable programmatic solving and evaluation.","Automate derivation and integration workflows by converting LaTeX calculus notation to SymPy Derivative and Integral objects.","Transform matrix notation from LaTeX into SymPy Matrix objects for linear algebra operations.","Build educational tools or math tutoring systems that accept LaTeX input and perform symbolic analysis."],"what_it_does":"latex2sympy2_extended is a LaTeX-to-SymPy parser that reads mathematical notation in LaTeX format and produces equivalent SymPy symbolic expressions. It uses ANTLR 4.13.1 to generate its parser and handles a broad range of mathematical constructs: basic arithmetic and functions, calculus operations like derivatives and integrals, linear algebra including matrices and determinants, and set operations. The package is adapted from an earlier latex2sympy project and supports multiple ANTLR runtime versions.\n\nThe typical workflow is to pass a LaTeX string to the main `latex2sympy()` function, which returns a SymPy expression you can then manipulate, evaluate, or further process in Python. It handles subscripts, Greek letters, common mathematical functions, and complex expressions with nested operations. One important caveat: operations on determinants, transposed matrices, and elementary row/column transformations perform actual symbolic computation and are not reversible\u2014the result is simplified rather than left as a structural representation.","worth_installing":"Yes, if you need to parse LaTeX math into SymPy. The package has low install friction, permissive licensing, no known vulnerabilities, and solid popularity (top 5000). The aging maintenance status (216 days since last release) is a minor concern for a parser\u2014grammar-based tools are relatively stable\u2014but verify that the ANTLR runtime version you choose aligns with your environment. Suitable for production use in math-heavy applications."},"id":"latex2sympy2-extended","links":{"html":"https://skillfed.io/packages/latex2sympy2-extended","md":"https://skillfed.io/packages/latex2sympy2-extended.md","pypi":"https://pypi.org/project/latex2sympy2-extended/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2026-01-10","license_spdx":null,"license_treatment":"permissive","name":"latex2sympy2-extended","python_support":"supports_current","summary":"Convert LaTeX math to SymPy expressions"},"popularity":{"monthly_downloads":3417128,"position":2628,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.11.0"}
