Python framework for geodynamic simulations