$npx skillfedfor your agent

symengine

Python library providing wrappers to SymEngine

With conditionsPyPI Scientific/EngineeringReleased Apr 2025506.4K downloads / moMITPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — symengine-0.14.1-cp310-cp310-macosx_10_13_x86_64.whl · symengine-0.14.1-cp310-cp310-macosx_11_0_arm64.whl · symengine-0.14.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
v0.14.1 · released 2025-04-21 · Python <4,>=3.9

Yes, if you need fast symbolic computation in Python and can accept medium install friction. Pre-built wheels make installation straightforward for Python 3.9–3.13 on common platforms. The MIT license and active maintenance are favorable. No security vulnerabilities are known. Consider it especially if performance of symbolic operations is a bottleneck; otherwise, SymPy may be simpler if speed is not critical.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python ≥ 3.9 and < 4.
  • Pre-built wheels available for common platforms; building from source requires CMake ≥ 3.21 and SymEngine ≥ 0.14.0.
  • Medium install friction due to compiled C++ dependencies.

License · maintenance · safety

MIT (permissive) — MIT-licensed wrapper using LGPL-3.0-or-later (GMP, MPFR, MPC, MPIR), Apache-2.0 (LLVM), BSD-3-Clause (zstd, symengine), and Zlib dependencies in wheels. Permissive overall, but LGPL dependencies require awareness of linking obligations if redistributing binaries.

last release 2025-04-21 (480 days) · last repo commit 2026-07-28 · 189 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 506,365 downloads/mo, #6,286 on PyPI

Verify before relying

pip install symengine

from symengine import var
x, y, z = var('x y z')
e = (x + y + z)**2
expanded_e = e.expand()
print(expanded_e)
  • Whether LLVM linking is recommended or required for typical lambdify use cases.
  • Performance comparison with SymPy or other symbolic libraries for common operations.
  • Whether FLINT linking is available in pre-built wheels or requires source build.
Same gist for agents: .md · .json

What it is and what it does

SymEngine is a Python wrapper around a fast C++ symbolic algebra engine. It provides core symbolic computation capabilities—variable definition, expression expansion, simplification, and algebraic manipulation—without requiring a full computer algebra system. The library is designed for speed and is used where symbolic operations need to be integrated into Python workflows without the overhead of heavier systems.

The package ships pre-built wheels for Python 3.9–3.13 across macOS, Linux, and Windows, reducing install friction for most users. Building from source is possible but requires CMake, the SymEngine C++ library itself, and Cython. Optional dependencies like NumPy and SymPy can enhance functionality. The wrapper is actively maintained and carries no known security vulnerabilities.

Use it for

  • Expand and simplify algebraic expressions symbolically in mathematical or physics simulations.
  • Integrate symbolic computation into performance-critical Python code where speed matters.
  • Define symbolic variables and perform algebraic operations in numerical computing pipelines.
  • Evaluate floating-point expressions via lambdify when linked against LLVM.
  • Use as a faster alternative to SymPy for core symbolic manipulation tasks.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need fast symbolic computation in Python and can accept medium install friction.

Pre-built wheels make installation straightforward for Python 3.9–3.13 on common platforms. The MIT license and active maintenance are favorable. No security vulnerabilities are known. Consider it especially if performance of symbolic operations is a bottleneck; otherwise, SymPy may be simpler if speed is not critical.

Install

symengine on PyPI

Before you install

Medium install friction due to compiled C++ dependencies. Pre-built wheels are available for Python 3.9–3.13 on macOS, Linux (x86_64, aarch64, ppc64le), and Windows. Building from source requires CMake ≥ 3.21, SymEngine ≥ 0.14.0, and Cython ≥ 0.29.24. Package is actively maintained with recent commits.

Requires Python ≥ 3.9 and < 4. Pre-built wheels available for common platforms; building from source requires CMake ≥ 3.21 and SymEngine ≥ 0.14.0.

License in practice

MIT-licensed wrapper using LGPL-3.0-or-later (GMP, MPFR, MPC, MPIR), Apache-2.0 (LLVM), BSD-3-Clause (zstd, symengine), and Zlib dependencies in wheels. Permissive overall, but LGPL dependencies require awareness of linking obligations if redistributing binaries.

Quickstart

pip install symengine

from symengine import var
x, y, z = var('x y z')
e = (x + y + z)**2
expanded_e = e.expand()
print(expanded_e)

Verify before relying

  • Whether LLVM linking is recommended or required for typical lambdify use cases.
  • Performance comparison with SymPy or other symbolic libraries for common operations.
  • Whether FLINT linking is available in pre-built wheels or requires source build.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4,>=3.9
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 480 days since the last release
Last repo commit
First released
Downloads506,365 / month, #6,286 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Scientific/EngineeringTopic :: Scientific/Engineering :: MathematicsTopic :: Scientific/Engineering :: Physics

Evidence: symengine-0.14.1-cp310-cp310-macosx_10_13_x86_64.whl; symengine-0.14.1-cp310-cp310-macosx_11_0_arm64.whl; symengine-0.14.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; symengine-0.14.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; symengine-0.14.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; symengine-0.14.1-cp310-cp310-win_amd64.whl; symengine-0.14.1-cp311-abi3-macosx_10_13_x86_64.whl; symengine-0.14.1-cp311-abi3-macosx_11_0_arm64.whl; symengine-0.14.1-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; symengine-0.14.1-cp311-abi3-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl; symengine-0.14.1-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; symengine-0.14.1-cp311-abi3-win_amd64.whl; symengine-0.14.1-cp311-cp311-macosx_10_13_x86_64.whl; symengine-0.14.1-cp311-cp311-macosx_11_0_arm64.whl; symengine-0.14.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; symengine-0.14.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; symengine-0.14.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; symengine-0.14.1-cp311-cp311-win_amd64.whl; symengine-0.14.1-cp312-cp312-macosx_10_13_x86_64.whl; symengine-0.14.1-cp312-cp312-macosx_11_0_arm64.whl

Tags

Capabilities
symbolic math librarysymbolic computation pythonfast symbolic algebraC++ symbolic enginealgebraic expression manipulationsymbolic differentiation integrationcomputer algebra system
Topics
symbolic-algebracompiled-extensioncomputer-algebra

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “symbolic computation python”

  • symenginePython wrappers for SymEngine, a fast C++ symbolic manipulation…
  • casadiCasADi is a framework for algorithmic differentiation and numeric…
  • pytensorPyTensor is a Python library for defining, optimizing, and evaluating…

Give your agent the search over MCP, or paste the wish link into any chat.

More Scientific/Engineering packages

numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also sympy · cppyy-cling · cypari2 · Theano · passagemath-categories · Theano-PyMC · casadi · onemkl-sycl-blas · symusic · constantly