PyLith is a finite element code for the solution of dynamic and quasi-static tectonic deformation problems.