Obtaining Betti numbers in Sage
Let $A$ be a commutative finite dimensional $K$-algebra over a field $K$ that is local over $K$, meaning $A/m =K$ with unique maximal ideal $m$ of $A$.
Question: Is there a way to obtain the i-th betti number of the $A$-module $K$ using Sage?
Look https://doc.sagemath.org/html/en/reference/homology/sage/homology/chain_complex.html (here)