Python computer-algebra

Open-source Python projects categorized as computer-algebra

Top 4 Python computer-algebra Projects

computer-algebra
  1. SymPy

    A computer algebra system written in pure Python

    Project mention: Translating Cython to Mojo, a first attempt | news.ycombinator.com | 2025-10-06

    It looks like Narwhals; "Narwhals and scikit-Lego came together to achieve dataframe-agnosticism" https://news.ycombinator.com/item?id=40950813 :

    > Narwhals: https://narwhals-dev.github.io/narwhals/ :

    >> Extremely lightweight compatibility layer between [pandas, Polars, cuDF, Modin]

    > Lancedb/lance works with [Pandas, DuckDB, Polars, Pyarrow,]; https://github.com/lancedb/lance

    SymPy has Solvers for ODEs and PDEs and convex optimization. SymPy also has lambdify to compile from a relatively slow symbolic expression tree to faster 'vectorized' functions

    From https://news.ycombinator.com/item?id=40683777 re: warp :

    > sympy.utilities.lambdify.lambdify() https://github.com/sympy/sympy/blob/main/sympy/utilities/lam... :

    >>> """Convert a SymPy expression into a function that allows for fast numeric evaluation""" [with e.g. the CPython math module, mpmath, NumPy, SciPy, CuPy, JAX, TensorFlow, PyTorch (*), SymPy, numexpr, but not yet cmath]

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. Mathics

    This repository is for archival. Please see https://github.com/Mathics3/mathics-core

    Project mention: Learn You Galois Fields for Great Good (00) | news.ycombinator.com | 2025-06-20

    If you know Mathematica syntax, you could also try Mathics:

    https://mathics.org

  4. spacetimeengine

    A Python utility for analyzing a given solution to the Einstein's field equations. Built on Sympy.

    Project mention: Dark Energy May Not Exist: Something Stranger Might Explain the Universe | news.ycombinator.com | 2025-01-03

    Yes, the formula is the Einstein's Field Equation. Alas, I don't think it's generally considered as nice and simple. But it's the tool for that: you would basically set an energy density distribution and the software would calculate the metric of spacetime (and that would include time distortion)

    I guess you can find repos on Github (first Google result for me was this: https://github.com/spacetimeengineer/spacetimeengine) and try your hand. But the theoretical aspect is intimidating, for sure.

    As for getting up to speed in the theory, I cannot but recommend Leonard Susskind lectures on GR that are available on YouTube. Susskind may be best known as one of the founding fathers of String Theory but the man is an exceptionally great teacher on this subject.

  5. diofant

    A Python CAS library

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python computer-algebra discussion

Python computer-algebra related posts

Index

What are some of the best open-source computer-algebra projects in Python? This list will help you:

# Project Stars
1 SymPy 14,191
2 Mathics 2,070
3 spacetimeengine 155
4 diofant 73

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Python is
the 2nd most popular programming language
based on number of references?