import sympy
from einsteinpy.symbolic import RicciTensor, RicciScalar
from einsteinpy.symbolic.predefined import AntiDeSitter
sympy.init_printing()
metric = AntiDeSitter()
metric.tensor()
Ric = RicciTensor.from_metric(metric)
Ric.tensor()
R = RicciScalar.from_riccitensor(Ric)
R.simplify()
R.expr
The curavture is -12 which is in-line with the theoretical results