PyFEM is a small open source finite element code, written in Python 3.0 that we mainly use for prototyping new algorithms and in our educational program. PyFEM was originally developed to accompany the book

R. de Borst, M.A. Crisfield, J.J.C. Remmers and C.V. Verhoosel
Non-Linear Finite Element Analysis of Solids and Structures
John Wiley and Sons, 2012, ISBN 978-0470666449

The entire code can be downloaded from the following Github location.