r/PythonProjects2 • u/Emergency-Tutor-7 • 2m ago
[Python] cds2: a NumPy/SciPy scientific stack where a fitted model comes with a replayable manifest
Repo: https://github.com/Furox-Art/scientific-computing-system-2.0 - release 5.5.0, import name cds2.
The part I would actually show someone is cds2.guided_fit. Point it at a CSV:
cds2 guided-fit data.csv --x time --y response --model exponential --missing drop --outliers exclude --report pdfIt proposes one of five model families (linear, quadratic, exponential, power, logistic), you confirm it, and the run writes a manifest carrying the input hash. cds2 guided-fit-rerun on that manifest proves the rerun used the same data instead of a file that drifted. Missing-value and outlier policies are explicit flags - ask, drop, interpolate for one; ask, keep, exclude for the other - so nothing is silently discarded. Reports come out as PDF, HTML or Markdown.
Around that it is the compiled build of the same API as scientific-computing-system: linear algebra, ODE/PDE, quadrature, optimization, statistics and Bayesian helpers, metaheuristics, geometry, RL, on NumPy/SciPy/pandas/matplotlib.
Install:
pip install scientific-computing-system-2.0The npm package of the same name is a thin launcher that runs python -m cds2, so Python is still required.
One honest limit: the published benchmark is a stale run - cds2 3.0.0 at commit 6ea5a02 from August, while the release is 5.5.0 - so read it as one machine, one old version. Of its 13 cases, four were slower than the baseline libraries (dataframe summary 1.82x, solve 800x800 1.22x, solve 8x8 x300 1.17x, welch 1.03x), so there is no blanket speedup claim.