Recipe
Python
Advanced
10 min
Compute Christoffel symbols and the curvature of a metric with SymPy
Afterwards you can compute the Christoffel symbols, Riemann and Ricci tensors, and Kretschmann scalar of any metric with SymPy, and test them on Schwarzschild.
Symbolic mathematics
Mathematics, Physics