SaaSHub helps you find the best software and product alternatives Learn more →
Top 4 Python computer-algebra Projects
-
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]
-
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.
-
If you know Mathematica syntax, you could also try Mathics:
https://mathics.org
-
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-03Yes, 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.
-
Python computer-algebra discussion
Python computer-algebra related posts
-
Automatic Differentiation Can Be Incorrect
-
Learn You Galois Fields for Great Good (00)
-
Mathics: A free, open-source alternative to Mathematica
-
A Mathematica interpreter in Typescript
-
Harmonic Function Theory
-
SymPy: Symbolic Mathematics in Python
-
Matrix Cookbook examples using SymPy
- A note from our sponsor - SaaSHub www.saashub.com | 23 Dec 2025
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 |