  We present OGRe, a modern Mathematica package for tensor calculus, designed
to be both powerful and user-friendly. The package can be used in a variety of
contexts where tensor calculations are needed, in both mathematics and physics,
but it is especially suitable for general relativity. By implementing an
object-oriented design paradigm, OGRe allows calculating arbitrarily
complicated tensor formulas easily, and automatically transforms between index
configurations and coordinate systems behind the scenes as needed, eliminating
user errors by making it impossible for the user to combine tensors in
inconsistent ways. Other features include displaying tensors in various forms,
automatic calculation of curvature tensors and geodesic equations, easy
importing and exporting of tensors between sessions, optimized algorithms and
parallelization for improved performance, and more.
