r/madeinpython • • 2h ago

[Python] a 507-name scientific library with no dependencies, and a CLI that goes from constants to a dashboard

Repo: https://github.com/Furox-Art/scientific-computing-system - 2.2.23, MIT, Python 3.11+, zero runtime dependencies.

Everything in it is standard library. src/cds/ holds 34 subpackages plus causal.py and sensitivity.py - 35 feature modules, with the CLI entry point as the 36th - exporting 507 names total (343 functions, 164 classes). tests/test_readme_surface.py derives those counts from the package, so the README cannot drift without a test failing.

The CLI is the part that makes it usable without opening an editor. cds calc ke for a kinetic-energy calculation, cds stats 1,2,3,4 for descriptive statistics, cds sample normal, cds integrate, cds plot (ASCII by default, PNG with the [plot] extra), cds modules and cds info for the catalog and health summary, cds benchmark, and cds dashboard for a Streamlit dashboard behind the [dashboard] extra.

Underneath: SVD/QR/Cholesky/LU, ODE and PDE solvers (Euler through adaptive RK45, implicit stiff methods, symplectic integrators, 1-D heat and wave), quadrature from trapezoid to Gauss-Legendre, optimization from Newton to Nelder-Mead, statistics/probability/conjugate Bayes, Monte Carlo, and an educational ML module.

Install:

pip install scientific-computing-system

Latest commit is a good example of the numerical care: the ODE solvers now stop when a time step cannot advance, instead of continuing with a step that cannot progress.

One honest limit: pure standard library puts the speed ceiling at Python's, and the ML module says itself that it is educational rather than production. When you need compiled numerics the same API exists as scientific-computing-system-2.0 on NumPy/SciPy.

2 Upvotes

0 comments sorted by