r/PythonProjects2 • u/Emergency-Tutor-7 • 9m ago
[Python] scientific-computing-system: 507 standard-library names, and an ODE solver that now stops instead of spinning
Repo: https://github.com/Furox-Art/scientific-computing-system - 2.2.23, MIT, Python 3.11+.
The latest commit is the reason I am posting it today: the ODE solvers now stop when a time step cannot advance, instead of marching on with a step that cannot progress. That is the kind of bug you find only when you use your own numerics on stiff problems.
The shape of the library: src/cds/ has 34 subpackages plus causal.py and sensitivity.py, which is 35 feature modules and 507 exported names (343 functions, 164 classes), all pure standard library. No NumPy, no SciPy, nothing else to install. tests/test_readme_surface.py derives those counts from the package, so the README cannot drift silently.
Inside: SVD, QR, Cholesky, LU; Euler through adaptive RK45, implicit stiff methods and symplectic integrators, plus 1-D heat and wave; quadrature from trapezoid to Gauss-Legendre; Newton, Adam, Nelder-Mead and annealing; statistics, probability and conjugate Bayes; Monte Carlo; and an explicitly educational ML module (MLP, k-NN, k-means, CART, random forest, PCA). There is a cds CLI with 13 subcommands.
Install:
python -m pip install scientific-computing-systemOne honest limit: pure standard library sets the speed ceiling at Python's own, and the ML module says in its docs that it is educational rather than production. Where compiled numerics matter, the same API exists as scientific-computing-system-2.0 on NumPy/SciPy.