r/ResearchSoftwareEng • u/Emergency-Tutor-7 • 3d ago
Zero-dependency scientific computing in pure Python, with run manifests that let a result be re-checked later
Repo: https://github.com/Furox-Art/scientific-computing-system - PyPI scientific-computing-system 2.2.23, import name cds, MIT, Python 3.11+.
34 subpackages, standard library only: linear algebra, ODE and PDE solvers, numerical integration, interpolation, optimization, probability and statistics, Monte Carlo, uncertainty propagation and sensitivity analysis, information theory, signal processing, wavelets, graph algorithms, units and dimensional analysis, validation, provenance, and a small workflow layer.
The part that matters for research software specifically: every run can write a manifest with its inputs, seeds, versions and hashes, so a result can be re-checked instead of re-trusted. A cds command with 13 subcommands and 35 runnable scripts and notebooks in examples/ ship with it.
The constraint that shaped it was zero runtime dependencies and source that stays readable and diffable. Optional extras exist for those who want them: [scientific] pulls NumPy, SciPy, statsmodels, scikit-learn, SymPy and Z3; [io] adds HDF5 and NetCDF; [plot] adds matplotlib.
One honest limit: it is much slower than NumPy on dense numerics. The committed benchmark records 100x100 matrix multiplication at 0.0696 s against NumPy's 0.000060 s, roughly 1155x slower, from one CI run whose platform and library versions were not recorded, so treat it as order of magnitude only.
3
u/Bach4Ants 3d ago
Interesting idea. What problem are you trying to solve for whom with it?